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/SSAnne_Exterior | |
| parent | c6673cc8fe233edfb716cf0e584b8b9e65655c92 (diff) | |
dump event scripts
Diffstat (limited to 'data/maps/SSAnne_Exterior')
| -rw-r--r-- | data/maps/SSAnne_Exterior/scripts.inc | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/data/maps/SSAnne_Exterior/scripts.inc b/data/maps/SSAnne_Exterior/scripts.inc new file mode 100644 index 000000000..1bcec87a2 --- /dev/null +++ b/data/maps/SSAnne_Exterior/scripts.inc @@ -0,0 +1,67 @@ +SSAnne_Exterior_MapScripts:: @ 8160840 + map_script 3, SSAnne_Exterior_MapScript1_16084B + map_script 2, SSAnne_Exterior_MapScript2_16084F + .byte 0 + +SSAnne_Exterior_MapScript1_16084B:: @ 816084B + setworldmapflag 2214 + end + +SSAnne_Exterior_MapScript2_16084F:: @ 816084F + map_script_2 VAR_0x407E, 1, SSAnne_Exterior_160859 + .2byte 0 + +SSAnne_Exterior_160859:: @ 8160859 + lockall + getplayerxy VAR_0x8004, VAR_0x8005 + compare_var_to_value VAR_0x8005, 6 + call_if 3, EventScript_1608A1 + compare_var_to_value VAR_0x8005, 7 + call_if 4, EventScript_1608AC + fadenewbgm BGM_FRLG_SURF + delay 50 + special sub_815D334 + waitstate + removeobject 1 + applymovement 255, Movement_1608B7 + waitmovement 0 + setvar VAR_0x407E, 2 + setvar VAR_0x4053, 0 + warp MAP_VERMILIONCITY, 255, 23, 34 + waitstate + releaseall + end + +EventScript_1608A1:: @ 81608A1 + applymovement 255, Movement_1608C1 + waitmovement 0 + return + +EventScript_1608AC:: @ 81608AC + applymovement 255, Movement_1A75ED + waitmovement 0 + return + +Movement_1608B7:: @ 81608B7 + step_11 + step_11 + step_11 + step_11 + step_11 + step_11 + step_11 + step_11 + step_11 + step_end + +Movement_1608C1:: @ 81608C1 + step_10 + step_10 + step_10 + step_10 + step_10 + step_10 + step_10 + step_10 + step_10 + step_end |
