Document Celadon City scripts

This commit is contained in:
GriffinR
2020-01-25 02:05:30 -05:00
parent a09e66b53f
commit 35c0e1f60a
68 changed files with 1713 additions and 1742 deletions
+5 -5
View File
@@ -23,7 +23,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_Restaurant_EventScript_16D1EB",
"script": "CeladonCity_Restaurant_EventScript_Chef",
"flag": "0"
},
{
@@ -36,7 +36,7 @@
"movement_range_y": 2,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_Restaurant_EventScript_16D1F4",
"script": "CeladonCity_Restaurant_EventScript_Woman",
"flag": "0"
},
{
@@ -49,7 +49,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_Restaurant_EventScript_16D25E",
"script": "CeladonCity_Restaurant_EventScript_FatMan",
"flag": "0"
},
{
@@ -62,7 +62,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_Restaurant_EventScript_16D1FD",
"script": "CeladonCity_Restaurant_EventScript_CoinCaseMan",
"flag": "0"
},
{
@@ -75,7 +75,7 @@
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeladonCity_Restaurant_EventScript_16D255",
"script": "CeladonCity_Restaurant_EventScript_WorkerM",
"flag": "0"
}
],
+17 -17
View File
@@ -1,41 +1,41 @@
CeladonCity_Restaurant_MapScripts:: @ 816D1EA
.byte 0
CeladonCity_Restaurant_EventScript_16D1EB:: @ 816D1EB
msgbox gUnknown_81978E6, MSGBOX_NPC
CeladonCity_Restaurant_EventScript_Chef:: @ 816D1EB
msgbox CeladonCity_Restaurant_Text_TakingBreakRightNow, MSGBOX_NPC
end
CeladonCity_Restaurant_EventScript_16D1F4:: @ 816D1F4
msgbox gUnknown_8197915, MSGBOX_NPC
CeladonCity_Restaurant_EventScript_Woman:: @ 816D1F4
msgbox CeladonCity_Restaurant_Text_OftenGoToDrugstore, MSGBOX_NPC
end
CeladonCity_Restaurant_EventScript_16D1FD:: @ 816D1FD
CeladonCity_Restaurant_EventScript_CoinCaseMan:: @ 816D1FD
lock
faceplayer
goto_if_set FLAG_GOT_COIN_CASE, EventScript_16D24B
msgbox gUnknown_81979C1
goto_if_set FLAG_GOT_COIN_CASE, CeladonCity_Restaurant_EventScript_AlreadyGotCoinCase
msgbox CeladonCity_Restaurant_Text_TakeThisImBusted
checkitemspace ITEM_COIN_CASE, 1
compare VAR_RESULT, FALSE
goto_if_eq EventScript_16D241
giveitem_msg gUnknown_8197A38, ITEM_COIN_CASE
goto_if_eq CeladonCity_Restaurant_EventScript_NoRoomForCoinCase
giveitem_msg CeladonCity_Restaurant_Text_ReceivedCoinCaseFromMan, ITEM_COIN_CASE
setflag FLAG_GOT_COIN_CASE
release
end
EventScript_16D241:: @ 816D241
msgbox gUnknown_8197A5E
CeladonCity_Restaurant_EventScript_NoRoomForCoinCase:: @ 816D241
msgbox CeladonCity_Restaurant_Text_MakeRoomForThis
release
end
EventScript_16D24B:: @ 816D24B
msgbox gUnknown_8197A72
CeladonCity_Restaurant_EventScript_AlreadyGotCoinCase:: @ 816D24B
msgbox CeladonCity_Restaurant_Text_ThoughtIdWinItBack
release
end
CeladonCity_Restaurant_EventScript_16D255:: @ 816D255
msgbox gUnknown_8197952, MSGBOX_NPC
CeladonCity_Restaurant_EventScript_WorkerM:: @ 816D255
msgbox CeladonCity_Restaurant_Text_PsstBasementUnderGameCorner, MSGBOX_NPC
end
CeladonCity_Restaurant_EventScript_16D25E:: @ 816D25E
msgbox gUnknown_819798A, MSGBOX_NPC
CeladonCity_Restaurant_EventScript_FatMan:: @ 816D25E
msgbox CeladonCity_Restaurant_Text_ManLostItAllAtSlots, MSGBOX_NPC
end
+8 -8
View File
@@ -1,22 +1,22 @@
gUnknown_81978E6:: @ 81978E6
CeladonCity_Restaurant_Text_TakingBreakRightNow:: @ 81978E6
.string "Hi!\p"
.string "Sorry, but we're taking a break\n"
.string "right now.$"
gUnknown_8197915:: @ 8197915
CeladonCity_Restaurant_Text_OftenGoToDrugstore:: @ 8197915
.string "My POKéMON are weak, so I often\n"
.string "have to go to the DRUGSTORE.$"
gUnknown_8197952:: @ 8197952
CeladonCity_Restaurant_Text_PsstBasementUnderGameCorner:: @ 8197952
.string "Psst! There's a basement under the\n"
.string "GAME CORNER, I hear.$"
gUnknown_819798A:: @ 819798A
CeladonCity_Restaurant_Text_ManLostItAllAtSlots:: @ 819798A
.string "Munch…\p"
.string "The man at that table lost it all\n"
.string "at the slots.$"
gUnknown_81979C1:: @ 81979C1
CeladonCity_Restaurant_Text_TakeThisImBusted:: @ 81979C1
.string "Go ahead! Laugh!\n"
.string "I'm flat-out busted!\p"
.string "No more slots for me!\n"
@@ -24,14 +24,14 @@ gUnknown_81979C1:: @ 81979C1
.string "Here!\n"
.string "I won't be needing this anymore!$"
gUnknown_8197A38:: @ 8197A38
CeladonCity_Restaurant_Text_ReceivedCoinCaseFromMan:: @ 8197A38
.string "{PLAYER} received a COIN CASE\n"
.string "from the man.$"
gUnknown_8197A5E:: @ 8197A5E
CeladonCity_Restaurant_Text_MakeRoomForThis:: @ 8197A5E
.string "Make room for this!$"
gUnknown_8197A72:: @ 8197A72
CeladonCity_Restaurant_Text_ThoughtIdWinItBack:: @ 8197A72
.string "I always thought I was going to\n"
.string "win it back…$"