pokeemerald/data/maps/LavaridgeTown_Gym_B1F/scripts.inc

60 lines
1.7 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
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
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_7, 0
setvar VAR_TEMP_8, 0
setvar VAR_TEMP_9, 0
setvar VAR_TEMP_A, 0
2017-11-10 02:21:31 +01:00
checktrainerflag TRAINER_KEEGAN
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8B1
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_7, 1
2017-11-10 02:21:31 +01:00
LavaridgeTown_Gym_B1F_EventScript_1FF8B1:: @ 81FF8B1
checktrainerflag TRAINER_JACE
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8BF
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_8, 1
2017-11-10 02:21:31 +01:00
LavaridgeTown_Gym_B1F_EventScript_1FF8BF:: @ 81FF8BF
checktrainerflag TRAINER_JEFF
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8CD
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_9, 1
2017-11-10 02:21:31 +01:00
LavaridgeTown_Gym_B1F_EventScript_1FF8CD:: @ 81FF8CD
checktrainerflag TRAINER_ELI
goto_eq LavaridgeTown_Gym_B1F_EventScript_1FF8DB
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_A, 1
2017-11-10 02:21:31 +01:00
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