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/CeladonCity_Restaurant | |
| parent | c6673cc8fe233edfb716cf0e584b8b9e65655c92 (diff) | |
dump event scripts
Diffstat (limited to 'data/maps/CeladonCity_Restaurant')
| -rw-r--r-- | data/maps/CeladonCity_Restaurant/scripts.inc | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/data/maps/CeladonCity_Restaurant/scripts.inc b/data/maps/CeladonCity_Restaurant/scripts.inc new file mode 100644 index 000000000..2b84f09f0 --- /dev/null +++ b/data/maps/CeladonCity_Restaurant/scripts.inc @@ -0,0 +1,54 @@ +CeladonCity_Restaurant_MapScripts:: @ 816D1EA + .byte 0 + +CeladonCity_Restaurant_EventScript_16D1EB:: @ 816D1EB + loadword 0, gUnknown_81978E6 + callstd 2 + end + +CeladonCity_Restaurant_EventScript_16D1F4:: @ 816D1F4 + loadword 0, gUnknown_8197915 + callstd 2 + end + +CeladonCity_Restaurant_EventScript_16D1FD:: @ 816D1FD + lock + faceplayer + checkflag FLAG_0x243 + goto_if 1, EventScript_16D24B + loadword 0, gUnknown_81979C1 + callstd 4 + checkitemspace ITEM_COIN_CASE, 1 + compare_var_to_value VAR_RESULT, 0 + goto_if 1, EventScript_16D241 + additem ITEM_COIN_CASE, 1 + loadword 0, gUnknown_8197A38 + setorcopyvar VAR_0x8000, 260 + setorcopyvar VAR_0x8001, 1 + setorcopyvar VAR_0x8002, 257 + callstd 9 + setflag FLAG_0x243 + release + end + +EventScript_16D241:: @ 816D241 + loadword 0, gUnknown_8197A5E + callstd 4 + release + end + +EventScript_16D24B:: @ 816D24B + loadword 0, gUnknown_8197A72 + callstd 4 + release + end + +CeladonCity_Restaurant_EventScript_16D255:: @ 816D255 + loadword 0, gUnknown_8197952 + callstd 2 + end + +CeladonCity_Restaurant_EventScript_16D25E:: @ 816D25E + loadword 0, gUnknown_819798A + callstd 2 + end |
