Document Pallet Town scripts
This commit is contained in:
@@ -31,21 +31,21 @@
|
||||
"x": 6,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"script": "PalletTown_PlayersHouse_2F_EventScript_168CD2"
|
||||
"script": "PalletTown_PlayersHouse_2F_EventScript_NES"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "PalletTown_PlayersHouse_2F_EventScript_168CE4"
|
||||
"script": "PalletTown_PlayersHouse_2F_EventScript_PC"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 11,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "PalletTown_PlayersHouse_2F_EventScript_168CDB"
|
||||
"script": "PalletTown_PlayersHouse_2F_EventScript_Sign"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,32 +5,31 @@ PalletTown_PlayersHouse_2F_MapScripts:: @ 8168CA3
|
||||
|
||||
PalletTown_PlayersHouse_2F_OnTransition:: @ 8168CAE
|
||||
compare VAR_MAP_SCENE_PALLET_TOWN_PLAYERS_HOUSE_2F, 0
|
||||
call_if_eq EventScript_168CBA
|
||||
call_if_eq PalletTown_PlayersHouse_2F_EventScript_SetRespawn
|
||||
end
|
||||
|
||||
EventScript_168CBA:: @ 8168CBA
|
||||
PalletTown_PlayersHouse_2F_EventScript_SetRespawn:: @ 8168CBA
|
||||
setrespawn SPAWN_PALLET_TOWN
|
||||
return
|
||||
|
||||
PalletTown_PlayersHouse_2F_OnWarp:: @ 8168CBE
|
||||
map_script_2 VAR_MAP_SCENE_PALLET_TOWN_PLAYERS_HOUSE_2F, 0, EventScript_168CC8
|
||||
map_script_2 VAR_MAP_SCENE_PALLET_TOWN_PLAYERS_HOUSE_2F, 0, PalletTown_PlayersHouse_2F_FirstWarpIn
|
||||
.2byte 0
|
||||
|
||||
EventScript_168CC8:: @ 8168CC8
|
||||
PalletTown_PlayersHouse_2F_FirstWarpIn:: @ 8168CC8
|
||||
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
|
||||
setvar VAR_MAP_SCENE_PALLET_TOWN_PLAYERS_HOUSE_2F, 1
|
||||
end
|
||||
|
||||
PalletTown_PlayersHouse_2F_EventScript_168CD2:: @ 8168CD2
|
||||
msgbox gUnknown_818D50B, MSGBOX_SIGN
|
||||
PalletTown_PlayersHouse_2F_EventScript_NES:: @ 8168CD2
|
||||
msgbox PalletTown_PlayersHouse_2F_Text_PlayedWithNES, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
PalletTown_PlayersHouse_2F_EventScript_168CDB:: @ 8168CDB
|
||||
msgbox gUnknown_818D53B, MSGBOX_SIGN
|
||||
PalletTown_PlayersHouse_2F_EventScript_Sign:: @ 8168CDB
|
||||
msgbox PalletTown_PlayersHouse_2F_Text_PressLRForHelp, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
gUnknown_8168CE4:: @ 8168CE4
|
||||
PalletTown_PlayersHouse_2F_EventScript_168CE4:: @ 8168CE4
|
||||
PalletTown_PlayersHouse_2F_EventScript_PC:: @ 8168CE4
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
lockall
|
||||
setvar VAR_0x8004, 32
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
gUnknown_818D50B:: @ 818D50B
|
||||
PalletTown_PlayersHouse_2F_Text_PlayedWithNES:: @ 818D50B
|
||||
.string "{PLAYER} played with the NES.\p"
|
||||
.string "…Okay!\n"
|
||||
.string "It's time to go!$"
|
||||
|
||||
gUnknown_818D53B:: @ 818D53B
|
||||
PalletTown_PlayersHouse_2F_Text_PressLRForHelp:: @ 818D53B
|
||||
.string "It's a posted notice…\p"
|
||||
.string "If you're confused, ask for HELP!\n"
|
||||
.string "Press the L or R Button!$"
|
||||
|
||||
Reference in New Issue
Block a user