Code: Select all
#include advpath.inc
#turbo
Sub Main
/call InitAPFVars 1 15 20
:MainLoop
/doevents
/call PlayFunction "PoKQuesttoNexus 1 cf nopp noz"
/call WaitTilThere
/call UseStone
/delay 25s
|------------------- Broke
/call PlayFunction "PoKtoBaz 1 cf nopp z"
/call WaitTilThere
|------------------ It isn't running the PoKtoBaz path after I zone in to the Nexus
/call PlayFunction "BaztoVend 1 cf nopp z"
/call WaitTilThere
/call PlayFunction "VendtoBaz 1 cf nopp z"
/call WaitTilThere
/call PlayFunction "BaztoPoK 1 cf nopp z"
/call WaitTilThere
/mouseclickl
/goto :MainLoop
/return
Sub WaitTilThere
:LoopTilThere
/if n @PathingFlag==1 {
/call AdvPathPoll
/delay 0
/doevents
/goto :LoopTilThere
}
/return
Sub UseStone
/doortarget
/face fast nolook door
/keypress USE HOLD
/keypress USE
/return
