Document Safari Zone scripts
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SafariZone_SecretHouse_EventScript_162453",
|
||||
"script": "SafariZone_SecretHouse_EventScript_Attendant",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
SafariZone_SecretHouse_MapScripts:: @ 8162452
|
||||
.byte 0
|
||||
|
||||
SafariZone_SecretHouse_EventScript_162453:: @ 8162453
|
||||
SafariZone_SecretHouse_EventScript_Attendant:: @ 8162453
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_GOT_HM03, EventScript_1624A9
|
||||
msgbox gUnknown_8177DC1
|
||||
goto_if_set FLAG_GOT_HM03, SafariZone_SecretHouse_EventScript_ExplainSurf
|
||||
msgbox SafariZone_SecretHouse_Text_CongratsYouveWon
|
||||
checkitemspace ITEM_HM03, 1
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq EventScript_16249F
|
||||
giveitem_msg gUnknown_8177E92, ITEM_HM03
|
||||
msgbox gUnknown_8177EB7
|
||||
goto_if_eq SafariZone_SecretHouse_EventScript_NoRoomForHM03
|
||||
giveitem_msg SafariZone_SecretHouse_Text_ReceivedHM03FromAttendant, ITEM_HM03
|
||||
msgbox SafariZone_SecretHouse_Text_ExplainSurf
|
||||
setflag FLAG_GOT_HM03
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16249F:: @ 816249F
|
||||
msgbox gUnknown_8177F72
|
||||
SafariZone_SecretHouse_EventScript_NoRoomForHM03:: @ 816249F
|
||||
msgbox SafariZone_SecretHouse_Text_DontHaveRoomForPrize
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_1624A9:: @ 81624A9
|
||||
msgbox gUnknown_8177EB7
|
||||
SafariZone_SecretHouse_EventScript_ExplainSurf:: @ 81624A9
|
||||
msgbox SafariZone_SecretHouse_Text_ExplainSurf
|
||||
release
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
gUnknown_8177DC1:: @ 8177DC1
|
||||
SafariZone_SecretHouse_Text_CongratsYouveWon:: @ 8177DC1
|
||||
.string "Ah! Finally!\p"
|
||||
.string "You're the first person to reach\n"
|
||||
.string "the SECRET HOUSE!\p"
|
||||
@@ -9,11 +9,11 @@ gUnknown_8177DC1:: @ 8177DC1
|
||||
.string "Congratulations!\n"
|
||||
.string "You have won!$"
|
||||
|
||||
gUnknown_8177E92:: @ 8177E92
|
||||
SafariZone_SecretHouse_Text_ReceivedHM03FromAttendant:: @ 8177E92
|
||||
.string "{PLAYER} received HM03\n"
|
||||
.string "from the attendant!$"
|
||||
|
||||
gUnknown_8177EB7:: @ 8177EB7
|
||||
SafariZone_SecretHouse_Text_ExplainSurf:: @ 8177EB7
|
||||
.string "HM03 is SURF.\p"
|
||||
.string "POKéMON will be able to ferry you\n"
|
||||
.string "across water using it.\p"
|
||||
@@ -22,7 +22,7 @@ gUnknown_8177EB7:: @ 8177EB7
|
||||
.string "You're super lucky for winning this\n"
|
||||
.string "fabulous prize!$"
|
||||
|
||||
gUnknown_8177F72:: @ 8177F72
|
||||
SafariZone_SecretHouse_Text_DontHaveRoomForPrize:: @ 8177F72
|
||||
.string "You don't have room for this\n"
|
||||
.string "fabulous prize!$"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user