diff options
| author | garak <garakmon@gmail.com> | 2019-05-06 22:13:57 -0400 |
|---|---|---|
| committer | garak <garakmon@gmail.com> | 2019-05-09 13:46:28 -0400 |
| commit | 4e5d818f89caae9153dd53ba321900e0d4e16c1e (patch) | |
| tree | 889d43985efba48bcf0a9a210e1ec8c4b2b5fd9c /data/maps/VictoryRoad_2F | |
| parent | c6673cc8fe233edfb716cf0e584b8b9e65655c92 (diff) | |
dump event scripts
Diffstat (limited to 'data/maps/VictoryRoad_2F')
| -rw-r--r-- | data/maps/VictoryRoad_2F/scripts.inc | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/data/maps/VictoryRoad_2F/scripts.inc b/data/maps/VictoryRoad_2F/scripts.inc new file mode 100644 index 000000000..20476dac4 --- /dev/null +++ b/data/maps/VictoryRoad_2F/scripts.inc @@ -0,0 +1,86 @@ +VictoryRoad_2F_MapScripts:: @ 8160F92 + map_script 1, VictoryRoad_2F_MapScript1_160F98 + .byte 0 + +VictoryRoad_2F_MapScript1_160F98:: @ 8160F98 + compare_var_to_value VAR_0x4065, 100 + call_if 5, EventScript_160FAF + compare_var_to_value VAR_0x4066, 100 + call_if 5, EventScript_160FC2 + end + +EventScript_160FAF:: @ 8160FAF + setmetatile 13, 10, 775, 1 + setmetatile 13, 11, 791, 1 + return + +EventScript_160FC2:: @ 8160FC2 + setmetatile 33, 16, 775, 1 + setmetatile 33, 17, 791, 1 + return + +VictoryRoad_2F_EventScript_160FD5:: @ 8160FD5 + lockall + compare_var_to_value VAR_0x4065, 100 + goto_if 1, EventScript_161004 + setmetatile 13, 10, 721, 0 + setmetatile 13, 11, 737, 0 + playse SE_MU_PACHI + special DrawWholeMapView + waitse + moveobjectoffscreen 11 + setvar VAR_0x4065, 100 + releaseall + end + +EventScript_161004:: @ 8161004 + releaseall + end + +VictoryRoad_2F_EventScript_161006:: @ 8161006 + lockall + compare_var_to_value VAR_0x4066, 100 + goto_if 1, EventScript_161035 + setmetatile 33, 16, 721, 0 + setmetatile 33, 17, 737, 0 + playse SE_MU_PACHI + special DrawWholeMapView + waitse + moveobjectoffscreen 12 + setvar VAR_0x4066, 100 + releaseall + end + +EventScript_161035:: @ 8161035 + releaseall + end + +VictoryRoad_2F_EventScript_161037:: @ 8161037 + trainerbattle 0, 167, 0, Text_1747EF, Text_17482C + loadword 0, gUnknown_817483E + callstd 6 + end + +VictoryRoad_2F_EventScript_16104E:: @ 816104E + trainerbattle 0, 325, 0, Text_174877, Text_1748B4 + loadword 0, gUnknown_81748BB + callstd 6 + end + +VictoryRoad_2F_EventScript_161065:: @ 8161065 + trainerbattle 0, 287, 0, Text_1748EE, Text_17491B + loadword 0, gUnknown_8174927 + callstd 6 + end + +VictoryRoad_2F_EventScript_16107C:: @ 816107C + trainerbattle 0, 290, 0, Text_174995, Text_1749B0 + loadword 0, gUnknown_81749BB + callstd 6 + end + +VictoryRoad_2F_EventScript_161093:: @ 8161093 + trainerbattle 0, 298, 0, Text_174942, Text_17495A + loadword 0, gUnknown_8174969 + callstd 6 + end |
