Document static mon scripts
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "Route12_EventScript_168014",
|
||||
"script": "Route12_EventScript_Snorlax",
|
||||
"flag": "FLAG_HIDE_ROUTE_12_SNORLAX"
|
||||
},
|
||||
{
|
||||
@@ -249,14 +249,14 @@
|
||||
"x": 17,
|
||||
"y": 13,
|
||||
"elevation": 0,
|
||||
"script": "Route12_EventScript_1680A3"
|
||||
"script": "Route12_EventScript_RouteSign"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 15,
|
||||
"y": 69,
|
||||
"elevation": 0,
|
||||
"script": "Route12_EventScript_1680AC"
|
||||
"script": "Route12_EventScript_FishingSign"
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
|
||||
@@ -3,22 +3,22 @@ Route12_MapScripts:: @ 8168000
|
||||
.byte 0
|
||||
|
||||
Route12_OnResume:: @ 8168006
|
||||
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, EventScript_168010
|
||||
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, Route12_EventScript_TryRemoveSnorlax
|
||||
end
|
||||
|
||||
EventScript_168010:: @ 8168010
|
||||
Route12_EventScript_TryRemoveSnorlax:: @ 8168010
|
||||
removeobject VAR_LAST_TALKED
|
||||
return
|
||||
|
||||
Route12_EventScript_168014:: @ 8168014
|
||||
Route12_EventScript_Snorlax:: @ 8168014
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_unset FLAG_GOT_POKE_FLUTE, EventScript_168099
|
||||
goto_if_unset FLAG_GOT_POKE_FLUTE, Route12_EventScript_SnorlaxNoPokeFlute
|
||||
goto_if_questlog EventScript_ReleaseEnd
|
||||
special sub_8112364
|
||||
msgbox gUnknown_81853CC, MSGBOX_YESNO
|
||||
msgbox Text_WantToUsePokeFlute, MSGBOX_YESNO
|
||||
compare VAR_RESULT, NO
|
||||
goto_if_eq EventScript_16808D
|
||||
goto_if_eq Route12_EventScript_DontUsePokeFlute
|
||||
call EventScript_AwakenSnorlax
|
||||
setwildbattle SPECIES_SNORLAX, 30, ITEM_NONE
|
||||
waitse
|
||||
@@ -32,32 +32,32 @@ Route12_EventScript_168014:: @ 8168014
|
||||
clearflag FLAG_SYS_SPECIAL_WILD_BATTLE
|
||||
specialvar VAR_RESULT, Special_GetBattleOutcome
|
||||
compare VAR_RESULT, B_OUTCOME_WON
|
||||
goto_if_eq EventScript_16808F
|
||||
goto_if_eq Route12_EventScript_FoughtSnorlax
|
||||
compare VAR_RESULT, B_OUTCOME_RAN
|
||||
goto_if_eq EventScript_16808F
|
||||
goto_if_eq Route12_EventScript_FoughtSnorlax
|
||||
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
|
||||
goto_if_eq EventScript_16808F
|
||||
goto_if_eq Route12_EventScript_FoughtSnorlax
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16808D:: @ 816808D
|
||||
Route12_EventScript_DontUsePokeFlute:: @ 816808D
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16808F:: @ 816808F
|
||||
msgbox gUnknown_8185383
|
||||
Route12_EventScript_FoughtSnorlax:: @ 816808F
|
||||
msgbox Text_SnorlaxReturnedToMountains
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_168099:: @ 8168099
|
||||
msgbox gUnknown_8185317
|
||||
Route12_EventScript_SnorlaxNoPokeFlute:: @ 8168099
|
||||
msgbox Route12_Text_MonSprawledOutInSlumber
|
||||
release
|
||||
end
|
||||
|
||||
Route12_EventScript_1680A3:: @ 81680A3
|
||||
msgbox gUnknown_8185797, MSGBOX_SIGN
|
||||
Route12_EventScript_RouteSign:: @ 81680A3
|
||||
msgbox Route12_Text_RouteSign, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
Route12_EventScript_1680AC:: @ 81680AC
|
||||
msgbox gUnknown_81857B3, MSGBOX_SIGN
|
||||
Route12_EventScript_FishingSign:: @ 81680AC
|
||||
msgbox Route12_Text_SportfishingArea, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
gUnknown_8185317:: @ 8185317
|
||||
Route12_Text_MonSprawledOutInSlumber:: @ 8185317
|
||||
.string "A POKéMON is sprawled out in\n"
|
||||
.string "a deep and comfortable slumber.$"
|
||||
|
||||
@@ -6,12 +6,12 @@ Text_SnorlaxWokeUp:: @ 8185354
|
||||
.string "SNORLAX woke up!\p"
|
||||
.string "It attacked in a grumpy rage!$"
|
||||
|
||||
gUnknown_8185383:: @ 8185383
|
||||
Text_SnorlaxReturnedToMountains:: @ 8185383
|
||||
.string "SNORLAX calmed down.\n"
|
||||
.string "It gave a huge yawn…\l"
|
||||
.string "And returned to the mountains.$"
|
||||
|
||||
gUnknown_81853CC:: @ 81853CC
|
||||
Text_WantToUsePokeFlute:: @ 81853CC
|
||||
.string "Want to use the POKé FLUTE?$"
|
||||
|
||||
Text_PlayedPokeFlute:: @ 81853E8
|
||||
@@ -102,10 +102,10 @@ Text_18574D:: @ 818574D
|
||||
.string "I catch them all the time, sure.\n"
|
||||
.string "But, boy are they wimpy.$"
|
||||
|
||||
gUnknown_8185797:: @ 8185797
|
||||
Route12_Text_RouteSign:: @ 8185797
|
||||
.string "ROUTE 12 \n"
|
||||
.string "North to LAVENDER$"
|
||||
|
||||
gUnknown_81857B3:: @ 81857B3
|
||||
Route12_Text_SportfishingArea:: @ 81857B3
|
||||
.string "SPORTFISHING AREA$"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user