Document Cerulean City scripts
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 1,
|
||||
"script": "CeruleanCity_Gym_EventScript_16AB5B",
|
||||
"script": "CeruleanCity_Gym_EventScript_Luis",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 4,
|
||||
"script": "CeruleanCity_Gym_EventScript_16AB44",
|
||||
"script": "CeruleanCity_Gym_EventScript_Diana",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -49,7 +49,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeruleanCity_Gym_EventScript_16AAA1",
|
||||
"script": "CeruleanCity_Gym_EventScript_Misty",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeruleanCity_Gym_EventScript_16AB7F",
|
||||
"script": "CeruleanCity_Gym_EventScript_GymGuy",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -96,14 +96,14 @@
|
||||
"x": 6,
|
||||
"y": 17,
|
||||
"elevation": 0,
|
||||
"script": "CeruleanCity_Gym_EventScript_16AB9E"
|
||||
"script": "CeruleanCity_Gym_EventScript_GymStatue"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 10,
|
||||
"y": 17,
|
||||
"elevation": 0,
|
||||
"script": "CeruleanCity_Gym_EventScript_16AB9E"
|
||||
"script": "CeruleanCity_Gym_EventScript_GymStatue"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,71 +1,71 @@
|
||||
CeruleanCity_Gym_MapScripts:: @ 816AAA0
|
||||
.byte 0
|
||||
|
||||
CeruleanCity_Gym_EventScript_16AAA1:: @ 816AAA1
|
||||
CeruleanCity_Gym_EventScript_Misty:: @ 816AAA1
|
||||
famechecker FAMECHECKER_MISTY, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
|
||||
trainerbattle_single TRAINER_LEADER_MISTY, Text_1921EF, Text_19242D, EventScript_16AAD3, NO_MUSIC
|
||||
goto_if_unset FLAG_GOT_TM03_FROM_MISTY, EventScript_16AAF9
|
||||
msgbox gUnknown_81922BF
|
||||
trainerbattle_single TRAINER_LEADER_MISTY, CeruleanCity_Gym_Text_MistyIntro, CeruleanCity_Gym_Text_MistyDefeat, CeruleanCity_Gym_EventScript_MistyDefeated, NO_MUSIC
|
||||
goto_if_unset FLAG_GOT_TM03_FROM_MISTY, CeruleanCity_Gym_EventScript_GiveTM03
|
||||
msgbox CeruleanCity_Gym_Text_ExplainTM03
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16AAD3:: @ 816AAD3
|
||||
CeruleanCity_Gym_EventScript_MistyDefeated:: @ 816AAD3
|
||||
famechecker FAMECHECKER_MISTY, 1
|
||||
setflag FLAG_DEFEATED_MISTY
|
||||
setflag FLAG_BADGE02_GET
|
||||
setrespawn SPAWN_CERULEAN_CITY
|
||||
set_gym_trainers 2
|
||||
goto EventScript_16AAF9
|
||||
goto CeruleanCity_Gym_EventScript_GiveTM03
|
||||
end
|
||||
|
||||
EventScript_16AAF9:: @ 816AAF9
|
||||
msgbox gUnknown_81922F7
|
||||
CeruleanCity_Gym_EventScript_GiveTM03:: @ 816AAF9
|
||||
msgbox CeruleanCity_Gym_Text_ExplainCascadeBadge
|
||||
checkitemspace ITEM_TM03, 1
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq EventScript_16AB3A
|
||||
giveitem_msg gUnknown_81923F1, ITEM_TM03
|
||||
goto_if_eq CeruleanCity_Gym_EventScript_NoRoomForTM03
|
||||
giveitem_msg CeruleanCity_Gym_Text_ReceivedTM03FromMisty, ITEM_TM03
|
||||
setflag FLAG_GOT_TM03_FROM_MISTY
|
||||
msgbox gUnknown_81922BF
|
||||
msgbox CeruleanCity_Gym_Text_ExplainTM03
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16AB3A:: @ 816AB3A
|
||||
msgbox gUnknown_819240E
|
||||
CeruleanCity_Gym_EventScript_NoRoomForTM03:: @ 816AB3A
|
||||
msgbox CeruleanCity_Gym_Text_BetterMakeRoomForThis
|
||||
release
|
||||
end
|
||||
|
||||
CeruleanCity_Gym_EventScript_16AB44:: @ 816AB44
|
||||
trainerbattle_single TRAINER_PICNICKER_DIANA, Text_192481, Text_1924D0
|
||||
msgbox gUnknown_81924E4, MSGBOX_AUTOCLOSE
|
||||
CeruleanCity_Gym_EventScript_Diana:: @ 816AB44
|
||||
trainerbattle_single TRAINER_PICNICKER_DIANA, CeruleanCity_Gym_Text_DianaIntro, CeruleanCity_Gym_Text_DianaDefeat
|
||||
msgbox CeruleanCity_Gym_Text_DianaPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
CeruleanCity_Gym_EventScript_16AB5B:: @ 816AB5B
|
||||
trainerbattle_single TRAINER_SWIMMER_MALE_LUIS, Text_192524, Text_192547
|
||||
CeruleanCity_Gym_EventScript_Luis:: @ 816AB5B
|
||||
trainerbattle_single TRAINER_SWIMMER_MALE_LUIS, CeruleanCity_Gym_Text_LuisIntro, CeruleanCity_Gym_Text_LuisDefeat
|
||||
famechecker FAMECHECKER_MISTY, 2
|
||||
msgbox gUnknown_8192556, MSGBOX_AUTOCLOSE
|
||||
msgbox CeruleanCity_Gym_Text_LuisPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
CeruleanCity_Gym_EventScript_16AB7F:: @ 816AB7F
|
||||
CeruleanCity_Gym_EventScript_GymGuy:: @ 816AB7F
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_DEFEATED_MISTY, EventScript_16AB94
|
||||
msgbox gUnknown_81925AC
|
||||
goto_if_set FLAG_DEFEATED_MISTY, CeruleanCity_Gym_EventScript_GymGuyPostVictory
|
||||
msgbox CeruleanCity_Gym_Text_GymGuyAdvice
|
||||
release
|
||||
end
|
||||
|
||||
EventScript_16AB94:: @ 816AB94
|
||||
msgbox gUnknown_8192688
|
||||
CeruleanCity_Gym_EventScript_GymGuyPostVictory:: @ 816AB94
|
||||
msgbox CeruleanCity_Gym_Text_WeMakePrettyGoodTeam
|
||||
release
|
||||
end
|
||||
|
||||
CeruleanCity_Gym_EventScript_16AB9E:: @ 816AB9E
|
||||
CeruleanCity_Gym_EventScript_GymStatue:: @ 816AB9E
|
||||
lockall
|
||||
goto_if_set FLAG_BADGE02_GET, EventScript_16ABB2
|
||||
msgbox gUnknown_81926E1
|
||||
goto_if_set FLAG_BADGE02_GET, CeruleanCity_Gym_EventScript_GymStatuePostVictory
|
||||
msgbox CeruleanCity_Gym_Text_GymStatue
|
||||
releaseall
|
||||
end
|
||||
|
||||
EventScript_16ABB2:: @ 816ABB2
|
||||
msgbox gUnknown_8192719
|
||||
CeruleanCity_Gym_EventScript_GymStatuePostVictory:: @ 816ABB2
|
||||
msgbox CeruleanCity_Gym_Text_GymStatuePlayerWon
|
||||
releaseall
|
||||
end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Text_1921EF:: @ 81921EF
|
||||
CeruleanCity_Gym_Text_MistyIntro:: @ 81921EF
|
||||
.string "Hi, you're a new face!\p"
|
||||
.string "Only those TRAINERS who have a\n"
|
||||
.string "policy about POKéMON can turn pro.\p"
|
||||
@@ -7,11 +7,11 @@ Text_1921EF:: @ 81921EF
|
||||
.string "My policy is an all-out offensive\n"
|
||||
.string "with WATER-type POKéMON!{PLAY_BGM}{MUS_EXEYE}$"
|
||||
|
||||
gUnknown_81922BF:: @ 81922BF
|
||||
CeruleanCity_Gym_Text_ExplainTM03:: @ 81922BF
|
||||
.string "TM03 teaches WATER PULSE.\p"
|
||||
.string "Use it on an aquatic POKéMON!$"
|
||||
|
||||
gUnknown_81922F7:: @ 81922F7
|
||||
CeruleanCity_Gym_Text_ExplainCascadeBadge:: @ 81922F7
|
||||
.string "The CASCADEBADGE makes all\n"
|
||||
.string "POKéMON up to Lv. 30 obey.\p"
|
||||
.string "That includes even outsiders you\n"
|
||||
@@ -22,46 +22,46 @@ gUnknown_81922F7:: @ 81922F7
|
||||
.string "open new pathways.\p"
|
||||
.string "You can also have my favorite TM.$"
|
||||
|
||||
gUnknown_81923F1:: @ 81923F1
|
||||
CeruleanCity_Gym_Text_ReceivedTM03FromMisty:: @ 81923F1
|
||||
.string "{PLAYER} received TM03\n"
|
||||
.string "from MISTY.$"
|
||||
|
||||
gUnknown_819240E:: @ 819240E
|
||||
CeruleanCity_Gym_Text_BetterMakeRoomForThis:: @ 819240E
|
||||
.string "You better make room for this!$"
|
||||
|
||||
Text_19242D:: @ 819242D
|
||||
CeruleanCity_Gym_Text_MistyDefeat:: @ 819242D
|
||||
.string "Wow!\n"
|
||||
.string "You're too much!\p"
|
||||
.string "All right!\p"
|
||||
.string "You can have the CASCADEBADGE to\n"
|
||||
.string "show you beat me.$"
|
||||
|
||||
Text_192481:: @ 8192481
|
||||
CeruleanCity_Gym_Text_DianaIntro:: @ 8192481
|
||||
.string "What? You?\n"
|
||||
.string "I'm more than good enough for you!\p"
|
||||
.string "MISTY won't have to be bothered.$"
|
||||
|
||||
Text_1924D0:: @ 81924D0
|
||||
CeruleanCity_Gym_Text_DianaDefeat:: @ 81924D0
|
||||
.string "You overwhelmed me!$"
|
||||
|
||||
gUnknown_81924E4:: @ 81924E4
|
||||
CeruleanCity_Gym_Text_DianaPostBattle:: @ 81924E4
|
||||
.string "You have to face other TRAINERS\n"
|
||||
.string "to see how good you really are.$"
|
||||
|
||||
Text_192524:: @ 8192524
|
||||
CeruleanCity_Gym_Text_LuisIntro:: @ 8192524
|
||||
.string "Splash!\p"
|
||||
.string "I'm first up!\n"
|
||||
.string "Let's do it!$"
|
||||
|
||||
Text_192547:: @ 8192547
|
||||
CeruleanCity_Gym_Text_LuisDefeat:: @ 8192547
|
||||
.string "That can't be!$"
|
||||
|
||||
gUnknown_8192556:: @ 8192556
|
||||
CeruleanCity_Gym_Text_LuisPostBattle:: @ 8192556
|
||||
.string "MISTY is a TRAINER who's going to\n"
|
||||
.string "keep improving.\p"
|
||||
.string "She won't lose to someone like you!$"
|
||||
|
||||
gUnknown_81925AC:: @ 81925AC
|
||||
CeruleanCity_Gym_Text_GymGuyAdvice:: @ 81925AC
|
||||
.string "Yo!\n"
|
||||
.string "Champ in the making!\p"
|
||||
.string "Let me give you some advice!\p"
|
||||
@@ -72,19 +72,19 @@ gUnknown_81925AC:: @ 81925AC
|
||||
.string "Or, you might use ELECTRIC-type\n"
|
||||
.string "POKéMON and zap them!$"
|
||||
|
||||
gUnknown_8192688:: @ 8192688
|
||||
CeruleanCity_Gym_Text_WeMakePrettyGoodTeam:: @ 8192688
|
||||
.string "You beat MISTY!\n"
|
||||
.string "See, what'd I tell ya?\p"
|
||||
.string "You and me, kid, we make a pretty\n"
|
||||
.string "darn-good team!$"
|
||||
|
||||
gUnknown_81926E1:: @ 81926E1
|
||||
CeruleanCity_Gym_Text_GymStatue:: @ 81926E1
|
||||
.string "CERULEAN POKéMON GYM\n"
|
||||
.string "LEADER: MISTY\p"
|
||||
.string "WINNING TRAINERS:\n"
|
||||
.string "{RIVAL}$"
|
||||
|
||||
gUnknown_8192719:: @ 8192719
|
||||
CeruleanCity_Gym_Text_GymStatuePlayerWon:: @ 8192719
|
||||
.string "CERULEAN POKéMON GYM\n"
|
||||
.string "LEADER: MISTY\p"
|
||||
.string "WINNING TRAINERS:\n"
|
||||
|
||||
Reference in New Issue
Block a user