pokeemerald/data/scripts/maps/Route129.inc
Diegoisawesome f497c1508b Split files from event_scripts.s
Also move maps/scripts to scripts/maps
2017-11-11 16:10:17 -06:00

59 lines
1.7 KiB
PHP

Route129_MapScripts:: @ 81F7284
map_script 3, Route129_MapScript1_1F72AB
map_script 1, Route129_MapScript1_1F7294
map_script 2, Route129_MapScript2_1F72E2
.byte 0
Route129_MapScript1_1F7294: @ 81F7294
compare_var_to_value VAR_0x4037, 15
call_if 1, Route129_EventScript_273C39
compare_var_to_value VAR_0x4037, 16
call_if 1, Route129_EventScript_273CA6
end
Route129_MapScript1_1F72AB: @ 81F72AB
compare_var_to_value VAR_0x4039, 1
call_if 1, Route129_EventScript_273D13
compare_var_to_value VAR_0x405E, 4
call_if 4, Route129_EventScript_1F72D8
compare_var_to_value VAR_0x4037, 15
call_if 1, Route129_EventScript_273D17
compare_var_to_value VAR_0x4037, 16
call_if 1, Route129_EventScript_273D17
end
Route129_EventScript_1F72D8:: @ 81F72D8
checkflag FLAG_SYS_WEATHER_CTRL
call_if 1, Route129_EventScript_27207A
return
Route129_MapScript2_1F72E2: @ 81F72E2
map_script_2 VAR_0x4039, 1, gUnknown_08273D1F
.2byte 0
Route129_EventScript_1F72EC:: @ 81F72EC
trainerbattle 0, TRAINER_CHASE, 0, Route129_Text_2A2F66, Route129_Text_2A2F9D
msgbox Route129_Text_2A2FB9, 6
end
Route129_EventScript_1F7303:: @ 81F7303
trainerbattle 0, TRAINER_ALLISON, 0, Route129_Text_2A2FF2, Route129_Text_2A3034
msgbox Route129_Text_2A3048, 6
end
Route129_EventScript_1F731A:: @ 81F731A
trainerbattle 0, TRAINER_REED, 0, Route129_Text_2A30CD, Route129_Text_2A30F1
msgbox Route129_Text_2A3114, 6
end
Route129_EventScript_1F7331:: @ 81F7331
trainerbattle 0, TRAINER_TISHA, 0, Route129_Text_2A314E, Route129_Text_2A317D
msgbox Route129_Text_2A31A6, 6
end
Route129_EventScript_1F7348:: @ 81F7348
trainerbattle 0, TRAINER_CLARENCE, 0, Route129_Text_2A3204, Route129_Text_2A3239
msgbox Route129_Text_2A3252, 6
end