mirror of
https://github.com/pret/pokefirered.git
synced 2026-05-06 22:28:44 -05:00
47 lines
1.0 KiB
PHP
47 lines
1.0 KiB
PHP
VictoryRoad_1F_MapScripts:: @ 8160F05
|
|
map_script 1, VictoryRoad_1F_MapScript1_160F10
|
|
map_script 3, VictoryRoad_1F_MapScript2_160F2F
|
|
.byte 0
|
|
|
|
VictoryRoad_1F_MapScript1_160F10:: @ 8160F10
|
|
compare_var_to_value VAR_0x4064, 100
|
|
call_if 5, EventScript_160F1C
|
|
end
|
|
|
|
EventScript_160F1C:: @ 8160F1C
|
|
setmetatile 12, 14, 775, 1
|
|
setmetatile 12, 15, 791, 1
|
|
return
|
|
|
|
VictoryRoad_1F_MapScript2_160F2F:: @ 8160F2F
|
|
setworldmapflag FLAG_WORLD_MAP_VICTORY_ROAD_1F
|
|
end
|
|
|
|
VictoryRoad_1F_EventScript_160F33:: @ 8160F33
|
|
lockall
|
|
compare_var_to_value VAR_0x4064, 100
|
|
goto_if_eq EventScript_160F62
|
|
setmetatile 12, 14, 721, 0
|
|
setmetatile 12, 15, 737, 0
|
|
playse SE_MU_PACHI
|
|
special DrawWholeMapView
|
|
waitse
|
|
moveobjectoffscreen 5
|
|
setvar VAR_0x4064, 100
|
|
releaseall
|
|
end
|
|
|
|
EventScript_160F62:: @ 8160F62
|
|
releaseall
|
|
end
|
|
|
|
VictoryRoad_1F_EventScript_160F64:: @ 8160F64
|
|
trainerbattle 0, 406, 0, Text_174710, Text_174738
|
|
msgbox gUnknown_8174744, 6
|
|
end
|
|
|
|
VictoryRoad_1F_EventScript_160F7B:: @ 8160F7B
|
|
trainerbattle 0, 396, 0, Text_174784, Text_1747B8
|
|
msgbox gUnknown_81747C8, 6
|
|
end
|