@@ -29,14 +29,27 @@ def Entrance():
2929 FFX_memory .closeMenu ()
3030
3131 #Now back into the water
32- FFXC .set_movement (0 , 1 )
33- time .sleep (1 )
34- FFXC .set_movement (1 , 1 )
35- time .sleep (0.3 )
36- FFXC .set_movement (0 , 1 )
37- print ("Mark 1" )
38- time .sleep (35 )
39- print ("Mark 2" )
32+ checkpoint = 0
33+ while not FFX_memory .battleActive ():
34+ if FFX_memory .userControl ():
35+ print ("Baaj movement: " , checkpoint )
36+ if checkpoint == 6 :
37+ FFX_memory .clickToEventTemple (0 )
38+ checkpoint += 1
39+
40+ #General pathing
41+ elif FFX_targetPathing .setMovement (FFX_targetPathing .baajRamp (checkpoint )) == True :
42+ checkpoint += 1
43+ print ("Checkpoint reached: " , checkpoint )
44+
45+ #FFXC.set_movement(0, 1)
46+ #time.sleep(1)
47+ #FFXC.set_movement(1, 1)
48+ #time.sleep(0.3)
49+ #FFXC.set_movement(0, 1)
50+ #print("Mark 1")
51+ #time.sleep(35)
52+ #print("Mark 2")
4053 FFXC .set_neutral ()
4154
4255 #Battles
@@ -149,12 +162,27 @@ def ABboat1() :
149162 FFXC .set_value ('BtnA' , 1 )
150163 FFX_memory .clickToControl ()
151164
152- time .sleep (12 )
153- FFXC .set_neutral ()
165+ time .sleep (2 )
154166
155167def ABswimming1 () :
156168 complete = 0
157169
170+ print ("Swimming down from the boat" )
171+ while FFX_memory .getMap () != 288 :
172+ if FFX_memory .userControl ():
173+ FFX_targetPathing .setMovement ([- 300 ,- 300 ])
174+ FFXC .set_value ('BtnA' , 1 )
175+ else :
176+ FFXC .set_neutral ()
177+ if FFX_Screen .BattleScreen () :
178+ print ("Battle Start (Al Bhed swimming section)" )
179+ FFX_Battle .stealAndAttack ()
180+ print ("Battle End (Al Bhed swimming section)" )
181+ elif FFX_memory .menuOpen ():
182+ print ("Battle Complete screen" )
183+ FFX_Xbox .menuB ()
184+
185+ FFXC .set_neutral ()
158186 print ("Swimming towards airship" )
159187 while FFX_memory .getMap () != 64 :
160188 pos = FFX_memory .getCoords ()
0 commit comments