pokeemerald/data/maps/scripts/LavaridgeTown_Gym_B1F.inc
Diegoisawesome f61810a8f9 Dump maps
2017-11-09 19:21:31 -06:00

60 lines
1.7 KiB
PHP

LavaridgeTown_Gym_B1F_MapScripts:: @ 81FF87E
map_script 3, LavaridgeTown_Gym_B1F_MapScript1_1FF884
.byte 0
LavaridgeTown_Gym_B1F_MapScript1_1FF884: @ 81FF884
call LavaridgeTown_Gym_B1F_EventScript_1FF88F
call LavaridgeTown_Gym_B1F_EventScript_1FF8DC
end
LavaridgeTown_Gym_B1F_EventScript_1FF88F:: @ 81FF88F
setvar VAR_0x4007, 0
setvar VAR_0x4008, 0
setvar VAR_0x4009, 0
setvar VAR_0x400A, 0
checktrainerflag TRAINER_KEEGAN
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8B1
setvar VAR_0x4007, 1
LavaridgeTown_Gym_B1F_EventScript_1FF8B1:: @ 81FF8B1
checktrainerflag TRAINER_JACE
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8BF
setvar VAR_0x4008, 1
LavaridgeTown_Gym_B1F_EventScript_1FF8BF:: @ 81FF8BF
checktrainerflag TRAINER_JEFF
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8CD
setvar VAR_0x4009, 1
LavaridgeTown_Gym_B1F_EventScript_1FF8CD:: @ 81FF8CD
checktrainerflag TRAINER_ELI
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8DB
setvar VAR_0x400A, 1
LavaridgeTown_Gym_B1F_EventScript_1FF8DB:: @ 81FF8DB
return
LavaridgeTown_Gym_B1F_EventScript_1FF8DC:: @ 81FF8DC
checktrainerflag TRAINER_KEEGAN
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8E9
setobjectmovementtype 2, 63
LavaridgeTown_Gym_B1F_EventScript_1FF8E9:: @ 81FF8E9
checktrainerflag TRAINER_JACE
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8F6
setobjectmovementtype 1, 63
LavaridgeTown_Gym_B1F_EventScript_1FF8F6:: @ 81FF8F6
checktrainerflag TRAINER_JEFF
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF903
setobjectmovementtype 3, 63
LavaridgeTown_Gym_B1F_EventScript_1FF903:: @ 81FF903
checktrainerflag TRAINER_ELI
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF910
setobjectmovementtype 4, 63
LavaridgeTown_Gym_B1F_EventScript_1FF910:: @ 81FF910
return