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/Route8_WestEntrance/scripts.inc | |
| parent | c6673cc8fe233edfb716cf0e584b8b9e65655c92 (diff) | |
dump event scripts
Diffstat (limited to 'data/maps/Route8_WestEntrance/scripts.inc')
| -rw-r--r-- | data/maps/Route8_WestEntrance/scripts.inc | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/data/maps/Route8_WestEntrance/scripts.inc b/data/maps/Route8_WestEntrance/scripts.inc new file mode 100644 index 000000000..472bb5b8f --- /dev/null +++ b/data/maps/Route8_WestEntrance/scripts.inc @@ -0,0 +1,102 @@ +Route8_WestEntrance_MapScripts:: @ 816FB53 + .byte 0 + +Route8_WestEntrance_EventScript_16FB54:: @ 816FB54 + loadword 0, gUnknown_819E50F + callstd 2 + end + +Route8_WestEntrance_EventScript_16FB5D:: @ 816FB5D + lockall + setvar VAR_0x4001, 0 + goto EventScript_16FB81 + end + +Route8_WestEntrance_EventScript_16FB69:: @ 816FB69 + lockall + setvar VAR_0x4001, 1 + goto EventScript_16FB81 + end + +Route8_WestEntrance_EventScript_16FB75:: @ 816FB75 + lockall + setvar VAR_0x4001, 2 + goto EventScript_16FB81 + end + +EventScript_16FB81:: @ 816FB81 + textcolor 0 + applymovement 255, Movement_1A75E9 + waitmovement 0 + checkflag FLAG_0x2A6 + goto_if 1, EventScript_16FBAB + loadword 0, gUnknown_819E3ED + callstd 4 + closemessage + applymovement 255, Movement_16FC2D + waitmovement 0 + releaseall + end + +EventScript_16FBAB:: @ 816FBAB + removeitem ITEM_TEA, 1 + goto EventScript_16FBCC + end + +EventScript_16FBB6:: @ 816FBB6 + removeitem ITEM_SODA_POP, 1 + goto EventScript_16FBCC + end + +EventScript_16FBC1:: @ 816FBC1 + removeitem ITEM_LEMONADE, 1 + goto EventScript_16FBCC + end + +EventScript_16FBCC:: @ 816FBCC + loadword 0, gUnknown_819E43D + callstd 4 + closemessage + compare_var_to_value VAR_0x4001, 0 + call_if 1, EventScript_16FC05 + compare_var_to_value VAR_0x4001, 1 + call_if 1, EventScript_16FC10 + compare_var_to_value VAR_0x4001, 2 + call_if 1, EventScript_16FC1B + loadword 0, gUnknown_819E463 + callstd 4 + setvar VAR_0x4062, 1 + releaseall + end + +EventScript_16FC05:: @ 816FC05 + applymovement 255, Movement_16FC2B + waitmovement 0 + return + +EventScript_16FC10:: @ 816FC10 + applymovement 255, Movement_16FC26 + waitmovement 0 + return + +EventScript_16FC1B:: @ 816FC1B + applymovement 255, Movement_16FC28 + waitmovement 0 + return + +Movement_16FC26:: @ 816FC26 + step_11 + step_end + +Movement_16FC28:: @ 816FC28 + step_11 + step_11 + step_end + +Movement_16FC2B:: @ 816FC2B + step_26 + step_end + +Movement_16FC2D:: @ 816FC2D + step_13 + step_end |
