diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-07-20 15:18:31 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-07-20 15:18:31 -0400 |
commit | 06351bf63c791c3390edb9968effcfbadbd63fbe (patch) | |
tree | 20d294167a8a2e023c8d163e3c66491ed6e717e1 /data/scripts | |
parent | bea170e8e9555fb6941a952e939277b5bdd3459b (diff) |
Remove address comments
Diffstat (limited to 'data/scripts')
57 files changed, 1980 insertions, 1980 deletions
diff --git a/data/scripts/abnormal_weather.inc b/data/scripts/abnormal_weather.inc index 16f8af41f..9af24c45d 100644 --- a/data/scripts/abnormal_weather.inc +++ b/data/scripts/abnormal_weather.inc @@ -1,44 +1,44 @@ -AbnormalWeather_EventScript_PlaceTilesRoute114North:: @ 8273913 +AbnormalWeather_EventScript_PlaceTilesRoute114North:: setmetatile 7, 3, METATILE_Fallarbor_RedCaveEntrance_Top, 1 setmetatile 7, 4, METATILE_Fallarbor_RedCaveEntrance_Bottom, 0 return -AbnormalWeather_EventScript_PlaceTilesRoute114South:: @ 8273926 +AbnormalWeather_EventScript_PlaceTilesRoute114South:: setmetatile 6, 45, METATILE_Fallarbor_BrownCaveEntrance_Top, 1 setmetatile 6, 46, METATILE_Fallarbor_BrownCaveEntrance_Bottom, 0 return -AbnormalWeather_EventScript_PlaceTilesRoute115West:: @ 8273939 +AbnormalWeather_EventScript_PlaceTilesRoute115West:: setmetatile 21, 5, METATILE_Fallarbor_BrownCaveEntrance_Top, 1 setmetatile 21, 6, METATILE_Fallarbor_BrownCaveEntrance_Bottom, 0 return -AbnormalWeather_EventScript_PlaceTilesRoute115East:: @ 827394C +AbnormalWeather_EventScript_PlaceTilesRoute115East:: setmetatile 36, 9, METATILE_Fallarbor_BrownCaveEntrance_Top, 1 setmetatile 36, 10, METATILE_Fallarbor_BrownCaveEntrance_Bottom, 0 return -AbnormalWeather_EventScript_PlaceTilesRoute116North:: @ 827395F +AbnormalWeather_EventScript_PlaceTilesRoute116North:: setmetatile 59, 12, METATILE_General_CaveEntrance_Top, 1 setmetatile 59, 13, METATILE_General_CaveEntrance_Bottom, 0 return -AbnormalWeather_EventScript_PlaceTilesRoute116South:: @ 8273972 +AbnormalWeather_EventScript_PlaceTilesRoute116South:: setmetatile 79, 5, METATILE_General_CaveEntrance_Top, 1 setmetatile 79, 6, METATILE_General_CaveEntrance_Bottom, 0 return -AbnormalWeather_EventScript_PlaceTilesRoute118East:: @ 8273985 +AbnormalWeather_EventScript_PlaceTilesRoute118East:: setmetatile 42, 5, METATILE_General_CaveEntrance_Top, 1 setmetatile 42, 6, METATILE_General_CaveEntrance_Bottom, 0 return -AbnormalWeather_EventScript_PlaceTilesRoute118West:: @ 8273998 +AbnormalWeather_EventScript_PlaceTilesRoute118West:: setmetatile 9, 5, METATILE_General_CaveEntrance_Top, 1 setmetatile 9, 6, METATILE_General_CaveEntrance_Bottom, 0 return -AbnormalWeather_EventScript_PlaceTilesRoute105North:: @ 82739AB +AbnormalWeather_EventScript_PlaceTilesRoute105North:: setmetatile 10, 28, METATILE_General_RoughWater, 0 setmetatile 11, 28, METATILE_General_RoughWater, 0 setmetatile 9, 29, METATILE_General_RoughWater, 0 @@ -53,7 +53,7 @@ AbnormalWeather_EventScript_PlaceTilesRoute105North:: @ 82739AB setmetatile 11, 31, METATILE_General_RoughWater, 0 return -AbnormalWeather_EventScript_PlaceTilesRoute105South:: @ 8273A18 +AbnormalWeather_EventScript_PlaceTilesRoute105South:: setmetatile 20, 53, METATILE_General_RoughWater, 0 setmetatile 21, 53, METATILE_General_RoughWater, 0 setmetatile 19, 54, METATILE_General_RoughWater, 0 @@ -68,7 +68,7 @@ AbnormalWeather_EventScript_PlaceTilesRoute105South:: @ 8273A18 setmetatile 21, 56, METATILE_General_RoughWater, 0 return -AbnormalWeather_EventScript_PlaceTilesRoute125West:: @ 8273A85 +AbnormalWeather_EventScript_PlaceTilesRoute125West:: setmetatile 8, 16, METATILE_General_RoughWater, 0 setmetatile 9, 16, METATILE_General_RoughWater, 0 setmetatile 7, 17, METATILE_General_RoughWater, 0 @@ -83,7 +83,7 @@ AbnormalWeather_EventScript_PlaceTilesRoute125West:: @ 8273A85 setmetatile 9, 19, METATILE_General_RoughWater, 0 return -AbnormalWeather_EventScript_PlaceTilesRoute125East:: @ 8273AF2 +AbnormalWeather_EventScript_PlaceTilesRoute125East:: setmetatile 53, 18, METATILE_General_RoughWater, 0 setmetatile 54, 18, METATILE_General_RoughWater, 0 setmetatile 52, 19, METATILE_General_RoughWater, 0 @@ -98,7 +98,7 @@ AbnormalWeather_EventScript_PlaceTilesRoute125East:: @ 8273AF2 setmetatile 54, 21, METATILE_General_RoughWater, 0 return -AbnormalWeather_EventScript_PlaceTilesRoute127North:: @ 8273B5F +AbnormalWeather_EventScript_PlaceTilesRoute127North:: setmetatile 57, 9, METATILE_General_RoughWater, 0 setmetatile 58, 9, METATILE_General_RoughWater, 0 setmetatile 56, 10, METATILE_General_RoughWater, 0 @@ -113,7 +113,7 @@ AbnormalWeather_EventScript_PlaceTilesRoute127North:: @ 8273B5F setmetatile 58, 12, METATILE_General_RoughWater, 0 return -AbnormalWeather_EventScript_PlaceTilesRoute127South:: @ 8273BCC +AbnormalWeather_EventScript_PlaceTilesRoute127South:: setmetatile 61, 30, METATILE_General_RoughWater, 0 setmetatile 62, 30, METATILE_General_RoughWater, 0 setmetatile 60, 31, METATILE_General_RoughWater, 0 @@ -128,7 +128,7 @@ AbnormalWeather_EventScript_PlaceTilesRoute127South:: @ 8273BCC setmetatile 62, 33, METATILE_General_RoughWater, 0 return -AbnormalWeather_EventScript_PlaceTilesRoute129West:: @ 8273C39 +AbnormalWeather_EventScript_PlaceTilesRoute129West:: setmetatile 16, 14, METATILE_General_RoughWater, 0 setmetatile 17, 14, METATILE_General_RoughWater, 0 setmetatile 15, 15, METATILE_General_RoughWater, 0 @@ -143,7 +143,7 @@ AbnormalWeather_EventScript_PlaceTilesRoute129West:: @ 8273C39 setmetatile 17, 17, METATILE_General_RoughWater, 0 return -AbnormalWeather_EventScript_PlaceTilesRoute129East:: @ 8273CA6 +AbnormalWeather_EventScript_PlaceTilesRoute129East:: setmetatile 42, 19, METATILE_General_RoughWater, 0 setmetatile 43, 19, METATILE_General_RoughWater, 0 setmetatile 41, 20, METATILE_General_RoughWater, 0 @@ -158,26 +158,26 @@ AbnormalWeather_EventScript_PlaceTilesRoute129East:: @ 8273CA6 setmetatile 43, 22, METATILE_General_RoughWater, 0 return -AbnormalWeather_EventScript_HideMapNamePopup:: @ 8273D13 +AbnormalWeather_EventScript_HideMapNamePopup:: setflag FLAG_HIDE_MAP_NAME_POPUP return -AbnormalWeather_StartKyogreWeather:: @ 8273D17 +AbnormalWeather_StartKyogreWeather:: setweather WEATHER_DOWNPOUR return -AbnormalWeather_StartGroudonWeather:: @ 8273D1B +AbnormalWeather_StartGroudonWeather:: setweather WEATHER_DROUGHT return -AbnormalWeather_EventScript_EndEventAndCleanup_1:: @ 8273D1F +AbnormalWeather_EventScript_EndEventAndCleanup_1:: lockall compare VAR_ABNORMAL_WEATHER_LOCATION, MARINE_CAVE_LOCATIONS_START goto_if_ge AbnormalWeather_EventScript_ShowRainEndedMessage goto AbnormalWeather_EventScript_ShowSunEndedMessage end -AbnormalWeather_EventScript_EndEventAndCleanup_2:: @ 8273D31 +AbnormalWeather_EventScript_EndEventAndCleanup_2:: closemessage fadescreenswapbuffers FADE_TO_BLACK setweather WEATHER_SUNNY @@ -191,17 +191,17 @@ AbnormalWeather_EventScript_EndEventAndCleanup_2:: @ 8273D31 releaseall end -AbnormalWeather_EventScript_ShowRainEndedMessage:: @ 8273D51 +AbnormalWeather_EventScript_ShowRainEndedMessage:: msgbox gText_AbnormalWeatherEnded_Rain, MSGBOX_DEFAULT goto AbnormalWeather_EventScript_EndEventAndCleanup_2 end -AbnormalWeather_EventScript_ShowSunEndedMessage:: @ 8273D5F +AbnormalWeather_EventScript_ShowSunEndedMessage:: msgbox gText_AbnormalWeatherEnded_Sun, MSGBOX_DEFAULT goto AbnormalWeather_EventScript_EndEventAndCleanup_2 end -AbnormalWeather_EventScript_CleanupMapTiles:: @ 8273D6D +AbnormalWeather_EventScript_CleanupMapTiles:: switch VAR_ABNORMAL_WEATHER_LOCATION case ABNORMAL_WEATHER_ROUTE_114_NORTH, AbnormalWeather_EventScript_CleanupRoute114North case ABNORMAL_WEATHER_ROUTE_114_SOUTH, AbnormalWeather_EventScript_CleanupRoute114South @@ -221,47 +221,47 @@ AbnormalWeather_EventScript_CleanupMapTiles:: @ 8273D6D case ABNORMAL_WEATHER_ROUTE_129_EAST, AbnormalWeather_EventScript_CleanupRoute129East return -AbnormalWeather_EventScript_CleanupRoute114North:: @ 8273E23 +AbnormalWeather_EventScript_CleanupRoute114North:: setmetatile 7, 3, METATILE_Fallarbor_RedRockWall, 1 setmetatile 7, 4, METATILE_Fallarbor_RedRockWall, 1 return -AbnormalWeather_EventScript_CleanupRoute114South:: @ 8273E36 +AbnormalWeather_EventScript_CleanupRoute114South:: setmetatile 6, 45, METATILE_Fallarbor_BrownRockWall, 1 setmetatile 6, 46, METATILE_Fallarbor_BrownRockWall, 1 return -AbnormalWeather_EventScript_CleanupRoute115West:: @ 8273E49 +AbnormalWeather_EventScript_CleanupRoute115West:: setmetatile 21, 5, METATILE_Fallarbor_BrownRockWall, 1 setmetatile 21, 6, METATILE_Fallarbor_BrownRockWall, 1 return -AbnormalWeather_EventScript_CleanupRoute115East:: @ 8273E5C +AbnormalWeather_EventScript_CleanupRoute115East:: setmetatile 36, 9, METATILE_Fallarbor_BrownRockWall, 1 setmetatile 36, 10, METATILE_Fallarbor_BrownRockWall, 1 return -AbnormalWeather_EventScript_CleanupRoute116North:: @ 8273E6F +AbnormalWeather_EventScript_CleanupRoute116North:: setmetatile 59, 12, METATILE_General_RockWall_RockBase, 1 setmetatile 59, 13, METATILE_General_RockWall_RockBase, 1 return -AbnormalWeather_EventScript_CleanupRoute116South:: @ 8273E82 +AbnormalWeather_EventScript_CleanupRoute116South:: setmetatile 79, 5, METATILE_General_RockWall_RockBase, 1 setmetatile 79, 6, METATILE_General_RockWall_RockBase, 1 return -AbnormalWeather_EventScript_CleanupRoute118East:: @ 8273E95 +AbnormalWeather_EventScript_CleanupRoute118East:: setmetatile 42, 5, METATILE_General_RockWall_RockBase, 1 setmetatile 42, 6, METATILE_General_RockWall_GrassBase, 1 return -AbnormalWeather_EventScript_CleanupRoute118West:: @ 8273EA8 +AbnormalWeather_EventScript_CleanupRoute118West:: setmetatile 9, 5, METATILE_General_RockWall_RockBase, 1 setmetatile 9, 6, METATILE_General_RockWall_GrassBase, 1 return -AbnormalWeather_EventScript_CleanupRoute105North:: @ 8273EBB +AbnormalWeather_EventScript_CleanupRoute105North:: setmetatile 10, 28, METATILE_General_CalmWater, 0 setmetatile 11, 28, METATILE_General_CalmWater, 0 setmetatile 9, 29, METATILE_General_CalmWater, 0 @@ -276,7 +276,7 @@ AbnormalWeather_EventScript_CleanupRoute105North:: @ 8273EBB setmetatile 11, 31, METATILE_General_CalmWater, 0 return -AbnormalWeather_EventScript_CleanupRoute105South:: @ 8273F28 +AbnormalWeather_EventScript_CleanupRoute105South:: setmetatile 20, 53, METATILE_General_CalmWater, 0 setmetatile 21, 53, METATILE_General_CalmWater, 0 setmetatile 19, 54, METATILE_General_CalmWater, 0 @@ -291,7 +291,7 @@ AbnormalWeather_EventScript_CleanupRoute105South:: @ 8273F28 setmetatile 21, 56, METATILE_General_CalmWater, 0 return -AbnormalWeather_EventScript_CleanupRoute125West:: @ 8273F95 +AbnormalWeather_EventScript_CleanupRoute125West:: setmetatile 8, 16, METATILE_General_CalmWater, 0 setmetatile 9, 16, METATILE_General_CalmWater, 0 setmetatile 7, 17, METATILE_General_CalmWater, 0 @@ -306,7 +306,7 @@ AbnormalWeather_EventScript_CleanupRoute125West:: @ 8273F95 setmetatile 9, 19, METATILE_General_CalmWater, 0 return -AbnormalWeather_EventScript_CleanupRoute125East:: @ 8274002 +AbnormalWeather_EventScript_CleanupRoute125East:: setmetatile 53, 18, METATILE_General_CalmWater, 0 setmetatile 54, 18, METATILE_General_CalmWater, 0 setmetatile 52, 19, METATILE_General_CalmWater, 0 @@ -321,7 +321,7 @@ AbnormalWeather_EventScript_CleanupRoute125East:: @ 8274002 setmetatile 54, 21, METATILE_General_CalmWater, 0 return -AbnormalWeather_EventScript_CleanupRoute127North:: @ 827406F +AbnormalWeather_EventScript_CleanupRoute127North:: setmetatile 57, 9, METATILE_General_CalmWater, 0 setmetatile 58, 9, METATILE_General_CalmWater, 0 setmetatile 56, 10, METATILE_General_CalmWater, 0 @@ -336,7 +336,7 @@ AbnormalWeather_EventScript_CleanupRoute127North:: @ 827406F setmetatile 58, 12, METATILE_General_CalmWater, 0 return -AbnormalWeather_EventScript_CleanupRoute127South:: @ 82740DC +AbnormalWeather_EventScript_CleanupRoute127South:: setmetatile 61, 30, METATILE_General_CalmWater, 0 setmetatile 62, 30, METATILE_General_CalmWater, 0 setmetatile 60, 31, METATILE_General_CalmWater, 0 @@ -351,7 +351,7 @@ AbnormalWeather_EventScript_CleanupRoute127South:: @ 82740DC setmetatile 62, 33, METATILE_General_CalmWater, 0 return -AbnormalWeather_EventScript_CleanupRoute129West:: @ 8274149 +AbnormalWeather_EventScript_CleanupRoute129West:: setmetatile 16, 14, METATILE_General_CalmWater, 0 setmetatile 17, 14, METATILE_General_CalmWater, 0 setmetatile 15, 15, METATILE_General_CalmWater, 0 @@ -366,7 +366,7 @@ AbnormalWeather_EventScript_CleanupRoute129West:: @ 8274149 setmetatile 17, 17, METATILE_General_CalmWater, 0 return -AbnormalWeather_EventScript_CleanupRoute129East:: @ 82741B6 +AbnormalWeather_EventScript_CleanupRoute129East:: setmetatile 42, 19, METATILE_General_CalmWater, 0 setmetatile 43, 19, METATILE_General_CalmWater, 0 setmetatile 41, 20, METATILE_General_CalmWater, 0 @@ -381,7 +381,7 @@ AbnormalWeather_EventScript_CleanupRoute129East:: @ 82741B6 setmetatile 43, 22, METATILE_General_CalmWater, 0 return -AbnormalWeather_Underwater_SetupEscapeWarp:: @ 8274223 +AbnormalWeather_Underwater_SetupEscapeWarp:: switch VAR_ABNORMAL_WEATHER_LOCATION case ABNORMAL_WEATHER_ROUTE_105_NORTH, AbnormalWeather_Underwater_SetupEscapeWarpRoute105North case ABNORMAL_WEATHER_ROUTE_105_SOUTH, AbnormalWeather_Underwater_SetupEscapeWarpRoute105South @@ -393,34 +393,34 @@ AbnormalWeather_Underwater_SetupEscapeWarp:: @ 8274223 case ABNORMAL_WEATHER_ROUTE_129_EAST, AbnormalWeather_Underwater_SetupEscapeWarpRoute129East return -AbnormalWeather_Underwater_SetupEscapeWarpRoute105North:: @ 8274281 +AbnormalWeather_Underwater_SetupEscapeWarpRoute105North:: setescapewarp MAP_ROUTE105, 255, 11, 29 return -AbnormalWeather_Underwater_SetupEscapeWarpRoute105South:: @ 827428A +AbnormalWeather_Underwater_SetupEscapeWarpRoute105South:: setescapewarp MAP_ROUTE105, 255, 21, 54 return -AbnormalWeather_Underwater_SetupEscapeWarpRoute125West:: @ 8274293 +AbnormalWeather_Underwater_SetupEscapeWarpRoute125West:: setescapewarp MAP_ROUTE125, 255, 9, 17 return -AbnormalWeather_Underwater_SetupEscapeWarpRoute125East:: @ 827429C +AbnormalWeather_Underwater_SetupEscapeWarpRoute125East:: setescapewarp MAP_ROUTE125, 255, 54, 19 return -AbnormalWeather_Underwater_SetupEscapeWarpRoute127North:: @ 82742A5 +AbnormalWeather_Underwater_SetupEscapeWarpRoute127North:: setescapewarp MAP_ROUTE127, 255, 58, 10 return -AbnormalWeather_Underwater_SetupEscapeWarpRoute127South:: @ 82742AE +AbnormalWeather_Underwater_SetupEscapeWarpRoute127South:: setescapewarp MAP_ROUTE127, 255, 62, 31 return -AbnormalWeather_Underwater_SetupEscapeWarpRoute129West:: @ 82742B7 +AbnormalWeather_Underwater_SetupEscapeWarpRoute129West:: setescapewarp MAP_ROUTE129, 255, 17, 15 return -AbnormalWeather_Underwater_SetupEscapeWarpRoute129East:: @ 82742C0 +AbnormalWeather_Underwater_SetupEscapeWarpRoute129East:: setescapewarp MAP_ROUTE129, 255, 43, 20 return diff --git a/data/scripts/apprentice.inc b/data/scripts/apprentice.inc index f5fa3aeeb..2a6772a5d 100644 --- a/data/scripts/apprentice.inc +++ b/data/scripts/apprentice.inc @@ -1,6 +1,6 @@ .set LOCALID_APPRENTICE, 6 -BattleFrontier_BattleTowerLobby_EventScript_Apprentice:: @ 82B688D +BattleFrontier_BattleTowerLobby_EventScript_Apprentice:: lock faceplayer apprentice_gavelvlmode @@ -10,7 +10,7 @@ BattleFrontier_BattleTowerLobby_EventScript_Apprentice:: @ 82B688D compare VAR_0x8004, FALSE @ Always TRUE here goto_if_eq Apprentice_EventScript_AskQuestion goto_if_set FLAG_DAILY_APPRENTICE_LEAVES, Apprentice_EventScript_Gone -Apprentice_EventScript_AskQuestion: @ 82B68BE +Apprentice_EventScript_AskQuestion: apprentice_getquestion compare VAR_RESULT, APPRENTICE_QUESTION_WHICH_MON goto_if_eq Apprentice_EventScript_UseWhichMon @@ -26,10 +26,10 @@ Apprentice_EventScript_AskQuestion: @ 82B68BE releaseall end -Apprentice_EventScript_FirstMeeting: @ 82B6900 +Apprentice_EventScript_FirstMeeting: apprentice_buff 0, APPRENTICE_BUFF_NAME apprentice_msg FALSE, APPRENTICE_MSG_PLEASE_TEACH -Apprentice_EventScript_WhichLvlMode: @ 82B6925 +Apprentice_EventScript_WhichLvlMode: apprentice_menu APPRENTICE_ASK_YES_NO compare VAR_RESULT, 1 goto_if_eq Apprentice_EventScript_RejectTeach @@ -48,11 +48,11 @@ Apprentice_EventScript_WhichLvlMode: @ 82B6925 end @ Its impossible to fully reject an Apprentice, they just keep asking for you to teach them -Apprentice_EventScript_RejectTeach: @ 82B69BB +Apprentice_EventScript_RejectTeach: apprentice_msg FALSE, APPRENTICE_MSG_REJECT goto Apprentice_EventScript_WhichLvlMode -Apprentice_EventScript_UseWhichMon: @ 82B69D3 +Apprentice_EventScript_UseWhichMon: apprentice_initquestion APPRENTICE_QUESTION_WHICH_MON apprentice_buff 0, APPRENTICE_BUFF_SPECIES1 apprentice_buff 1, APPRENTICE_BUFF_SPECIES2 @@ -80,24 +80,24 @@ Apprentice_EventScript_UseWhichMon: @ 82B69D3 goto Apprentice_EventScript_Leave end -Apprentice_EventScript_ChoseFirstMon: @ 82B6ABA +Apprentice_EventScript_ChoseFirstMon: setvar VAR_0x8007, APPRENTICE_BUFF_SPECIES1 return -Apprentice_EventScript_ChoseSecondMon: @ 82B6AC0 +Apprentice_EventScript_ChoseSecondMon: setvar VAR_0x8007, APPRENTICE_BUFF_SPECIES2 return -Apprentice_EventScript_LastMonSelected: @ 82B6AC6 +Apprentice_EventScript_LastMonSelected: apprentice_randomizequestions return -Apprentice_EventScript_UseWhatHeldItem: @ 82B6ACF +Apprentice_EventScript_UseWhatHeldItem: apprentice_initquestion APPRENTICE_QUESTION_WHAT_ITEM apprentice_buff 0, APPRENTICE_BUFF_SPECIES3 apprentice_msg TRUE, APPRENTICE_MSG_WHAT_HELD_ITEM apprentice_freequestion -Apprentice_EventScript_ChooseHoldItem: @ 82B6B09 +Apprentice_EventScript_ChooseHoldItem: fadescreen FADE_TO_BLACK setvar VAR_RESULT, 0 apprentice_openbag @@ -117,7 +117,7 @@ Apprentice_EventScript_ChooseHoldItem: @ 82B6B09 goto Apprentice_EventScript_Leave end -Apprentice_EventScript_ConfirmHoldNothing: @ 82B6B81 +Apprentice_EventScript_ConfirmHoldNothing: apprentice_initquestion APPRENTICE_QUESTION_WHAT_ITEM apprentice_buff 0, APPRENTICE_BUFF_SPECIES3 apprentice_msg FALSE, APPRENTICE_MSG_HOLD_NOTHING @@ -125,7 +125,7 @@ Apprentice_EventScript_ConfirmHoldNothing: @ 82B6B81 apprentice_freequestion compare VAR_RESULT, 0 goto_if_eq Apprentice_EventScript_ChooseHoldItem -Apprentice_EventScript_HoldNothing: @ 82B6BD4 +Apprentice_EventScript_HoldNothing: apprentice_msg TRUE, APPRENTICE_MSG_THANKS_NO_HELD_ITEM apprentice_answeredquestion call Apprentice_EventScript_SetHideFlags @@ -138,7 +138,7 @@ Apprentice_EventScript_HoldNothing: @ 82B6BD4 @ Because Battle Tower mons may not hold the same item, the player must suggest a @ different item if theyve already told the Apprentice to use it for another mon -Apprentice_EventScript_AlreadySuggestedItem: @ 82B6C0C +Apprentice_EventScript_AlreadySuggestedItem: apprentice_initquestion APPRENTICE_QUESTION_WHAT_ITEM apprentice_buff 0, APPRENTICE_BUFF_ITEM apprentice_buff 1, APPRENTICE_BUFF_SPECIES3 @@ -150,7 +150,7 @@ Apprentice_EventScript_AlreadySuggestedItem: @ 82B6C0C goto Apprentice_EventScript_HoldNothing end -Apprentice_EventScript_UseWhichMove: @ 82B6C77 +Apprentice_EventScript_UseWhichMove: apprentice_initquestion APPRENTICE_QUESTION_WHICH_MOVE apprentice_buff 0, APPRENTICE_BUFF_SPECIES3 apprentice_buff 1, APPRENTICE_BUFF_MOVE1 @@ -175,15 +175,15 @@ Apprentice_EventScript_UseWhichMove: @ 82B6C77 goto Apprentice_EventScript_Leave end -Apprentice_EventScript_ChoseMove1: @ 82B6D50 +Apprentice_EventScript_ChoseMove1: setvar VAR_0x8007, APPRENTICE_BUFF_MOVE1 return -Apprentice_EventScript_ChoseMove2: @ 82B6D56 +Apprentice_EventScript_ChoseMove2: setvar VAR_0x8007, APPRENTICE_BUFF_MOVE2 return -Apprentice_EventScript_PutWhichMonFirst: @ 82B6D5C +Apprentice_EventScript_PutWhichMonFirst: apprentice_msg FALSE, APPRENTICE_MSG_WHICH_MON_FIRST apprentice_menu APPRENTICE_ASK_3SPECIES apprentice_setleadmon VAR_RESULT @@ -199,7 +199,7 @@ Apprentice_EventScript_PutWhichMonFirst: @ 82B6D5C end @ Last question, after which the Apprentice leaves (and is saved) to be replaced by another -Apprentice_EventScript_PickWinSpeech: @ 82B6DD4 +Apprentice_EventScript_PickWinSpeech: apprentice_msg TRUE, APPRENTICE_MSG_PICK_WIN_SPEECH apprentice_shiftsaved setvar VAR_0x8004, EASY_CHAT_TYPE_APPRENTICE @@ -218,12 +218,12 @@ Apprentice_EventScript_PickWinSpeech: @ 82B6DD4 goto Apprentice_EventScript_Leave end -Apprentice_EventScript_SetHideFlags: @ 82B6E4D +Apprentice_EventScript_SetHideFlags: setflag FLAG_HIDE_APPRENTICE setflag FLAG_DAILY_APPRENTICE_LEAVES return -Apprentice_EventScript_LeaveNorth: @ 82B6E54 +Apprentice_EventScript_LeaveNorth: apprentice_shouldleave compare VAR_0x8004, FALSE @ Always TRUE here goto_if_eq Apprentice_EventScript_DontMove @@ -231,7 +231,7 @@ Apprentice_EventScript_LeaveNorth: @ 82B6E54 waitmovement 0 end -Apprentice_EventScript_Leave: @ 82B6E72 +Apprentice_EventScript_Leave: apprentice_shouldleave compare VAR_0x8004, FALSE @ Always TRUE here goto_if_eq Apprentice_EventScript_DontMove @@ -239,17 +239,17 @@ Apprentice_EventScript_Leave: @ 82B6E72 waitmovement 0 end -Apprentice_EventScript_Gone: @ 82B6E90 +Apprentice_EventScript_Gone: release releaseall end -Apprentice_EventScript_DontMove: @ 82B6E93 +Apprentice_EventScript_DontMove: end -Apprentice_Movement_LeaveNorth: @ 82B6E94 +Apprentice_Movement_LeaveNorth: walk_fast_right -Apprentice_Movement_Leave: @ 82B6E95 +Apprentice_Movement_Leave: walk_fast_down walk_fast_down walk_fast_right diff --git a/data/scripts/battle_pike.inc b/data/scripts/battle_pike.inc index 7ba25321d..3260bcfd8 100644 --- a/data/scripts/battle_pike.inc +++ b/data/scripts/battle_pike.inc @@ -1,9 +1,9 @@ @ Note: LOCALIDs shared with BattleFrontier_BattlePikeRoomNormal -BattleFrontier_BattlePikeRoom_MapScripts: @ 82C3E1B +BattleFrontier_BattlePikeRoom_MapScripts: map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattlePikeRoom_OnTransition map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeRoom_OnWarp -BattleFrontier_BattlePikeRoom_OnTransition: @ 82C3E25 +BattleFrontier_BattlePikeRoom_OnTransition: pike_setroomobjects pike_getroomtype switch VAR_RESULT @@ -17,36 +17,36 @@ BattleFrontier_BattlePikeRoom_OnTransition: @ 82C3E25 case PIKE_ROOM_BRAIN, BattleFrontier_BattlePikeRoomNormal_EventScript_SetBrainRoomObjPos end -BattleFrontier_BattlePikeRoomNormal_EventScript_SetDoubleBattleObjPos:: @ 82C3E93 +BattleFrontier_BattlePikeRoomNormal_EventScript_SetDoubleBattleObjPos:: setobjectxyperm LOCALID_OBJ_0, 2, 5 setobjectxyperm LOCALID_OBJ_1, 6, 5 end -BattleFrontier_BattlePikeRoomNormal_EventScript_SetTwoObjectRoomPos:: @ 82C3EA2 +BattleFrontier_BattlePikeRoomNormal_EventScript_SetTwoObjectRoomPos:: setobjectxyperm LOCALID_OBJ_0, 4, 4 setobjectxyperm LOCALID_OBJ_1, 3, 4 end -BattleFrontier_BattlePikeRoomNormal_EventScript_SetOneObjectRoomPos:: @ 82C3EB1 +BattleFrontier_BattlePikeRoomNormal_EventScript_SetOneObjectRoomPos:: setobjectxyperm LOCALID_OBJ_0, 4, 4 setobjectxyperm LOCALID_OBJ_1, 0, 0 end -BattleFrontier_BattlePikeRoomNormal_EventScript_SetNPCRoomObjPos:: @ 82C3EC0 +BattleFrontier_BattlePikeRoomNormal_EventScript_SetNPCRoomObjPos:: setobjectxyperm LOCALID_OBJ_0, 5, 5 setobjectxyperm LOCALID_OBJ_1, 0, 0 end -BattleFrontier_BattlePikeRoomNormal_EventScript_SetBrainRoomObjPos:: @ 82C3ECF +BattleFrontier_BattlePikeRoomNormal_EventScript_SetBrainRoomObjPos:: setobjectxyperm LOCALID_OBJ_0, 4, 3 setobjectxyperm LOCALID_OBJ_1, 4, 4 end -BattleFrontier_BattlePikeRoom_OnWarp: @ 82C3EDE +BattleFrontier_BattlePikeRoom_OnWarp: map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeRoomNormal_EventScript_InitRoomObjects .2byte 0 -BattleFrontier_BattlePikeRoomNormal_EventScript_InitRoomObjects:: @ 82C3EE8 +BattleFrontier_BattlePikeRoomNormal_EventScript_InitRoomObjects:: setvar VAR_OBJ_GFX_ID_1, OBJ_EVENT_GFX_LINK_RECEPTIONIST setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_LINK_RECEPTIONIST pike_getroomtype @@ -63,33 +63,33 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_InitRoomObjects:: @ 82C3EE8 turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH end -BattleFrontier_BattlePikeRoomNormal_EventScript_InitTwoObjectRoom:: @ 82C3F35 +BattleFrontier_BattlePikeRoomNormal_EventScript_InitTwoObjectRoom:: setvar VAR_TEMP_4, 1 turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH end -BattleFrontier_BattlePikeRoomNormal_EventScript_InitBrainRoomObjects:: @ 82C3F3F +BattleFrontier_BattlePikeRoomNormal_EventScript_InitBrainRoomObjects:: setvar VAR_TEMP_4, 1 turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH hideobjectat LOCALID_OBJ_0, MAP_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_NORMAL @ Pike Queen hidden initially end -BattleFrontier_BattlePikeThreePathRoom_EventScript_LeftRoomWarp:: @ 82C3F4E +BattleFrontier_BattlePikeThreePathRoom_EventScript_LeftRoomWarp:: setvar VAR_0x8007, PIKE_ROOM_LEFT goto BattleFrontier_BattlePikeThreePathRoom_EventScript_RoomWarp end -BattleFrontier_BattlePikeThreePathRoom_EventScript_CenterRoomWarp:: @ 82C3F59 +BattleFrontier_BattlePikeThreePathRoom_EventScript_CenterRoomWarp:: setvar VAR_0x8007, PIKE_ROOM_CENTER goto BattleFrontier_BattlePikeThreePathRoom_EventScript_RoomWarp end -BattleFrontier_BattlePikeThreePathRoom_EventScript_RightRoomWarp:: @ 82C3F64 +BattleFrontier_BattlePikeThreePathRoom_EventScript_RightRoomWarp:: setvar VAR_0x8007, PIKE_ROOM_RIGHT goto BattleFrontier_BattlePikeThreePathRoom_EventScript_RoomWarp end -BattleFrontier_BattlePikeThreePathRoom_EventScript_RoomWarp:: @ 82C3F6F +BattleFrontier_BattlePikeThreePathRoom_EventScript_RoomWarp:: pike_get PIKE_DATA_WIN_STREAK addvar VAR_RESULT, 1 pike_set PIKE_DATA_WIN_STREAK, VAR_RESULT @@ -110,7 +110,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_RoomWarp:: @ 82C3F6F case PIKE_ROOM_BRAIN, BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpNPCRoom end -BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpNPCRoom:: @ 82C4030 +BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpNPCRoom:: applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePikeRoom_Movement_HidePlayer waitmovement 0 call BattleFrontier_BattlePike_EventScript_CloseCurtain @@ -118,7 +118,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpNPCRoom:: @ 82C4030 waitstate end -BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpWildMonRoom:: @ 82C4049 +BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpWildMonRoom:: applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePikeRoom_Movement_HidePlayer waitmovement 0 call BattleFrontier_BattlePike_EventScript_CloseCurtain @@ -126,12 +126,12 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpWildMonRoom:: @ 82C4049 waitstate end -BattleFrontier_BattlePikeThreePathRoom_EventScript_SetEnteredRoom:: @ 82C4062 +BattleFrontier_BattlePikeThreePathRoom_EventScript_SetEnteredRoom:: setvar VAR_TEMP_3, 1 setvar VAR_TEMP_2, 1 end -BattleFrontier_BattlePikeThreePathRoom_EventScript_NoTurningBack:: @ 82C406D +BattleFrontier_BattlePikeThreePathRoom_EventScript_NoTurningBack:: setvar VAR_TEMP_3, 0 setvar VAR_TEMP_2, 0 lockall @@ -139,12 +139,12 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_NoTurningBack:: @ 82C406D closemessage end -BattleFrontier_BattlePikeRoomNormal_EventScript_SetEnteredRoom:: @ 82C4082 +BattleFrontier_BattlePikeRoomNormal_EventScript_SetEnteredRoom:: setvar VAR_TEMP_3, 1 setvar VAR_TEMP_2, 1 end -BattleFrontier_BattlePikeRoomNormal_EventScript_NoTurningBack:: @ 82C408D +BattleFrontier_BattlePikeRoomNormal_EventScript_NoTurningBack:: setvar VAR_TEMP_3, 0 setvar VAR_TEMP_2, 0 lockall @@ -152,7 +152,7 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_NoTurningBack:: @ 82C408D closemessage end -BattleFrontier_BattlePikeRoomNormal_EventScript_Exit:: @ 82C40A2 +BattleFrontier_BattlePikeRoomNormal_EventScript_Exit:: pike_ispartyfullhealth compare VAR_RESULT, TRUE call_if_eq BattleFrontier_BattlePikeRoom_EventScript_DisableHealing @@ -172,29 +172,29 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_Exit:: @ 82C40A2 waitstate end -BattleFrontier_BattlePikeRoom_EventScript_DisableHealing:: @ 82C4128 +BattleFrontier_BattlePikeRoom_EventScript_DisableHealing:: pike_nohealing TRUE return -BattleFrontier_BattlePikeRoom_EventScript_EnableHealing:: @ 82C4136 +BattleFrontier_BattlePikeRoom_EventScript_EnableHealing:: pike_nohealing FALSE return -BattleFrontier_BattlePikeRoom_EventScript_WarpToFinalRoom:: @ 82C4144 +BattleFrontier_BattlePikeRoom_EventScript_WarpToFinalRoom:: applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePikeRoom_Movement_HidePlayer waitmovement 0 call BattleFrontier_BattlePike_EventScript_CloseCurtain warpsilent MAP_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_FINAL, 255, 2, 7 return -BattleFrontier_BattlePikeRoom_EventScript_WarpToThreePathRoom:: @ 82C415C +BattleFrontier_BattlePikeRoom_EventScript_WarpToThreePathRoom:: applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePikeRoom_Movement_HidePlayer waitmovement 0 call BattleFrontier_BattlePike_EventScript_CloseCurtain warpsilent MAP_BATTLE_FRONTIER_BATTLE_PIKE_THREE_PATH_ROOM, 255, 6, 10 return -BattleFrontier_BattlePikeRoomWildMons_EventScript_Exit:: @ 82C4174 +BattleFrontier_BattlePikeRoomWildMons_EventScript_Exit:: pike_exitwildmonroom pike_ispartyfullhealth compare VAR_RESULT, TRUE @@ -215,12 +215,12 @@ BattleFrontier_BattlePikeRoomWildMons_EventScript_Exit:: @ 82C4174 waitstate end -BattleFrontier_BattlePikeRoomWildMons_EventScript_SetEnteredRoom:: @ 82C4202 +BattleFrontier_BattlePikeRoomWildMons_EventScript_SetEnteredRoom:: setvar VAR_TEMP_3, 1 setvar VAR_TEMP_2, 1 end -BattleFrontier_BattlePikeRoomWildMons_EventScript_NoTurningBack:: @ 82C420D +BattleFrontier_BattlePikeRoomWildMons_EventScript_NoTurningBack:: setvar VAR_TEMP_3, 0 setvar VAR_TEMP_2, 0 lockall @@ -228,13 +228,13 @@ BattleFrontier_BattlePikeRoomWildMons_EventScript_NoTurningBack:: @ 82C420D closemessage end -BattleFrontier_BattlePike_EventScript_Retire:: @ 82C4222 +BattleFrontier_BattlePike_EventScript_Retire:: frontier_set FRONTIER_DATA_CHALLENGE_STATUS CHALLENGE_STATUS_LOST warp MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY, 255, 5, 6 waitstate end -BattleFrontier_BattlePikeRoom_OnResume: @ 82C423E +BattleFrontier_BattlePikeRoom_OnResume: setorcopyvar VAR_0x8006, VAR_RESULT @ Save VAR_RESULT from being overwritten frontier_get FRONTIER_DATA_CHALLENGE_STATUS compare VAR_RESULT, CHALLENGE_STATUS_PAUSED @@ -242,14 +242,14 @@ BattleFrontier_BattlePikeRoom_OnResume: @ 82C423E compare VAR_RESULT, CHALLENGE_STATUS_SAVING goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_EndOnResume call BattleFrontier_BattlePikeRoom_EventScript_ResetSketchedMoves -BattleFrontier_BattlePikeThreePathRoom_EventScript_EndOnResume:: @ 82C426B +BattleFrontier_BattlePikeThreePathRoom_EventScript_EndOnResume:: setorcopyvar VAR_RESULT, VAR_0x8006 end -BattleFrontier_BattlePikeRoom_EventScript_ResetSketchedMoves:: @ 82C4271 +BattleFrontier_BattlePikeRoom_EventScript_ResetSketchedMoves:: frontier_resetsketch return -BattleFrontier_BattlePikeRoom_Movement_HidePlayer: @ 82C427A +BattleFrontier_BattlePikeRoom_Movement_HidePlayer: set_invisible step_end diff --git a/data/scripts/berry_blender.inc b/data/scripts/berry_blender.inc index d8dbe80bd..921fa9582 100644 --- a/data/scripts/berry_blender.inc +++ b/data/scripts/berry_blender.inc @@ -8,25 +8,25 @@ .set NUM_OPPONENTS, VAR_0x8009 -BerryBlender_Text_WantToMakePokeblocks: @ 8292DEE +BerryBlender_Text_WantToMakePokeblocks: .string "Oh? Did you want to make some {POKEBLOCK}S\n" .string "with this old-timer?$" -BerryBlender_Text_Excellent: @ 8292E28 +BerryBlender_Text_Excellent: .string "Excellent!$" -BerryBlender_Text_MadeOldTimerSad: @ 8292E33 +BerryBlender_Text_MadeOldTimerSad: .string "Oh…\n" .string "You've made this old-timer sad…$" -BerryBlender_Text_KnowHowToMakePokeblocks: @ 8292E57 +BerryBlender_Text_KnowHowToMakePokeblocks: .string "Do you know how to make a {POKEBLOCK}?$" -BerryBlender_Text_LetsBerryBlender: @ 8292E78 +BerryBlender_Text_LetsBerryBlender: .string "Let's get started, then!\p" .string "Let's BERRY BLENDER!$" -BerryBlender_Text_ExplainBerryBlending: @ 8292EA6 +BerryBlender_Text_ExplainBerryBlending: .string "Okay, a little explanation, then.\p" .string "Oh, don't worry, it's quite simple.\p" .string "When the BLENDER's arrow comes to\n" @@ -34,63 +34,63 @@ BerryBlender_Text_ExplainBerryBlending: @ 8292EA6 .string "That's all you have to do.\n" .string "You'll see how easy it is when you try.$" -BerryBlender_Text_DontHaveAnyBerries: @ 8292F77 +BerryBlender_Text_DontHaveAnyBerries: .string "Oh?\n" .string "You don't have any BERRIES?\p" .string "If you don't have any BERRIES,\n" .string "you can't make any {POKEBLOCK}S.$" -BerryBlender_Text_CanHaveOneOfMyBerries: @ 8292FD1 +BerryBlender_Text_CanHaveOneOfMyBerries: .string "Well, that won't do at all now, will it?\p" .string "If you don't mind leftovers, you can\n" .string "have one of my BERRIES.\p" .string "That way, we could make some {POKEBLOCK}S\n" .string "together using the BERRY BLENDER.$" -BerryBlender_Text_DontHaveAnyBerriesToSpare: @ 829307D +BerryBlender_Text_DontHaveAnyBerriesToSpare: .string "If I had some BERRIES left over,\n" .string "I'd gladly give you one…\p" .string "But, I don't have any to spare today.\n" .string "We'll have to do this another time.$" -BerryBlender_Text_PokeblockCaseIsFull: @ 8293101 +BerryBlender_Text_PokeblockCaseIsFull: .string "But your {POKEBLOCK} CASE is full.\p" .string "You should use some {POKEBLOCK}S before\n" .string "you come see me again.$" -BerryBlender_Text_DontHavePokeblockCase: @ 8293157 +BerryBlender_Text_DontHavePokeblockCase: .string "But you don't have a {POKEBLOCK} CASE.\p" .string "You should get a {POKEBLOCK} CASE and then\n" .string "come see me.$" -BerryBlender_Text_LetsGetBlendingAlready: @ 82931AA +BerryBlender_Text_LetsGetBlendingAlready: .string "Let's get blending already!$" -BerryBlender_Text_WhatKindOfPokeblockWillIGet: @ 82931C6 +BerryBlender_Text_WhatKindOfPokeblockWillIGet: .string "I wonder what kind of {POKEBLOCK} I'll get?\n" .string "This is so exciting!$" -BerryBlender_Text_WantToBlendPokeblocksWithUs: @ 8293201 +BerryBlender_Text_WantToBlendPokeblocksWithUs: .string "Hi, there! Did you want to blend some\n" .string "{POKEBLOCK}S with us?$" -BerryBlender_Text_Okay: @ 8293237 +BerryBlender_Text_Okay: .string "Okay!$" -BerryBlender_Text_ThatsTooBad: @ 829323D +BerryBlender_Text_ThatsTooBad: .string "That's too bad…\p" .string "But we'll always be around whenever\n" .string "you get the urge to blend!$" -BerryBlender_Text_KnowHowToMakePokeblocks2: @ 829328C +BerryBlender_Text_KnowHowToMakePokeblocks2: .string "Of course, you do know how to\n" .string "blend {POKEBLOCK}S, don't you?$" -BerryBlender_Text_LetsBerryBlender2: @ 82932C3 +BerryBlender_Text_LetsBerryBlender2: .string "Let's get started, then!\p" .string "Let's BERRY BLENDER!$" -BerryBlender_Text_ExplainBerryBlending2: @ 82932F1 +BerryBlender_Text_ExplainBerryBlending2: .string "Okay!\n" .string "Let me explain it to you!\p" .string "When the spinning BLENDER's arrow\n" @@ -99,7 +99,7 @@ BerryBlender_Text_ExplainBerryBlending2: @ 82932F1 .string "That's all it takes.\n" .string "Pretty easy, don't you think?$" -BerryBlender_Text_DontHaveAnyBerries2: @ 8293394 +BerryBlender_Text_DontHaveAnyBerries2: .string "Oh, but wait a second here…\n" .string "You don't have any BERRIES.\p" .string "You can't make any {POKEBLOCK}S without\n" @@ -107,40 +107,40 @@ BerryBlender_Text_DontHaveAnyBerries2: @ 8293394 .string "We'll always be around whenever you\n" .string "get hold of some BERRIES to blend.$" -BerryBlender_Text_PokeblockCaseIsFull2: @ 829343E +BerryBlender_Text_PokeblockCaseIsFull2: .string "Oh, but wait a second here…\n" .string "Your {POKEBLOCK} CASE is full.\p" .string "You should use some {POKEBLOCK}S and\n" .string "then come back.$" -BerryBlender_Text_DontHavePokeblockCase2: @ 82934A2 +BerryBlender_Text_DontHavePokeblockCase2: .string "Oh, but wait a second here…\n" .string "You don't have a {POKEBLOCK} CASE.\p" .string "You should get a {POKEBLOCK} CASE and\n" .string "then come back.$" @ Unused -BerryBlender_Text_MakePokeblocksWithOurGroup: @ 829350B +BerryBlender_Text_MakePokeblocksWithOurGroup: .string "Oh, hello! Did you want to make some\n" .string "{POKEBLOCK}S with our little group?$" -BerryBlender_Text_OhDear: @ 829354E +BerryBlender_Text_OhDear: .string "Oh, dear!$" -BerryBlender_Text_LeftUsInShock: @ 8293558 +BerryBlender_Text_LeftUsInShock: .string "Oh, dear me…\p" .string "You've left us in shock!$" -BerryBlender_Text_KnowHowToMakePokeblocks3: @ 829357E +BerryBlender_Text_KnowHowToMakePokeblocks3: .string "Naturally, you know how to make\n" .string "{POKEBLOCK}S, don't you?$" -BerryBlender_Text_LetsBerryBlender3: @ 82935B1 +BerryBlender_Text_LetsBerryBlender3: .string "Okay, dear!\n" .string "Let's get started!\p" .string "Let's BERRY BLENDER!$" -BerryBlender_Text_ExplainBerryBlending3: @ 82935E5 +BerryBlender_Text_ExplainBerryBlending3: .string "Oh, dear!\p" .string "Then, I'll explain it to you nicely.\p" .string "When the BLENDER's arrow spins to\n" @@ -148,7 +148,7 @@ BerryBlender_Text_ExplainBerryBlending3: @ 82935E5 .string "That's all it takes.\n" .string "Isn't it simple?$" -BerryBlender_Text_DontHaveAnyBerries3: @ 829367D +BerryBlender_Text_DontHaveAnyBerries3: .string "You don't have any BERRIES,\n" .string "do you?\p" .string "If you don't have any BERRIES,\n" @@ -157,84 +157,84 @@ BerryBlender_Text_DontHaveAnyBerries3: @ 829367D .string "so let's make some together when\l" .string "you get a BERRY or two.$" -BerryBlender_Text_PokeblockCaseIsFull3: @ 8293738 +BerryBlender_Text_PokeblockCaseIsFull3: .string "Your {POKEBLOCK} CASE is full,\n" .string "it looks like.\p" .string "You should use some {POKEBLOCK}S up\n" .string "and then come back.$" -BerryBlender_Text_DontHavePokeblockCase3: @ 8293792 +BerryBlender_Text_DontHavePokeblockCase3: .string "You haven't gotten a {POKEBLOCK} CASE\n" .string "yet, it looks like.\p" .string "You need to get a {POKEBLOCK} CASE before\n" .string "you come back.$" -BerryBlender_Text_SetNewBlenderRecord: @ 82937F9 +BerryBlender_Text_SetNewBlenderRecord: .string "Okay! Today's going to be the day that\n" .string "I set a new BLENDER speed record!$" -BerryBlender_Text_LookGoodAtBlendingJoinUs: @ 8293842 +BerryBlender_Text_LookGoodAtBlendingJoinUs: .string "Oh, dear!\n" .string "You look as if you're good at blending.\l" .string "Would you like to join us?$" -BerryBlender_Text_MakeDeliciousPokeblocks: @ 829388F +BerryBlender_Text_MakeDeliciousPokeblocks: .string "I'm going to make delicious {POKEBLOCK}S\n" .string "and make my POKéMON cuter.$" -BerryBlender_Text_SaveGameBeforeBerryBlenderLink: @ 82938CD +BerryBlender_Text_SaveGameBeforeBerryBlenderLink: .string "{POKEBLOCK}S will be made with your friends \n" .string "from BERRIES in the BERRY BLENDER.\p" .string "Is it okay to save the game before\n" .string "linking with your friends?$" -BerryBlender_Text_SearchingForFriends: @ 8293955 +BerryBlender_Text_SearchingForFriends: .string "Searching for your friends…\n" .string "… … B Button: Cancel$" -BerryBlender_Text_Player1Arrived: @ 8293986 +BerryBlender_Text_Player1Arrived: .string "{STR_VAR_1} arrived.$" -BerryBlender_Text_Player1And2Arrived: @ 8293992 +BerryBlender_Text_Player1And2Arrived: .string "{STR_VAR_1} and {STR_VAR_2} arrived.$" -BerryBlender_Text_AllPlayersArrived: @ 82939A5 +BerryBlender_Text_AllPlayersArrived: .string "{STR_VAR_1}, {STR_VAR_2}, and\n" .string "{STR_VAR_3} arrived.$" -BerryBlender_Text_NoBerriesLink: @ 82939BD +BerryBlender_Text_NoBerriesLink: .string "You have no BERRIES.\n" .string "The BERRY BLENDER can't be used.$" -BerryBlender_Text_PokeblockCaseIsFullLink: @ 82939F3 +BerryBlender_Text_PokeblockCaseIsFullLink: .string "Your {POKEBLOCK} CASE is full.\n" .string "The BERRY BLENDER can't be used.$" -BerryBlender_Text_DontHavePokeblockCaseLink: @ 8293A2D +BerryBlender_Text_DontHavePokeblockCaseLink: .string "You don't have a {POKEBLOCK} CASE.\n" .string "The BERRY BLENDER can't be used.$" -BerryBlender_Text_LoveMakingPokeblocks: @ 8293A6B +BerryBlender_Text_LoveMakingPokeblocks: .string "I love making {POKEBLOCK}S.\p" .string "I always have some BERRIES with me.$" -BerryBlender_Text_MakePokeblocksUsingBerryBlender: @ 8293AA5 +BerryBlender_Text_MakePokeblocksUsingBerryBlender: .string "If you'd like, we could make some\n" .string "{POKEBLOCK}S together using the\l" .string "BERRY BLENDER.$" -BerryBlender_Text_DontHaveAnyBerriesHaveOne: @ 8293AF0 +BerryBlender_Text_DontHaveAnyBerriesHaveOne: .string "Oh?\n" .string "You don't have any BERRIES?\p" .string "Well, that won't do at all now, will it?\p" .string "If you don't mind leftovers, you can\n" .string "have one of my BERRIES.$" -BerryBlender_Text_UseItToMakePokeblocksTogether: @ 8293B76 +BerryBlender_Text_UseItToMakePokeblocksTogether: .string "We'll use it to make {POKEBLOCK}S together\n" .string "using the BERRY BLENDER.$" -BerryBlender_Text_DontHaveAnyBerriesNoneToSpare: @ 8293BB4 +BerryBlender_Text_DontHaveAnyBerriesNoneToSpare: .string "Oh?\n" .string "You don't have any BERRIES?\p" .string "If I had some left over, I'd gladly\n" @@ -242,7 +242,7 @@ BerryBlender_Text_DontHaveAnyBerriesNoneToSpare: @ 8293BB4 .string "But, I don't have any to spare today.\n" .string "Sorry about that.$" -BerryBlender_EventScript_BerryBlender1:: @ 8293C3E +BerryBlender_EventScript_BerryBlender1:: lockall goto_if_unset FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER, BerryBlender_EventScript_BlendMasterPresent setvar NUM_OPPONENTS, 1 @@ -254,48 +254,48 @@ BerryBlender_EventScript_BerryBlender1:: @ 8293C3E goto BerryBlender_EventScript_DeclineBlender1 end -BerryBlender_EventScript_DeclineBlender1: @ 8293C70 +BerryBlender_EventScript_DeclineBlender1: msgbox BerryBlender_Text_MadeOldTimerSad, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_Blender1NoBerries: @ 8293C7A +BerryBlender_EventScript_Blender1NoBerries: msgbox BerryBlender_Text_DontHaveAnyBerries, MSGBOX_DEFAULT dotimebasedevents goto_if_set FLAG_DAILY_CONTEST_LOBBY_RECEIVED_BERRY, BerryBlender_EventScript_Blender1NoSpareBerries goto BerryBlender_EventScript_Blender1GiveSpareBerry end -BerryBlender_EventScript_Blender1NoSpareBerries: @ 8293C92 +BerryBlender_EventScript_Blender1NoSpareBerries: msgbox BerryBlender_Text_DontHaveAnyBerriesToSpare, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_Blender1GiveSpareBerry: @ 8293C9C +BerryBlender_EventScript_Blender1GiveSpareBerry: msgbox BerryBlender_Text_CanHaveOneOfMyBerries, MSGBOX_DEFAULT giveitem ITEM_PECHA_BERRY setflag FLAG_DAILY_CONTEST_LOBBY_RECEIVED_BERRY goto BerryBlender_EventScript_UseBerryBlender1 end -BerryBlender_EventScript_UseBerryBlender1: @ 8293CB9 +BerryBlender_EventScript_UseBerryBlender1: msgbox BerryBlender_Text_KnowHowToMakePokeblocks, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq BerryBlender_EventScript_StartBlender1 goto BerryBlender_EventScript_ExplainBlending1 end -BerryBlender_EventScript_StartBlender1: @ 8293CD2 +BerryBlender_EventScript_StartBlender1: msgbox BerryBlender_Text_LetsBerryBlender, MSGBOX_DEFAULT goto BerryBlender_EventScript_DoBerryBlending end -BerryBlender_EventScript_ExplainBlending1: @ 8293CE0 +BerryBlender_EventScript_ExplainBlending1: msgbox BerryBlender_Text_ExplainBerryBlending, MSGBOX_DEFAULT goto BerryBlender_EventScript_StartBlender1 end -BerryBlender_EventScript_TryUseBerryBlender1: @ 8293CEE +BerryBlender_EventScript_TryUseBerryBlender1: checkitem ITEM_POKEBLOCK_CASE, 1 compare VAR_RESULT, FALSE goto_if_eq BerryBlender_EventScript_Blender1NoCase @@ -309,7 +309,7 @@ BerryBlender_EventScript_TryUseBerryBlender1: @ 8293CEE goto BerryBlender_EventScript_UseBerryBlender1 end -BerryBlender_EventScript_DoBerryBlending: @ 8293D2C +BerryBlender_EventScript_DoBerryBlending: copyvar VAR_0x8004, NUM_OPPONENTS fadescreen FADE_TO_BLACK special DoBerryBlending @@ -317,17 +317,17 @@ BerryBlender_EventScript_DoBerryBlending: @ 8293D2C releaseall end -BerryBlender_EventScript_Blender1CaseFull: @ 8293D39 +BerryBlender_EventScript_Blender1CaseFull: msgbox BerryBlender_Text_PokeblockCaseIsFull, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_Blender1NoCase: @ 8293D43 +BerryBlender_EventScript_Blender1NoCase: msgbox BerryBlender_Text_DontHavePokeblockCase, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_BerryBlender2:: @ 8293D4D +BerryBlender_EventScript_BerryBlender2:: lockall setvar NUM_OPPONENTS, 2 applymovement LOCALID_TWIN, Common_Movement_FaceOriginalDirection @@ -339,34 +339,34 @@ BerryBlender_EventScript_BerryBlender2:: @ 8293D4D goto BerryBlender_EventScript_DeclineBlender2 end -BerryBlender_EventScript_DeclineBlender2: @ 8293D7D +BerryBlender_EventScript_DeclineBlender2: msgbox BerryBlender_Text_ThatsTooBad, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_Blender2NoBerries: @ 8293D87 +BerryBlender_EventScript_Blender2NoBerries: msgbox BerryBlender_Text_DontHaveAnyBerries2, MSGBOX_DEFAULT release end -BerryBlender_EventScript_UseBerryBlender2: @ 8293D91 +BerryBlender_EventScript_UseBerryBlender2: msgbox BerryBlender_Text_KnowHowToMakePokeblocks2, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq BerryBlender_EventScript_StartBlender2 goto BerryBlender_EventScript_ExplainBlending2 end -BerryBlender_EventScript_StartBlender2: @ 8293DAA +BerryBlender_EventScript_StartBlender2: msgbox BerryBlender_Text_LetsBerryBlender2, MSGBOX_DEFAULT goto BerryBlender_EventScript_DoBerryBlending end -BerryBlender_EventScript_ExplainBlending2: @ 8293DB8 +BerryBlender_EventScript_ExplainBlending2: msgbox BerryBlender_Text_ExplainBerryBlending2, MSGBOX_DEFAULT goto BerryBlender_EventScript_StartBlender2 end -BerryBlender_EventScript_TryUseBerryBlender2: @ 8293DC6 +BerryBlender_EventScript_TryUseBerryBlender2: specialvar VAR_RESULT, PlayerHasBerries compare VAR_RESULT, FALSE goto_if_eq BerryBlender_EventScript_Blender2NoBerries @@ -381,17 +381,17 @@ BerryBlender_EventScript_TryUseBerryBlender2: @ 8293DC6 goto_if_eq BerryBlender_EventScript_Blender2CaseFull end -BerryBlender_EventScript_Blender2CaseFull: @ 8293E0A +BerryBlender_EventScript_Blender2CaseFull: msgbox BerryBlender_Text_PokeblockCaseIsFull2, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_Blender2NoCase: @ 8293E14 +BerryBlender_EventScript_Blender2NoCase: msgbox BerryBlender_Text_DontHavePokeblockCase2, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_BerryBlender3:: @ 8293E1E +BerryBlender_EventScript_BerryBlender3:: lockall setvar VAR_0x8008, LOCALID_POKEFAN_F setvar NUM_OPPONENTS, 3 @@ -405,34 +405,34 @@ BerryBlender_EventScript_BerryBlender3:: @ 8293E1E goto BerryBlender_EventScript_DeclineBlender3 end -BerryBlender_EventScript_DeclineBlender3: @ 8293E5A +BerryBlender_EventScript_DeclineBlender3: msgbox BerryBlender_Text_LeftUsInShock, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_Blender3NoBerries: @ 8293E64 +BerryBlender_EventScript_Blender3NoBerries: msgbox BerryBlender_Text_DontHaveAnyBerries3, MSGBOX_DEFAULT release end -BerryBlender_EventScript_UseBerryBlender3: @ 8293E6E +BerryBlender_EventScript_UseBerryBlender3: msgbox BerryBlender_Text_KnowHowToMakePokeblocks3, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq BerryBlender_EventScript_StartBlender3 goto BerryBlender_EventScript_ExplainBlending3 end -BerryBlender_EventScript_StartBlender3: @ 8293E87 +BerryBlender_EventScript_StartBlender3: msgbox BerryBlender_Text_LetsBerryBlender3, MSGBOX_DEFAULT goto BerryBlender_EventScript_DoBerryBlending end -BerryBlender_EventScript_ExplainBlending3: @ 8293E95 +BerryBlender_EventScript_ExplainBlending3: msgbox BerryBlender_Text_ExplainBerryBlending3, MSGBOX_DEFAULT goto BerryBlender_EventScript_StartBlender3 end -BerryBlender_EventScript_TryUseBlender3: @ 8293EA3 +BerryBlender_EventScript_TryUseBlender3: specialvar VAR_RESULT, PlayerHasBerries compare VAR_RESULT, FALSE goto_if_eq BerryBlender_EventScript_Blender3NoBerries @@ -447,17 +447,17 @@ BerryBlender_EventScript_TryUseBlender3: @ 8293EA3 goto_if_eq BerryBlender_EventScript_Blender3CaseFull end -BerryBlender_EventScript_Blender3CaseFull: @ 8293EE7 +BerryBlender_EventScript_Blender3CaseFull: msgbox BerryBlender_Text_PokeblockCaseIsFull3, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_Blender3NoCase: @ 8293EF1 +BerryBlender_EventScript_Blender3NoCase: msgbox BerryBlender_Text_DontHavePokeblockCase3, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_BlendMasterPresent: @ 8293EFB +BerryBlender_EventScript_BlendMasterPresent: lockall setvar NUM_OPPONENTS, 1 msgbox BerryBlender_Text_SeeMyMasteryInAction, MSGBOX_YESNO @@ -467,12 +467,12 @@ BerryBlender_EventScript_BlendMasterPresent: @ 8293EFB releaseall end -BerryBlender_EventScript_BlendMasterNoBerries: @ 8293F1E +BerryBlender_EventScript_BlendMasterNoBerries: msgbox BerryBlender_Text_BlendMasterNoBerries, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_TryBlendWithBlendMaster: @ 8293F28 +BerryBlender_EventScript_TryBlendWithBlendMaster: checkitem ITEM_POKEBLOCK_CASE, 1 compare VAR_RESULT, FALSE goto_if_eq BerryBlender_EventScript_BlendMasterNoCase @@ -486,7 +486,7 @@ BerryBlender_EventScript_TryBlendWithBlendMaster: @ 8293F28 goto_if_eq BerryBlender_EventScript_BlendMasterCaseFull end -BerryBlender_EventScript_BlendWithBlendMaster: @ 8293F64 +BerryBlender_EventScript_BlendWithBlendMaster: msgbox BerryBlender_Text_BlendMasterKnowHowToMakePokeblocks, MSGBOX_YESNO compare VAR_RESULT, NO call_if_eq BerryBlender_EventScript_BlendMasterExplainBlending @@ -494,38 +494,38 @@ BerryBlender_EventScript_BlendWithBlendMaster: @ 8293F64 goto BerryBlender_EventScript_DoBerryBlending end -BerryBlender_EventScript_BlendMasterExplainBlending: @ 8293F85 +BerryBlender_EventScript_BlendMasterExplainBlending: msgbox BerryBlender_Text_BlendMasterExplainBerryBlending, MSGBOX_DEFAULT return -BerryBlender_EventScript_BlendMasterNoCase: @ 8293F8E +BerryBlender_EventScript_BlendMasterNoCase: msgbox BerryBlender_Text_BlendMasterNoPokeblockCase, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_BlendMasterCaseFull: @ 8293F98 +BerryBlender_EventScript_BlendMasterCaseFull: msgbox BerryBlender_Text_BlendMasterPokeblockCaseFull, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_Blender2Man:: @ 8293FA2 +BerryBlender_EventScript_Blender2Man:: msgbox BerryBlender_Text_SetNewBlenderRecord, MSGBOX_NPC end -BerryBlender_EventScript_Blender3PokefanF:: @ 8293FAB +BerryBlender_EventScript_Blender3PokefanF:: msgbox BerryBlender_Text_LookGoodAtBlendingJoinUs, MSGBOX_NPC end -BerryBlender_EventScript_Blender2Twin:: @ 8293FB4 +BerryBlender_EventScript_Blender2Twin:: msgbox BerryBlender_Text_MakeDeliciousPokeblocks, MSGBOX_NPC end -BerryBlender_EventScript_Blender1ExpertM:: @ 8293FBD +BerryBlender_EventScript_Blender1ExpertM:: setvar VAR_0x8008, 15 goto BerryBlender_EventScript_ExpertMCheckGiveBerry end -BerryBlender_EventScript_ExpertMCheckGiveBerry: @ 8293FC8 +BerryBlender_EventScript_ExpertMCheckGiveBerry: lock faceplayer msgbox BerryBlender_Text_LoveMakingPokeblocks, MSGBOX_DEFAULT @@ -536,12 +536,12 @@ BerryBlender_EventScript_ExpertMCheckGiveBerry: @ 8293FC8 goto_if_eq BerryBlender_EventScript_ExpertMNoBerries end -BerryBlender_EventScript_ExpertMPlayerHasBerries: @ 8293FEE +BerryBlender_EventScript_ExpertMPlayerHasBerries: msgbox BerryBlender_Text_MakePokeblocksUsingBerryBlender, MSGBOX_DEFAULT release end -BerryBlender_EventScript_ExpertMNoBerries: @ 8293FF8 +BerryBlender_EventScript_ExpertMNoBerries: checkitem ITEM_POKEBLOCK_CASE, 1 compare VAR_RESULT, FALSE goto_if_eq BerryBlender_EventScript_ExpertMNoSpareBerries @@ -553,12 +553,12 @@ BerryBlender_EventScript_ExpertMNoBerries: @ 8293FF8 goto BerryBlender_EventScript_ExpertMGiveBerry end -BerryBlender_EventScript_ExpertMNoSpareBerries: @ 8294028 +BerryBlender_EventScript_ExpertMNoSpareBerries: msgbox BerryBlender_Text_DontHaveAnyBerriesNoneToSpare, MSGBOX_DEFAULT release end -BerryBlender_EventScript_ExpertMGiveBerry: @ 8294032 +BerryBlender_EventScript_ExpertMGiveBerry: msgbox BerryBlender_Text_DontHaveAnyBerriesHaveOne, MSGBOX_DEFAULT giveitem ITEM_PECHA_BERRY setflag FLAG_DAILY_CONTEST_LOBBY_RECEIVED_BERRY @@ -566,11 +566,11 @@ BerryBlender_EventScript_ExpertMGiveBerry: @ 8294032 release end -BerryBlender_Movement_BlendLeaderWalkInPlace: @ 8294053 +BerryBlender_Movement_BlendLeaderWalkInPlace: walk_in_place_fastest_right step_end -BerryBlender_EventScript_BerryBlenderLink:: @ 8294055 +BerryBlender_EventScript_BerryBlenderLink:: lockall specialvar VAR_RESULT, PlayerHasBerries compare VAR_RESULT, FALSE @@ -585,7 +585,7 @@ BerryBlender_EventScript_BerryBlenderLink:: @ 8294055 goto_if_eq BerryBlender_EventScript_LinkBlenderCaseFull end -BerryBlender_EventScript_LinkBlenderSaveGame: @ 8294092 +BerryBlender_EventScript_LinkBlenderSaveGame: msgbox BerryBlender_Text_SaveGameBeforeBerryBlenderLink, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq BerryBlender_EventScript_TryDoLinkBlender @@ -593,12 +593,12 @@ BerryBlender_EventScript_LinkBlenderSaveGame: @ 8294092 goto_if_eq BerryBlender_EventScript_CancelLinkBlender end -BerryBlender_EventScript_LinkBlenderNoBerries: @ 82940B1 +BerryBlender_EventScript_LinkBlenderNoBerries: msgbox BerryBlender_Text_NoBerriesLink, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_TryDoLinkBlender: @ 82940BB +BerryBlender_EventScript_TryDoLinkBlender: call Common_EventScript_SaveGame compare VAR_RESULT, FALSE goto_if_eq BerryBlender_EventScript_CancelLinkBlender @@ -621,22 +621,22 @@ BerryBlender_EventScript_TryDoLinkBlender: @ 82940BB goto_if_eq BerryBlender_EventScript_LinkError end -BerryBlender_EventScript_TwoPlayerLink: @ 829411D +BerryBlender_EventScript_TwoPlayerLink: msgbox BerryBlender_Text_Player1Arrived, MSGBOX_DEFAULT goto BerryBlender_EventScript_DoLinkBerryBlending end -BerryBlender_EventScript_ThreePlayerLink: @ 829412B +BerryBlender_EventScript_ThreePlayerLink: msgbox BerryBlender_Text_Player1And2Arrived, MSGBOX_DEFAULT goto BerryBlender_EventScript_DoLinkBerryBlending end -BerryBlender_EventScript_FourPlayerLink: @ 8294139 +BerryBlender_EventScript_FourPlayerLink: msgbox BerryBlender_Text_AllPlayersArrived, MSGBOX_DEFAULT goto BerryBlender_EventScript_DoLinkBerryBlending end -BerryBlender_EventScript_DoLinkBerryBlending: @ 8294147 +BerryBlender_EventScript_DoLinkBerryBlending: setvar VAR_0x8004, 0 @ number of opponents, 0 indicates Link fadescreen FADE_TO_BLACK removeobject 240 @ Unclear where these local IDs come from, @@ -648,45 +648,45 @@ BerryBlender_EventScript_DoLinkBerryBlending: @ 8294147 releaseall end -BerryBlender_EventScript_CancelLinkBlender: @ 8294160 +BerryBlender_EventScript_CancelLinkBlender: releaseall end -BerryBlender_EventScript_LinkBlenderCaseFull: @ 8294162 +BerryBlender_EventScript_LinkBlenderCaseFull: msgbox BerryBlender_Text_PokeblockCaseIsFullLink, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_LinkBlenderNoCase: @ 829416C +BerryBlender_EventScript_LinkBlenderNoCase: msgbox BerryBlender_Text_DontHavePokeblockCaseLink, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_CloseLinkNotReady: @ 8294176 +BerryBlender_EventScript_CloseLinkNotReady: special CloseLink msgbox Text_SomeoneIsNotReadyToLink, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_CloseLinkDifferentSelections: @ 8294183 +BerryBlender_EventScript_CloseLinkDifferentSelections: special CloseLink msgbox Text_PlayersMadeDifferentSelections, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_CloseLink: @ 8294190 +BerryBlender_EventScript_CloseLink: special CloseLink msgbox gText_PokeblockLinkCanceled, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_LinkError: @ 829419D +BerryBlender_EventScript_LinkError: special CloseLink msgbox Text_LinkErrorPleaseReset, MSGBOX_DEFAULT releaseall end -BerryBlender_EventScript_SpawnLinkPartners: @ 82941AA +BerryBlender_EventScript_SpawnLinkPartners: fadescreen FADE_TO_BLACK specialvar VAR_RESULT, GetLinkPartnerNames copyvar VAR_0x8008, VAR_RESULT @@ -695,7 +695,7 @@ BerryBlender_EventScript_SpawnLinkPartners: @ 82941AA goto BerryBlender_EventScript_LinkPlayersArrived end -BerryBlender_EventScript_LinkPlayersArrived: @ 82941C4 +BerryBlender_EventScript_LinkPlayersArrived: fadescreen FADE_FROM_BLACK switch VAR_0x8008 case 2, BerryBlender_EventScript_TwoPlayerLink @@ -703,12 +703,12 @@ BerryBlender_EventScript_LinkPlayersArrived: @ 82941C4 case 4, BerryBlender_EventScript_FourPlayerLink end -BerryBlender_EventScript_StartDecideLinkLeader: @ 82941ED +BerryBlender_EventScript_StartDecideLinkLeader: setvar VAR_0x8004, LINK_GROUP_BERRY_BLENDER goto BerryBlender_EventScript_DecideLinkLeader end -BerryBlender_EventScript_DecideLinkLeader: @ 82941F8 +BerryBlender_EventScript_DecideLinkLeader: message LilycoveCity_ContestLobby_Text_PleaseDecideLinkLeader waitmessage multichoice 16, 6, MULTI_LINK_LEADER, FALSE @@ -719,7 +719,7 @@ BerryBlender_EventScript_DecideLinkLeader: @ 82941F8 case MULTI_B_PRESSED, BerryBlender_EventScript_CloseLink end -BerryBlender_EventScript_TryLeadGroup: @ 8294235 +BerryBlender_EventScript_TryLeadGroup: call BerryBlender_EventScript_TryBecomeLinkLeader compare VAR_RESULT, LINKUP_SUCCESS goto_if_eq BerryBlender_EventScript_LinkLeaderDecided @@ -730,7 +730,7 @@ BerryBlender_EventScript_TryLeadGroup: @ 8294235 release end -BerryBlender_EventScript_TryJoinGroup: @ 829425D +BerryBlender_EventScript_TryJoinGroup: call BerryBlender_EventScript_TryJoinLinkGroup compare VAR_RESULT, LINKUP_SUCCESS goto_if_eq BerryBlender_EventScript_LinkLeaderDecided @@ -741,16 +741,16 @@ BerryBlender_EventScript_TryJoinGroup: @ 829425D release end -BerryBlender_EventScript_TryBecomeLinkLeader: @ 8294285 +BerryBlender_EventScript_TryBecomeLinkLeader: special TryBecomeLinkLeader waitstate return -BerryBlender_EventScript_TryJoinLinkGroup: @ 829428A +BerryBlender_EventScript_TryJoinLinkGroup: special TryJoinLinkGroup waitstate return -BerryBlender_EventScript_LinkLeaderDecided: @ 829428F +BerryBlender_EventScript_LinkLeaderDecided: goto BerryBlender_EventScript_SpawnLinkPartners end diff --git a/data/scripts/berry_tree.inc b/data/scripts/berry_tree.inc index fe10af4b3..e415d0c65 100644 --- a/data/scripts/berry_tree.inc +++ b/data/scripts/berry_tree.inc @@ -1,4 +1,4 @@ -BerryTreeScript:: @ 82742F9 +BerryTreeScript:: special ObjectEventInteractionGetBerryTreeData switch VAR_0x8004 case BERRY_STAGE_SPARKLING, BerryTree_EventScript_Sparkling @@ -10,7 +10,7 @@ BerryTreeScript:: @ 82742F9 case BERRY_STAGE_BERRIES, BerryTree_EventScript_CheckBerryFullyGrown end -BerryTree_EventScript_Sparkling:: @ 827434F +BerryTree_EventScript_Sparkling:: lockall message BerryTree_Text_ExclamationPoint waitmessage @@ -18,7 +18,7 @@ BerryTree_EventScript_Sparkling:: @ 827434F releaseall end -BerryTree_EventScript_CheckSoil:: @ 8274359 +BerryTree_EventScript_CheckSoil:: lock faceplayer specialvar VAR_RESULT, PlayerHasBerries @@ -30,7 +30,7 @@ BerryTree_EventScript_CheckSoil:: @ 8274359 release end -BerryTree_EventScript_WantToPlant:: @ 8274374 +BerryTree_EventScript_WantToPlant:: msgbox BerryTree_Text_WantToPlant, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq BerryTree_EventScript_ChooseBerryToPlant @@ -38,7 +38,7 @@ BerryTree_EventScript_WantToPlant:: @ 8274374 goto_if_eq BerryTree_EventScript_CancelPlanting end -BerryTree_EventScript_ChooseBerryToPlant:: @ 8274393 +BerryTree_EventScript_ChooseBerryToPlant:: fadescreen FADE_TO_BLACK closemessage special Bag_ChooseBerry @@ -48,11 +48,11 @@ BerryTree_EventScript_ChooseBerryToPlant:: @ 8274393 removeitem VAR_ITEM_ID call BerryTree_EventScript_PlantBerry -BerryTree_EventScript_CancelPlanting:: @ 82743AF +BerryTree_EventScript_CancelPlanting:: release end -BerryTree_EventScript_CheckBerryStage1:: @ 82743B1 +BerryTree_EventScript_CheckBerryStage1:: lockall special ObjectEventInteractionGetBerryCountString message BerryTree_Text_BerryGrowthStage1 @@ -60,7 +60,7 @@ BerryTree_EventScript_CheckBerryStage1:: @ 82743B1 waitbuttonpress goto BerryTree_EventScript_WantToWater -BerryTree_EventScript_CheckBerryStage2:: @ 82743C1 +BerryTree_EventScript_CheckBerryStage2:: lockall special ObjectEventInteractionGetBerryName message BerryTree_Text_BerryGrowthStage2 @@ -68,7 +68,7 @@ BerryTree_EventScript_CheckBerryStage2:: @ 82743C1 waitbuttonpress goto BerryTree_EventScript_WantToWater -BerryTree_EventScript_CheckBerryStage3:: @ 82743D1 +BerryTree_EventScript_CheckBerryStage3:: lockall special ObjectEventInteractionGetBerryName message BerryTree_Text_BerryGrowthStage3 @@ -76,7 +76,7 @@ BerryTree_EventScript_CheckBerryStage3:: @ 82743D1 waitbuttonpress goto BerryTree_EventScript_WantToWater -BerryTree_EventScript_CheckBerryStage4:: @ 82743E1 +BerryTree_EventScript_CheckBerryStage4:: call BerryTree_EventScript_GetCareAdverb lockall special ObjectEventInteractionGetBerryName @@ -87,7 +87,7 @@ BerryTree_EventScript_CheckBerryStage4:: @ 82743E1 @ VAR_0x8005 here is the number of times watered @ Buffered by ObjectEventInteractionGetBerryTreeData -BerryTree_EventScript_GetCareAdverb:: @ 82743F6 +BerryTree_EventScript_GetCareAdverb:: compare VAR_0x8005, 0 goto_if_eq BerryTree_EventScript_SetAdverbPoor compare VAR_0x8005, 4 @@ -95,16 +95,16 @@ BerryTree_EventScript_GetCareAdverb:: @ 82743F6 bufferstring 1, BerryTree_Text_CareAdverbGood return -BerryTree_EventScript_SetAdverbGreat:: @ 8274413 +BerryTree_EventScript_SetAdverbGreat:: bufferstring 1, BerryTree_Text_CareAdverbGreat return -BerryTree_EventScript_SetAdverbPoor:: @ 827441A +BerryTree_EventScript_SetAdverbPoor:: bufferstring 1, BerryTree_Text_CareAdverbPoor return @ VAR_0x8006 here is the number of berries -BerryTree_EventScript_CheckBerryFullyGrown:: @ 8274421 +BerryTree_EventScript_CheckBerryFullyGrown:: buffernumberstring 1, VAR_0x8006 lock faceplayer @@ -115,7 +115,7 @@ BerryTree_EventScript_CheckBerryFullyGrown:: @ 8274421 compare VAR_RESULT, NO goto_if_eq BerryTree_EventScript_CancelPickingBerry -BerryTree_EventScript_PickBerry:: @ 8274448 +BerryTree_EventScript_PickBerry:: special ObjectEventInteractionPickBerryTree compare VAR_0x8004, 0 goto_if_eq BerryTree_EventScript_BerryPocketFull @@ -132,28 +132,28 @@ BerryTree_EventScript_PickBerry:: @ 8274448 release end -BerryTree_EventScript_BerryPocketFull:: @ 8274470 +BerryTree_EventScript_BerryPocketFull:: message BerryTree_Text_BerryPocketFull waitmessage waitbuttonpress release end -BerryTree_EventScript_CancelPickingBerry:: @ 8274479 +BerryTree_EventScript_CancelPickingBerry:: message BerryTree_Text_BerryLeftUnpicked waitmessage waitbuttonpress release end -BerryTree_EventScript_ItemUsePlantBerry:: @ 8274482 +BerryTree_EventScript_ItemUsePlantBerry:: lockall special ObjectEventInteractionGetBerryTreeData call BerryTree_EventScript_PlantBerry releaseall end -BerryTree_EventScript_WantToWater:: @ 827448D +BerryTree_EventScript_WantToWater:: checkitem ITEM_WAILMER_PAIL, 1 compare VAR_RESULT, 0 goto_if_eq BerryTree_EventScript_DontWater @@ -164,14 +164,14 @@ BerryTree_EventScript_WantToWater:: @ 827448D compare VAR_RESULT, NO goto_if_eq BerryTree_EventScript_DontWater -BerryTree_EventScript_DontWater:: @ 82744BE +BerryTree_EventScript_DontWater:: releaseall end -BerryTree_EventScript_ItemUseWailmerPail:: @ 82744C0 +BerryTree_EventScript_ItemUseWailmerPail:: special ObjectEventInteractionGetBerryTreeData lockall -BerryTree_EventScript_WaterBerry:: @ 82744C4 +BerryTree_EventScript_WaterBerry:: special ObjectEventInteractionGetBerryName message BerryTree_Text_WateredTheBerry waitmessage @@ -184,7 +184,7 @@ BerryTree_EventScript_WaterBerry:: @ 82744C4 releaseall end -BerryTree_EventScript_PlantBerry:: @ 82744DD +BerryTree_EventScript_PlantBerry:: special ObjectEventInteractionPlantBerryTree incrementgamestat GAME_STAT_PLANTED_BERRIES special IncrementDailyPlantedBerries @@ -194,70 +194,70 @@ BerryTree_EventScript_PlantBerry:: @ 82744DD waitbuttonpress return -BerryTree_Text_ItsSoftLoamySoil: @ 82744F0 +BerryTree_Text_ItsSoftLoamySoil: .string "It's soft, loamy soil.$" -BerryTree_Text_WantToPlant: @ 8274507 +BerryTree_Text_WantToPlant: .string "It's soft, loamy soil.\n" .string "Want to plant a BERRY?$" -BerryTree_Text_PlantedOneBerry: @ 8274535 +BerryTree_Text_PlantedOneBerry: .string "{PLAYER} planted one {STR_VAR_1} in\n" .string "the soft, loamy soil.$" -BerryTree_Text_BerryGrowthStage1: @ 8274560 +BerryTree_Text_BerryGrowthStage1: .string "One {STR_VAR_1} was planted here.$" -BerryTree_Text_BerryGrowthStage2: @ 8274579 +BerryTree_Text_BerryGrowthStage2: .string "{STR_VAR_1} has sprouted.$" -BerryTree_Text_BerryGrowthStage3: @ 827458A +BerryTree_Text_BerryGrowthStage3: .string "This {STR_VAR_1} plant is growing taller.$" -BerryTree_Text_BerryGrowthStage4: @ 82745AB +BerryTree_Text_BerryGrowthStage4: .string "These {STR_VAR_1} flowers are blooming\n" .string "{STR_VAR_2}.$" -BerryTree_Text_CareAdverbGreat: @ 82745CD +BerryTree_Text_CareAdverbGreat: .string "very beautifully$" -BerryTree_Text_CareAdverbPoor: @ 82745DE +BerryTree_Text_CareAdverbPoor: .string "cutely$" -BerryTree_Text_CareAdverbGood: @ 82745E5 +BerryTree_Text_CareAdverbGood: .string "prettily$" -BerryTree_Text_WantToPick: @ 82745EE +BerryTree_Text_WantToPick: .string "You found {STR_VAR_2} {STR_VAR_1}!\p" .string "Do you want to pick the\n" .string "{STR_VAR_1}?$" -BerryTree_Text_PickedTheBerry: @ 827461B +BerryTree_Text_PickedTheBerry: .string "{PLAYER} picked the {STR_VAR_2} {STR_VAR_1}.$" -BerryTree_Text_PutAwayBerry: @ 8274630 +BerryTree_Text_PutAwayBerry: .string "{PLAYER} put away the {STR_VAR_1}\n" .string "in the BAG's BERRIES POCKET.\p" .string "The soil returned to its soft and\n" .string "loamy state.$" -BerryTree_Text_BerryPocketFull: @ 827468F +BerryTree_Text_BerryPocketFull: .string "The BAG's BERRIES POCKET is full.\p" .string "The {STR_VAR_1} couldn't be taken.$" -BerryTree_Text_BerryLeftUnpicked: @ 82746CB +BerryTree_Text_BerryLeftUnpicked: .string "{PLAYER} left the {STR_VAR_1}\n" .string "unpicked.$" -BerryTree_Text_WantToWater: @ 82746E4 +BerryTree_Text_WantToWater: .string "Want to water the {STR_VAR_1} with the\n" .string "WAILMER PAIL?$" -BerryTree_Text_WateredTheBerry: @ 8274710 +BerryTree_Text_WateredTheBerry: .string "{PLAYER} watered the {STR_VAR_1}.$" -BerryTree_Text_PlantIsDelighted: @ 8274723 +BerryTree_Text_PlantIsDelighted: .string "The plant seems to be delighted.$" -BerryTree_Text_ExclamationPoint: @ 8274744 +BerryTree_Text_ExclamationPoint: .string "!$" diff --git a/data/scripts/cable_club.inc b/data/scripts/cable_club.inc index c17f77c0a..5cecb60d8 100644 --- a/data/scripts/cable_club.inc +++ b/data/scripts/cable_club.inc @@ -1,8 +1,8 @@ -CableClub_OnTransition: @ 8276ACF +CableClub_OnTransition: call CableClub_EventScript_HideOrShowMysteryGiftMan end -CableClub_EventScript_HideOrShowMysteryGiftMan:: @ 8276AD5 +CableClub_EventScript_HideOrShowMysteryGiftMan:: specialvar VAR_RESULT, ShouldDistributeEonTicket compare VAR_RESULT, TRUE goto_if_eq CableClub_EventScript_ShowMysteryGiftMan @@ -12,30 +12,30 @@ CableClub_EventScript_HideOrShowMysteryGiftMan:: @ 8276AD5 goto CableClub_EventScript_ShowMysteryGiftMan end -CableClub_EventScript_ShowMysteryGiftMan:: @ 8276AFB +CableClub_EventScript_ShowMysteryGiftMan:: clearflag FLAG_HIDE_POKEMON_CENTER_2F_MYSTERY_GIFT_MAN return -CableClub_EventScript_HideMysteryGiftMan:: @ 8276AFF +CableClub_EventScript_HideMysteryGiftMan:: setflag FLAG_HIDE_POKEMON_CENTER_2F_MYSTERY_GIFT_MAN return -CableClub_EventScript_MysteryGiftMan:: @ 8276B03 +CableClub_EventScript_MysteryGiftMan:: specialvar VAR_RESULT, ShouldDistributeEonTicket compare VAR_RESULT, TRUE goto_if_eq CableClub_EventScript_DistributeEonTicket goto CableClub_EventScript_AlreadyGotEonTicket end -CableClub_EventScript_AlreadyGotEonTicket:: @ 8276B19 +CableClub_EventScript_AlreadyGotEonTicket:: gotoram @ Unused? -CableClub_EventScript_MysteryGiftThankYou:: @ 8276B1A +CableClub_EventScript_MysteryGiftThankYou:: msgbox gText_ThankYouForAccessingMysteryGift, MSGBOX_NPC end -CableClub_EventScript_DistributeEonTicket:: @ 8276B23 +CableClub_EventScript_DistributeEonTicket:: checkitem ITEM_EON_TICKET, 1 compare VAR_RESULT, TRUE goto_if_eq CableClub_EventScript_AlreadyGotEonTicket @@ -49,12 +49,12 @@ CableClub_EventScript_DistributeEonTicket:: @ 8276B23 end @ Unused? -CableClub_EventScript_MysteryGiftThankYou2:: @ 8276B62 +CableClub_EventScript_MysteryGiftThankYou2:: msgbox gText_ThankYouForAccessingMysteryGift, MSGBOX_DEFAULT release end -CableClub_OnWarp: @ 8276B6C +CableClub_OnWarp: map_script_2 VAR_CABLE_CLUB_STATE, USING_SINGLE_BATTLE, CableClub_EventScript_CheckTurnAttendant map_script_2 VAR_CABLE_CLUB_STATE, USING_DOUBLE_BATTLE, CableClub_EventScript_CheckTurnAttendant map_script_2 VAR_CABLE_CLUB_STATE, USING_MULTI_BATTLE, CableClub_EventScript_CheckTurnAttendant @@ -65,14 +65,14 @@ CableClub_OnWarp: @ 8276B6C map_script_2 VAR_CABLE_CLUB_STATE, USING_MINIGAME, CableClub_EventScript_CheckTurnAttendant .2byte 0 -CableClub_EventScript_CheckTurnAttendant:: @ 8276BAE +CableClub_EventScript_CheckTurnAttendant:: compare VAR_0x8007, 0 goto_if_eq CableClub_EventScript_DontTurnAttendant turnobject VAR_0x8007, DIR_WEST -CableClub_EventScript_DontTurnAttendant:: @ 8276BBD +CableClub_EventScript_DontTurnAttendant:: end -CableClub_OnLoad: @ 8276BBE +CableClub_OnLoad: compare VAR_CABLE_CLUB_STATE, USING_SINGLE_BATTLE goto_if_eq CableClub_EventScript_OnLoadFromColosseum compare VAR_CABLE_CLUB_STATE, USING_DOUBLE_BATTLE @@ -91,31 +91,31 @@ CableClub_OnLoad: @ 8276BBE goto_if_eq CableClub_EventScript_OnLoadFromGameCorner end -CableClub_EventScript_OnLoadFromColosseum:: @ 8276C17 +CableClub_EventScript_OnLoadFromColosseum:: call CableClub_EventScript_OpenDirectCornerBarrier end -CableClub_EventScript_OnLoadFromTradeCenter:: @ 8276C1D +CableClub_EventScript_OnLoadFromTradeCenter:: call CableClub_EventScript_OpenDirectCornerBarrier end -CableClub_EventScript_OnLoadFromRecordCorner:: @ 8276C23 +CableClub_EventScript_OnLoadFromRecordCorner:: call CableClub_EventScript_OpenDirectCornerBarrier end -CableClub_EventScript_OnLoadFromUnionRoom:: @ 8276C29 +CableClub_EventScript_OnLoadFromUnionRoom:: call CableClub_EventScript_OpenUnionRoomBarrier end -CableClub_EventScript_OnLoadFromBerryCrush:: @ 8276C2F +CableClub_EventScript_OnLoadFromBerryCrush:: call CableClub_EventScript_OpenDirectCornerBarrier end -CableClub_EventScript_OnLoadFromGameCorner:: @ 8276C35 +CableClub_EventScript_OnLoadFromGameCorner:: call EventScript_OpenMossdeepGameCornerBarrier end -CableClub_OnFrame: @ 8276C3B +CableClub_OnFrame: map_script_2 VAR_CABLE_CLUB_TUTORIAL_STATE, 1, CableClub_EventScript_Tutorial map_script_2 VAR_CABLE_CLUB_STATE, USING_SINGLE_BATTLE, CableClub_EventScript_ExitLinkRoom map_script_2 VAR_CABLE_CLUB_STATE, USING_DOUBLE_BATTLE, CableClub_EventScript_ExitLinkRoom @@ -127,7 +127,7 @@ CableClub_OnFrame: @ 8276C3B map_script_2 VAR_CABLE_CLUB_STATE, USING_MINIGAME, CableClub_EventScript_ExitMinigameRoom .2byte 0 -CableClub_EventScript_ExitLinkRoom:: @ 8276C85 +CableClub_EventScript_ExitLinkRoom:: lockall call CableClub_EventScript_CloseLinkAndExitLinkRoom call CableClub_EventScript_CloseDirectCornerBarrier @@ -137,7 +137,7 @@ CableClub_EventScript_ExitLinkRoom:: @ 8276C85 releaseall end -CableClub_EventScript_ExitMinigameRoom:: @ 8276C9D +CableClub_EventScript_ExitMinigameRoom:: lockall call CableClub_EventScript_CloseLinkAndExitLinkRoom call EventScript_CloseMossdeepGameCornerBarrier @@ -147,7 +147,7 @@ CableClub_EventScript_ExitMinigameRoom:: @ 8276C9D releaseall end -CableClub_EventScript_CloseLinkAndExitLinkRoom:: @ 8276CB5 +CableClub_EventScript_CloseLinkAndExitLinkRoom:: special CloseLink setvar VAR_CABLE_CLUB_STATE, 0 compare VAR_0x8007, 0 @@ -160,7 +160,7 @@ CableClub_EventScript_CloseLinkAndExitLinkRoom:: @ 8276CB5 waitmovement 0 return -CableClub_EventScript_ExitTradeCenter:: @ 8276CE7 +CableClub_EventScript_ExitTradeCenter:: lockall call CableClub_EventScript_PlayerExitTradeCenter call CableClub_EventScript_CloseDirectCornerBarrier @@ -170,7 +170,7 @@ CableClub_EventScript_ExitTradeCenter:: @ 8276CE7 releaseall end -CableClub_EventScript_PlayerExitTradeCenter:: @ 8276CFF +CableClub_EventScript_PlayerExitTradeCenter:: special CloseLink setvar VAR_CABLE_CLUB_STATE, 0 compare VAR_0x8007, 0 @@ -182,7 +182,7 @@ CableClub_EventScript_PlayerExitTradeCenter:: @ 8276CFF call CableClub_EventScript_TrainerCardDataOverwritten return -CableClub_EventScript_ExitRecordCorner:: @ 8276D2C +CableClub_EventScript_ExitRecordCorner:: lockall call CableClub_EventScript_PlayerExitRecordCorner call CableClub_EventScript_CloseDirectCornerBarrier @@ -192,7 +192,7 @@ CableClub_EventScript_ExitRecordCorner:: @ 8276D2C releaseall end -CableClub_EventScript_PlayerExitRecordCorner:: @ 8276D44 +CableClub_EventScript_PlayerExitRecordCorner:: special CloseLink setvar VAR_CABLE_CLUB_STATE, 0 applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerExitLinkRoom @@ -201,10 +201,10 @@ CableClub_EventScript_PlayerExitRecordCorner:: @ 8276D44 goto_if_eq CableClub_EventScript_ExitRecordCornerRet applymovement VAR_0x8007, Movement_AttendantFaceDown waitmovement 0 -CableClub_EventScript_ExitRecordCornerRet:: @ 8276D6B +CableClub_EventScript_ExitRecordCornerRet:: return -CableClub_EventScript_ExitUnionRoom:: @ 8276D6C +CableClub_EventScript_ExitUnionRoom:: lockall call CableClub_EventScript_PlayerExitUnionRoom call CableClub_EventScript_CloseUnionRoomBarrier @@ -214,7 +214,7 @@ CableClub_EventScript_ExitUnionRoom:: @ 8276D6C releaseall end -CableClub_EventScript_PlayerExitUnionRoom:: @ 8276D84 +CableClub_EventScript_PlayerExitUnionRoom:: setvar VAR_CABLE_CLUB_STATE, 0 compare VAR_0x8007, 0 goto_if_eq CableClub_EventScript_PlayerExitLinkRoom @@ -225,7 +225,7 @@ CableClub_EventScript_PlayerExitUnionRoom:: @ 8276D84 call CableClub_EventScript_TrainerCardDataOverwritten return -CableClub_EventScript_TrainerCardDataOverwritten:: @ 8276DAE +CableClub_EventScript_TrainerCardDataOverwritten:: message CableClub_Text_TrainerCardDataOverwritten waitmessage playse SE_PIN @@ -238,12 +238,12 @@ CableClub_EventScript_TrainerCardDataOverwritten:: @ 8276DAE waitmovement 0 return -CableClub_EventScript_PlayerExitLinkRoom:: @ 8276DD5 +CableClub_EventScript_PlayerExitLinkRoom:: applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerExitLinkRoom waitmovement 0 return -CableClub_EventScript_Tutorial:: @ 8276DE0 +CableClub_EventScript_Tutorial:: lockall applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp waitmovement 0 @@ -257,24 +257,24 @@ CableClub_EventScript_Tutorial:: @ 8276DE0 releaseall end -CableClub_Movement_PlayerApproachCounter: @ 8276E10 +CableClub_Movement_PlayerApproachCounter: walk_up walk_up step_end -CableClub_EventScript_WelcomeToCableClub:: @ 8276E13 +CableClub_EventScript_WelcomeToCableClub:: message CableClub_Text_WelcomeWhichCableClubService waitmessage delay 28 goto CableClub_EventScript_SelectCableClubRoom end -CableClub_EventScript_UnusedWelcomeToCableClub:: @ 8276E22 +CableClub_EventScript_UnusedWelcomeToCableClub:: msgbox CableClub_Text_WhichService, MSGBOX_DEFAULT goto CableClub_EventScript_SelectCableClubRoom end -CableClub_EventScript_SelectCableClubRoom:: @ 8276E30 +CableClub_EventScript_SelectCableClubRoom:: setvar VAR_0x8004, 0 goto_if_set FLAG_VISITED_MAUVILLE_CITY, CableClub_EventScript_CableClubUnlockedRecordCorner multichoice 0, 0, MULTI_CABLE_CLUB_NO_RECORD_MIX, FALSE @@ -285,7 +285,7 @@ CableClub_EventScript_SelectCableClubRoom:: @ 8276E30 case MULTI_B_PRESSED, CableClub_EventScript_AbortLink end -CableClub_EventScript_CableClubUnlockedRecordCorner:: @ 8276E75 +CableClub_EventScript_CableClubUnlockedRecordCorner:: multichoice 0, 0, MULTI_CABLE_CLUB_WITH_RECORD_MIX, FALSE switch VAR_RESULT case 0, CableClub_EventScript_TradeCenter @@ -295,12 +295,12 @@ CableClub_EventScript_CableClubUnlockedRecordCorner:: @ 8276E75 case MULTI_B_PRESSED, CableClub_EventScript_AbortLink end -CableClub_EventScript_Colosseum:: @ 8276EB7 +CableClub_EventScript_Colosseum:: copyvar VAR_0x8007, VAR_LAST_TALKED goto CableClub_EventScript_SelectBattleMode end -CableClub_EventScript_SelectBattleMode:: @ 8276EC2 +CableClub_EventScript_SelectBattleMode:: message CableClub_Text_PlayWhichBattleMode waitmessage multichoice 0, 0, MULTI_BATTLE_MODE, FALSE @@ -313,17 +313,17 @@ CableClub_EventScript_SelectBattleMode:: @ 8276EC2 case MULTI_B_PRESSED, CableClub_EventScript_AbortLink end -CableClub_EventScript_BattleModeInfo:: @ 8276F15 +CableClub_EventScript_BattleModeInfo:: msgbox CableClub_Text_ExplainBattleModes, MSGBOX_DEFAULT goto CableClub_EventScript_SelectBattleMode end -CableClub_EventScript_SingleBattleMode:: @ 8276F23 +CableClub_EventScript_SingleBattleMode:: setvar VAR_0x8004, USING_SINGLE_BATTLE goto CableClub_EventScript_TryEnterColosseum end -CableClub_EventScript_DoubleBattleMode:: @ 8276F2E +CableClub_EventScript_DoubleBattleMode:: special HasEnoughMonsForDoubleBattle compare VAR_RESULT, PLAYER_HAS_TWO_USABLE_MONS goto_if_ne CableClub_EventScript_NeedTwoMonsForDoubleBattle @@ -331,17 +331,17 @@ CableClub_EventScript_DoubleBattleMode:: @ 8276F2E goto CableClub_EventScript_TryEnterColosseum end -CableClub_EventScript_NeedTwoMonsForDoubleBattle:: @ 8276F47 +CableClub_EventScript_NeedTwoMonsForDoubleBattle:: msgbox CableClub_Text_NeedTwoMonsForDoubleBattle, MSGBOX_DEFAULT goto CableClub_EventScript_SelectBattleMode end -CableClub_EventScript_MultiBattleMode:: @ 8276F55 +CableClub_EventScript_MultiBattleMode:: setvar VAR_0x8004, USING_MULTI_BATTLE goto CableClub_EventScript_TryEnterColosseum end -CableClub_EventScript_TryEnterColosseum:: @ 8276F60 +CableClub_EventScript_TryEnterColosseum:: call Common_EventScript_SaveGame compare VAR_RESULT, 0 goto_if_eq CableClub_EventScript_AbortLink @@ -363,7 +363,7 @@ CableClub_EventScript_TryEnterColosseum:: @ 8276F60 goto_if_eq CableClub_EventScript_AbortLinkConnectionError end -CableClub_EventScript_EnterColosseum:: @ 8276FBD +CableClub_EventScript_EnterColosseum:: special HealPlayerParty special SavePlayerParty special LoadPlayerBag @@ -396,19 +396,19 @@ CableClub_EventScript_EnterColosseum:: @ 8276FBD end @ Unused -CableClub_EventScript_PlayerApproachLinkRoomRight:: @ 827702B +CableClub_EventScript_PlayerApproachLinkRoomRight:: applymovement OBJ_EVENT_ID_PLAYER, Movement_PlayerApproachLinkRoomRight waitmovement 0 return -CableClub_EventScript_WarpTo4PColosseum:: @ 8277036 +CableClub_EventScript_WarpTo4PColosseum:: special SetCableClubWarp warp MAP_BATTLE_COLOSSEUM_4P, 255, 5, 8 special DoCableClubWarp waitstate end -CableClub_EventScript_AbortLinkIncorrectNumberOfBattlers:: @ 8277046 +CableClub_EventScript_AbortLinkIncorrectNumberOfBattlers:: switch VAR_0x8004 case USING_SINGLE_BATTLE, CableClub_EventScript_AbortLinkWrongNumberForSingleBattle case USING_DOUBLE_BATTLE, CableClub_EventScript_AbortLinkWrongNumberForDoubleBattle @@ -416,31 +416,31 @@ CableClub_EventScript_AbortLinkIncorrectNumberOfBattlers:: @ 8277046 goto CableClub_EventScript_AbortLinkIncorrectNumberOfParticipants end -CableClub_EventScript_AbortLinkNeedFourPlayers:: @ 8277072 +CableClub_EventScript_AbortLinkNeedFourPlayers:: special CloseLink msgbox CableClub_Text_NeedFourPlayers, MSGBOX_DEFAULT goto CableClub_EventScript_ConfirmNumberAndRestart end -CableClub_EventScript_AbortLinkWrongNumberForDoubleBattle:: @ 8277083 +CableClub_EventScript_AbortLinkWrongNumberForDoubleBattle:: special CloseLink msgbox CableClub_Text_CantDoubleBattleWithXPlayers, MSGBOX_DEFAULT goto CableClub_EventScript_ConfirmNumberAndRestart end -CableClub_EventScript_AbortLinkWrongNumberForSingleBattle:: @ 8277094 +CableClub_EventScript_AbortLinkWrongNumberForSingleBattle:: special CloseLink msgbox CableClub_Text_CantSingleBattleWithXPlayers, MSGBOX_DEFAULT goto CableClub_EventScript_ConfirmNumberAndRestart end -CableClub_EventScript_ConfirmNumberAndRestart:: @ 82770A5 +CableClub_EventScript_ConfirmNumberAndRestart:: special CloseLink @ Redundant msgbox CableClub_Text_PleaseConfirmNumberAndRestart, MSGBOX_DEFAULT release end -CableClub_EventScript_TradeCenter:: @ 82770B2 +CableClub_EventScript_TradeCenter:: copyvar VAR_0x8007, VAR_LAST_TALKED call CableClub_EventScript_CheckPartyTradeRequirements compare VAR_RESULT, 0 @@ -470,7 +470,7 @@ CableClub_EventScript_TradeCenter:: @ 82770B2 goto_if_eq CableClub_EventScript_AbortLinkOtherTrainerNotReady end -CableClub_EventScript_EnterTradeCenter:: @ 827713A +CableClub_EventScript_EnterTradeCenter:: setvar VAR_0x8004, USING_TRADE_CENTER copyvar VAR_CABLE_CLUB_STATE, VAR_0x8004 messageautoscroll CableClub_Text_PleaseEnter @@ -498,7 +498,7 @@ CableClub_EventScript_EnterTradeCenter:: @ 827713A waitstate end -CableClub_EventScript_CheckPartyTradeRequirements:: @ 8277199 +CableClub_EventScript_CheckPartyTradeRequirements:: specialvar VAR_RESULT, CalculatePlayerPartyCount compare VAR_RESULT, 2 goto_if_lt CableClub_EventScript_NeedTwoMonsToTrade @@ -508,17 +508,17 @@ CableClub_EventScript_CheckPartyTradeRequirements:: @ 8277199 setvar VAR_RESULT, 1 return -CableClub_EventScript_NeedTwoMonsToTrade:: @ 82771BF +CableClub_EventScript_NeedTwoMonsToTrade:: msgbox CableClub_Text_NeedTwoMonsToTrade, MSGBOX_DEFAULT setvar VAR_RESULT, 0 return -CableClub_EventScript_CantTradeEnigmaBerry:: @ 82771CD +CableClub_EventScript_CantTradeEnigmaBerry:: msgbox CableClub_Text_CantTradeEnigmaBerry, MSGBOX_DEFAULT setvar VAR_RESULT, 0 return -CableClub_EventScript_RecordCorner:: @ 82771DB +CableClub_EventScript_RecordCorner:: copyvar VAR_0x8007, VAR_LAST_TALKED call Common_EventScript_SaveGame compare VAR_RESULT, 0 @@ -545,7 +545,7 @@ CableClub_EventScript_RecordCorner:: @ 82771DB goto_if_eq CableClub_EventScript_AbortLinkConnectionError end -CableClub_EventScript_EnterRecordCorner:: @ 827724C +CableClub_EventScript_EnterRecordCorner:: setvar VAR_0x8004, USING_RECORD_CORNER copyvar VAR_CABLE_CLUB_STATE, VAR_0x8004 messageautoscroll CableClub_Text_PleaseEnter @@ -573,135 +573,135 @@ CableClub_EventScript_EnterRecordCorner:: @ 827724C waitstate end -CableClub_EventScript_AbortLinkPlayerNotReady:: @ 82772AB +CableClub_EventScript_AbortLinkPlayerNotReady:: special CloseLink msgbox CableClub_Text_NotSetUpForFarAwayRegion, MSGBOX_DEFAULT release end -CableClub_EventScript_AbortLinkOtherTrainerNotReady:: @ 82772B8 +CableClub_EventScript_AbortLinkOtherTrainerNotReady:: special CloseLink msgbox CableClub_Text_OtherTrainerNotReady, MSGBOX_DEFAULT release end -CableClub_EventScript_AbortLinkConnectionError:: @ 82772C5 +CableClub_EventScript_AbortLinkConnectionError:: special CloseLink msgbox Text_LinkErrorPleaseReset, MSGBOX_DEFAULT release end -CableClub_EventScript_AbortLinkSomeoneNotReady:: @ 82772D2 +CableClub_EventScript_AbortLinkSomeoneNotReady:: special CloseLink msgbox Text_SomeoneIsNotReadyToLink, MSGBOX_DEFAULT release end -CableClub_EventScript_AbortLinkDifferentSelections:: @ 82772DF +CableClub_EventScript_AbortLinkDifferentSelections:: special CloseLink msgbox Text_PlayersMadeDifferentSelections, MSGBOX_DEFAULT release end -CableClub_EventScript_AbortLink:: @ 82772EC +CableClub_EventScript_AbortLink:: special CloseLink msgbox CableClub_Text_PleaseVisitAgain, MSGBOX_DEFAULT release end -MossdeepCity_GameCorner_1F_EventScript_AbortMinigame:: @ 82772F9 +MossdeepCity_GameCorner_1F_EventScript_AbortMinigame:: special CloseLink msgbox MossdeepCity_GameCorner_1F_Text_ComeAgain, MSGBOX_DEFAULT release end @ Unused -CableClub_EventScript_CableClubWarp:: @ 8277306 +CableClub_EventScript_CableClubWarp:: special SetCableClubWarp special DoCableClubWarp waitstate end -CableClub_EventScript_AbortLinkIncorrectNumberOfParticipants:: @ 827730E +CableClub_EventScript_AbortLinkIncorrectNumberOfParticipants:: special CloseLink msgbox CableClub_Text_IncorrectNumberOfParticipants, MSGBOX_DEFAULT release end -CableClub_EventScript_AbortLinkPlayerHasBadEgg:: @ 827731B +CableClub_EventScript_AbortLinkPlayerHasBadEgg:: special CloseLink msgbox CableClub_Text_YouHaveAMonThatCantBeTaken, MSGBOX_DEFAULT release end -CableClub_EventScript_AbortLinkForeignGame:: @ 8277328 +CableClub_EventScript_AbortLinkForeignGame:: special CloseLink msgbox CableClub_Text_CantMixWithJapaneseGame, MSGBOX_DEFAULT release end -CableClub_EventScript_WirelessClubAdjustements:: @ 8277335 +CableClub_EventScript_WirelessClubAdjustements:: msgbox gText_SorryWirelessClubAdjustments, MSGBOX_DEFAULT release end -CableClub_EventScript_NotReadyYet:: @ 827733F +CableClub_EventScript_NotReadyYet:: msgbox gText_UndergoingAdjustments, MSGBOX_DEFAULT releaseall end -Movement_AttendantFaceDown: @ 8277349 +Movement_AttendantFaceDown: face_down step_end @ Unused -Movement_AttendantFaceRight: @ 827734B +Movement_AttendantFaceRight: face_right step_end -Movement_AttendantFaceLeft: @ 827734D +Movement_AttendantFaceLeft: face_left step_end -Movement_PlayerExitLinkRoom: @ 827734F +Movement_PlayerExitLinkRoom: walk_down walk_down step_end @ Functionally unused -Movement_PlayerApproachLinkRoomRight: @ 8277352 +Movement_PlayerApproachLinkRoomRight: walk_right walk_up walk_up step_end -Movement_PlayerApproachLinkRoomLeft: @ 8277356 +Movement_PlayerApproachLinkRoomLeft: walk_left walk_up walk_up step_end -Movement_PlayerEnterLinkRoom: @ 827735A +Movement_PlayerEnterLinkRoom: walk_up step_end @ Unused -Movement_PlayerFaceAttendantLeft: @ 827735C +Movement_PlayerFaceAttendantLeft: face_left step_end -Movement_PlayerFaceAttendantRight: @ 827735E +Movement_PlayerFaceAttendantRight: face_right step_end -Movement_PlayerEnterMinigameRoom: @ 8277360 +Movement_PlayerEnterMinigameRoom: walk_left walk_up walk_up walk_up step_end -EventScript_CableBoxResults:: @ 8277365 +EventScript_CableBoxResults:: lockall setvar VAR_0x8004, 0 special ShowLinkBattleRecords @@ -710,19 +710,19 @@ EventScript_CableBoxResults:: @ 8277365 releaseall end -EventScript_BattleColosseum_2P_PlayerSpot0:: @ 8277374 +EventScript_BattleColosseum_2P_PlayerSpot0:: setvar VAR_0x8005, 0 special ColosseumPlayerSpotTriggered waitstate end -EventScript_BattleColosseum_2P_PlayerSpot1:: @ 827737E +EventScript_BattleColosseum_2P_PlayerSpot1:: setvar VAR_0x8005, 1 special ColosseumPlayerSpotTriggered waitstate end -EventScript_BattleColosseum_4P_PlayerSpot0:: @ 8277388 +EventScript_BattleColosseum_4P_PlayerSpot0:: fadescreen FADE_TO_BLACK special ChooseHalfPartyForBattle waitstate @@ -733,7 +733,7 @@ EventScript_BattleColosseum_4P_PlayerSpot0:: @ 8277388 waitstate end -EventScript_BattleColosseum_4P_PlayerSpot1:: @ 82773A3 +EventScript_BattleColosseum_4P_PlayerSpot1:: fadescreen FADE_TO_BLACK special ChooseHalfPartyForBattle waitstate @@ -744,7 +744,7 @@ EventScript_BattleColosseum_4P_PlayerSpot1:: @ 82773A3 waitstate end -EventScript_BattleColosseum_4P_PlayerSpot2:: @ 82773BE +EventScript_BattleColosseum_4P_PlayerSpot2:: fadescreen FADE_TO_BLACK special ChooseHalfPartyForBattle waitstate @@ -755,7 +755,7 @@ EventScript_BattleColosseum_4P_PlayerSpot2:: @ 82773BE waitstate end -EventScript_BattleColosseum_4P_PlayerSpot3:: @ 82773D9 +EventScript_BattleColosseum_4P_PlayerSpot3:: fadescreen FADE_TO_BLACK special ChooseHalfPartyForBattle waitstate @@ -766,37 +766,37 @@ EventScript_BattleColosseum_4P_PlayerSpot3:: @ 82773D9 waitstate end -EventScript_BattleColosseum_4P_CancelSpotTrigger:: @ 82773F4 +EventScript_BattleColosseum_4P_CancelSpotTrigger:: end -EventScript_TradeCenter_Chair0:: @ 82773F5 +EventScript_TradeCenter_Chair0:: setvar VAR_0x8005, 0 special PlayerEnteredTradeSeat waitstate end -EventScript_TradeCenter_Chair1:: @ 82773FF +EventScript_TradeCenter_Chair1:: setvar VAR_0x8005, 1 special PlayerEnteredTradeSeat waitstate end /* Never used */ -EventScript_TradeCenter_Chair2:: @ 8277409 +EventScript_TradeCenter_Chair2:: setvar VAR_0x8005, 2 special PlayerEnteredTradeSeat waitstate end /* Never used */ -EventScript_TradeCenter_Chair3:: @ 8277413 +EventScript_TradeCenter_Chair3:: setvar VAR_0x8005, 3 special PlayerEnteredTradeSeat waitstate end @ VAR_TEMP_1 for below scripts set by ReceiveGiftItem -EventScript_RecordCenter_Spot0:: @ 827741D +EventScript_RecordCenter_Spot0:: setvar VAR_0x8005, 0 special RecordMixingPlayerSpotTriggered waitstate @@ -804,7 +804,7 @@ EventScript_RecordCenter_Spot0:: @ 827741D goto_if_ne RecordCorner_EventScript_ReceivedGiftItem end -EventScript_RecordCenter_Spot1:: @ 8277432 +EventScript_RecordCenter_Spot1:: setvar VAR_0x8005, 1 special RecordMixingPlayerSpotTriggered waitstate @@ -812,7 +812,7 @@ EventScript_RecordCenter_Spot1:: @ 8277432 goto_if_ne RecordCorner_EventScript_ReceivedGiftItem end -EventScript_RecordCenter_Spot2:: @ 8277447 +EventScript_RecordCenter_Spot2:: setvar VAR_0x8005, 2 special RecordMixingPlayerSpotTriggered waitstate @@ -820,7 +820,7 @@ EventScript_RecordCenter_Spot2:: @ 8277447 goto_if_ne RecordCorner_EventScript_ReceivedGiftItem end -EventScript_RecordCenter_Spot3:: @ 827745C +EventScript_RecordCenter_Spot3:: setvar VAR_0x8005, 3 special RecordMixingPlayerSpotTriggered waitstate @@ -828,7 +828,7 @@ EventScript_RecordCenter_Spot3:: @ 827745C goto_if_ne RecordCorner_EventScript_ReceivedGiftItem end -RecordCorner_EventScript_ReceivedGiftItem:: @ 8277471 +RecordCorner_EventScript_ReceivedGiftItem:: bufferitemname 1, VAR_TEMP_1 message RecordCorner_Text_PlayerSentOverOneX waitmessage @@ -836,40 +836,40 @@ RecordCorner_EventScript_ReceivedGiftItem:: @ 8277471 releaseall end -CableClub_EventScript_ReadTrainerCard:: @ 827747E +CableClub_EventScript_ReadTrainerCard:: msgbox CableClub_Text_GotToLookAtTrainerCard, MSGBOX_DEFAULT fadescreen FADE_TO_BLACK special Script_ShowLinkTrainerCard waitstate end -CableClub_EventScript_ReadTrainerCardColored:: @ 827748D +CableClub_EventScript_ReadTrainerCardColored:: msgbox CableClub_Text_GotToLookAtColoredTrainerCard, MSGBOX_DEFAULT fadescreen FADE_TO_BLACK special Script_ShowLinkTrainerCard waitstate end -CableClub_EventScript_TooBusyToNotice:: @ 827749C +CableClub_EventScript_TooBusyToNotice:: msgbox CableClub_Text_TooBusyToNotice, MSGBOX_DEFAULT closemessage end -BattleColosseum_2P_EventScript_Attendant:: @ 82774A6 +BattleColosseum_2P_EventScript_Attendant:: special Script_FacePlayer msgbox BattleColosseum_2P_Text_TakePlaceStartBattle, MSGBOX_DEFAULT special Script_ClearHeldMovement closemessage end -TradeCenter_EventScript_Attendant:: @ 82774B6 +TradeCenter_EventScript_Attendant:: special Script_FacePlayer msgbox TradeCenter_Text_TakeSeatStartTrade, MSGBOX_DEFAULT special Script_ClearHeldMovement closemessage end -RecordCorner_EventScript_Attendant:: @ 82774C6 +RecordCorner_EventScript_Attendant:: compare VAR_TEMP_0, 0 goto_if_ne RecordCorner_EventScript_AlreadyMixed special Script_FacePlayer @@ -880,7 +880,7 @@ RecordCorner_EventScript_Attendant:: @ 82774C6 closemessage end -RecordCorner_EventScript_AlreadyMixed:: @ 82774E0 +RecordCorner_EventScript_AlreadyMixed:: special Script_FacePlayer message RecordCorner_Text_ThanksForComing waitmessage @@ -889,7 +889,7 @@ RecordCorner_EventScript_AlreadyMixed:: @ 82774E0 closemessage end -EventScript_ConfirmLeaveCableClubRoom:: @ 82774EF +EventScript_ConfirmLeaveCableClubRoom:: msgbox Text_TerminateLinkConfirmation, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq EventScript_TerminateLink @@ -897,19 +897,19 @@ EventScript_ConfirmLeaveCableClubRoom:: @ 82774EF releaseall end -EventScript_TerminateLink:: @ 8277509 +EventScript_TerminateLink:: messageautoscroll Text_TerminateLinkPleaseWait waitmessage special ExitLinkRoom end -EventScript_DoLinkRoomExit:: @ 8277513 +EventScript_DoLinkRoomExit:: special CleanupLinkRoomState special ReturnFromLinkRoom waitstate end -CableClub_EventScript_UnionRoomAttendant:: @ 827751B +CableClub_EventScript_UnionRoomAttendant:: lock faceplayer setvar VAR_FRONTIER_FACILITY, FACILITY_UNION_ROOM @@ -926,7 +926,7 @@ CableClub_EventScript_UnionRoomAttendant:: @ 827751B goto CableClub_EventScript_UnionRoomSelect end -CableClub_EventScript_UnionRoomSelect:: @ 827755C +CableClub_EventScript_UnionRoomSelect:: multichoice 17, 6, MULTI_YESNOINFO, FALSE switch VAR_RESULT case 0, CableClub_EventScript_EnterUnionRoom @@ -935,13 +935,13 @@ CableClub_EventScript_UnionRoomSelect:: @ 827755C case MULTI_B_PRESSED, CableClub_EventScript_AbortLink end -CableClub_EventScript_UnionRoomInfo:: @ 8277593 +CableClub_EventScript_UnionRoomInfo:: message CableClub_Text_UnionRoomInfo waitmessage goto CableClub_EventScript_UnionRoomSelect end -CableClub_EventScript_EnterUnionRoom:: @ 827759F +CableClub_EventScript_EnterUnionRoom:: call CableClub_EventScript_CheckPartyUnionRoomRequirements compare VAR_RESULT, 0 goto_if_eq CableClub_EventScript_AbortLink @@ -976,7 +976,7 @@ CableClub_EventScript_EnterUnionRoom:: @ 827759F waitstate end -CableClub_EventScript_CheckPartyUnionRoomRequirements:: @ 8277626 +CableClub_EventScript_CheckPartyUnionRoomRequirements:: specialvar VAR_RESULT, CountPartyNonEggMons compare VAR_RESULT, 2 goto_if_lt CableClub_EventScript_NeedTwoMonsForUnionRoom @@ -986,22 +986,22 @@ CableClub_EventScript_CheckPartyUnionRoomRequirements:: @ 8277626 setvar VAR_RESULT, 1 return -CableClub_EventScript_NeedTwoMonsForUnionRoom:: @ 827764C +CableClub_EventScript_NeedTwoMonsForUnionRoom:: msgbox CableClub_Text_NeedTwoMonsForUnionRoom, MSGBOX_DEFAULT goto EventScript_CableClub_SetVarResult0 end -CableClub_EventScript_NoEnigmaBerryInUnionRoom:: @ 827765A +CableClub_EventScript_NoEnigmaBerryInUnionRoom:: msgbox CableClub_Text_NoEnigmaBerryInUnionRoom, MSGBOX_DEFAULT goto EventScript_CableClub_SetVarResult0 end -CableClub_EventScript_UnionRoomAdapterNotConnected:: @ 8277668 +CableClub_EventScript_UnionRoomAdapterNotConnected:: msgbox CableClub_Text_UnionRoomAdapterNotConnected, MSGBOX_DEFAULT release return -CableClub_EventScript_WirelessClubAttendant:: @ 8277672 +CableClub_EventScript_WirelessClubAttendant:: lock faceplayer goto_if_unset FLAG_SYS_POKEDEX_GET, CableClub_EventScript_WirelessClubAdjustements @@ -1012,12 +1012,12 @@ CableClub_EventScript_WirelessClubAttendant:: @ 8277672 release return -CableClub_EventScript_DontAskAboutLinking:: @ 827769A +CableClub_EventScript_DontAskAboutLinking:: msgbox CableClub_Text_HopeYouEnjoyWirelessSystem, MSGBOX_DEFAULT release return -CableClub_EventScript_DirectCornerAttendant:: @ 82776A4 +CableClub_EventScript_DirectCornerAttendant:: lock faceplayer setvar VAR_FRONTIER_FACILITY, FACILITY_MULTI_OR_EREADER @ Set preemptively for multi battles, ignored otherwise @@ -1034,7 +1034,7 @@ CableClub_EventScript_DirectCornerAttendant:: @ 82776A4 goto CableClub_EventScript_DirectCornerSelectService end -CableClub_EventScript_DirectCornerSelectService:: @ 82776E3 +CableClub_EventScript_DirectCornerSelectService:: checkitem ITEM_POWDER_JAR, 1 compare VAR_RESULT, FALSE goto_if_eq CableClub_EventScript_DirectCornerNoBerry @@ -1048,7 +1048,7 @@ CableClub_EventScript_DirectCornerSelectService:: @ 82776E3 case MULTI_B_PRESSED, CableClub_EventScript_AbortLink end -CableClub_EventScript_DirectCornerSelectAllServices:: @ 827773E +CableClub_EventScript_DirectCornerSelectAllServices:: multichoice 0, 0, MULTI_WIRELESS_ALL_SERVICES, FALSE switch VAR_RESULT case 0, CableClub_EventScript_WirelessTrade @@ -1059,7 +1059,7 @@ CableClub_EventScript_DirectCornerSelectAllServices:: @ 827773E case MULTI_B_PRESSED, CableClub_EventScript_AbortLink end -CableClub_EventScript_DirectCornerNoBerry:: @ 827778B +CableClub_EventScript_DirectCornerNoBerry:: goto_if_set FLAG_VISITED_MAUVILLE_CITY, CableClub_EventScript_DirectCornerHasRecordMix multichoice 0, 0, MULTI_WIRELESS_NO_RECORD_BERRY, FALSE switch VAR_RESULT @@ -1069,7 +1069,7 @@ CableClub_EventScript_DirectCornerNoBerry:: @ 827778B case MULTI_B_PRESSED, CableClub_EventScript_AbortLink end -CableClub_EventScript_DirectCornerHasRecordMix:: @ 82777CB +CableClub_EventScript_DirectCornerHasRecordMix:: multichoice 0, 0, MULTI_WIRELESS_NO_BERRY, FALSE switch VAR_RESULT case 0, CableClub_EventScript_WirelessTrade @@ -1079,7 +1079,7 @@ CableClub_EventScript_DirectCornerHasRecordMix:: @ 82777CB case MULTI_B_PRESSED, CableClub_EventScript_AbortLink end -CableClub_EventScript_WirelessTrade:: @ 827780D +CableClub_EventScript_WirelessTrade:: msgbox CableClub_Text_TradePokemon, MSGBOX_YESNO compare VAR_RESULT, NO goto_if_eq CableClub_EventScript_AbortLink @@ -1090,7 +1090,7 @@ CableClub_EventScript_WirelessTrade:: @ 827780D goto CableClub_EventScript_SaveAndChooseLinkLeader end -CableClub_EventScript_WirelessBattleSelect:: @ 827783B +CableClub_EventScript_WirelessBattleSelect:: message CableClub_Text_PlayWhichBattleMode waitmessage multichoice 0, 0, MULTI_BATTLE_MODE, FALSE @@ -1103,12 +1103,12 @@ CableClub_EventScript_WirelessBattleSelect:: @ 827783B case MULTI_B_PRESSED, CableClub_EventScript_AbortLink end -CableClub_EventScript_WirelessSingleBattle:: @ 827788E +CableClub_EventScript_WirelessSingleBattle:: setvar VAR_0x8004, LINK_GROUP_SINGLE_BATTLE goto CableClub_EventScript_SaveAndChooseLinkLeader end -CableClub_EventScript_WirelessDoubleBattle:: @ 8277899 +CableClub_EventScript_WirelessDoubleBattle:: special HasEnoughMonsForDoubleBattle compare VAR_RESULT, PLAYER_HAS_TWO_USABLE_MONS goto_if_ne CableClub_EventScript_TwoMonsNeededForWirelessDoubleBattle @@ -1116,22 +1116,22 @@ CableClub_EventScript_WirelessDoubleBattle:: @ 8277899 goto CableClub_EventScript_SaveAndChooseLinkLeader end -CableClub_EventScript_TwoMonsNeededForWirelessDoubleBattle:: @ 82778B2 +CableClub_EventScript_TwoMonsNeededForWirelessDoubleBattle:: msgbox CableClub_Text_NeedTwoMonsForDoubleBattle, MSGBOX_DEFAULT goto CableClub_EventScript_WirelessBattleSelect end -CableClub_EventScript_WirelessMultiBattle:: @ 82778C0 +CableClub_EventScript_WirelessMultiBattle:: setvar VAR_0x8004, LINK_GROUP_MULTI_BATTLE goto CableClub_EventScript_SaveAndChooseLinkLeader end -CableClub_EventScript_WirelessBattleInfo:: @ 82778CB +CableClub_EventScript_WirelessBattleInfo:: msgbox CableClub_Text_ExplainBattleModes, MSGBOX_DEFAULT goto CableClub_EventScript_WirelessBattleSelect end -CableClub_EventScript_WirelessRecordMix:: @ 82778D9 +CableClub_EventScript_WirelessRecordMix:: msgbox CableClub_Text_AccessRecordCorner, MSGBOX_YESNO compare VAR_RESULT, NO goto_if_eq CableClub_EventScript_AbortLink @@ -1139,7 +1139,7 @@ CableClub_EventScript_WirelessRecordMix:: @ 82778D9 goto CableClub_EventScript_SaveAndChooseLinkLeader end -CableClub_EventScript_WirelessBerryCrush:: @ 82778F7 +CableClub_EventScript_WirelessBerryCrush:: msgbox CableClub_Text_UseBerryCrush, MSGBOX_YESNO compare VAR_RESULT, NO goto_if_eq CableClub_EventScript_AbortLink @@ -1150,12 +1150,12 @@ CableClub_EventScript_WirelessBerryCrush:: @ 82778F7 goto CableClub_EventScript_SaveAndChooseLinkLeader end -CableClub_EventScript_NeedBerryForBerryCrush:: @ 8277923 +CableClub_EventScript_NeedBerryForBerryCrush:: msgbox CableClub_Text_NeedBerryForBerryCrush, MSGBOX_DEFAULT goto CableClub_EventScript_DirectCornerSelectService end -CableClub_EventScript_SaveAndChooseLinkLeader:: @ 8277931 +CableClub_EventScript_SaveAndChooseLinkLeader:: call Common_EventScript_SaveGame compare VAR_RESULT, 0 goto_if_eq CableClub_EventScript_AbortLink @@ -1168,7 +1168,7 @@ CableClub_EventScript_SaveAndChooseLinkLeader:: @ 8277931 case LINK_GROUP_RECORD_CORNER, CableClub_EventScript_ChooseLinkLeader end -CableClub_EventScript_ChooseLinkLeaderFrom2:: @ 8277989 +CableClub_EventScript_ChooseLinkLeaderFrom2:: message CableClub_Text_ChooseGroupLeaderOfTwo waitmessage multichoice 16, 6, MULTI_LINK_LEADER, FALSE @@ -1179,7 +1179,7 @@ CableClub_EventScript_ChooseLinkLeaderFrom2:: @ 8277989 case MULTI_B_PRESSED, CableClub_EventScript_AbortLink end -CableClub_EventScript_TryLeadGroup2Players:: @ 82779C6 +CableClub_EventScript_TryLeadGroup2Players:: call CableClub_EventScript_TryBecomeLinkLeader compare VAR_RESULT, LINKUP_SUCCESS goto_if_eq CableClub_EventScript_EnterWirelessLinkRoom @@ -1190,7 +1190,7 @@ CableClub_EventScript_TryLeadGroup2Players:: @ 82779C6 release return -CableClub_EventScript_TryJoinGroup2Players:: @ 82779EE +CableClub_EventScript_TryJoinGroup2Players:: call CableClub_EventScript_TryJoinLinkGroup compare VAR_RESULT, LINKUP_SUCCESS goto_if_eq CableClub_EventScript_EnterWirelessLinkRoom @@ -1201,7 +1201,7 @@ CableClub_EventScript_TryJoinGroup2Players:: @ 82779EE release return -CableClub_EventScript_ChooseLinkLeaderFrom4:: @ 8277A16 +CableClub_EventScript_ChooseLinkLeaderFrom4:: message CableClub_Text_ChooseGroupLeaderOfFour waitmessage multichoice 16, 6, MULTI_LINK_LEADER, FALSE @@ -1212,7 +1212,7 @@ CableClub_EventScript_ChooseLinkLeaderFrom4:: @ 8277A16 case MULTI_B_PRESSED, CableClub_EventScript_AbortLink end -CableClub_EventScript_TryLeadGroup4Players:: @ 8277A53 +CableClub_EventScript_TryLeadGroup4Players:: call CableClub_EventScript_TryBecomeLinkLeader compare VAR_RESULT, LINKUP_SUCCESS goto_if_eq CableClub_EventScript_EnterWirelessLinkRoom @@ -1223,7 +1223,7 @@ CableClub_EventScript_TryLeadGroup4Players:: @ 8277A53 release return -CableClub_EventScript_TryJoinGroup4Players:: @ 8277A7B +CableClub_EventScript_TryJoinGroup4Players:: call CableClub_EventScript_TryJoinLinkGroup compare VAR_RESULT, LINKUP_SUCCESS goto_if_eq CableClub_EventScript_EnterWirelessLinkRoom @@ -1234,7 +1234,7 @@ CableClub_EventScript_TryJoinGroup4Players:: @ 8277A7B release return -CableClub_EventScript_ChooseLinkLeader:: @ 8277AA3 +CableClub_EventScript_ChooseLinkLeader:: message CableClub_Text_ChooseGroupLeader waitmessage multichoice 16, 6, MULTI_LINK_LEADER, FALSE @@ -1245,7 +1245,7 @@ CableClub_EventScript_ChooseLinkLeader:: @ 8277AA3 case MULTI_B_PRESSED, CableClub_EventScript_AbortLink end -CableClub_EventScript_TryLeadGroupXPlayers:: @ 8277AE0 +CableClub_EventScript_TryLeadGroupXPlayers:: call CableClub_EventScript_TryBecomeLinkLeader compare VAR_RESULT, LINKUP_SUCCESS goto_if_eq CableClub_EventScript_EnterWirelessLinkRoom @@ -1256,7 +1256,7 @@ CableClub_EventScript_TryLeadGroupXPlayers:: @ 8277AE0 release return -CableClub_EventScript_TryJoinGroupXPlayers:: @ 8277B08 +CableClub_EventScript_TryJoinGroupXPlayers:: call CableClub_EventScript_TryJoinLinkGroup compare VAR_RESULT, LINKUP_SUCCESS goto_if_eq CableClub_EventScript_EnterWirelessLinkRoom @@ -1267,17 +1267,17 @@ CableClub_EventScript_TryJoinGroupXPlayers:: @ 8277B08 release return -CableClub_EventScript_TryBecomeLinkLeader:: @ 8277B30 +CableClub_EventScript_TryBecomeLinkLeader:: special TryBecomeLinkLeader waitstate return -CableClub_EventScript_TryJoinLinkGroup:: @ 8277B35 +CableClub_EventScript_TryJoinLinkGroup:: special TryJoinLinkGroup waitstate return -CableClub_EventScript_EnterWirelessLinkRoom:: @ 8277B3A +CableClub_EventScript_EnterWirelessLinkRoom:: messageautoscroll CableClub_Text_DirectYouToYourRoom waitmessage delay 60 @@ -1303,7 +1303,7 @@ CableClub_EventScript_EnterWirelessLinkRoom:: @ 8277B3A waitstate end -EventScript_WirelessBoxResults:: @ 8277B8A +EventScript_WirelessBoxResults:: lockall goto_if_unset FLAG_SYS_POKEDEX_GET, CableClub_EventScript_NotReadyYet specialvar VAR_RESULT, IsWirelessAdapterConnected @@ -1316,46 +1316,46 @@ EventScript_WirelessBoxResults:: @ 8277B8A releaseall end -CableClub_EventScript_AdapterNotConnected:: @ 8277BB4 +CableClub_EventScript_AdapterNotConnected:: msgbox CableClub_Text_AdapterNotConnected, MSGBOX_DEFAULT releaseall end -CableClub_EventScript_OpenUnionRoomBarrier:: @ 8277BBE +CableClub_EventScript_OpenUnionRoomBarrier:: setmetatile 5, 2, METATILE_PokemonCenter_Floor_ShadowTop_Alt, 0 setmetatile 5, 3, METATILE_PokemonCenter_Floor_Plain_Alt, 0 return -CableClub_EventScript_CloseUnionRoomBarrier:: @ 8277BD1 +CableClub_EventScript_CloseUnionRoomBarrier:: setmetatile 5, 2, METATILE_PokemonCenter_Floor_ShadowTop, 1 setmetatile 5, 3, METATILE_PokemonCenter_CounterBarrier, 1 return -CableClub_EventScript_OpenDirectCornerBarrier:: @ 8277BE4 +CableClub_EventScript_OpenDirectCornerBarrier:: setmetatile 9, 2, METATILE_PokemonCenter_Floor_ShadowTop_Alt, 0 setmetatile 9, 3, METATILE_PokemonCenter_Floor_Plain_Alt, 0 return -CableClub_EventScript_CloseDirectCornerBarrier:: @ 8277BF7 +CableClub_EventScript_CloseDirectCornerBarrier:: setmetatile 9, 2, METATILE_PokemonCenter_Floor_ShadowTop, 1 setmetatile 9, 3, METATILE_PokemonCenter_CounterBarrier, 1 return -EventScript_OpenMossdeepGameCornerBarrier:: @ 8277C0A +EventScript_OpenMossdeepGameCornerBarrier:: setmetatile 5, 2, METATILE_MossdeepGameCorner_CounterOpen_Top, 0 setmetatile 5, 3, METATILE_MossdeepGameCorner_CounterOpen_Bottom, 0 return -EventScript_CloseMossdeepGameCornerBarrier:: @ 8277C1D +EventScript_CloseMossdeepGameCornerBarrier:: setmetatile 5, 2, METATILE_MossdeepGameCorner_CounterClosed_Top, 1 setmetatile 5, 3, METATILE_MossdeepGameCorner_CounterClosed_Bottom, 1 return -CableClub_OnResume: @ 8277C30 +CableClub_OnResume: special InitUnionRoom end -MossdeepCity_GameCorner_1F_EventScript_InfoMan2:: @ 8277C34 +MossdeepCity_GameCorner_1F_EventScript_InfoMan2:: lock faceplayer message MossdeepCity_GameCorner_1F_Text_DescribeWhichGame @@ -1368,22 +1368,22 @@ MossdeepCity_GameCorner_1F_EventScript_InfoMan2:: @ 8277C34 case MULTI_B_PRESSED, MossdeepCity_GameCorner_1F_EventScript_MinigameInfoExit end -MossdeepCity_GameCorner_1F_EventScript_PokemonJumpInfo:: @ 8277C73 +MossdeepCity_GameCorner_1F_EventScript_PokemonJumpInfo:: msgbox MossdeepCity_GameCorner_1F_Text_PokemonJumpInfo, MSGBOX_DEFAULT release end -MossdeepCity_GameCorner_1F_EventScript_DodrioBerryPickingInfo:: @ 8277C7D +MossdeepCity_GameCorner_1F_EventScript_DodrioBerryPickingInfo:: msgbox MossdeepCity_GameCorner_1F_Text_DodrioBerryPickingInfo, MSGBOX_DEFAULT release end -MossdeepCity_GameCorner_1F_EventScript_MinigameInfoExit:: @ 8277C87 +MossdeepCity_GameCorner_1F_EventScript_MinigameInfoExit:: msgbox MossdeepCity_GameCorner_1F_Text_TalkToOldManToPlay, MSGBOX_DEFAULT release end -MossdeepCity_GameCorner_1F_EventScript_OldMan2:: @ 8277C91 +MossdeepCity_GameCorner_1F_EventScript_OldMan2:: lock faceplayer message MossdeepCity_GameCorner_1F_Text_WelcomeCanYouWait @@ -1402,7 +1402,7 @@ MossdeepCity_GameCorner_1F_EventScript_OldMan2:: @ 8277C91 case MULTI_B_PRESSED, MossdeepCity_GameCorner_1F_EventScript_AbortMinigame end -MossdeepCity_GameCorner_1F_EventScript_PlayPokemonJump:: @ 8277CE9 +MossdeepCity_GameCorner_1F_EventScript_PlayPokemonJump:: setvar VAR_0x8005, 0 special IsPokemonJumpSpeciesInParty compare VAR_RESULT, FALSE @@ -1421,7 +1421,7 @@ MossdeepCity_GameCorner_1F_EventScript_PlayPokemonJump:: @ 8277CE9 goto MossdeepCity_GameCorner_1F_EventScript_ChooseLinkLeader end -MossdeepCity_GameCorner_1F_EventScript_PlayDodrioBerryPicking:: @ 8277D35 +MossdeepCity_GameCorner_1F_EventScript_PlayDodrioBerryPicking:: setvar VAR_0x8005, 1 special IsDodrioInParty compare VAR_RESULT, FALSE @@ -1440,7 +1440,7 @@ MossdeepCity_GameCorner_1F_EventScript_PlayDodrioBerryPicking:: @ 8277D35 goto MossdeepCity_GameCorner_1F_EventScript_ChooseLinkLeader end -MossdeepCity_GameCorner_1F_EventScript_ChooseLinkLeader:: @ 8277D81 +MossdeepCity_GameCorner_1F_EventScript_ChooseLinkLeader:: message CableClub_Text_ChooseGroupLeader waitmessage multichoice 16, 6, MULTI_LINK_LEADER, FALSE @@ -1451,7 +1451,7 @@ MossdeepCity_GameCorner_1F_EventScript_ChooseLinkLeader:: @ 8277D81 case MULTI_B_PRESSED, MossdeepCity_GameCorner_1F_EventScript_AbortMinigame end -MossdeepCity_GameCorner_1F_EventScript_TryBecomeLinkLeader:: @ 8277DBE +MossdeepCity_GameCorner_1F_EventScript_TryBecomeLinkLeader:: call CableClub_EventScript_TryBecomeLinkLeader compare VAR_RESULT, LINKUP_SUCCESS goto_if_eq MossdeepCity_GameCorner_1F_EventScript_EnterMinigameRoom @@ -1462,7 +1462,7 @@ MossdeepCity_GameCorner_1F_EventScript_TryBecomeLinkLeader:: @ 8277DBE release return -MossdeepCity_GameCorner_1F_EventScript_TryJoinLinkGroup:: @ 8277DE6 +MossdeepCity_GameCorner_1F_EventScript_TryJoinLinkGroup:: call CableClub_EventScript_TryJoinLinkGroup compare VAR_RESULT, LINKUP_SUCCESS goto_if_eq MossdeepCity_GameCorner_1F_EventScript_EnterMinigameRoom @@ -1473,7 +1473,7 @@ MossdeepCity_GameCorner_1F_EventScript_TryJoinLinkGroup:: @ 8277DE6 release return -MossdeepCity_GameCorner_1F_EventScript_EnterMinigameRoom:: @ 8277E0E +MossdeepCity_GameCorner_1F_EventScript_EnterMinigameRoom:: messageautoscroll MossdeepCity_GameCorner_1F_Text_AllGoodToGo waitmessage delay 60 @@ -1493,13 +1493,13 @@ MossdeepCity_GameCorner_1F_EventScript_EnterMinigameRoom:: @ 8277E0E waitstate end -MossdeepCity_GameCorner_1F_EventScript_AdapterNotConnected:: @ 8277E48 +MossdeepCity_GameCorner_1F_EventScript_AdapterNotConnected:: delay 60 msgbox MossdeepCity_GameCorner_1F_Text_AdapterNotConnected, MSGBOX_DEFAULT release end -MossdeepCity_GameCorner_1F_EventScript_DontHaveRequiredMon:: @ 8277E55 +MossdeepCity_GameCorner_1F_EventScript_DontHaveRequiredMon:: msgbox MossdeepCity_GameCorner_1F_Text_ExplainRequiredMon, MSGBOX_YESNO compare VAR_RESULT, NO goto_if_eq MossdeepCity_GameCorner_1F_EventScript_AbortMinigame @@ -1510,22 +1510,22 @@ MossdeepCity_GameCorner_1F_EventScript_DontHaveRequiredMon:: @ 8277E55 goto MossdeepCity_GameCorner_1F_EventScript_AbortMinigame end -MossdeepCity_GameCorner_1F_EventScript_ExplainPokemonJumpRequirements:: @ 8277E84 +MossdeepCity_GameCorner_1F_EventScript_ExplainPokemonJumpRequirements:: msgbox MossdeepCity_GameCorner_1F_Text_ShortJumpingPokemonAllowed, MSGBOX_DEFAULT return -MossdeepCity_GameCorner_1F_EventScript_ExplainDodrioBerryPickingRequirements:: @ 8277E8D +MossdeepCity_GameCorner_1F_EventScript_ExplainDodrioBerryPickingRequirements:: msgbox MossdeepCity_GameCorner_1F_Text_OnlyDodrioAllowed, MSGBOX_DEFAULT return -MossdeepCity_GameCorner_1F_EventScript_PokemonJumpRecords:: @ 8277E96 +MossdeepCity_GameCorner_1F_EventScript_PokemonJumpRecords:: lockall special ShowPokemonJumpRecords waitstate releaseall end -MossdeepCity_GameCorner_1F_EventScript_DodrioBerryPickingRecords:: @ 8277E9D +MossdeepCity_GameCorner_1F_EventScript_DodrioBerryPickingRecords:: lockall special ShowDodrioBerryPickingRecords waitstate diff --git a/data/scripts/cave_hole.inc b/data/scripts/cave_hole.inc index 1cc334004..d7acf29d9 100644 --- a/data/scripts/cave_hole.inc +++ b/data/scripts/cave_hole.inc @@ -1,12 +1,12 @@ -CaveHole_CheckFallDownHole: @ 82A8327 +CaveHole_CheckFallDownHole: map_script_2 VAR_ICE_STEP_COUNT, 0, EventScript_FallDownHole .2byte 0 -CaveHole_FixCrackedGround: @ 82A8331 +CaveHole_FixCrackedGround: copyvar VAR_ICE_STEP_COUNT, 1 end -EventScript_FallDownHole:: @ 82A8337 +EventScript_FallDownHole:: lockall delay 20 applymovement OBJ_EVENT_ID_PLAYER, Movement_SetInvisible @@ -17,7 +17,7 @@ EventScript_FallDownHole:: @ 82A8337 waitstate end -EventScript_FallDownHoleMtPyre:: @ 82A8350 +EventScript_FallDownHoleMtPyre:: lockall delay 20 applymovement OBJ_EVENT_ID_PLAYER, Movement_SetInvisible @@ -28,6 +28,6 @@ EventScript_FallDownHoleMtPyre:: @ 82A8350 waitstate end -Movement_SetInvisible: @ 82A8369 +Movement_SetInvisible: set_invisible step_end diff --git a/data/scripts/cave_of_origin.inc b/data/scripts/cave_of_origin.inc index 579efdb89..abffd07ff 100644 --- a/data/scripts/cave_of_origin.inc +++ b/data/scripts/cave_of_origin.inc @@ -1,5 +1,5 @@ @ All unused / leftover scripts from RS -CaveOfOrigin_EventScript_LegendaryCry:: @ 8272274 +CaveOfOrigin_EventScript_LegendaryCry:: lockall waitse playmoncry SPECIES_KYOGRE, 2 @ SPECIES_GROUDON in Ruby @@ -8,25 +8,25 @@ CaveOfOrigin_EventScript_LegendaryCry:: @ 8272274 releaseall end -CaveOfOrigin_EventScript_Shake1:: @ 8272283 +CaveOfOrigin_EventScript_Shake1:: lockall setvar VAR_TEMP_1, 1 goto CaveOfOrigin_EventScript_Shake end -CaveOfOrigin_EventScript_Shake2:: @ 827228F +CaveOfOrigin_EventScript_Shake2:: lockall setvar VAR_TEMP_2, 1 goto CaveOfOrigin_EventScript_Shake end -CaveOfOrigin_EventScript_Shake3:: @ 827229B +CaveOfOrigin_EventScript_Shake3:: lockall setvar VAR_TEMP_3, 1 goto CaveOfOrigin_EventScript_Shake end -CaveOfOrigin_EventScript_Shake:: @ 82722A7 +CaveOfOrigin_EventScript_Shake:: setvar VAR_0x8004, 1 @ vertical pan setvar VAR_0x8005, 1 @ horizontal pan setvar VAR_0x8006, 8 @ num shakes @@ -36,7 +36,7 @@ CaveOfOrigin_EventScript_Shake:: @ 82722A7 releaseall end -CaveOfOrigin_EventScript_DisableTriggers:: @ 82722C1 +CaveOfOrigin_EventScript_DisableTriggers:: setvar VAR_TEMP_1, 1 setvar VAR_TEMP_2, 1 setvar VAR_TEMP_3, 1 diff --git a/data/scripts/check_furniture.inc b/data/scripts/check_furniture.inc index 0a952f3c3..920e88287 100644 --- a/data/scripts/check_furniture.inc +++ b/data/scripts/check_furniture.inc @@ -1,27 +1,27 @@ -EventScript_PictureBookShelf:: @ 82725CE +EventScript_PictureBookShelf:: msgbox Text_PictureBookShelf, MSGBOX_SIGN end -EventScript_BookShelf:: @ 82725D7 +EventScript_BookShelf:: msgbox Text_BookShelf, MSGBOX_SIGN end -EventScript_PokemonCenterBookShelf:: @ 82725E0 +EventScript_PokemonCenterBookShelf:: msgbox Text_PokemonCenterBookShelf, MSGBOX_SIGN end -EventScript_Vase:: @ 82725E9 +EventScript_Vase:: msgbox Text_Vase, MSGBOX_SIGN end -EventScript_EmptyTrashCan:: @ 82725F2 +EventScript_EmptyTrashCan:: msgbox Text_EmptyTrashCan, MSGBOX_SIGN end -EventScript_ShopShelf:: @ 82725FB +EventScript_ShopShelf:: msgbox Text_ShopShelf, MSGBOX_SIGN end -EventScript_Blueprint:: @ 8272604 +EventScript_Blueprint:: msgbox Text_Blueprint, MSGBOX_SIGN end diff --git a/data/scripts/contest_hall.inc b/data/scripts/contest_hall.inc index db43dfdd0..0d9e02337 100644 --- a/data/scripts/contest_hall.inc +++ b/data/scripts/contest_hall.inc @@ -15,7 +15,7 @@ .set LOCALID_ARTIST, 15 @ Either ends or returns to EventScript_ContestReceptionist after submitting a contest entry -LilycoveCity_ContestLobby_EventScript_SpeakToContestReceptionist:: @ 8279CC5 +LilycoveCity_ContestLobby_EventScript_SpeakToContestReceptionist:: lock faceplayer compare VAR_CONTEST_PRIZE_PICKUP, 0 @@ -25,24 +25,24 @@ LilycoveCity_ContestLobby_EventScript_SpeakToContestReceptionist:: @ 8279CC5 goto LilycoveCity_ContestLobby_EventScript_AskEnterContest end -LilycoveCity_ContestLobby_EventScript_ReceptionWelcome:: @ 8279CEA +LilycoveCity_ContestLobby_EventScript_ReceptionWelcome:: msgbox LilycoveCity_ContestLobby_Text_ContestReception, MSGBOX_DEFAULT return -LilycoveCity_ContestLobby_EventScript_GivePokeblockCase:: @ 8279CF3 +LilycoveCity_ContestLobby_EventScript_GivePokeblockCase:: msgbox LilycoveCity_ContestLobby_Text_ReceptionDontHavePokeblockCase, MSGBOX_DEFAULT giveitem ITEM_POKEBLOCK_CASE setflag FLAG_RECEIVED_POKEBLOCK_CASE msgbox LilycoveCity_ContestLobby_Text_NowThatWeveClearedThatUp, MSGBOX_DEFAULT return -LilycoveCity_ContestLobby_EventScript_PickUpPrize:: @ 8279D13 +LilycoveCity_ContestLobby_EventScript_PickUpPrize:: msgbox LilycoveCity_ContestLobby_Text_PokemonWonWeHavePrize, MSGBOX_DEFAULT switch VAR_CONTEST_PRIZE_PICKUP case 4, LilycoveCity_ContestLobby_EventScript_GiveLuxuryBallAtCounter end -LilycoveCity_ContestLobby_EventScript_GiveLuxuryBallAtCounter:: @ 8279D2C +LilycoveCity_ContestLobby_EventScript_GiveLuxuryBallAtCounter:: giveitem ITEM_LUXURY_BALL compare VAR_RESULT, FALSE goto_if_eq LilycoveCity_ContestLobby_EventScript_NoRoomForLuxuryBallAtCounter @@ -51,13 +51,13 @@ LilycoveCity_ContestLobby_EventScript_GiveLuxuryBallAtCounter:: @ 8279D2C release end -LilycoveCity_ContestLobby_EventScript_NoRoomForLuxuryBallAtCounter:: @ 8279D4B +LilycoveCity_ContestLobby_EventScript_NoRoomForLuxuryBallAtCounter:: call Common_EventScript_BagIsFull msgbox LilycoveCity_ContestLobby_Text_ComeBackForPrizeLater, MSGBOX_DEFAULT release end -LilycoveCity_ContestLobby_EventScript_AskEnterContest:: @ 8279D5A +LilycoveCity_ContestLobby_EventScript_AskEnterContest:: message LilycoveCity_ContestLobby_Text_EnterContest1 waitmessage multichoice 0, 0, MULTI_ENTERINFO, FALSE @@ -68,7 +68,7 @@ LilycoveCity_ContestLobby_EventScript_AskEnterContest:: @ 8279D5A case MULTI_B_PRESSED, LilycoveCity_ContestLobby_EventScript_CancelEnterContest end -LilycoveCity_ContestLobby_EventScript_ContestInfo:: @ 8279D97 +LilycoveCity_ContestLobby_EventScript_ContestInfo:: message LilycoveCity_ContestLobby_Text_WhichTopic1 waitmessage multichoice 0, 0, MULTI_CONTEST_INFO, FALSE @@ -80,27 +80,27 @@ LilycoveCity_ContestLobby_EventScript_ContestInfo:: @ 8279D97 case MULTI_B_PRESSED, LilycoveCity_ContestLobby_EventScript_AskEnterContest end -LilycoveCity_ContestLobby_EventScript_ExplainContests:: @ 8279DDF +LilycoveCity_ContestLobby_EventScript_ExplainContests:: msgbox LilycoveCity_ContestLobby_Text_ExplainContests, MSGBOX_DEFAULT goto LilycoveCity_ContestLobby_EventScript_ContestInfo end -LilycoveCity_ContestLobby_EventScript_ExplainContestTypes:: @ 8279DED +LilycoveCity_ContestLobby_EventScript_ExplainContestTypes:: msgbox LilycoveCity_ContestLobby_Text_ExplainContestTypes, MSGBOX_DEFAULT goto LilycoveCity_ContestLobby_EventScript_ContestInfo end -LilycoveCity_ContestLobby_EventScript_ExplainContestRanks:: @ 8279DFB +LilycoveCity_ContestLobby_EventScript_ExplainContestRanks:: msgbox LilycoveCity_ContestLobby_Text_ExplainContestRanks, MSGBOX_DEFAULT goto LilycoveCity_ContestLobby_EventScript_ContestInfo end -LilycoveCity_ContestLobby_EventScript_CancelEnterContest:: @ 8279E09 +LilycoveCity_ContestLobby_EventScript_CancelEnterContest:: msgbox LilycoveCity_ContestLobby_Text_ParticipateAnotherTime, MSGBOX_DEFAULT release end -LilycoveCity_ContestLobby_EventScript_ChooseContestMon:: @ 8279E13 +LilycoveCity_ContestLobby_EventScript_ChooseContestMon:: msgbox LilycoveCity_ContestLobby_Text_EnterWhichPokemon1, MSGBOX_DEFAULT choosecontestmon compare VAR_0x8004, 255 @@ -118,7 +118,7 @@ LilycoveCity_ContestLobby_EventScript_ChooseContestMon:: @ 8279E13 goto_if_eq LilycoveCity_ContestLobby_EventScript_CantEnterFainted end -LilycoveCity_ContestLobby_EventScript_ChooseContestRank:: @ 8279E62 +LilycoveCity_ContestLobby_EventScript_ChooseContestRank:: message LilycoveCity_ContestLobby_Text_EnterWhichRank waitmessage multichoice 0, 0, MULTI_CONTEST_RANK, FALSE @@ -131,29 +131,29 @@ LilycoveCity_ContestLobby_EventScript_ChooseContestRank:: @ 8279E62 case MULTI_B_PRESSED, LilycoveCity_ContestLobby_EventScript_CancelEnterContest end -LilycoveCity_ContestLobby_EventScript_EnterNormalRank:: @ 8279EB5 +LilycoveCity_ContestLobby_EventScript_EnterNormalRank:: setvar VAR_CONTEST_RANK, CONTEST_RANK_NORMAL goto LilycoveCity_ContestLobby_EventScript_ChooseContestType end -LilycoveCity_ContestLobby_EventScript_EnterSuperRank:: @ 8279EC0 +LilycoveCity_ContestLobby_EventScript_EnterSuperRank:: setvar VAR_CONTEST_RANK, CONTEST_RANK_SUPER goto LilycoveCity_ContestLobby_EventScript_ChooseContestType end -LilycoveCity_ContestLobby_EventScript_EnterHyperRank:: @ 8279ECB +LilycoveCity_ContestLobby_EventScript_EnterHyperRank:: setvar VAR_CONTEST_RANK, CONTEST_RANK_HYPER goto LilycoveCity_ContestLobby_EventScript_ChooseContestType end -LilycoveCity_ContestLobby_EventScript_EnterMasterRank:: @ 8279ED6 +LilycoveCity_ContestLobby_EventScript_EnterMasterRank:: setvar VAR_CONTEST_RANK, CONTEST_RANK_MASTER goto LilycoveCity_ContestLobby_EventScript_ChooseContestType end @ The multichoice selection IDs are equal to the CATEGORY values @ So rather than list the cases they just copy VAR_RESULT for a valid selection into VAR_CONTEST_CATEGORY -LilycoveCity_ContestLobby_EventScript_ChooseContestType:: @ 8279EE1 +LilycoveCity_ContestLobby_EventScript_ChooseContestType:: message LilycoveCity_ContestLobby_Text_EnterWhichContest1 waitmessage multichoice 0, 0, MULTI_CONTEST_TYPE, FALSE @@ -164,48 +164,48 @@ LilycoveCity_ContestLobby_EventScript_ChooseContestType:: @ 8279EE1 goto LilycoveCity_ContestLobby_EventScript_ChooseContestMon end -LilycoveCity_ContestLobby_EventScript_CantEnterLowRank:: @ 8279F12 +LilycoveCity_ContestLobby_EventScript_CantEnterLowRank:: msgbox LilycoveCity_ContestLobby_Text_MonNotQualifiedForRank, MSGBOX_DEFAULT goto LilycoveCity_ContestLobby_EventScript_ChooseContestMon release end @ Unused -LilycoveCity_ContestLobby_EventScript_ConfirmEntry:: @ 8279F21 +LilycoveCity_ContestLobby_EventScript_ConfirmEntry:: msgbox LilycoveCity_ContestLobby_Text_ConfirmContestMon, MSGBOX_YESNO switch VAR_RESULT case NO, LilycoveCity_ContestLobby_EventScript_ChooseContestMon case YES, LilycoveCity_ContestLobby_EventScript_EnterMon end -LilycoveCity_ContestLobby_EventScript_ConfirmEntryAlreadyWon:: @ 8279F45 +LilycoveCity_ContestLobby_EventScript_ConfirmEntryAlreadyWon:: msgbox LilycoveCity_ContestLobby_Text_AlreadyWonEnterAnyway, MSGBOX_YESNO switch VAR_RESULT case NO, LilycoveCity_ContestLobby_EventScript_ChooseContestMon case YES, LilycoveCity_ContestLobby_EventScript_EnterMon end -LilycoveCity_ContestLobby_EventScript_CantEnterEgg:: @ 8279F69 +LilycoveCity_ContestLobby_EventScript_CantEnterEgg:: msgbox LilycoveCity_ContestLobby_Text_EggCannotTakePart, MSGBOX_DEFAULT goto LilycoveCity_ContestLobby_EventScript_ChooseContestMon release end -LilycoveCity_ContestLobby_EventScript_CantEnterFainted:: @ 8279F78 +LilycoveCity_ContestLobby_EventScript_CantEnterFainted:: msgbox LilycoveCity_ContestLobby_Text_MonInNoConditionForContest, MSGBOX_DEFAULT goto LilycoveCity_ContestLobby_EventScript_ChooseContestMon release end @ The return here is back to LilycoveCity_ContestLobby_EventScript_ContestReceptionist -LilycoveCity_ContestLobby_EventScript_EnterMon:: @ 8279F87 +LilycoveCity_ContestLobby_EventScript_EnterMon:: msgbox LilycoveCity_ContestLobby_Text_YourMonIsEntryNum4, MSGBOX_DEFAULT closemessage releaseall setvar VAR_CONTEST_HALL_STATE, 1 return -ContestHall_EventScript_DoContest:: @ 8279F97 +ContestHall_EventScript_DoContest:: special LinkContestTryShowWirelessIndicator setvar VAR_0x8006, 0 lockall @@ -228,7 +228,7 @@ ContestHall_EventScript_DoContest:: @ 8279F97 setvar VAR_CONTEST_HALL_STATE, 2 return -ContestHall_EventScript_GetContestRankStringId:: @ 8279FF2 +ContestHall_EventScript_GetContestRankStringId:: switch VAR_CONTEST_RANK case CONTEST_RANK_NORMAL, ContestHall_EventScript_GetNormalStringId case CONTEST_RANK_SUPER, ContestHall_EventScript_GetSuperStringId @@ -236,24 +236,24 @@ ContestHall_EventScript_GetContestRankStringId:: @ 8279FF2 case CONTEST_RANK_MASTER, ContestHall_EventScript_GetMasterStringId return -ContestHall_EventScript_GetNormalStringId:: @ 827A024 +ContestHall_EventScript_GetNormalStringId:: setvar VAR_0x8009, STDSTRING_NORMAL return -ContestHall_EventScript_GetSuperStringId:: @ 827A02A +ContestHall_EventScript_GetSuperStringId:: setvar VAR_0x8009, STDSTRING_SUPER return -ContestHall_EventScript_GetHyperStringId:: @ 827A030 +ContestHall_EventScript_GetHyperStringId:: setvar VAR_0x8009, STDSTRING_HYPER return -ContestHall_EventScript_GetMasterStringId:: @ 827A036 +ContestHall_EventScript_GetMasterStringId:: setvar VAR_0x8009, STDSTRING_MASTER return @ This whole switch is equivalent to copyvar VAR_0x8008, VAR_CONTEST_CATEGORY -ContestHall_EventScript_GetContestCategory:: @ 827A03C +ContestHall_EventScript_GetContestCategory:: switch VAR_CONTEST_CATEGORY case CONTEST_CATEGORY_COOL, ContestHall_EventScript_GetCategoryCool case CONTEST_CATEGORY_BEAUTY, ContestHall_EventScript_GetCategoryBeauty @@ -262,27 +262,27 @@ ContestHall_EventScript_GetContestCategory:: @ 827A03C case CONTEST_CATEGORY_TOUGH, ContestHall_EventScript_GetCategoryTough return -ContestHall_EventScript_GetCategoryCool:: @ 827A079 +ContestHall_EventScript_GetCategoryCool:: setvar VAR_0x8008, CONTEST_CATEGORY_COOL return -ContestHall_EventScript_GetCategoryBeauty:: @ 827A07F +ContestHall_EventScript_GetCategoryBeauty:: setvar VAR_0x8008, CONTEST_CATEGORY_BEAUTY return -ContestHall_EventScript_GetCategoryCute:: @ 827A085 +ContestHall_EventScript_GetCategoryCute:: setvar VAR_0x8008, CONTEST_CATEGORY_CUTE return -ContestHall_EventScript_GetCategorySmart:: @ 827A08B +ContestHall_EventScript_GetCategorySmart:: setvar VAR_0x8008, CONTEST_CATEGORY_SMART return -ContestHall_EventScript_GetCategoryTough:: @ 827A091 +ContestHall_EventScript_GetCategoryTough:: setvar VAR_0x8008, CONTEST_CATEGORY_TOUGH return -ContestHall_EventScript_ContestGettingStarted:: @ 827A097 +ContestHall_EventScript_ContestGettingStarted:: buffercontesttypestring 1, VAR_0x8008 bufferstdstring 2, VAR_0x8009 call ContestHall_EventScript_GettingStarted @@ -292,7 +292,7 @@ ContestHall_EventScript_ContestGettingStarted:: @ 827A097 releaseall return -ContestHall_EventScript_GettingStarted:: @ 827A0B1 +ContestHall_EventScript_GettingStarted:: compare VAR_CONTEST_TYPE, CONTEST_TYPE_LINK goto_if_eq ContestHall_EventScript_GettingStartedLink lockall @@ -300,7 +300,7 @@ ContestHall_EventScript_GettingStarted:: @ 827A0B1 releaseall return -ContestHall_EventScript_GettingStartedLink:: @ 827A0C7 +ContestHall_EventScript_GettingStartedLink:: specialvar VAR_RESULT, IsWirelessContest compare VAR_RESULT, TRUE goto_if_eq ContestHall_EventScript_GettingStartedWireless @@ -308,7 +308,7 @@ ContestHall_EventScript_GettingStartedLink:: @ 827A0C7 waitmessage return -ContestHall_EventScript_GettingStartedWireless:: @ 827A0DE +ContestHall_EventScript_GettingStartedWireless:: messageautoscroll ContestHall_Text_GettingStartedWireless waitmessage call ContestHall_EventScript_TryWaitForLink @@ -317,7 +317,7 @@ ContestHall_EventScript_GettingStartedWireless:: @ 827A0DE call ContestHall_EventScript_TryWaitForLink return -ContestHall_EventScript_ShowContestMons:: @ 827A0F5 +ContestHall_EventScript_ShowContestMons:: call ContestHall_EventScript_ContestantWalkToCenter call ContestHall_EventScript_ShowContestMonPic call ContestHall_EventScript_AudienceHeartEmotes @@ -332,18 +332,18 @@ ContestHall_EventScript_ShowContestMons:: @ 827A0F5 setvar VAR_TEMP_1, 6 return -ContestHall_EventScript_TryWaitForLink:: @ 827A133 +ContestHall_EventScript_TryWaitForLink:: specialvar VAR_RESULT, IsWirelessContest compare VAR_RESULT, TRUE goto_if_eq ContestHall_EventScript_WaitForLink return -ContestHall_EventScript_WaitForLink:: @ 827A144 +ContestHall_EventScript_WaitForLink:: special LinkContestWaitForConnection waitstate return -ContestHall_EventScript_ContestantWalkToCenter:: @ 827A149 +ContestHall_EventScript_ContestantWalkToCenter:: compare VAR_0x8006, 0 goto_if_eq ContestHall_EventScript_Player1WalkToCenter compare VAR_0x8006, 1 @@ -354,7 +354,7 @@ ContestHall_EventScript_ContestantWalkToCenter:: @ 827A149 goto_if_eq ContestHall_EventScript_Player4WalkToCenter return -ContestHall_EventScript_Player1WalkToCenter:: @ 827A176 +ContestHall_EventScript_Player1WalkToCenter:: call ContestHall_EventScript_TryWaitForLink lockall applymovement LOCALID_CONTESTANT_1, ContestHall_Movement_Player1WalkToCenter @@ -363,7 +363,7 @@ ContestHall_EventScript_Player1WalkToCenter:: @ 827A176 setvar VAR_0x800B, LOCALID_CONTESTANT_1 return -ContestHall_EventScript_Player2WalkToCenter:: @ 827A18D +ContestHall_EventScript_Player2WalkToCenter:: call ContestHall_EventScript_TryWaitForLink lockall applymovement LOCALID_CONTESTANT_2, ContestHall_Movement_Player2WalkToCenter @@ -372,7 +372,7 @@ ContestHall_EventScript_Player2WalkToCenter:: @ 827A18D setvar VAR_0x800B, LOCALID_CONTESTANT_2 return -ContestHall_EventScript_Player3WalkToCenter:: @ 827A1A4 +ContestHall_EventScript_Player3WalkToCenter:: call ContestHall_EventScript_TryWaitForLink lockall applymovement LOCALID_CONTESTANT_3, ContestHall_Movement_Player3WalkToCenter @@ -381,7 +381,7 @@ ContestHall_EventScript_Player3WalkToCenter:: @ 827A1A4 setvar VAR_0x800B, LOCALID_CONTESTANT_3 return -ContestHall_EventScript_Player4WalkToCenter:: @ 827A1BB +ContestHall_EventScript_Player4WalkToCenter:: call ContestHall_EventScript_TryWaitForLink lockall applymovement LOCALID_CONTESTANT_4, ContestHall_Movement_Player4WalkToCenter @@ -390,7 +390,7 @@ ContestHall_EventScript_Player4WalkToCenter:: @ 827A1BB setvar VAR_0x800B, LOCALID_CONTESTANT_4 return -ContestHall_EventScript_ShowContestMonPic:: @ 827A1D2 +ContestHall_EventScript_ShowContestMonPic:: special BufferContestTrainerAndMonNames addvar VAR_0x8006, 1 buffernumberstring 1, VAR_0x8006 @@ -412,19 +412,19 @@ ContestHall_EventScript_ShowContestMonPic:: @ 827A1D2 call ContestHall_EventScript_EntryXTrainersMon return -ContestHall_EventScript_EntryXTrainersMon:: @ 827A217 +ContestHall_EventScript_EntryXTrainersMon:: compare VAR_CONTEST_TYPE, CONTEST_TYPE_LINK goto_if_eq ContestHall_EventScript_EntryXTrainersMonLink message ContestHall_Text_EntryXTrainersMon waitmessage return -ContestHall_EventScript_EntryXTrainersMonLink:: @ 827A229 +ContestHall_EventScript_EntryXTrainersMonLink:: messageautoscroll ContestHall_Text_EntryXTrainersMon waitmessage return -ContestHall_EventScript_AudienceVote:: @ 827A230 +ContestHall_EventScript_AudienceVote:: call ContestHall_EventScript_AudienceWillVote call ContestHall_EventScript_VotingUnderWay playse SE_M_ENCORE2 @@ -440,13 +440,13 @@ ContestHall_EventScript_AudienceVote:: @ 827A230 waitmovement 0 return -ContestHall_EventScript_AudienceWillVote:: @ 827A26C +ContestHall_EventScript_AudienceWillVote:: compare VAR_CONTEST_TYPE, CONTEST_TYPE_LINK goto_if_eq ContestHall_EventScript_AudienceWillVoteLink msgbox ContestHall_Text_SeenContestantsAudienceWillVote, MSGBOX_DEFAULT return -ContestHall_EventScript_AudienceWillVoteLink:: @ 827A280 +ContestHall_EventScript_AudienceWillVoteLink:: specialvar VAR_RESULT, IsWirelessContest compare VAR_RESULT, TRUE goto_if_eq ContestHall_EventScript_AudienceWillVoteWireless @@ -454,7 +454,7 @@ ContestHall_EventScript_AudienceWillVoteLink:: @ 827A280 waitmessage return -ContestHall_EventScript_AudienceWillVoteWireless:: @ 827A297 +ContestHall_EventScript_AudienceWillVoteWireless:: messageautoscroll ContestHall_Text_WeveSeenContestants waitmessage call ContestHall_EventScript_TryWaitForLink @@ -466,18 +466,18 @@ ContestHall_EventScript_AudienceWillVoteWireless:: @ 827A297 call ContestHall_EventScript_TryWaitForLink return -ContestHall_EventScript_VotingUnderWay:: @ 827A2B9 +ContestHall_EventScript_VotingUnderWay:: compare VAR_CONTEST_TYPE, CONTEST_TYPE_LINK goto_if_eq ContestHall_EventScript_VotingUnderWayLink message ContestHall_Text_VotingUnderWay return -ContestHall_EventScript_VotingUnderWayLink:: @ 827A2CA +ContestHall_EventScript_VotingUnderWayLink:: messageautoscroll ContestHall_Text_VotingUnderWay call ContestHall_EventScript_TryWaitForLink return -ContestHall_EventScript_AudienceReactToContestant:: @ 827A2D5 +ContestHall_EventScript_AudienceReactToContestant:: call ContestHall_EventScript_TryWaitForLink applymovement LOCALID_MC, ContestHall_Movement_AudienceMemberLookLeft waitmovement 0 @@ -508,7 +508,7 @@ ContestHall_EventScript_AudienceReactToContestant:: @ 827A2D5 @ For each heart to display a random audience member is chosen, and a new one chosen if they already displayed a heart @ VAR_TEMP_1 through VAR_TEMP_8 represent each of the 8 audience members that are actual object events @ and are set to 9 if they havent displayed a heart yet, and 1 if they have -ContestHall_EventScript_AudienceHeartEmotes:: @ 827A34F +ContestHall_EventScript_AudienceHeartEmotes:: special GetContestMonCondition compare VAR_CONTEST_TYPE, CONTEST_TYPE_NPC_NORMAL call_if_eq ContestHall_EventScript_GetNumberOfHeartsNormal @@ -540,7 +540,7 @@ ContestHall_EventScript_AudienceHeartEmotes:: @ 827A34F setvar VAR_TEMP_8, 0 return -ContestHall_EventScript_DisplayHearts:: @ 827A3E5 +ContestHall_EventScript_DisplayHearts:: setvar VAR_RESULT, 8 special GenerateContestRand compare VAR_RESULT, 0 @@ -564,7 +564,7 @@ ContestHall_EventScript_DisplayHearts:: @ 827A3E5 waitmovement 0 return -ContestHall_EventScript_GetNumberOfHeartsNormal:: @ 827A454 +ContestHall_EventScript_GetNumberOfHeartsNormal:: compare VAR_0x8004, 80 goto_if_gt ContestHall_EventScript_Set8Hearts compare VAR_0x8004, 70 @@ -584,7 +584,7 @@ ContestHall_EventScript_GetNumberOfHeartsNormal:: @ 827A454 setvar VAR_TEMP_0, 0 return -ContestHall_EventScript_GetNumberOfHeartsSuper:: @ 827A4B2 +ContestHall_EventScript_GetNumberOfHeartsSuper:: compare VAR_0x8004, 230 goto_if_gt ContestHall_EventScript_Set8Hearts compare VAR_0x8004, 210 @@ -604,7 +604,7 @@ ContestHall_EventScript_GetNumberOfHeartsSuper:: @ 827A4B2 setvar VAR_TEMP_0, 0 return -ContestHall_EventScript_GetNumberOfHeartsHyper:: @ 827A510 +ContestHall_EventScript_GetNumberOfHeartsHyper:: compare VAR_0x8004, 380 goto_if_gt ContestHall_EventScript_Set8Hearts compare VAR_0x8004, 350 @@ -624,7 +624,7 @@ ContestHall_EventScript_GetNumberOfHeartsHyper:: @ 827A510 setvar VAR_TEMP_0, 0 return -ContestHall_EventScript_GetNumberOfHeartsMaster:: @ 827A56E +ContestHall_EventScript_GetNumberOfHeartsMaster:: compare VAR_0x8004, 600 goto_if_gt ContestHall_EventScript_Set8Hearts compare VAR_0x8004, 560 @@ -644,7 +644,7 @@ ContestHall_EventScript_GetNumberOfHeartsMaster:: @ 827A56E setvar VAR_TEMP_0, 0 return -ContestHall_EventScript_GetNumberOfHeartsLink:: @ 827A5CC +ContestHall_EventScript_GetNumberOfHeartsLink:: compare VAR_0x8004, 600 goto_if_gt ContestHall_EventScript_Set8Hearts compare VAR_0x8004, 550 @@ -664,39 +664,39 @@ ContestHall_EventScript_GetNumberOfHeartsLink:: @ 827A5CC setvar VAR_TEMP_0, 0 return -ContestHall_EventScript_Set1Heart:: @ 827A62A +ContestHall_EventScript_Set1Heart:: setvar VAR_TEMP_0, 1 return -ContestHall_EventScript_Set2Hearts:: @ 827A630 +ContestHall_EventScript_Set2Hearts:: setvar VAR_TEMP_0, 2 return -ContestHall_EventScript_Set3Hearts:: @ 827A636 +ContestHall_EventScript_Set3Hearts:: setvar VAR_TEMP_0, 3 return -ContestHall_EventScript_Set4Hearts:: @ 827A63C +ContestHall_EventScript_Set4Hearts:: setvar VAR_TEMP_0, 4 return -ContestHall_EventScript_Set5Hearts:: @ 827A642 +ContestHall_EventScript_Set5Hearts:: setvar VAR_TEMP_0, 5 return -ContestHall_EventScript_Set6Hearts:: @ 827A648 +ContestHall_EventScript_Set6Hearts:: setvar VAR_TEMP_0, 6 return -ContestHall_EventScript_Set7Hearts:: @ 827A64E +ContestHall_EventScript_Set7Hearts:: setvar VAR_TEMP_0, 7 return -ContestHall_EventScript_Set8Hearts:: @ 827A654 +ContestHall_EventScript_Set8Hearts:: setvar VAR_TEMP_0, 8 return -ContestHall_EventScript_TryDisplayHeartAudienceMember1:: @ 827A65A +ContestHall_EventScript_TryDisplayHeartAudienceMember1:: compare VAR_TEMP_1, 1 goto_if_eq ContestHall_EventScript_AudienceMember1AlreadyEmoted applymovement LOCALID_AUDIENCE_1, ContestHall_Movement_Heart @@ -706,10 +706,10 @@ ContestHall_EventScript_TryDisplayHeartAudienceMember1:: @ 827A65A addvar VAR_TEMP_0, -1 return -ContestHall_EventScript_AudienceMember1AlreadyEmoted:: @ 827A67D +ContestHall_EventScript_AudienceMember1AlreadyEmoted:: return -ContestHall_EventScript_TryDisplayHeartAudienceMember2:: @ 827A67E +ContestHall_EventScript_TryDisplayHeartAudienceMember2:: compare VAR_TEMP_2, 1 goto_if_eq ContestHall_EventScript_AudienceMember2AlreadyEmoted applymovement LOCALID_AUDIENCE_2, ContestHall_Movement_Heart @@ -719,10 +719,10 @@ ContestHall_EventScript_TryDisplayHeartAudienceMember2:: @ 827A67E addvar VAR_TEMP_0, -1 return -ContestHall_EventScript_AudienceMember2AlreadyEmoted:: @ 827A6A1 +ContestHall_EventScript_AudienceMember2AlreadyEmoted:: return -ContestHall_EventScript_TryDisplayHeartAudienceMember3:: @ 827A6A2 +ContestHall_EventScript_TryDisplayHeartAudienceMember3:: compare VAR_TEMP_3, 1 goto_if_eq ContestHall_EventScript_AudienceMember3AlreadyEmoted applymovement LOCALID_AUDIENCE_3, ContestHall_Movement_Heart @@ -732,10 +732,10 @@ ContestHall_EventScript_TryDisplayHeartAudienceMember3:: @ 827A6A2 addvar VAR_TEMP_0, -1 return -ContestHall_EventScript_AudienceMember3AlreadyEmoted:: @ 827A6C5 +ContestHall_EventScript_AudienceMember3AlreadyEmoted:: return -ContestHall_EventScript_TryDisplayHeartAudienceMember4:: @ 827A6C6 +ContestHall_EventScript_TryDisplayHeartAudienceMember4:: compare VAR_TEMP_4, 1 goto_if_eq ContestHall_EventScript_Audience4MemberAlreadyEmoted applymovement LOCALID_AUDIENCE_4, ContestHall_Movement_Heart @@ -745,10 +745,10 @@ ContestHall_EventScript_TryDisplayHeartAudienceMember4:: @ 827A6C6 addvar VAR_TEMP_0, -1 return -ContestHall_EventScript_Audience4MemberAlreadyEmoted:: @ 827A6E9 +ContestHall_EventScript_Audience4MemberAlreadyEmoted:: return -ContestHall_EventScript_TryDisplayHeartAudienceMember5:: @ 827A6EA +ContestHall_EventScript_TryDisplayHeartAudienceMember5:: compare VAR_TEMP_5, 1 goto_if_eq ContestHall_EventScript_AudienceMember5AlreadyEmoted applymovement LOCALID_AUDIENCE_5, ContestHall_Movement_Heart @@ -758,10 +758,10 @@ ContestHall_EventScript_TryDisplayHeartAudienceMember5:: @ 827A6EA addvar VAR_TEMP_0, -1 return -ContestHall_EventScript_AudienceMember5AlreadyEmoted:: @ 827A70D +ContestHall_EventScript_AudienceMember5AlreadyEmoted:: return -ContestHall_EventScript_TryDisplayHeartAudienceMember6:: @ 827A70E +ContestHall_EventScript_TryDisplayHeartAudienceMember6:: compare VAR_TEMP_6, 1 goto_if_eq ContestHall_EventScript_AudienceMember6AlreadyEmoted applymovement LOCALID_AUDIENCE_6, ContestHall_Movement_Heart @@ -771,10 +771,10 @@ ContestHall_EventScript_TryDisplayHeartAudienceMember6:: @ 827A70E addvar VAR_TEMP_0, -1 return -ContestHall_EventScript_AudienceMember6AlreadyEmoted:: @ 827A731 +ContestHall_EventScript_AudienceMember6AlreadyEmoted:: return -ContestHall_EventScript_TryDisplayHeartAudienceMember7:: @ 827A732 +ContestHall_EventScript_TryDisplayHeartAudienceMember7:: compare VAR_TEMP_7, 1 goto_if_eq ContestHall_EventScript_AudienceMember7AlreadyEmoted applymovement LOCALID_AUDIENCE_7, ContestHall_Movement_Heart @@ -784,10 +784,10 @@ ContestHall_EventScript_TryDisplayHeartAudienceMember7:: @ 827A732 addvar VAR_TEMP_0, -1 return -ContestHall_EventScript_AudienceMember7AlreadyEmoted:: @ 827A755 +ContestHall_EventScript_AudienceMember7AlreadyEmoted:: return -ContestHall_EventScript_TryDisplayHeartAudienceMember8:: @ 827A756 +ContestHall_EventScript_TryDisplayHeartAudienceMember8:: compare VAR_TEMP_8, 1 goto_if_eq ContestHall_EventScript_AudienceMember8AlreadyEmoted applymovement LOCALID_ARTIST, ContestHall_Movement_Heart @@ -797,10 +797,10 @@ ContestHall_EventScript_TryDisplayHeartAudienceMember8:: @ 827A756 addvar VAR_TEMP_0, -1 return -ContestHall_EventScript_AudienceMember8AlreadyEmoted:: @ 827A779 +ContestHall_EventScript_AudienceMember8AlreadyEmoted:: return -ContestHall_EventScript_ContestantReturn:: @ 827A77A +ContestHall_EventScript_ContestantReturn:: closemessage release removeobject LOCALID_POKEBALL @@ -813,7 +813,7 @@ ContestHall_EventScript_ContestantReturn:: @ 827A77A case 3, ContestHall_EventScript_Player4WalkBack return -ContestHall_EventScript_Player1WalkBack:: @ 827A7B9 +ContestHall_EventScript_Player1WalkBack:: call ContestHall_EventScript_TryWaitForLink lockall applymovement VAR_0x800B, ContestHall_Movement_Player1WalkBack @@ -821,7 +821,7 @@ ContestHall_EventScript_Player1WalkBack:: @ 827A7B9 releaseall return -ContestHall_EventScript_Player2WalkBack:: @ 827A7CB +ContestHall_EventScript_Player2WalkBack:: call ContestHall_EventScript_TryWaitForLink lockall applymovement VAR_0x800B, ContestHall_Movement_Player2WalkBack @@ -829,7 +829,7 @@ ContestHall_EventScript_Player2WalkBack:: @ 827A7CB releaseall return -ContestHall_EventScript_Player3WalkBack:: @ 827A7DD +ContestHall_EventScript_Player3WalkBack:: call ContestHall_EventScript_TryWaitForLink lockall applymovement VAR_0x800B, ContestHall_Movement_Player3WalkBack @@ -837,7 +837,7 @@ ContestHall_EventScript_Player3WalkBack:: @ 827A7DD releaseall return -ContestHall_EventScript_Player4WalkBack:: @ 827A7EF +ContestHall_EventScript_Player4WalkBack:: call ContestHall_EventScript_TryWaitForLink lockall applymovement VAR_0x800B, ContestHall_Movement_Player4WalkBack @@ -845,7 +845,7 @@ ContestHall_EventScript_Player4WalkBack:: @ 827A7EF releaseall return -ContestHall_EventScript_DoContestAppeals:: @ 827A801 +ContestHall_EventScript_DoContestAppeals:: lockall applymovement LOCALID_MC, ContestHall_Movement_FaceContestants2 waitmovement 0 @@ -869,13 +869,13 @@ ContestHall_EventScript_DoContestAppeals:: @ 827A801 releaseall return -ContestHall_EventScript_LetsAppeal:: @ 827A853 +ContestHall_EventScript_LetsAppeal:: compare VAR_CONTEST_TYPE, CONTEST_TYPE_LINK goto_if_eq ContestHall_EventScript_LetsAppealLink msgbox ContestHall_Text_VotingCompleteLetsAppeal, MSGBOX_DEFAULT return -ContestHall_EventScript_LetsAppealLink:: @ 827A867 +ContestHall_EventScript_LetsAppealLink:: specialvar VAR_RESULT, IsWirelessContest compare VAR_RESULT, TRUE goto_if_eq ContestHall_EventScript_LetsAppealWireless @@ -883,7 +883,7 @@ ContestHall_EventScript_LetsAppealLink:: @ 827A867 waitmessage return -ContestHall_EventScript_LetsAppealWireless:: @ 827A87E +ContestHall_EventScript_LetsAppealWireless:: call ContestHall_EventScript_TryWaitForLink messageautoscroll ContestHall_Text_VotingComplete waitmessage @@ -896,7 +896,7 @@ ContestHall_EventScript_LetsAppealWireless:: @ 827A87E call ContestHall_EventScript_TryWaitForLink return -ContestHall_EventScript_ContestResults:: @ 827A8A5 +ContestHall_EventScript_ContestResults:: call ContestHall_EventScript_TryWaitForLink call ContestHall_EventScript_ThatsItForJudging call ContestHall_EventScript_TryWaitForLink @@ -919,59 +919,59 @@ ContestHall_EventScript_ContestResults:: @ 827A8A5 playbgm MUS_CONTEST_WINNER, FALSE return -ContestHall_EventScript_ThatsItForJudging:: @ 827A8FB +ContestHall_EventScript_ThatsItForJudging:: compare VAR_CONTEST_TYPE, CONTEST_TYPE_LINK goto_if_eq ContestHall_EventScript_ThatsItForJudgingLink msgbox ContestHall_Text_ThatsItForJudging, MSGBOX_DEFAULT return -ContestHall_EventScript_ThatsItForJudgingLink:: @ 827A90F +ContestHall_EventScript_ThatsItForJudgingLink:: call ContestHall_EventScript_TryWaitForLink messageautoscroll ContestHall_Text_ThatsItForJudging waitmessage delay 30 return -ContestHall_EventScript_ThankYouForAppeals:: @ 827A91E +ContestHall_EventScript_ThankYouForAppeals:: compare VAR_CONTEST_TYPE, CONTEST_TYPE_LINK goto_if_eq ContestHall_EventScript_ThankYouForAppealsLink msgbox ContestHall_Text_ThankYouForAppeals, MSGBOX_DEFAULT return -ContestHall_EventScript_ThankYouForAppealsLink:: @ 827A932 +ContestHall_EventScript_ThankYouForAppealsLink:: call ContestHall_EventScript_TryWaitForLink messageautoscroll ContestHall_Text_ThankYouForAppeals waitmessage delay 30 return -ContestHall_EventScript_JudgeLooksReady:: @ 827A941 +ContestHall_EventScript_JudgeLooksReady:: compare VAR_CONTEST_TYPE, CONTEST_TYPE_LINK goto_if_eq ContestHall_EventScript_JudgeLooksReadyLink msgbox ContestHall_Text_JudgeLooksReady, MSGBOX_DEFAULT return -ContestHall_EventScript_JudgeLooksReadyLink:: @ 827A955 +ContestHall_EventScript_JudgeLooksReadyLink:: call ContestHall_EventScript_TryWaitForLink messageautoscroll ContestHall_Text_JudgeLooksReady waitmessage delay 30 return -ContestHall_EventScript_WeWillDeclareWinner:: @ 827A964 +ContestHall_EventScript_WeWillDeclareWinner:: compare VAR_CONTEST_TYPE, CONTEST_TYPE_LINK goto_if_eq ContestHall_EventScript_WeWillDeclareWinnerLink msgbox ContestHall_Text_WeWillNowDeclareWinner, MSGBOX_DEFAULT return -ContestHall_EventScript_WeWillDeclareWinnerLink:: @ 827A978 +ContestHall_EventScript_WeWillDeclareWinnerLink:: call ContestHall_EventScript_TryWaitForLink messageautoscroll ContestHall_Text_WeWillNowDeclareWinner waitmessage delay 30 return -ContestHall_EventScript_GetWinnerObjEventId:: @ 827A987 +ContestHall_EventScript_GetWinnerObjEventId:: special GetContestWinnerId switch VAR_0x8005 case 0, ContestHall_EventScript_GetPlayer1ObjEventId @@ -980,23 +980,23 @@ ContestHall_EventScript_GetWinnerObjEventId:: @ 827A987 case 3, ContestHall_EventScript_GetPlayer4ObjEventId return -ContestHall_EventScript_GetPlayer1ObjEventId:: @ 827A9BC +ContestHall_EventScript_GetPlayer1ObjEventId:: setvar VAR_TEMP_3, LOCALID_CONTESTANT_1 return -ContestHall_EventScript_GetPlayer2ObjEventId:: @ 827A9C2 +ContestHall_EventScript_GetPlayer2ObjEventId:: setvar VAR_TEMP_3, LOCALID_CONTESTANT_2 return -ContestHall_EventScript_GetPlayer3ObjEventId:: @ 827A9C8 +ContestHall_EventScript_GetPlayer3ObjEventId:: setvar VAR_TEMP_3, LOCALID_CONTESTANT_3 return -ContestHall_EventScript_GetPlayer4ObjEventId:: @ 827A9CE +ContestHall_EventScript_GetPlayer4ObjEventId:: setvar VAR_TEMP_3, LOCALID_CONTESTANT_4 return -ContestHall_EventScript_CongratulateWinner:: @ 827A9D4 +ContestHall_EventScript_CongratulateWinner:: special BufferContestWinnerTrainerName special BufferContestWinnerMonName addvar VAR_0x8005, 1 @@ -1009,18 +1009,18 @@ ContestHall_EventScript_CongratulateWinner:: @ 827A9D4 setvar VAR_TEMP_1, 0 return -ContestHall_EventScript_CongratsWinner:: @ 827AA00 +ContestHall_EventScript_CongratsWinner:: compare VAR_CONTEST_TYPE, CONTEST_TYPE_LINK goto_if_eq ContestHall_EventScript_CongratsWinnerLink msgbox ContestHall_Text_CongratsTrainerXandMon, MSGBOX_DEFAULT return -ContestHall_EventScript_CongratsWinnerLink:: @ 827AA14 +ContestHall_EventScript_CongratsWinnerLink:: messageautoscroll ContestHall_Text_CongratsTrainerXandMon waitmessage return -ContestHall_EventScript_AudienceLookAround:: @ 827AA1B +ContestHall_EventScript_AudienceLookAround:: addvar VAR_TEMP_1, 1 lockall compare VAR_CONTEST_TYPE, CONTEST_TYPE_NPC_NORMAL @@ -1038,7 +1038,7 @@ ContestHall_EventScript_AudienceLookAround:: @ 827AA1B delay 30 return -ContestHall_EventScript_VObjectAudienceLookAround:: @ 827AA6F +ContestHall_EventScript_VObjectAudienceLookAround:: turnvobject 0, DIR_SOUTH turnvobject 2, DIR_SOUTH turnvobject 4, DIR_EAST @@ -1107,7 +1107,7 @@ ContestHall_EventScript_VObjectAudienceLookAround:: @ 827AA6F delay 10 return -ContestHall_EventScript_GiveWinnerPrize:: @ 827AB36 +ContestHall_EventScript_GiveWinnerPrize:: compare VAR_CONTEST_TYPE, CONTEST_TYPE_LINK goto_if_eq ContestHall_EventScript_EndLinkContest call ContestHall_EventScript_CheckShouldSkipPrize @@ -1126,7 +1126,7 @@ ContestHall_EventScript_GiveWinnerPrize:: @ 827AB36 goto_if_eq ContestHall_EventScript_SetReadyForContestArtist return -ContestHall_EventScript_SkipPrize:: @ 827AB82 +ContestHall_EventScript_SkipPrize:: lockall msgbox ContestHall_Text_CongratsPleaseCompeteAgain, MSGBOX_DEFAULT releaseall @@ -1136,37 +1136,37 @@ ContestHall_EventScript_SkipPrize:: @ 827AB82 goto_if_eq ContestHall_EventScript_SetReadyForContestArtist return -ContestHall_EventScript_CheckShouldSkipPrize:: @ 827AB9E +ContestHall_EventScript_CheckShouldSkipPrize:: specialvar VAR_RESULT, HasMonWonThisContestBefore compare VAR_RESULT, TRUE goto_if_eq ContestHall_EventScript_CheckPlayerWon return -ContestHall_EventScript_CheckPlayerWon:: @ 827ABAF +ContestHall_EventScript_CheckPlayerWon:: special GetContestWinnerId compare VAR_0x8005, 3 goto_if_eq ContestHall_EventScript_CheckRankIsMaster return -ContestHall_EventScript_CheckRankIsMaster:: @ 827ABBE +ContestHall_EventScript_CheckRankIsMaster:: compare VAR_CONTEST_RANK, CONTEST_RANK_MASTER goto_if_eq ContestHall_EventScript_DontSkipPrize setflag FLAG_TEMP_2 return -ContestHall_EventScript_DontSkipPrize:: @ 827ABCD +ContestHall_EventScript_DontSkipPrize:: return @ This flag is never read -ContestHall_EventScript_SetSketchFlag:: @ 827ABCE +ContestHall_EventScript_SetSketchFlag:: setflag FLAG_CONTEST_SKETCH_CREATED return -ContestHall_EventScript_SetReadyForContestArtist:: @ 827ABD2 +ContestHall_EventScript_SetReadyForContestArtist:: setvar VAR_LILYCOVE_CONTEST_LOBBY_STATE, 1 return -ContestHall_EventScript_EndLinkContest:: @ 827ABD8 +ContestHall_EventScript_EndLinkContest:: delay 60 special GetContestPlayerId special GetContestWinnerId @@ -1176,15 +1176,15 @@ ContestHall_EventScript_EndLinkContest:: @ 827ABD8 closemessage return -ContestHall_EventScript_SetReadyForLinkContestArtist:: @ 827ABF1 +ContestHall_EventScript_SetReadyForLinkContestArtist:: setvar VAR_LILYCOVE_CONTEST_LOBBY_STATE, 2 return @ Unused -ContestHall_EventScript_Ret:: @ 827ABF7 +ContestHall_EventScript_Ret:: return -ContestHall_EventScript_WinnerApproachForPrize:: @ 827ABF8 +ContestHall_EventScript_WinnerApproachForPrize:: switch VAR_0x8005 case 0, ContestHall_EventScript_Player1ApproachForPrize case 1, ContestHall_EventScript_Player2ApproachForPrize @@ -1192,28 +1192,28 @@ ContestHall_EventScript_WinnerApproachForPrize:: @ 827ABF8 case 3, ContestHall_EventScript_Player4ApproachForPrize return -ContestHall_EventScript_Player1ApproachForPrize:: @ 827AC2A +ContestHall_EventScript_Player1ApproachForPrize:: lockall applymovement VAR_TEMP_3, ContestHall_Movement_Player1ApproachForPrize waitmovement 0 releaseall return -ContestHall_EventScript_Player2ApproachForPrize:: @ 827AC37 +ContestHall_EventScript_Player2ApproachForPrize:: lockall applymovement VAR_TEMP_3, ContestHall_Movement_Player2ApproachForPrize waitmovement 0 releaseall return -ContestHall_EventScript_Player3ApproachForPrize:: @ 827AC44 +ContestHall_EventScript_Player3ApproachForPrize:: lockall applymovement VAR_TEMP_3, ContestHall_Movement_Player3ApproachForPrize waitmovement 0 releaseall return -ContestHall_EventScript_Player4ApproachForPrize:: @ 827AC51 +ContestHall_EventScript_Player4ApproachForPrize:: lockall applymovement VAR_TEMP_3, ContestHall_Movement_Player4ApproachForPrize waitmovement 0 @@ -1221,7 +1221,7 @@ ContestHall_EventScript_Player4ApproachForPrize:: @ 827AC51 return @ In NPC Contests, the player is always entry 4 (id number 3) -ContestHall_EventScript_GivePrizeIfWinner:: @ 827AC5E +ContestHall_EventScript_GivePrizeIfWinner:: special GetContestWinnerId compare VAR_0x8005, 3 goto_if_eq ContestHall_EventScript_GiveContestPrizes @@ -1230,7 +1230,7 @@ ContestHall_EventScript_GivePrizeIfWinner:: @ 827AC5E releaseall return -ContestHall_EventScript_GiveContestPrizes:: @ 827AC77 +ContestHall_EventScript_GiveContestPrizes:: compare VAR_CONTEST_TYPE, CONTEST_TYPE_NPC_SUPER call_if_eq ContestHall_EventScript_SetSketchFlag specialvar VAR_RESULT, HasMonWonThisContestBefore @@ -1243,7 +1243,7 @@ ContestHall_EventScript_GiveContestPrizes:: @ 827AC77 releaseall return -ContestHall_EventScript_NoRoomForLuxuryBall:: @ 827ACA8 +ContestHall_EventScript_NoRoomForLuxuryBall:: lockall call Common_EventScript_BagIsFull msgbox ContestHall_Text_PickUpPrizeAtCounterLater, MSGBOX_DEFAULT @@ -1251,7 +1251,7 @@ ContestHall_EventScript_NoRoomForLuxuryBall:: @ 827ACA8 setvar VAR_CONTEST_PRIZE_PICKUP, 4 return -ContestHall_EventScript_GiveLuxuryBall:: @ 827ACBD +ContestHall_EventScript_GiveLuxuryBall:: giveitem ITEM_LUXURY_BALL compare VAR_RESULT, FALSE goto_if_eq ContestHall_EventScript_NoRoomForLuxuryBall @@ -1260,7 +1260,7 @@ ContestHall_EventScript_GiveLuxuryBall:: @ 827ACBD releaseall return -ContestHall_EventScript_ReceiveContestRibbon:: @ 827ACDF +ContestHall_EventScript_ReceiveContestRibbon:: special GiveMonContestRibbon incrementgamestat GAME_STAT_RECEIVED_RIBBONS setflag FLAG_SYS_RIBBON_GET @@ -1274,69 +1274,69 @@ ContestHall_EventScript_ReceiveContestRibbon:: @ 827ACDF releaseall return -ContestHall_Movement_MCWalkDown: @ 827AD09 +ContestHall_Movement_MCWalkDown: walk_down step_end -ContestHall_Movement_MCBackUp: @ 827AD0B +ContestHall_Movement_MCBackUp: lock_facing_direction walk_up unlock_facing_direction step_end -ContestHall_Movement_MCFaceJudge: @ 827AD0F +ContestHall_Movement_MCFaceJudge: walk_in_place_fastest_right step_end -ContestHall_Movement_Heart: @ 827AD11 +ContestHall_Movement_Heart: emote_heart step_end -ContestHall_Movement_FaceContestants: @ 827AD13 +ContestHall_Movement_FaceContestants: walk_in_place_fastest_down step_end -ContestHall_Movement_WalkStageLeft: @ 827AD15 +ContestHall_Movement_WalkStageLeft: walk_left walk_left walk_in_place_fastest_down step_end -ContestHall_Movement_WalkStageRight: @ 827AD19 +ContestHall_Movement_WalkStageRight: walk_right walk_right walk_in_place_fastest_down step_end -ContestHall_Movement_WinningPlayerWalkUp: @ 827AD1D +ContestHall_Movement_WinningPlayerWalkUp: walk_up walk_in_place_fastest_down step_end -ContestHall_Movement_ContestantDelay32: @ 827AD20 +ContestHall_Movement_ContestantDelay32: delay_16 delay_16 step_end -ContestHall_Movement_MCFaceJudge2: @ 827AD23 +ContestHall_Movement_MCFaceJudge2: walk_in_place_fastest_right step_end -ContestHall_Movement_JudgeFaceMC: @ 827AD25 +ContestHall_Movement_JudgeFaceMC: walk_in_place_fastest_left step_end -ContestHall_Movement_FaceContestants2: @ 827AD27 +ContestHall_Movement_FaceContestants2: walk_in_place_fastest_down step_end -ContestHall_Movement_Player3ApproachForPrize: @ 827AD29 +ContestHall_Movement_Player3ApproachForPrize: walk_left walk_left walk_up step_end -ContestHall_Movement_Player4ApproachForPrize: @ 827AD2D +ContestHall_Movement_Player4ApproachForPrize: walk_left walk_left walk_left @@ -1344,54 +1344,54 @@ ContestHall_Movement_Player4ApproachForPrize: @ 827AD2D walk_up step_end -ContestHall_Movement_AudienceMemberLookLeft: @ 827AD33 +ContestHall_Movement_AudienceMemberLookLeft: face_left delay_16 face_original_direction step_end -ContestHall_Movement_AudienceMemberLookUp: @ 827AD37 +ContestHall_Movement_AudienceMemberLookUp: face_up delay_16 face_original_direction step_end -ContestHall_Movement_AudienceMemberLookRight: @ 827AD3B +ContestHall_Movement_AudienceMemberLookRight: face_right delay_16 face_original_direction step_end -ContestHall_Movement_AudienceMemberLookDown: @ 827AD3F +ContestHall_Movement_AudienceMemberLookDown: face_down delay_16 face_original_direction step_end -ContestHall_Movement_Player4FaceUp: @ 827AD43 +ContestHall_Movement_Player4FaceUp: face_up step_end -ContestHall_Movement_MCLookAtJudge: @ 827AD45 +ContestHall_Movement_MCLookAtJudge: face_up delay_16 walk_in_place_fastest_right step_end -ContestHall_Movement_JudgeLookAtMC: @ 827AD49 +ContestHall_Movement_JudgeLookAtMC: walk_in_place_fastest_left delay_16 delay_16 walk_in_place_fastest_down step_end -ContestHall_Movement_MCWalkInPlaceDown: @ 827AD4E +ContestHall_Movement_MCWalkInPlaceDown: delay_16 delay_16 walk_in_place_fastest_down step_end -ContestHall_Movement_Player1WalkToCenter: @ 827AD52 +ContestHall_Movement_Player1WalkToCenter: walk_up walk_right walk_right @@ -1399,7 +1399,7 @@ ContestHall_Movement_Player1WalkToCenter: @ 827AD52 walk_in_place_fastest_up step_end -ContestHall_Movement_Player1WalkBack: @ 827AD58 +ContestHall_Movement_Player1WalkBack: walk_fast_left walk_fast_left walk_fast_left @@ -1407,31 +1407,31 @@ ContestHall_Movement_Player1WalkBack: @ 827AD58 walk_in_place_fastest_up step_end -ContestHall_Movement_Player2WalkToCenter: @ 827AD5E +ContestHall_Movement_Player2WalkToCenter: walk_up walk_right walk_in_place_fastest_up step_end -ContestHall_Movement_Player2WalkBack: @ 827AD62 +ContestHall_Movement_Player2WalkBack: walk_fast_left walk_fast_down walk_in_place_fastest_up step_end -ContestHall_Movement_Player3WalkToCenter: @ 827AD66 +ContestHall_Movement_Player3WalkToCenter: walk_up walk_left walk_in_place_fastest_up step_end -ContestHall_Movement_Player3WalkBack: @ 827AD6A +ContestHall_Movement_Player3WalkBack: walk_fast_right walk_fast_down walk_in_place_fastest_up step_end -ContestHall_Movement_Player4WalkToCenter: @ 827AD6E +ContestHall_Movement_Player4WalkToCenter: walk_up walk_left walk_left @@ -1439,7 +1439,7 @@ ContestHall_Movement_Player4WalkToCenter: @ 827AD6E walk_in_place_fastest_up step_end -ContestHall_Movement_Player4WalkBack: @ 827AD74 +ContestHall_Movement_Player4WalkBack: walk_fast_right walk_fast_right walk_fast_right @@ -1447,37 +1447,37 @@ ContestHall_Movement_Player4WalkBack: @ 827AD74 walk_in_place_fastest_up step_end -ContestHall_Movement_Player1ApproachForPrize: @ 827AD7A +ContestHall_Movement_Player1ApproachForPrize: walk_right walk_right walk_up step_end -ContestHall_Movement_Player2ApproachForPrize: @ 827AD7E +ContestHall_Movement_Player2ApproachForPrize: walk_up step_end @ IsContestWithRSPlayer has no side effect, so this is nop -ContestHall_EventScript_CheckIfContestWithRSPlayer:: @ 827AD80 +ContestHall_EventScript_CheckIfContestWithRSPlayer:: specialvar VAR_RESULT, IsContestWithRSPlayer compare VAR_RESULT, TRUE goto_if_eq ContestHall_EventScript_RetRSPlayer return -ContestHall_EventScript_RetRSPlayer:: @ 827AD91 +ContestHall_EventScript_RetRSPlayer:: return -LilycoveCity_ContestLobby_EventScript_DelayIfContestWithRSPlayer:: @ 827AD92 +LilycoveCity_ContestLobby_EventScript_DelayIfContestWithRSPlayer:: specialvar VAR_RESULT, IsContestWithRSPlayer compare VAR_RESULT, TRUE goto_if_eq LilycoveCity_ContestLobby_EventScript_DelayForRSPlayer return -LilycoveCity_ContestLobby_EventScript_DelayForRSPlayer:: @ 827ADA3 +LilycoveCity_ContestLobby_EventScript_DelayForRSPlayer:: delay 9 return -LilycoveCity_ContestLobby_Text_ReceptionDontHavePokeblockCase: @ 827ADA7 +LilycoveCity_ContestLobby_Text_ReceptionDontHavePokeblockCase: .string "Hello!\p" .string "This is the reception counter for\n" .string "POKéMON CONTESTS.\p" @@ -1486,32 +1486,32 @@ LilycoveCity_ContestLobby_Text_ReceptionDontHavePokeblockCase: @ 827ADA7 .string "In that case, we need to provide you\n" .string "with this!$" -LilycoveCity_ContestLobby_Text_NowThatWeveClearedThatUp: @ 827AE47 +LilycoveCity_ContestLobby_Text_NowThatWeveClearedThatUp: .string "Okay, now that we've cleared that\n" .string "up…\p" .string "Hello!\p" .string "This is the reception counter for\n" .string "POKéMON CONTESTS.$" -LilycoveCity_ContestLobby_Text_ContestReception: @ 827AEA8 +LilycoveCity_ContestLobby_Text_ContestReception: .string "Hello!\p" .string "This is the reception counter for\n" .string "POKéMON CONTESTS.$" @ Unused -LilycoveCity_ContestLobby_Text_CounterOnlyFor4PlayerContests: @ 827AEE3 +LilycoveCity_ContestLobby_Text_CounterOnlyFor4PlayerContests: .string "Hello!\p" .string "This reception counter is only\n" .string "for 4-player POKéMON CONTESTS.$" -LilycoveCity_ContestLobby_Text_EnterContest1: @ 827AF28 +LilycoveCity_ContestLobby_Text_EnterContest1: .string "Would you like to enter your POKéMON\n" .string "in our CONTESTS?$" -LilycoveCity_ContestLobby_Text_WhichTopic1: @ 827AF5E +LilycoveCity_ContestLobby_Text_WhichTopic1: .string "Which topic would you like?$" -LilycoveCity_ContestLobby_Text_ExplainContests: @ 827AF7A +LilycoveCity_ContestLobby_Text_ExplainContests: .string "A POKéMON CONTEST involves four\n" .string "TRAINERS entering one POKéMON each\l" .string "in competitive judging.\p" @@ -1530,14 +1530,14 @@ LilycoveCity_ContestLobby_Text_ExplainContests: @ 827AF7A .string "The POKéMON garnering the highest\n" .string "score is declared the winner.$" -LilycoveCity_ContestLobby_Text_ExplainContestTypes: @ 827B17D +LilycoveCity_ContestLobby_Text_ExplainContestTypes: .string "There are five kinds of CONTESTS.\p" .string "COOL, BEAUTY, CUTE, SMART, and\n" .string "TOUGH are the five categories.\p" .string "Choose the CONTEST that is right for\n" .string "the POKéMON you plan to enter.$" -LilycoveCity_ContestLobby_Text_ExplainContestRanks: @ 827B221 +LilycoveCity_ContestLobby_Text_ExplainContestRanks: .string "There are four ranks of POKéMON\n" .string "CONTESTS.\p" .string "NORMAL, SUPER, HYPER, and MASTER\n" @@ -1555,77 +1555,77 @@ LilycoveCity_ContestLobby_Text_ExplainContestRanks: @ 827B221 .string "may compete in the MASTER Rank as\l" .string "often as its TRAINER wants.$" -LilycoveCity_ContestLobby_Text_EnterWhichRank: @ 827B3FF +LilycoveCity_ContestLobby_Text_EnterWhichRank: .string "Which Rank would you like to enter?$" -LilycoveCity_ContestLobby_Text_EnterWhichContest1: @ 827B423 +LilycoveCity_ContestLobby_Text_EnterWhichContest1: .string "Which CONTEST would you like to enter?$" -LilycoveCity_ContestLobby_Text_EnterWhichPokemon1: @ 827B44A +LilycoveCity_ContestLobby_Text_EnterWhichPokemon1: .string "Which POKéMON would you like to enter?$" -LilycoveCity_ContestLobby_Text_MonNotQualifiedForRank: @ 827B471 +LilycoveCity_ContestLobby_Text_MonNotQualifiedForRank: .string "I'm terribly sorry, but your POKéMON\n" .string "is not qualified to compete at this\l" .string "Rank yet…$" -LilycoveCity_ContestLobby_Text_EggCannotTakePart: @ 827B4C4 +LilycoveCity_ContestLobby_Text_EggCannotTakePart: .string "I'm sorry, but an EGG cannot take part\n" .string "in a POKéMON CONTEST.$" -LilycoveCity_ContestLobby_Text_MonInNoConditionForContest: @ 827B501 +LilycoveCity_ContestLobby_Text_MonInNoConditionForContest: .string "Your POKéMON appears to be in no\n" .string "condition to take part in a CONTEST…$" -LilycoveCity_ContestLobby_Text_AlreadyWonEnterAnyway: @ 827B547 +LilycoveCity_ContestLobby_Text_AlreadyWonEnterAnyway: .string "Oh, but that RIBBON…\p" .string "Your POKéMON has won this CONTEST\n" .string "before, hasn't it?\p" .string "Would you like to enter it in this\n" .string "CONTEST anyway?$" -LilycoveCity_ContestLobby_Text_ConfirmContestMon: @ 827B5C4 +LilycoveCity_ContestLobby_Text_ConfirmContestMon: .string "Is that your CONTEST POKéMON?$" -LilycoveCity_ContestLobby_Text_YourMonIsEntryNum4: @ 827B5E2 +LilycoveCity_ContestLobby_Text_YourMonIsEntryNum4: .string "Okay, your POKéMON will be entered\n" .string "in this CONTEST.\p" .string "Your POKéMON is Entry No. 4.\n" .string "The CONTEST will begin shortly.$" -LilycoveCity_ContestLobby_Text_ComeThroughHere: @ 827B653 +LilycoveCity_ContestLobby_Text_ComeThroughHere: .string "Please come in through here.\n" .string "Good luck!$" -LilycoveCity_ContestLobby_Text_PokemonWonWeHavePrize: @ 827B67B +LilycoveCity_ContestLobby_Text_PokemonWonWeHavePrize: .string "Congratulations! Your POKéMON is the\n" .string "CONTEST winner!\p" .string "We have your prize right here.\n" .string "Please, right this way!$" -LilycoveCity_ContestLobby_Text_ComeBackForPrizeLater: @ 827B6E7 +LilycoveCity_ContestLobby_Text_ComeBackForPrizeLater: .string "Please come back for your prize\n" .string "later on.$" -ContestHall_Text_GettingStartedParticipantsAsFollows: @ 827B711 +ContestHall_Text_GettingStartedParticipantsAsFollows: .string "MC: Hello! We're just getting started\n" .string "with a {STR_VAR_3} Rank POKéMON\l" .string "{STR_VAR_2}!\p" .string "The participating TRAINERS and their\n" .string "POKéMON are as follows:$" -ContestHall_Text_GettingStartedParticipantsAsFollowsLink: @ 827B78F +ContestHall_Text_GettingStartedParticipantsAsFollowsLink: .string "MC: Hello! We're just getting started\n" .string "with a 4-player linked POKéMON\l" .string "{STR_VAR_2}!\p" .string "The participating TRAINERS and their\n" .string "POKéMON are as follows:$" -ContestHall_Text_EntryXTrainersMon: @ 827B815 +ContestHall_Text_EntryXTrainersMon: .string "MC: Entry No. {STR_VAR_2}!\n" .string "{STR_VAR_1}'s {STR_VAR_3}!$" -ContestHall_Text_SeenContestantsAudienceWillVote: @ 827B830 +ContestHall_Text_SeenContestantsAudienceWillVote: .string "MC: We've just seen the four POKéMON\n" .string "contestants.\p" .string "Now it's time for primary judging!\p" @@ -1634,10 +1634,10 @@ ContestHall_Text_SeenContestantsAudienceWillVote: @ 827B830 .string "Without any further ado, let the\n" .string "voting begin!$" -ContestHall_Text_VotingUnderWay: @ 827B8F2 +ContestHall_Text_VotingUnderWay: .string "Voting under way…$" -ContestHall_Text_VotingCompleteLetsAppeal: @ 827B904 +ContestHall_Text_VotingCompleteLetsAppeal: .string "Voting is now complete!\p" .string "While the votes are being tallied,\n" .string "let's move on to secondary judging!\p" @@ -1648,75 +1648,75 @@ ContestHall_Text_VotingCompleteLetsAppeal: @ 827B904 .string "Let's see a little enthusiasm!\n" .string "Let's appeal!$" -ContestHall_Text_ThatsItForJudging: @ 827BA15 +ContestHall_Text_ThatsItForJudging: .string "MC: That's it for judging!$" -ContestHall_Text_ThankYouForAppeals: @ 827BA30 +ContestHall_Text_ThankYouForAppeals: .string "Thank you all for a most wonderful\n" .string "display of quality appeals!\p" .string "This concludes all judging!\n" .string "Thank you for your fine efforts!$" -ContestHall_Text_JudgeLooksReady: @ 827BAAC +ContestHall_Text_JudgeLooksReady: .string "Now, all that remains is the pulse-\n" .string "pounding proclamation of the winner.\p" .string "The JUDGE looks ready to make\n" .string "the announcement!$" -ContestHall_Text_WeWillNowDeclareWinner: @ 827BB25 +ContestHall_Text_WeWillNowDeclareWinner: .string "JUDGE: We will now declare the winner!$" -ContestHall_Text_CongratsTrainerXandMon: @ 827BB4C +ContestHall_Text_CongratsTrainerXandMon: .string "MC: Entry No. {STR_VAR_2}!\p" .string "{STR_VAR_3} and {STR_VAR_1},\n" .string "congratulations!$" -ContestHall_Text_CongratsPleaseCompeteAgain: @ 827BB7A +ContestHall_Text_CongratsPleaseCompeteAgain: .string "MC: Congratulations!\n" .string "Please do compete again!$" -ContestHall_Text_AcceptYourPrize: @ 827BBA8 +ContestHall_Text_AcceptYourPrize: .string "MC: Here you are!\n" .string "Please accept your prize!$" -ContestHall_Text_ConferRibbonAsPrize: @ 827BBD4 +ContestHall_Text_ConferRibbonAsPrize: .string "We confer on you this RIBBON\n" .string "as your prize!$" -ContestHall_Text_ReceivedRibbon: @ 827BC00 +ContestHall_Text_ReceivedRibbon: .string "{PLAYER} received a RIBBON.$" -ContestHall_Text_PutRibbonOnMon: @ 827BC16 +ContestHall_Text_PutRibbonOnMon: .string "{PLAYER} put the RIBBON on\n" .string "{STR_VAR_1}.$" -ContestHall_Text_PickUpPrizeAtCounterLater: @ 827BC2F +ContestHall_Text_PickUpPrizeAtCounterLater: .string "Please pick up your prize at\n" .string "the reception counter later.\l" .string "Please do compete again!$" @ Unused -ContestHall_Text_OnlyRegister4Players: @ 827BC82 +ContestHall_Text_OnlyRegister4Players: .string "I only register four players for\n" .string "POKéMON CONTESTS.\p" .string "If three other players link up, all\n" .string "four may enter the same CONTEST.\p" .string "Would you like to take part?$" -LilycoveCity_ContestLobby_Text_ProgressWillBeSaved: @ 827BD17 +LilycoveCity_ContestLobby_Text_ProgressWillBeSaved: .string "Before entering a CONTEST, your\n" .string "progress will be saved.$" -LilycoveCity_ContestLobby_Text_ParticipateAnotherTime: @ 827BD4F +LilycoveCity_ContestLobby_Text_ParticipateAnotherTime: .string "We hope you will participate another\n" .string "time.$" @ Unused -LilycoveCity_ContestLobby_Text_EnterContest2: @ 827BD7A +LilycoveCity_ContestLobby_Text_EnterContest2: .string "Would you like to enter a CONTEST?$" @ Unused -LilycoveCity_ContestLobby_Text_Explain4PlayerContest: @ 827BD9D +LilycoveCity_ContestLobby_Text_Explain4PlayerContest: .string "When four players are ready, connect\n" .string "over a Game Link cable, and register\l" .string "with me, please.\p" @@ -1728,82 +1728,82 @@ LilycoveCity_ContestLobby_Text_Explain4PlayerContest: @ 827BD9D .string "apply.$" @ Unused -LilycoveCity_ContestLobby_Text_EnterWhichContest2: @ 827BE9E +LilycoveCity_ContestLobby_Text_EnterWhichContest2: .string "Which CONTEST would you like to enter?$" @ Unused -LilycoveCity_ContestLobby_Text_EnterWhichPokemon2: @ 827BEC5 +LilycoveCity_ContestLobby_Text_EnterWhichPokemon2: .string "Which POKéMON would you like to enter?$" -LilycoveCity_ContestLobby_Text_Transmitting: @ 827BEEC +LilycoveCity_ContestLobby_Text_Transmitting: .string "Transmitting…$" -LilycoveCity_ContestLobby_Text_TransmissionError: @ 827BEFA +LilycoveCity_ContestLobby_Text_TransmissionError: .string "Transmission error…$" -LilycoveCity_ContestLobby_Text_PlayersChoseDifferentContest: @ 827BF0E +LilycoveCity_ContestLobby_Text_PlayersChoseDifferentContest: .string "You may have chosen a different\n" .string "CONTEST than another player.$" -LilycoveCity_ContestLobby_Text_PlayersMadeDifferentChoice: @ 827BF4B +LilycoveCity_ContestLobby_Text_PlayersMadeDifferentChoice: .string "You may have made a different\n" .string "choice than another player.$" -LilycoveCity_ContestLobby_Text_PleaseWaitBButtonCancel: @ 827BF85 +LilycoveCity_ContestLobby_Text_PleaseWaitBButtonCancel: .string "Please wait.\n" .string "… … B Button: Cancel$" @ Unused -LilycoveCity_ContestLobby_Text_ParticipateAnotherTime2: @ 827BFA7 +LilycoveCity_ContestLobby_Text_ParticipateAnotherTime2: .string "We hope you will participate another\n" .string "time.$" @ Unused -LilycoveCity_ContestLobby_Text_TransmissionErrorTryAgain: @ 827BFD2 +LilycoveCity_ContestLobby_Text_TransmissionErrorTryAgain: .string "Transmission error.\n" .string "Please try again.$" -LilycoveCity_ContestLobby_Text_YourMonIsEntryNumX: @ 827BFF8 +LilycoveCity_ContestLobby_Text_YourMonIsEntryNumX: .string "Your POKéMON will be entered in\n" .string "the CONTEST.\p" .string "Your POKéMON is Entry No. {STR_VAR_2}.$" -LilycoveCity_ContestLobby_Text_ContestBeginShortly: @ 827C043 +LilycoveCity_ContestLobby_Text_ContestBeginShortly: .string "The CONTEST will begin shortly.$" -LilycoveCity_ContestLobby_Text_LinkContestReception: @ 827C063 +LilycoveCity_ContestLobby_Text_LinkContestReception: .string "Welcome! This is the POKéMON CONTEST\n" .string "link reception counter.\p" .string "You may enter CONTESTS together with\n" .string "one or more friends.$" -LilycoveCity_ContestLobby_Text_WhichTopic2: @ 827C0DA +LilycoveCity_ContestLobby_Text_WhichTopic2: .string "Which topic would you like?$" -LilycoveCity_ContestLobby_Text_EnterContest3: @ 827C0F6 +LilycoveCity_ContestLobby_Text_EnterContest3: .string "Would you like to enter a CONTEST?$" -LilycoveCity_ContestLobby_Text_EnterWhichContest3: @ 827C119 +LilycoveCity_ContestLobby_Text_EnterWhichContest3: .string "Which CONTEST would you like to enter?$" -LilycoveCity_ContestLobby_Text_MonInNoCondition2: @ 827C140 +LilycoveCity_ContestLobby_Text_MonInNoCondition2: .string "Your POKéMON appears to be in no\n" .string "condition to take part in a CONTEST…$" -LilycoveCity_ContestLobby_Text_EggCannotTakePart2: @ 827C186 +LilycoveCity_ContestLobby_Text_EggCannotTakePart2: .string "I'm sorry, but an EGG cannot take part\n" .string "in a POKéMON CONTEST.$" -LilycoveCity_ContestLobby_Text_EnterWhichPokemon3: @ 827C1C3 +LilycoveCity_ContestLobby_Text_EnterWhichPokemon3: .string "Which POKéMON would you like to enter?$" -LilycoveCity_ContestLobby_Text_PleaseDecideLinkLeader: @ 827C1EA +LilycoveCity_ContestLobby_Text_PleaseDecideLinkLeader: .string "Please decide which of you will\n" .string "become the GROUP LEADER.\p" .string "The other players must then choose\n" .string "“JOIN GROUP.”$" -LilycoveCity_ContestLobby_Text_PlayerAt4PCounterUseGMode: @ 827C254 +LilycoveCity_ContestLobby_Text_PlayerAt4PCounterUseGMode: .string "At least one player has entered using\n" .string "the 4-player reception counter.\p" .string "There must be four players connected\n" @@ -1812,7 +1812,7 @@ LilycoveCity_ContestLobby_Text_PlayerAt4PCounterUseGMode: @ 827C254 .string "select G-MODE (GLOBAL MODE),\l" .string "then register to enter again, please.$" -LilycoveCity_ContestLobby_Text_ExplainLinkContest: @ 827C340 +LilycoveCity_ContestLobby_Text_ExplainLinkContest: .string "This is a CONTEST for two to four\n" .string "players linked using a Wireless\l" .string "Adapter or a GBA Game Link cable.\p" @@ -1833,7 +1833,7 @@ LilycoveCity_ContestLobby_Text_ExplainLinkContest: @ 827C340 .string "After that, a CONTEST will start in\n" .string "the usual manner.$" -LilycoveCity_ContestLobby_Text_ExplainEMode: @ 827C5B1 +LilycoveCity_ContestLobby_Text_ExplainEMode: .string "In E-MODE (EMERALD MODE),\n" .string "a LINK CONTEST can be held with\l" .string "two to four players. Each player must\l" @@ -1847,7 +1847,7 @@ LilycoveCity_ContestLobby_Text_ExplainEMode: @ 827C5B1 .string "Please be aware that E-MODE is not\n" .string "available in POKéMON Ruby or Sapphire.$" -LilycoveCity_ContestLobby_Text_ExplainGMode: @ 827C742 +LilycoveCity_ContestLobby_Text_ExplainGMode: .string "G-MODE (GLOBAL MODE) is specifically\n" .string "for four players who are linked using\l" .string "GBA Game Link cables.\p" @@ -1858,50 +1858,50 @@ LilycoveCity_ContestLobby_Text_ExplainGMode: @ 827C742 .string "enter through the 4-player reception\l" .string "counter (POKéMON Ruby or Sapphire).$" -LilycoveCity_ContestLobby_Text_NoWirelessAdapterInGMode: @ 827C879 +LilycoveCity_ContestLobby_Text_NoWirelessAdapterInGMode: .string "I'm terribly sorry.\p" .string "G-MODE does not function\n" .string "with Wireless Adapters.\p" .string "Please select E-MODE or try\n" .string "again using a GBA Game Link cable.$" -LilycoveCity_ContestLobby_Text_WhichContestMode: @ 827C8FD +LilycoveCity_ContestLobby_Text_WhichContestMode: .string "Which CONTEST MODE would you like\n" .string "to enter?$" -ContestHall_Text_GettingStartedWireless: @ 827C929 +ContestHall_Text_GettingStartedWireless: .string "MC: Hello! We're just getting started\n" .string "with a 4-player linked POKéMON\l" .string "{STR_VAR_2}!$" -ContestHall_Text_ParticipantsAsFollows: @ 827C972 +ContestHall_Text_ParticipantsAsFollows: .string "The participating TRAINERS and their\n" .string "POKéMON are as follows:$" -ContestHall_Text_WeveSeenContestants: @ 827C9AF +ContestHall_Text_WeveSeenContestants: .string "MC: We've just seen the four POKéMON\n" .string "contestants.\p" .string "Now it's time for primary judging!$" -ContestHall_Text_AudienceWillVote: @ 827CA04 +ContestHall_Text_AudienceWillVote: .string "The audience will vote on their\n" .string "favorite POKéMON contestants.$" -ContestHall_Text_LetVotingBegin: @ 827CA42 +ContestHall_Text_LetVotingBegin: .string "Without any further ado,\n" .string "let the voting begin!$" -ContestHall_Text_VotingComplete: @ 827CA71 +ContestHall_Text_VotingComplete: .string "Voting is now complete!\p" .string "While the votes are being tallied,\n" .string "let's move on to secondary judging!$" -ContestHall_Text_SecondStageOfJudging: @ 827CAD0 +ContestHall_Text_SecondStageOfJudging: .string "The second stage of judging is\n" .string "the much-anticipated appeal time!\p" .string "May the contestants amaze us with\n" .string "superb appeals of dazzling moves!$" -ContestHall_Text_LetsAppeal: @ 827CB55 +ContestHall_Text_LetsAppeal: .string "Let's see a little enthusiasm!\n" .string "Let's appeal!$" diff --git a/data/scripts/day_care.inc b/data/scripts/day_care.inc index ea8552510..f5c023147 100644 --- a/data/scripts/day_care.inc +++ b/data/scripts/day_care.inc @@ -1,6 +1,6 @@ .set LOCALID_DAYCARE_LADY, 1 -Route117_EventScript_DaycareMan:: @ 8291C18 +Route117_EventScript_DaycareMan:: lock faceplayer special GetDaycareMonNicknames @@ -15,7 +15,7 @@ Route117_EventScript_DaycareMan:: @ 8291C18 release end -Route117_EventScript_DaycareEggWaiting:: @ 8291C4D +Route117_EventScript_DaycareEggWaiting:: msgbox Route117_Text_DoYouWantEgg, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq Route117_EventScript_DaycareAcceptEgg @@ -28,7 +28,7 @@ Route117_EventScript_DaycareEggWaiting:: @ 8291C4D release end -Route117_EventScript_DaycareAcceptEgg:: @ 8291C83 +Route117_EventScript_DaycareAcceptEgg:: specialvar VAR_RESULT, CalculatePlayerPartyCount compare VAR_RESULT, PARTY_SIZE goto_if_ne Route117_EventScript_DaycareReceiveEgg @@ -36,7 +36,7 @@ Route117_EventScript_DaycareAcceptEgg:: @ 8291C83 release end -Route117_EventScript_DaycareReceiveEgg:: @ 8291C9D +Route117_EventScript_DaycareReceiveEgg:: message Route117_Text_ReceivedEgg playfanfare MUS_LEVEL_UP waitfanfare @@ -47,17 +47,17 @@ Route117_EventScript_DaycareReceiveEgg:: @ 8291C9D release end -Route117_EventScript_CheckMonReceivedMail:: @ 8291CB7 +Route117_EventScript_CheckMonReceivedMail:: specialvar VAR_RESULT, CheckDaycareMonReceivedMail compare VAR_RESULT, 1 call_if_eq Route117_EventScript_MonReceivedMail return -Route117_EventScript_MonReceivedMail:: @ 8291CC8 +Route117_EventScript_MonReceivedMail:: msgbox Route117_Text_FriendlyWithOtherTrainersMon, MSGBOX_DEFAULT return -Route117_EventScript_CheckOnOneMon:: @ 8291CD1 +Route117_EventScript_CheckOnOneMon:: special GetDaycareMonNicknames msgbox Route117_Text_YourMonIsDoingFine, MSGBOX_DEFAULT setvar VAR_0x8004, 0 @@ -65,7 +65,7 @@ Route117_EventScript_CheckOnOneMon:: @ 8291CD1 release end -Route117_EventScript_CheckOnTwoMons:: @ 8291CE8 +Route117_EventScript_CheckOnTwoMons:: special GetDaycareMonNicknames msgbox Route117_Text_YourMonsAreDoingFine, MSGBOX_DEFAULT special SetDaycareCompatibilityString @@ -79,7 +79,7 @@ Route117_EventScript_CheckOnTwoMons:: @ 8291CE8 release end -Route117_PokemonDayCare_EventScript_DaycareWoman:: @ 8291D11 +Route117_PokemonDayCare_EventScript_DaycareWoman:: lock faceplayer specialvar VAR_RESULT, GetDaycareState @@ -96,7 +96,7 @@ Route117_PokemonDayCare_EventScript_DaycareWoman:: @ 8291D11 release end -Route117_PokemonDayCare_EventScript_GiveMonToRaise:: @ 8291D56 +Route117_PokemonDayCare_EventScript_GiveMonToRaise:: specialvar VAR_RESULT, CountPartyNonEggMons compare VAR_RESULT, 1 goto_if_eq Route117_PokemonDayCare_EventScript_OnlyOneMon @@ -125,49 +125,49 @@ Route117_PokemonDayCare_EventScript_GiveMonToRaise:: @ 8291D56 release end -Route117_PokemonDayCare_EventScript_ComeAgain:: @ 8291DCA +Route117_PokemonDayCare_EventScript_ComeAgain:: msgbox Route117_PokemonDayCare_Text_ComeAgain, MSGBOX_DEFAULT release end -Route117_PokemonDayCare_EventScript_CanRaiseOneMore:: @ 8291DD4 +Route117_PokemonDayCare_EventScript_CanRaiseOneMore:: msgbox Route117_PokemonDayCare_Text_WeCanRaiseOneMore, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq Route117_PokemonDayCare_EventScript_GiveMonToRaise goto Route117_PokemonDayCare_EventScript_ComeAgain end -Route117_PokemonDayCare_EventScript_OnlyOneMon:: @ 8291DED +Route117_PokemonDayCare_EventScript_OnlyOneMon:: msgbox Route117_PokemonDayCare_Text_YouHaveJustOneMon, MSGBOX_DEFAULT release end -Route117_PokemonDayCare_EventScript_OnlyOneAliveMon:: @ 8291DF7 +Route117_PokemonDayCare_EventScript_OnlyOneAliveMon:: msgbox Route117_PokemonDayCare_Text_WhatWillYouBattleWith, MSGBOX_DEFAULT release end -Route117_PokemonDayCare_EventScript_OnlyTwoAliveMons:: @ 8291E01 +Route117_PokemonDayCare_EventScript_OnlyTwoAliveMons:: msgbox Route117_PokemonDayCare_Text_YoullBeLeftWithJustOne, MSGBOX_DEFAULT release end -Route117_PokemonDayCare_EventScript_EggWaiting:: @ 8291E0B +Route117_PokemonDayCare_EventScript_EggWaiting:: msgbox Route117_PokemonDayCare_Text_HusbandWasLookingForYou, MSGBOX_DEFAULT release end -Route117_PokemonDayCare_EventScript_YourMonHasGrownXLevels:: @ 8291E15 +Route117_PokemonDayCare_EventScript_YourMonHasGrownXLevels:: msgbox Route117_PokemonDayCare_Text_YourMonHasGrownXLevels, MSGBOX_DEFAULT return -Route117_PokemonDayCare_EventScript_DisplayLevelsGained:: @ 8291E1E +Route117_PokemonDayCare_EventScript_DisplayLevelsGained:: specialvar VAR_RESULT, GetNumLevelsGainedFromDaycare compare VAR_RESULT, 0 call_if_ne Route117_PokemonDayCare_EventScript_YourMonHasGrownXLevels return -Route117_PokemonDayCare_EventScript_OneMonInDaycare:: @ 8291E2F +Route117_PokemonDayCare_EventScript_OneMonInDaycare:: msgbox Route117_PokemonDayCare_Text_GoodToSeeYou, MSGBOX_DEFAULT setvar VAR_0x8004, 0 call Route117_PokemonDayCare_EventScript_DisplayLevelsGained @@ -180,7 +180,7 @@ Route117_PokemonDayCare_EventScript_OneMonInDaycare:: @ 8291E2F goto Route117_PokemonDayCare_EventScript_ComeAgain end -Route117_PokemonDayCare_EventScript_TryRetrieveMon:: @ 8291E6D +Route117_PokemonDayCare_EventScript_TryRetrieveMon:: specialvar VAR_RESULT, CalculatePlayerPartyCount compare VAR_RESULT, PARTY_SIZE goto_if_eq Route117_PokemonDayCare_EventScript_NoRoom @@ -196,7 +196,7 @@ Route117_PokemonDayCare_EventScript_TryRetrieveMon:: @ 8291E6D goto Route117_PokemonDayCare_EventScript_CostPrompt end -Route117_PokemonDayCare_EventScript_CostPrompt:: @ 8291EAC +Route117_PokemonDayCare_EventScript_CostPrompt:: special GetDaycareCost msgbox Route117_PokemonDayCare_Text_ItWillCostX, MSGBOX_YESNO compare VAR_RESULT, YES @@ -204,7 +204,7 @@ Route117_PokemonDayCare_EventScript_CostPrompt:: @ 8291EAC goto Route117_PokemonDayCare_EventScript_ComeAgain end -Route117_PokemonDayCare_EventScript_CheckEnoughMoney:: @ 8291EC8 +Route117_PokemonDayCare_EventScript_CheckEnoughMoney:: specialvar VAR_RESULT, IsEnoughForCostInVar0x8005 compare VAR_RESULT, 1 goto_if_eq Route117_PokemonDayCare_EventScript_RetrieveMon @@ -212,7 +212,7 @@ Route117_PokemonDayCare_EventScript_CheckEnoughMoney:: @ 8291EC8 release end -Route117_PokemonDayCare_EventScript_RetrieveMon:: @ 8291EE2 +Route117_PokemonDayCare_EventScript_RetrieveMon:: applymovement LOCALID_DAYCARE_LADY, Route117_PokemonDayCare_Movement_RetrieveDaycareMon waitmovement 0 specialvar VAR_RESULT, TakePokemonFromDaycare @@ -229,19 +229,19 @@ Route117_PokemonDayCare_EventScript_RetrieveMon:: @ 8291EE2 goto Route117_PokemonDayCare_EventScript_ComeAgain end -Route117_PokemonDayCare_EventScript_AskRetrieveOtherMon:: @ 8291F24 +Route117_PokemonDayCare_EventScript_AskRetrieveOtherMon:: msgbox Route117_PokemonDayCare_Text_TakeOtherOneBackToo, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq Route117_PokemonDayCare_EventScript_TryRetrieveMon goto Route117_PokemonDayCare_EventScript_ComeAgain end -Route117_PokemonDayCare_EventScript_NoRoom:: @ 8291F3D +Route117_PokemonDayCare_EventScript_NoRoom:: msgbox Route117_PokemonDayCare_Text_YourTeamIsFull, MSGBOX_DEFAULT release end -Route117_PokemonDayCare_Movement_RetrieveDaycareMon: @ 8291F47 +Route117_PokemonDayCare_Movement_RetrieveDaycareMon: delay_16 delay_16 face_left @@ -264,10 +264,10 @@ Route117_PokemonDayCare_Movement_RetrieveDaycareMon: @ 8291F47 step_end @ Unused. Possibly a commented script, or a typo end added to the above Movement script -Route117_PokemonDayCare_EventScript_UnusedEnd:: @ 8291F5B +Route117_PokemonDayCare_EventScript_UnusedEnd:: end -Route117_PokemonDayCare_EventScript_TwoMonsInDaycare:: @ 8291F5C +Route117_PokemonDayCare_EventScript_TwoMonsInDaycare:: msgbox Route117_PokemonDayCare_Text_GoodToSeeYou, MSGBOX_DEFAULT setvar VAR_0x8004, 0 call Route117_PokemonDayCare_EventScript_DisplayLevelsGained @@ -281,7 +281,7 @@ Route117_PokemonDayCare_EventScript_TwoMonsInDaycare:: @ 8291F5C end @ Unused -Route117_PokemonDayCare_EventScript_UnusedRetrieveMon:: @ 8291F95 +Route117_PokemonDayCare_EventScript_UnusedRetrieveMon:: special ShowDaycareLevelMenu waitstate compare VAR_RESULT, 2 @@ -293,7 +293,7 @@ Route117_PokemonDayCare_EventScript_UnusedRetrieveMon:: @ 8291F95 release end -EventScript_EggHatch:: @ 8291FC0 +EventScript_EggHatch:: lockall msgbox Text_EggHatchHuh, MSGBOX_DEFAULT special EggHatch @@ -301,14 +301,14 @@ EventScript_EggHatch:: @ 8291FC0 releaseall end -Route117_Text_SeeWifeIfYoudLikeMeToRaiseMon: @ 8291FCF +Route117_Text_SeeWifeIfYoudLikeMeToRaiseMon: .string "I'm the DAY-CARE MAN.\p" .string "I help take care of the precious\n" .string "POKéMON of TRAINERS.\p" .string "If you'd like me to raise your POKéMON,\n" .string "have a word with my wife.$" -Route117_Text_DoYouWantEgg: @ 829205D +Route117_Text_DoYouWantEgg: .string "Ah, it's you!\p" .string "We were raising your POKéMON,\n" .string "and my goodness, were we surprised!\p" @@ -317,26 +317,26 @@ Route117_Text_DoYouWantEgg: @ 829205D .string "but your POKéMON had it.\p" .string "You do want it, yes?$" -Route117_Text_YourMonIsDoingFine: @ 8292114 +Route117_Text_YourMonIsDoingFine: .string "Ah, it's you! Good to see you.\n" .string "Your {STR_VAR_1}'s doing fine.$" -Route117_Text_IllKeepIt: @ 8292149 +Route117_Text_IllKeepIt: .string "Well then, I'll keep it.\n" .string "Thanks!$" -Route117_Text_YouHaveNoRoomForIt: @ 829216A +Route117_Text_YouHaveNoRoomForIt: .string "You have no room for it…\n" .string "Come back when you've made room.$" -Route117_Text_ReceivedEgg: @ 82921A4 +Route117_Text_ReceivedEgg: .string "{PLAYER} received the EGG from\n" .string "the DAY-CARE MAN.$" -Route117_Text_TakeGoodCareOfIt: @ 82921CF +Route117_Text_TakeGoodCareOfIt: .string "Take good care of it.$" -Route117_Text_FriendlyWithOtherTrainersMon: @ 82921E5 +Route117_Text_FriendlyWithOtherTrainersMon: .string "By the way, about your {STR_VAR_1},\n" .string "it seemed to be friendly with\l" .string "{STR_VAR_2}'s {STR_VAR_3}.\p" @@ -344,99 +344,99 @@ Route117_Text_FriendlyWithOtherTrainersMon: @ 82921E5 .string "a piece of MAIL.$" @ Unused -Route117_Text_SeeWifeIfYouWantToPickUpMon: @ 829225A +Route117_Text_SeeWifeIfYouWantToPickUpMon: .string "If you want to pick up your POKéMON,\n" .string "have a word with my wife.$" -Route117_Text_YourMonsAreDoingFine: @ 8292299 +Route117_Text_YourMonsAreDoingFine: .string "Ah, it's you! Your {STR_VAR_1} and\n" .string "{STR_VAR_2} are doing fine.$" -Route117_Text_IWillKeepDoYouWantIt: @ 82922C6 +Route117_Text_IWillKeepDoYouWantIt: .string "I really will keep it.\n" .string "You do want this, yes?$" -Route117_PokemonDayCare_Text_WouldYouLikeUsToRaiseAMon: @ 82922F4 +Route117_PokemonDayCare_Text_WouldYouLikeUsToRaiseAMon: .string "I'm the DAY-CARE LADY.\p" .string "We can raise POKéMON for you.\p" .string "Would you like us to raise one?$" -Route117_PokemonDayCare_Text_WhichMonShouldWeRaise: @ 8292349 +Route117_PokemonDayCare_Text_WhichMonShouldWeRaise: .string "Which POKéMON should we raise for\n" .string "you?$" -Route117_PokemonDayCare_Text_WellRaiseYourMon: @ 8292370 +Route117_PokemonDayCare_Text_WellRaiseYourMon: .string "Fine, we'll raise your {STR_VAR_1}\n" .string "for a while.\p" .string "Come back for it later.$" -Route117_PokemonDayCare_Text_WeCanRaiseOneMore: @ 82923AF +Route117_PokemonDayCare_Text_WeCanRaiseOneMore: .string "We can raise two of your POKéMON.\n" .string "Would you like us to raise one more?$" -Route117_PokemonDayCare_Text_HusbandWasLookingForYou: @ 82923F6 +Route117_PokemonDayCare_Text_HusbandWasLookingForYou: .string "My husband was looking for you.$" -Route117_PokemonDayCare_Text_FineThenComeAgain: @ 8292416 +Route117_PokemonDayCare_Text_FineThenComeAgain: .string "Oh, fine, then.\n" .string "Come again.$" -Route117_PokemonDayCare_Text_NotEnoughMoney: @ 8292432 +Route117_PokemonDayCare_Text_NotEnoughMoney: .string "You don't have enough money…$" -Route117_PokemonDayCare_Text_TakeOtherOneBackToo: @ 829244F +Route117_PokemonDayCare_Text_TakeOtherOneBackToo: .string "Will you take back the other one,\n" .string "too?$" -Route117_PokemonDayCare_Text_ComeAgain: @ 8292476 +Route117_PokemonDayCare_Text_ComeAgain: .string "Fine.\n" .string "Come again.$" -Route117_PokemonDayCare_Text_GoodToSeeYou: @ 8292488 +Route117_PokemonDayCare_Text_GoodToSeeYou: .string "Ah, it's you! Good to see you.\n" .string "Your POKéMON can only be doing good!$" -Route117_PokemonDayCare_Text_YourMonHasGrownXLevels: @ 82924CC +Route117_PokemonDayCare_Text_YourMonHasGrownXLevels: .string "By level, your {STR_VAR_1} has\n" .string "grown by {STR_VAR_2}.$" -Route117_PokemonDayCare_Text_YourTeamIsFull: @ 82924EF +Route117_PokemonDayCare_Text_YourTeamIsFull: .string "Your POKéMON team is full.\n" .string "Make room, then come see me.$" @ Unused -Route117_PokemonDayCare_Text_TakeBackWhichMon: @ 8292527 +Route117_PokemonDayCare_Text_TakeBackWhichMon: .string "Which POKéMON will you take back?$" -Route117_PokemonDayCare_Text_ItWillCostX: @ 8292549 +Route117_PokemonDayCare_Text_ItWillCostX: .string "If you want your {STR_VAR_1} back,\n" .string "it will cost ¥{STR_VAR_2}.$" -Route117_PokemonDayCare_Text_HeresYourMon: @ 8292575 +Route117_PokemonDayCare_Text_HeresYourMon: .string "Perfect!\n" .string "Here's your POKéMON.$" -Route117_PokemonDayCare_Text_TookBackMon: @ 8292593 +Route117_PokemonDayCare_Text_TookBackMon: .string "{PLAYER} took back {STR_VAR_1} from\n" .string "the DAY-CARE LADY.$" -Route117_PokemonDayCare_Text_YouHaveJustOneMon: @ 82925BB +Route117_PokemonDayCare_Text_YouHaveJustOneMon: .string "Oh? But you have just one\n" .string "POKéMON.\p" .string "Come back another time.$" -Route117_PokemonDayCare_Text_TakeYourMonBack: @ 82925F6 +Route117_PokemonDayCare_Text_TakeYourMonBack: .string "Will you take your POKéMON back?$" -Route117_PokemonDayCare_Text_WhatWillYouBattleWith: @ 8292617 +Route117_PokemonDayCare_Text_WhatWillYouBattleWith: .string "If you leave me that POKéMON,\n" .string "what will you battle with?\p" .string "Come back another time.$" -Text_EggHatchHuh: @ 8292668 +Text_EggHatchHuh: .string "Huh?$" -Route117_PokemonDayCare_Text_YoullBeLeftWithJustOne: @ 829266D +Route117_PokemonDayCare_Text_YoullBeLeftWithJustOne: .string "Huh?\n" .string "Now, now.\p" .string "If you leave that POKéMON with\n" diff --git a/data/scripts/elite_four.inc b/data/scripts/elite_four.inc index f4eb6393b..0ae319061 100644 --- a/data/scripts/elite_four.inc +++ b/data/scripts/elite_four.inc @@ -1,4 +1,4 @@ -PokemonLeague_EliteFour_SetAdvanceToNextRoomMetatiles:: @ 82723F8 +PokemonLeague_EliteFour_SetAdvanceToNextRoomMetatiles:: applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_Delay32 waitmovement 0 playse SE_DOOR @@ -17,7 +17,7 @@ PokemonLeague_EliteFour_SetAdvanceToNextRoomMetatiles:: @ 82723F8 special DrawWholeMapView return -PokemonLeague_EliteFour_EventScript_WalkInCloseDoor:: @ 8272475 +PokemonLeague_EliteFour_EventScript_WalkInCloseDoor:: applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkUp6 waitmovement 0 playse SE_TRUCK_DOOR @@ -31,7 +31,7 @@ PokemonLeague_EliteFour_EventScript_WalkInCloseDoor:: @ 8272475 return @ Essentially unused, only necessary when re-entering an Elite Four room after defeating the member, which isnt normally possible -PokemonLeague_EliteFour_EventScript_ResetAdvanceToNextRoom:: @ 82724BC +PokemonLeague_EliteFour_EventScript_ResetAdvanceToNextRoom:: setmetatile 6, 1, METATILE_EliteFour_OpenDoor_Frame, 0 setmetatile 6, 2, METATILE_EliteFour_OpenDoor_Opening, 0 setmetatile 5, 12, METATILE_EliteFour_EntryDoor_ClosedTop, 1 @@ -52,7 +52,7 @@ PokemonLeague_EliteFour_EventScript_ResetAdvanceToNextRoom:: @ 82724BC setmetatile 12, 2, METATILE_EliteFour_LeftSpotlightOff, 1 return -PokemonLeague_EliteFour_EventScript_CloseDoor:: @ 827255F +PokemonLeague_EliteFour_EventScript_CloseDoor:: setmetatile 5, 12, METATILE_EliteFour_EntryDoor_ClosedTop, 1 setmetatile 6, 12, METATILE_EliteFour_EntryDoor_ClosedTop, 1 setmetatile 7, 12, METATILE_EliteFour_EntryDoor_ClosedTop, 1 diff --git a/data/scripts/field_move_scripts.inc b/data/scripts/field_move_scripts.inc index 2d689348b..b81ca21dd 100644 --- a/data/scripts/field_move_scripts.inc +++ b/data/scripts/field_move_scripts.inc @@ -1,5 +1,5 @@ @ Interact with cuttable tree -EventScript_CutTree:: @ 82906BB +EventScript_CutTree:: lockall goto_if_unset FLAG_BADGE01_GET, EventScript_CheckTreeCantCut checkpartymove MOVE_CUT @@ -19,48 +19,48 @@ EventScript_CutTree:: @ 82906BB end @ Use cut from party menu -EventScript_UseCut:: @ 8290705 +EventScript_UseCut:: lockall dofieldeffect FLDEFF_USE_CUT_ON_TREE waitstate goto EventScript_CutTreeDown end -EventScript_CutTreeDown:: @ 8290710 +EventScript_CutTreeDown:: applymovement VAR_LAST_TALKED, Movement_CutTreeDown waitmovement 0 removeobject VAR_LAST_TALKED releaseall end -Movement_CutTreeDown: @ 829071F +Movement_CutTreeDown: cut_tree step_end -EventScript_CheckTreeCantCut:: @ 8290721 +EventScript_CheckTreeCantCut:: msgbox Text_CantCut, MSGBOX_DEFAULT releaseall end -EventScript_CancelCut:: @ 829072B +EventScript_CancelCut:: closemessage releaseall end -Text_WantToCut: @ 829072E +Text_WantToCut: .string "This tree looks like it can be\n" .string "CUT down!\p" .string "Would you like to CUT it?$" -Text_MonUsedFieldMove: @ 8290771 +Text_MonUsedFieldMove: .string "{STR_VAR_1} used {STR_VAR_2}!$" -Text_CantCut: @ 829077D +Text_CantCut: .string "This tree looks like it can be\n" .string "CUT down!$" @ Interact with smashable rock -EventScript_RockSmash:: @ 82907A6 +EventScript_RockSmash:: lockall goto_if_unset FLAG_BADGE03_GET, EventScript_CantSmashRock checkpartymove MOVE_ROCK_SMASH @@ -80,14 +80,14 @@ EventScript_RockSmash:: @ 82907A6 end @ Use rock smash from party menu -EventScript_UseRockSmash:: @ 82907F0 +EventScript_UseRockSmash:: lockall dofieldeffect FLDEFF_USE_ROCK_SMASH waitstate goto EventScript_SmashRock end -EventScript_SmashRock:: @ 82907FB +EventScript_SmashRock:: applymovement VAR_LAST_TALKED, Movement_SmashRock waitmovement 0 removeobject VAR_LAST_TALKED @@ -101,33 +101,33 @@ EventScript_SmashRock:: @ 82907FB releaseall end -EventScript_EndSmash:: @ 8290829 +EventScript_EndSmash:: releaseall end -Movement_SmashRock: @ 829082B +Movement_SmashRock: rock_smash_break step_end -EventScript_CantSmashRock:: @ 829082D +EventScript_CantSmashRock:: msgbox Text_CantSmash, MSGBOX_DEFAULT releaseall end -EventScript_CancelSmash:: @ 8290837 +EventScript_CancelSmash:: closemessage releaseall end -Text_WantToSmash: @ 829083A +Text_WantToSmash: .string "This rock appears to be breakable.\n" .string "Would you like to use ROCK SMASH?$" -Text_CantSmash: @ 829087F +Text_CantSmash: .string "It's a rugged rock, but a POKéMON\n" .string "may be able to smash it.$" -EventScript_StrengthBoulder:: @ 82908BA +EventScript_StrengthBoulder:: lockall goto_if_unset FLAG_BADGE04_GET, EventScript_CantStrength goto_if_set FLAG_SYS_USE_STRENGTH, EventScript_CheckActivatedBoulder @@ -144,53 +144,53 @@ EventScript_StrengthBoulder:: @ 82908BA goto EventScript_ActivateStrength end -EventScript_UseStrength:: @ 82908FD +EventScript_UseStrength:: lockall dofieldeffect FLDEFF_USE_STRENGTH waitstate goto EventScript_ActivateStrength end -EventScript_ActivateStrength:: @ 8290908 +EventScript_ActivateStrength:: setflag FLAG_SYS_USE_STRENGTH msgbox Text_MonUsedStrength, MSGBOX_DEFAULT releaseall end -EventScript_CantStrength:: @ 8290915 +EventScript_CantStrength:: msgbox Text_CantStrength, MSGBOX_DEFAULT releaseall end -EventScript_CheckActivatedBoulder:: @ 829091F +EventScript_CheckActivatedBoulder:: msgbox Text_StrengthActivated, MSGBOX_DEFAULT releaseall end -EventScript_CancelStrength:: @ 8290929 +EventScript_CancelStrength:: closemessage releaseall end -Text_WantToStrength: @ 829092C +Text_WantToStrength: .string "It's a big boulder, but a POKéMON\n" .string "may be able to push it aside.\p" .string "Would you like to use STRENGTH?$" -Text_MonUsedStrength: @ 829098C +Text_MonUsedStrength: .string "{STR_VAR_1} used STRENGTH!\p" .string "{STR_VAR_1}'s STRENGTH made it\n" .string "possible to move boulders around!$" -Text_CantStrength: @ 82909D6 +Text_CantStrength: .string "It's a big boulder, but a POKéMON\n" .string "may be able to push it aside.$" -Text_StrengthActivated: @ 8290A16 +Text_StrengthActivated: .string "STRENGTH made it possible to move\n" .string "boulders around.$" -EventScript_UseWaterfall:: @ 8290A49 +EventScript_UseWaterfall:: lockall checkpartymove MOVE_WATERFALL compare VAR_RESULT, PARTY_SIZE @@ -204,28 +204,28 @@ EventScript_UseWaterfall:: @ 8290A49 dofieldeffect FLDEFF_USE_WATERFALL goto EventScript_EndWaterfall -EventScript_CannotUseWaterfall:: @ 8290A83 +EventScript_CannotUseWaterfall:: lockall -EventScript_CantWaterfall:: @ 8290A84 +EventScript_CantWaterfall:: msgbox Text_CantWaterfall, MSGBOX_DEFAULT -EventScript_EndWaterfall:: @ 8290A8C +EventScript_EndWaterfall:: releaseall end -Text_CantWaterfall: @ 8290A8E +Text_CantWaterfall: .string "A wall of water is crashing down with\n" .string "a mighty roar.$" -Text_WantToWaterfall: @ 8290AC3 +Text_WantToWaterfall: .string "It's a large waterfall.\n" .string "Would you like to use WATERFALL?$" -Text_MonUsedWaterfall: @ 8290AFC +Text_MonUsedWaterfall: .string "{STR_VAR_1} used WATERFALL.$" -EventScript_UseDive:: @ 8290B0F +EventScript_UseDive:: lockall checkpartymove MOVE_DIVE compare VAR_RESULT, PARTY_SIZE @@ -241,16 +241,16 @@ EventScript_UseDive:: @ 8290B0F goto EventScript_EndDive end -EventScript_CantDive:: @ 8290B4E +EventScript_CantDive:: msgbox Text_CantDive, MSGBOX_DEFAULT releaseall end -EventScript_EndDive:: @ 8290B58 +EventScript_EndDive:: releaseall end -EventScript_UseDiveUnderwater:: @ 8290B5A +EventScript_UseDiveUnderwater:: lockall checkpartymove MOVE_DIVE compare VAR_RESULT, PARTY_SIZE @@ -266,38 +266,38 @@ EventScript_UseDiveUnderwater:: @ 8290B5A goto EventScript_EndSurface end -EventScript_CantSurface:: @ 8290B99 +EventScript_CantSurface:: lockall msgbox Text_CantSurface, MSGBOX_DEFAULT goto EventScript_EndSurface end -EventScript_EndSurface:: @ 8290BA8 +EventScript_EndSurface:: releaseall end -Text_CantDive: @ 8290BAA +Text_CantDive: .string "The sea is deep here. A POKéMON\n" .string "may be able to go underwater.$" -Text_WantToDive: @ 8290BE8 +Text_WantToDive: .string "The sea is deep here.\n" .string "Would you like to use DIVE?$" -Text_MonUsedDive: @ 8290C1A +Text_MonUsedDive: .string "{STR_VAR_1} used DIVE.$" -Text_CantSurface: @ 8290C28 +Text_CantSurface: .string "Light is filtering down from above.\n" .string "A POKéMON may be able to surface.$" -Text_WantToSurface: @ 8290C6E +Text_WantToSurface: .string "Light is filtering down from above.\n" .string "Would you like to use DIVE?$" -EventScript_FailSweetScent:: @ 8290CAE +EventScript_FailSweetScent:: msgbox Text_FailSweetScent, MSGBOX_SIGN end -Text_FailSweetScent: @ 8290CB7 +Text_FailSweetScent: .string "Looks like there's nothing here…$" diff --git a/data/scripts/field_poison.inc b/data/scripts/field_poison.inc index 3ce36b384..a4f9b90b6 100644 --- a/data/scripts/field_poison.inc +++ b/data/scripts/field_poison.inc @@ -1,4 +1,4 @@ -EventScript_FieldPoison:: @ 82736BC +EventScript_FieldPoison:: lockall special TryFieldPoisonWhiteOut waitstate @@ -9,7 +9,7 @@ EventScript_FieldPoison:: @ 82736BC releaseall end -EventScript_FieldWhiteOut:: @ 82736D9 +EventScript_FieldWhiteOut:: message gText_PlayerWhitedOut waitmessage waitbuttonpress @@ -21,11 +21,11 @@ EventScript_FieldWhiteOut:: @ 82736D9 waitstate end -EventScript_SetRespawnLavaridgePkmnCenter:: @ 82736F4 +EventScript_SetRespawnLavaridgePkmnCenter:: setrespawn HEAL_LOCATION_LAVARIDGE_TOWN return -EventScript_FrontierFieldWhiteOut:: @ 82736F8 +EventScript_FrontierFieldWhiteOut:: message gText_PlayerWhitedOut waitmessage waitbuttonpress diff --git a/data/scripts/flash.inc b/data/scripts/flash.inc index bb4ae84eb..a69975a16 100644 --- a/data/scripts/flash.inc +++ b/data/scripts/flash.inc @@ -1,4 +1,4 @@ -EventScript_UseFlash:: @ 82926F8 +EventScript_UseFlash:: animateflash 1 setflashradius 1 end diff --git a/data/scripts/gabby_and_ty.inc b/data/scripts/gabby_and_ty.inc index 60854a801..baee6c96f 100644 --- a/data/scripts/gabby_and_ty.inc +++ b/data/scripts/gabby_and_ty.inc @@ -1,7 +1,7 @@ @ Gabby and Ty always move to the same spots for the first 5 battles @ From the 6th battle onwards, they move randomly between locations 6-8 @ Note: The local IDs of Gabby and Ty are hard-coded in GetGabbyAndTyLocalIds -GabbyAndTy_EventScript_UpdateLocation:: @ 828CCC7 +GabbyAndTy_EventScript_UpdateLocation:: cleartrainerflag TRAINER_GABBY_AND_TY_6 specialvar VAR_RESULT, GabbyAndTyGetBattleNum switch VAR_RESULT @@ -16,187 +16,187 @@ GabbyAndTy_EventScript_UpdateLocation:: @ 828CCC7 case 8, GabbyAndTy_EventScript_MoveForBattle9 end -GabbyAndTy_EventScript_MoveForBattle1:: @ 828CD38 +GabbyAndTy_EventScript_MoveForBattle1:: call GabbyAndTy_EventScript_ShowAtRoute111_1 return -GabbyAndTy_EventScript_MoveForBattle2:: @ 828CD3E +GabbyAndTy_EventScript_MoveForBattle2:: call GabbyAndTy_EventScript_ShowAtRoute118_1 call GabbyAndTy_EventScript_HideAtRoute111_1 return -GabbyAndTy_EventScript_MoveForBattle3:: @ 828CD49 +GabbyAndTy_EventScript_MoveForBattle3:: call GabbyAndTy_EventScript_ShowAtRoute120_1 call GabbyAndTy_EventScript_HideAtRoute118_1 return -GabbyAndTy_EventScript_MoveForBattle4:: @ 828CD54 +GabbyAndTy_EventScript_MoveForBattle4:: call GabbyAndTy_EventScript_ShowAtRoute111_3 call GabbyAndTy_EventScript_HideAtRoute120_1 return -GabbyAndTy_EventScript_MoveForBattle5:: @ 828CD5F +GabbyAndTy_EventScript_MoveForBattle5:: call GabbyAndTy_EventScript_ShowAtRoute118_2 call GabbyAndTy_EventScript_HideAtRoute111_3 return -GabbyAndTy_EventScript_MoveForBattle6:: @ 828CD6A +GabbyAndTy_EventScript_MoveForBattle6:: call GabbyAndTy_EventScript_ShowAtRoute120_2 call GabbyAndTy_EventScript_HideAtRoute118_2 return -GabbyAndTy_EventScript_MoveForBattle7:: @ 828CD75 +GabbyAndTy_EventScript_MoveForBattle7:: call GabbyAndTy_EventScript_ShowAtRoute111_2 call GabbyAndTy_EventScript_HideAtRoute120_2 return -GabbyAndTy_EventScript_MoveForBattle8:: @ 828CD80 +GabbyAndTy_EventScript_MoveForBattle8:: call GabbyAndTy_EventScript_ShowAtRoute118_3 call GabbyAndTy_EventScript_HideAtRoute111_2 return -GabbyAndTy_EventScript_MoveForBattle9:: @ 828CD8B +GabbyAndTy_EventScript_MoveForBattle9:: call GabbyAndTy_EventScript_ShowAtRoute120_2 call GabbyAndTy_EventScript_HideAtRoute118_3 return -GabbyAndTy_EventScript_HideAtRoute111_1:: @ 828CD96 +GabbyAndTy_EventScript_HideAtRoute111_1:: setflag FLAG_HIDE_ROUTE_111_GABBY_AND_TY_1 return -GabbyAndTy_EventScript_ShowAtRoute111_1:: @ 828CD9A +GabbyAndTy_EventScript_ShowAtRoute111_1:: clearflag FLAG_HIDE_ROUTE_111_GABBY_AND_TY_1 return -GabbyAndTy_EventScript_HideAtRoute118_1:: @ 828CD9E +GabbyAndTy_EventScript_HideAtRoute118_1:: setflag FLAG_HIDE_ROUTE_118_GABBY_AND_TY_1 return -GabbyAndTy_EventScript_ShowAtRoute118_1:: @ 828CDA2 +GabbyAndTy_EventScript_ShowAtRoute118_1:: clearflag FLAG_HIDE_ROUTE_118_GABBY_AND_TY_1 return -GabbyAndTy_EventScript_HideAtRoute120_1:: @ 828CDA6 +GabbyAndTy_EventScript_HideAtRoute120_1:: setflag FLAG_HIDE_ROUTE_120_GABBY_AND_TY_1 return -GabbyAndTy_EventScript_ShowAtRoute120_1:: @ 828CDAA +GabbyAndTy_EventScript_ShowAtRoute120_1:: clearflag FLAG_HIDE_ROUTE_120_GABBY_AND_TY_1 return -GabbyAndTy_EventScript_HideAtRoute111_3:: @ 828CDAE +GabbyAndTy_EventScript_HideAtRoute111_3:: setflag FLAG_HIDE_ROUTE_111_GABBY_AND_TY_3 return -GabbyAndTy_EventScript_ShowAtRoute111_3:: @ 828CDB2 +GabbyAndTy_EventScript_ShowAtRoute111_3:: clearflag FLAG_HIDE_ROUTE_111_GABBY_AND_TY_3 return -GabbyAndTy_EventScript_HideAtRoute118_2:: @ 828CDB6 +GabbyAndTy_EventScript_HideAtRoute118_2:: setflag FLAG_HIDE_ROUTE_118_GABBY_AND_TY_2 return -GabbyAndTy_EventScript_ShowAtRoute118_2:: @ 828CDBA +GabbyAndTy_EventScript_ShowAtRoute118_2:: clearflag FLAG_HIDE_ROUTE_118_GABBY_AND_TY_2 return -GabbyAndTy_EventScript_HideAtRoute120_2:: @ 828CDBE +GabbyAndTy_EventScript_HideAtRoute120_2:: setflag FLAG_HIDE_ROUTE_120_GABBY_AND_TY_2 return -GabbyAndTy_EventScript_ShowAtRoute120_2:: @ 828CDC2 +GabbyAndTy_EventScript_ShowAtRoute120_2:: clearflag FLAG_HIDE_ROUTE_120_GABBY_AND_TY_2 return -GabbyAndTy_EventScript_HideAtRoute111_2:: @ 828CDC6 +GabbyAndTy_EventScript_HideAtRoute111_2:: setflag FLAG_HIDE_ROUTE_111_GABBY_AND_TY_2 return -GabbyAndTy_EventScript_ShowAtRoute111_2:: @ 828CDCA +GabbyAndTy_EventScript_ShowAtRoute111_2:: clearflag FLAG_HIDE_ROUTE_111_GABBY_AND_TY_2 return -GabbyAndTy_EventScript_HideAtRoute118_3:: @ 828CDCE +GabbyAndTy_EventScript_HideAtRoute118_3:: setflag FLAG_HIDE_ROUTE_118_GABBY_AND_TY_3 return -GabbyAndTy_EventScript_ShowAtRoute118_3:: @ 828CDD2 +GabbyAndTy_EventScript_ShowAtRoute118_3:: clearflag FLAG_HIDE_ROUTE_118_GABBY_AND_TY_3 return -GabbyAndTy_EventScript_GabbyBattle1:: @ 828CDD6 +GabbyAndTy_EventScript_GabbyBattle1:: trainerbattle_double TRAINER_GABBY_AND_TY_1, GabbyAndTy_Text_GabbyPreFirstBattle, GabbyAndTy_Text_GabbyDefeatFirstTime, GabbyAndTy_Text_GabbyNotEnoughMons, GabbyAndTy_EventScript_FirstInterview msgbox GabbyAndTy_Text_KeepingAnEyeOutForYou, MSGBOX_DEFAULT release end -GabbyAndTy_EventScript_TyBattle1:: @ 828CDF6 +GabbyAndTy_EventScript_TyBattle1:: trainerbattle_double TRAINER_GABBY_AND_TY_1, GabbyAndTy_Text_TyPreFirstBattle, GabbyAndTy_Text_TyDefeatFirstTime, GabbyAndTy_Text_TyNotEnoughMons, GabbyAndTy_EventScript_FirstInterview msgbox GabbyAndTy_Text_TyPostBattle, MSGBOX_DEFAULT release end -GabbyAndTy_EventScript_GabbyBattle2:: @ 828CE16 +GabbyAndTy_EventScript_GabbyBattle2:: trainerbattle_double TRAINER_GABBY_AND_TY_2, GabbyAndTy_Text_GabbyIntro, GabbyAndTy_Text_GabbyDefeat, GabbyAndTy_Text_GabbyNotEnoughMons, GabbyAndTy_EventScript_RequestInterview msgbox GabbyAndTy_Text_KeepingAnEyeOutForYou, MSGBOX_DEFAULT release end -GabbyAndTy_EventScript_TyBattle2:: @ 828CE36 +GabbyAndTy_EventScript_TyBattle2:: trainerbattle_double TRAINER_GABBY_AND_TY_2, GabbyAndTy_Text_TyIntro, GabbyAndTy_Text_TyDefeat, GabbyAndTy_Text_TyNotEnoughMons, GabbyAndTy_EventScript_RequestInterview msgbox GabbyAndTy_Text_TyPostBattle, MSGBOX_DEFAULT release end -GabbyAndTy_EventScript_GabbyBattle3:: @ 828CE56 +GabbyAndTy_EventScript_GabbyBattle3:: trainerbattle_double TRAINER_GABBY_AND_TY_3, GabbyAndTy_Text_GabbyIntro, GabbyAndTy_Text_GabbyDefeat, GabbyAndTy_Text_GabbyNotEnoughMons, GabbyAndTy_EventScript_RequestInterview msgbox GabbyAndTy_Text_KeepingAnEyeOutForYou, MSGBOX_DEFAULT release end -GabbyAndTy_EventScript_TyBattle3:: @ 828CE76 +GabbyAndTy_EventScript_TyBattle3:: trainerbattle_double TRAINER_GABBY_AND_TY_3, GabbyAndTy_Text_TyIntro, GabbyAndTy_Text_TyDefeat, GabbyAndTy_Text_TyNotEnoughMons, GabbyAndTy_EventScript_RequestInterview msgbox GabbyAndTy_Text_TyPostBattle, MSGBOX_DEFAULT release end -GabbyAndTy_EventScript_GabbyBattle4:: @ 828CE96 +GabbyAndTy_EventScript_GabbyBattle4:: trainerbattle_double TRAINER_GABBY_AND_TY_4, GabbyAndTy_Text_GabbyIntro, GabbyAndTy_Text_GabbyDefeat, GabbyAndTy_Text_GabbyNotEnoughMons, GabbyAndTy_EventScript_RequestInterview msgbox GabbyAndTy_Text_KeepingAnEyeOutForYou, MSGBOX_DEFAULT release end -GabbyAndTy_EventScript_TyBattle4:: @ 828CEB6 +GabbyAndTy_EventScript_TyBattle4:: trainerbattle_double TRAINER_GABBY_AND_TY_4, GabbyAndTy_Text_TyIntro, GabbyAndTy_Text_TyDefeat, GabbyAndTy_Text_TyNotEnoughMons, GabbyAndTy_EventScript_RequestInterview msgbox GabbyAndTy_Text_TyPostBattle, MSGBOX_DEFAULT release end -GabbyAndTy_EventScript_GabbyBattle5:: @ 828CED6 +GabbyAndTy_EventScript_GabbyBattle5:: trainerbattle_double TRAINER_GABBY_AND_TY_5, GabbyAndTy_Text_GabbyIntro, GabbyAndTy_Text_GabbyDefeat, GabbyAndTy_Text_GabbyNotEnoughMons, GabbyAndTy_EventScript_RequestInterview msgbox GabbyAndTy_Text_KeepingAnEyeOutForYou, MSGBOX_DEFAULT release end -GabbyAndTy_EventScript_TyBattle5:: @ 828CEF6 +GabbyAndTy_EventScript_TyBattle5:: trainerbattle_double TRAINER_GABBY_AND_TY_5, GabbyAndTy_Text_TyIntro, GabbyAndTy_Text_TyDefeat, GabbyAndTy_Text_TyNotEnoughMons, GabbyAndTy_EventScript_RequestInterview msgbox GabbyAndTy_Text_TyPostBattle, MSGBOX_DEFAULT release end -GabbyAndTy_EventScript_GabbyBattle6:: @ 828CF16 +GabbyAndTy_EventScript_GabbyBattle6:: trainerbattle_double TRAINER_GABBY_AND_TY_6, GabbyAndTy_Text_GabbyIntro, GabbyAndTy_Text_GabbyDefeat, GabbyAndTy_Text_GabbyNotEnoughMons, GabbyAndTy_EventScript_RequestInterview msgbox GabbyAndTy_Text_KeepingAnEyeOutForYou, MSGBOX_DEFAULT release end -GabbyAndTy_EventScript_TyBattle6:: @ 828CF36 +GabbyAndTy_EventScript_TyBattle6:: trainerbattle_double TRAINER_GABBY_AND_TY_6, GabbyAndTy_Text_TyIntro, GabbyAndTy_Text_TyDefeat, GabbyAndTy_Text_TyNotEnoughMons, GabbyAndTy_EventScript_RequestInterview msgbox GabbyAndTy_Text_TyPostBattle, MSGBOX_DEFAULT release end -GabbyAndTy_EventScript_FirstInterview:: @ 828CF56 +GabbyAndTy_EventScript_FirstInterview:: special GabbyAndTyBeforeInterview special GetGabbyAndTyLocalIds compare VAR_FACING, DIR_NORTH @@ -210,24 +210,24 @@ GabbyAndTy_EventScript_FirstInterview:: @ 828CF56 goto GabbyAndTy_EventScript_Interview end -GabbyAndTy_EventScript_FacePlayerNorth:: @ 828CF94 +GabbyAndTy_EventScript_FacePlayerNorth:: applymovement VAR_0x8004, GabbyAndTy_Movement_WalkInPlaceDown waitmovement 0 return -GabbyAndTy_EventScript_FacePlayerSouth:: @ 828CF9F +GabbyAndTy_EventScript_FacePlayerSouth:: applymovement VAR_0x8004, GabbyAndTy_Movement_WalkInPlaceUp applymovement VAR_0x8005, Common_Movement_WalkInPlaceFastestUp waitmovement 0 return -GabbyAndTy_EventScript_FacePlayerEast:: @ 828CFB1 +GabbyAndTy_EventScript_FacePlayerEast:: applymovement VAR_0x8004, GabbyAndTy_Movement_WalkInPlaceLeft applymovement VAR_0x8005, Common_Movement_WalkInPlaceFastestLeft waitmovement 0 return -GabbyAndTy_EventScript_RequestInterview:: @ 828CFC3 +GabbyAndTy_EventScript_RequestInterview:: special GabbyAndTyBeforeInterview special GetGabbyAndTyLocalIds compare VAR_FACING, DIR_NORTH @@ -250,49 +250,49 @@ GabbyAndTy_EventScript_RequestInterview:: @ 828CFC3 case 4, GabbyAndTy_EventScript_RequestInterviewLostAMon end -GabbyAndTy_Movement_WalkInPlaceDown: @ 828D04D +GabbyAndTy_Movement_WalkInPlaceDown: walk_in_place_down step_end -GabbyAndTy_Movement_WalkInPlaceUp: @ 828D04F +GabbyAndTy_Movement_WalkInPlaceUp: walk_in_place_up step_end -GabbyAndTy_Movement_WalkInPlaceLeft: @ 828D051 +GabbyAndTy_Movement_WalkInPlaceLeft: walk_in_place_left step_end -GabbyAndTy_EventScript_DidntInterviewLastTime:: @ 828D053 +GabbyAndTy_EventScript_DidntInterviewLastTime:: msgbox GabbyAndTy_Text_GiveUsAnInterviewThisTime, MSGBOX_YESNO goto GabbyAndTy_EventScript_Interview end -GabbyAndTy_EventScript_RequestInterviewNoTrivia:: @ 828D061 +GabbyAndTy_EventScript_RequestInterviewNoTrivia:: msgbox GabbyAndTy_Text_InterviewAgain, MSGBOX_YESNO goto GabbyAndTy_EventScript_Interview end -GabbyAndTy_EventScript_RequestInterviewShortBattle:: @ 828D06F +GabbyAndTy_EventScript_RequestInterviewShortBattle:: msgbox GabbyAndTy_Text_YouStompedUsInterviewAgain, MSGBOX_YESNO goto GabbyAndTy_EventScript_Interview end -GabbyAndTy_EventScript_RequestInterviewThrewBall:: @ 828D07D +GabbyAndTy_EventScript_RequestInterviewThrewBall:: msgbox GabbyAndTy_Text_YouThrewABallAtUsInterviewAgain, MSGBOX_YESNO goto GabbyAndTy_EventScript_Interview end -GabbyAndTy_EventScript_RequestInterviewUsedItems:: @ 828D08B +GabbyAndTy_EventScript_RequestInterviewUsedItems:: msgbox GabbyAndTy_Text_CleverItemSkillsInterviewAgain, MSGBOX_YESNO goto GabbyAndTy_EventScript_Interview end -GabbyAndTy_EventScript_RequestInterviewLostAMon:: @ 828D099 +GabbyAndTy_EventScript_RequestInterviewLostAMon:: msgbox GabbyAndTy_Text_WeLookedRespectableInterviewAgain, MSGBOX_YESNO goto GabbyAndTy_EventScript_Interview end -GabbyAndTy_EventScript_Interview:: @ 828D0A7 +GabbyAndTy_EventScript_Interview:: compare VAR_RESULT, NO goto_if_eq GabbyAndTy_EventScript_DontGiveUpKeepingEyeOut msgbox GabbyAndTy_Text_DescribeYourFeelings, MSGBOX_DEFAULT @@ -308,13 +308,13 @@ GabbyAndTy_EventScript_Interview:: @ 828D0A7 release end -GabbyAndTy_EventScript_DontGiveUpKeepingEyeOut:: @ 828D0E1 +GabbyAndTy_EventScript_DontGiveUpKeepingEyeOut:: msgbox GabbyAndTy_Text_DontGiveUpKeepingEyeOut, MSGBOX_DEFAULT setflag FLAG_TEMP_1 release end -GabbyAndTy_EventScript_KeepingAnEyeOutForYou:: @ 828D0EE +GabbyAndTy_EventScript_KeepingAnEyeOutForYou:: msgbox GabbyAndTy_Text_KeepingAnEyeOutForYou, MSGBOX_DEFAULT release end diff --git a/data/scripts/hall_of_fame.inc b/data/scripts/hall_of_fame.inc index 021784f81..9b730de31 100644 --- a/data/scripts/hall_of_fame.inc +++ b/data/scripts/hall_of_fame.inc @@ -1,4 +1,4 @@ -EverGrandeCity_HallOfFame_EventScript_SetGameClearFlags:: @ 82717C1 +EverGrandeCity_HallOfFame_EventScript_SetGameClearFlags:: special SetChampionSaveWarp setflag FLAG_IS_CHAMPION call EverGrandeCity_HallOfFame_EventScript_ResetDefeatedEventLegendaries @@ -26,7 +26,7 @@ EverGrandeCity_HallOfFame_EventScript_SetGameClearFlags:: @ 82717C1 call_if_eq EverGrandeCity_HallOfFame_EventScript_ReadyDexUpgradeEvent return -EverGrandeCity_HallOfFame_EventScript_ResetDefeatedEventLegendaries:: @ 8271829 +EverGrandeCity_HallOfFame_EventScript_ResetDefeatedEventLegendaries:: clearflag FLAG_DEFEATED_MEW clearflag FLAG_DEFEATED_LATIAS_OR_LATIOS clearflag FLAG_DEFEATED_DEOXYS @@ -34,20 +34,20 @@ EverGrandeCity_HallOfFame_EventScript_ResetDefeatedEventLegendaries:: @ 8271829 clearflag FLAG_DEFEATED_HO_OH return -EverGrandeCity_HallOfFame_EventScript_SetDesertUnderpassCommentReady:: @ 8271839 +EverGrandeCity_HallOfFame_EventScript_SetDesertUnderpassCommentReady:: setvar VAR_FOSSIL_MANIAC_STATE, 1 return -EverGrandeCity_HallOfFame_EventScript_ShowStevensHouseBeldum:: @ 827183F +EverGrandeCity_HallOfFame_EventScript_ShowStevensHouseBeldum:: clearflag FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_BELDUM_POKEBALL return -EverGrandeCity_HallOfFame_EventScript_ReadyReceiveSSTicketEvent:: @ 8271843 +EverGrandeCity_HallOfFame_EventScript_ReadyReceiveSSTicketEvent:: setvar VAR_LITTLEROOT_HOUSES_STATE_MAY, 3 setvar VAR_LITTLEROOT_HOUSES_STATE_BRENDAN, 3 clearflag FLAG_HIDE_PLAYERS_HOUSE_DAD return -EverGrandeCity_HallOfFame_EventScript_ReadyDexUpgradeEvent:: @ 8271851 +EverGrandeCity_HallOfFame_EventScript_ReadyDexUpgradeEvent:: setvar VAR_DEX_UPGRADE_JOHTO_STARTER_STATE, 1 return diff --git a/data/scripts/interview.inc b/data/scripts/interview.inc index 2d1c08196..90fceb9d1 100644 --- a/data/scripts/interview.inc +++ b/data/scripts/interview.inc @@ -1,11 +1,11 @@ -Interview_EventScript_EndInterview:: @ 828C7E9 +Interview_EventScript_EndInterview:: special InterviewAfter incrementgamestat GAME_STAT_GOT_INTERVIEWED release end @ Shares reporter object with TVSHOW_PKMN_FAN_CLUB_OPINIONS -SlateportCity_PokemonFanClub_EventScript_ReporterNoNickname:: @ 828C7F0 +SlateportCity_PokemonFanClub_EventScript_ReporterNoNickname:: setvar VAR_0x8005, TVSHOW_FAN_CLUB_LETTER special InterviewBefore compare VAR_RESULT, TRUE @@ -18,7 +18,7 @@ SlateportCity_PokemonFanClub_EventScript_ReporterNoNickname:: @ 828C7F0 goto_if_eq SlateportCity_PokemonFanClub_EventScript_DeclineInterview2 end -SlateportCity_PokemonFanClub_EventScript_AcceptInterview2:: @ 828C827 +SlateportCity_PokemonFanClub_EventScript_AcceptInterview2:: msgbox SlateportCity_PokemonFanClub_Text_TellMeAnythingAboutYourMon, MSGBOX_DEFAULT setvar VAR_0x8004, EASY_CHAT_TYPE_INTERVIEW copyvar VAR_0x8005, VAR_0x8009 @@ -32,23 +32,23 @@ SlateportCity_PokemonFanClub_EventScript_AcceptInterview2:: @ 828C827 goto_if_eq SlateportCity_PokemonFanClub_EventScript_DeclineInterview2 end -SlateportCity_PokemonFanClub_EventScript_DeclineInterview2:: @ 828C85C +SlateportCity_PokemonFanClub_EventScript_DeclineInterview2:: msgbox SlateportCity_PokemonFanClub_Text_HereIfYouGetUrgeToTellMe, MSGBOX_DEFAULT release end -SlateportCity_PokemonFanClub_EventScript_SubmitResponse2:: @ 828C866 +SlateportCity_PokemonFanClub_EventScript_SubmitResponse2:: msgbox SlateportCity_PokemonFanClub_Text_ThatsAllForInterview2, MSGBOX_DEFAULT setvar VAR_0x8005, TVSHOW_FAN_CLUB_LETTER goto Interview_EventScript_EndInterview end -SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed2:: @ 828C879 +SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed2:: msgbox SlateportCity_PokemonFanClub_Text_EnjoyDoingInterviews, MSGBOX_DEFAULT release end -SlateportCity_OceanicMuseum_1F_EventScript_Reporter:: @ 828C883 +SlateportCity_OceanicMuseum_1F_EventScript_Reporter:: lock faceplayer setvar VAR_0x8005, TVSHOW_RECENT_HAPPENINGS @@ -65,7 +65,7 @@ SlateportCity_OceanicMuseum_1F_EventScript_Reporter:: @ 828C883 goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview end -SlateportCity_OceanicMuseum_1F_EventScript_RequestInterviewShort:: @ 828C8C8 +SlateportCity_OceanicMuseum_1F_EventScript_RequestInterviewShort:: msgbox SlateportCity_OceanicMuseum_1F_Text_InterviewRequestShort, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_AcceptInterview @@ -73,7 +73,7 @@ SlateportCity_OceanicMuseum_1F_EventScript_RequestInterviewShort:: @ 828C8C8 goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview end -SlateportCity_OceanicMuseum_1F_EventScript_AcceptInterview:: @ 828C8E7 +SlateportCity_OceanicMuseum_1F_EventScript_AcceptInterview:: msgbox SlateportCity_OceanicMuseum_1F_Text_TellMeExperienceInvolvingPokemon, MSGBOX_DEFAULT setvar VAR_0x8004, EASY_CHAT_TYPE_INTERVIEW copyvar VAR_0x8005, VAR_0x8009 @@ -87,23 +87,23 @@ SlateportCity_OceanicMuseum_1F_EventScript_AcceptInterview:: @ 828C8E7 goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview end -SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview:: @ 828C91C +SlateportCity_OceanicMuseum_1F_EventScript_DeclineInterview:: msgbox SlateportCity_OceanicMuseum_1F_Text_LetMeKnowIfYouHaveStory, MSGBOX_DEFAULT release end -SlateportCity_OceanicMuseum_1F_EventScript_SubmitResponse:: @ 828C926 +SlateportCity_OceanicMuseum_1F_EventScript_SubmitResponse:: msgbox SlateportCity_OceanicMuseum_1F_Text_ThatsAllForInterview, MSGBOX_DEFAULT setvar VAR_0x8005, TVSHOW_RECENT_HAPPENINGS goto Interview_EventScript_EndInterview end -SlateportCity_OceanicMuseum_1F_EventScript_AlreadyInterviewed:: @ 828C939 +SlateportCity_OceanicMuseum_1F_EventScript_AlreadyInterviewed:: msgbox SlateportCity_OceanicMuseum_1F_Text_BetterWriteUpStory, MSGBOX_DEFAULT release end -SlateportCity_PokemonFanClub_EventScript_Reporter:: @ 828C943 +SlateportCity_PokemonFanClub_EventScript_Reporter:: lock faceplayer specialvar VAR_RESULT, IsLeadMonNicknamedOrNotEnglish @@ -121,7 +121,7 @@ SlateportCity_PokemonFanClub_EventScript_Reporter:: @ 828C943 goto_if_eq SlateportCity_PokemonFanClub_EventScript_DeclineInterview end -SlateportCity_PokemonFanClub_EventScript_AcceptInterview:: @ 828C98C +SlateportCity_PokemonFanClub_EventScript_AcceptInterview:: msgbox SlateportCity_PokemonFanClub_Text_HereGoesQuickAnswers, MSGBOX_DEFAULT random 3 copyvar VAR_0x800A, VAR_RESULT @@ -131,22 +131,22 @@ SlateportCity_PokemonFanClub_EventScript_AcceptInterview:: @ 828C98C case 2, SlateportCity_PokemonFanClub_EventScript_RandomQuestion3 end -SlateportCity_PokemonFanClub_EventScript_RandomQuestion1:: @ 828C9C3 +SlateportCity_PokemonFanClub_EventScript_RandomQuestion1:: msgbox SlateportCity_PokemonFanClub_Text_DescribeFeelingsFirstMetMon, MSGBOX_DEFAULT goto SlateportCity_PokemonFanClub_EventScript_ContinueInterview end -SlateportCity_PokemonFanClub_EventScript_RandomQuestion2:: @ 828C9D1 +SlateportCity_PokemonFanClub_EventScript_RandomQuestion2:: msgbox SlateportCity_PokemonFanClub_Text_LikenMonToSomethingYouLike, MSGBOX_DEFAULT goto SlateportCity_PokemonFanClub_EventScript_ContinueInterview end -SlateportCity_PokemonFanClub_EventScript_RandomQuestion3:: @ 828C9DF +SlateportCity_PokemonFanClub_EventScript_RandomQuestion3:: msgbox SlateportCity_PokemonFanClub_Text_WhatAttractedYouAboutMon, MSGBOX_DEFAULT goto SlateportCity_PokemonFanClub_EventScript_ContinueInterview end -SlateportCity_PokemonFanClub_EventScript_ContinueInterview:: @ 828C9ED +SlateportCity_PokemonFanClub_EventScript_ContinueInterview:: setvar VAR_0x8004, EASY_CHAT_TYPE_FAN_CLUB copyvar VAR_0x8005, VAR_0x8009 setvar VAR_0x8006, 0 @@ -168,17 +168,17 @@ SlateportCity_PokemonFanClub_EventScript_ContinueInterview:: @ 828C9ED goto Interview_EventScript_EndInterview end -SlateportCity_PokemonFanClub_EventScript_DeclineInterview:: @ 828CA45 +SlateportCity_PokemonFanClub_EventScript_DeclineInterview:: msgbox SlateportCity_PokemonFanClub_Text_HereIfYouGetUrgeToTellMe, MSGBOX_DEFAULT release end -SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed:: @ 828CA4F +SlateportCity_PokemonFanClub_EventScript_AlreadyInterviewed:: msgbox SlateportCity_PokemonFanClub_Text_EnjoyDoingInterviews, MSGBOX_DEFAULT release end -LilycoveCity_ContestLobby_EventScript_Reporter:: @ 828CA59 +LilycoveCity_ContestLobby_EventScript_Reporter:: lock faceplayer goto_if_set FLAG_TEMP_2, LilycoveCity_ContestLobby_EventScript_AlreadyInterviewed @@ -194,7 +194,7 @@ LilycoveCity_ContestLobby_EventScript_Reporter:: @ 828CA59 goto_if_eq LilycoveCity_ContestLobby_EventScript_DeclineInterview end -LilycoveCity_ContestLobby_EventScript_AcceptInterview:: @ 828CA9B +LilycoveCity_ContestLobby_EventScript_AcceptInterview:: msgbox LilycoveCity_ContestLobby_Text_DescribeContest, MSGBOX_DEFAULT setvar VAR_0x8004, EASY_CHAT_TYPE_CONTEST_INTERVIEW copyvar VAR_0x8005, VAR_0x8009 @@ -208,12 +208,12 @@ LilycoveCity_ContestLobby_EventScript_AcceptInterview:: @ 828CA9B goto_if_eq LilycoveCity_ContestLobby_EventScript_DeclineInterview end -LilycoveCity_ContestLobby_EventScript_DeclineInterview:: @ 828CAD0 +LilycoveCity_ContestLobby_EventScript_DeclineInterview:: msgbox LilycoveCity_ContestLobby_Text_PleaseDoShareStoryWithMe, MSGBOX_DEFAULT release end -LilycoveCity_ContestLobby_EventScript_SubmitResponse:: @ 828CADA +LilycoveCity_ContestLobby_EventScript_SubmitResponse:: setvar VAR_0x8004, 24 special SetContestCategoryStringVarForInterview msgbox LilycoveCity_ContestLobby_Text_WhatImageWhenYouHearX, MSGBOX_DEFAULT @@ -231,12 +231,12 @@ LilycoveCity_ContestLobby_EventScript_SubmitResponse:: @ 828CADA goto Interview_EventScript_EndInterview end -LilycoveCity_ContestLobby_EventScript_AlreadyInterviewed:: @ 828CB21 +LilycoveCity_ContestLobby_EventScript_AlreadyInterviewed:: msgbox LilycoveCity_ContestLobby_Text_LookingForwardToNextContest, MSGBOX_DEFAULT release end -LilycoveCity_ContestLobby_EventScript_TryShowContestReporter:: @ 828CB2B +LilycoveCity_ContestLobby_EventScript_TryShowContestReporter:: compare VAR_CONTEST_HALL_STATE, 2 goto_if_ne LilycoveCity_ContestLobby_EventScript_DontShowContestReporter setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_POKEMON_PROFILE @@ -252,14 +252,14 @@ LilycoveCity_ContestLobby_EventScript_TryShowContestReporter:: @ 828CB2B case 5, LilycoveCity_ContestLobby_EventScript_DontShowContestReporter end -LilycoveCity_ContestLobby_EventScript_ShowContestReporter:: @ 828CB91 +LilycoveCity_ContestLobby_EventScript_ShowContestReporter:: clearflag FLAG_HIDE_LILYCOVE_CONTEST_HALL_REPORTER return -LilycoveCity_ContestLobby_EventScript_DontShowContestReporter:: @ 828CB95 +LilycoveCity_ContestLobby_EventScript_DontShowContestReporter:: return -BattleFrontier_BattleTowerLobby_EventScript_Reporter:: @ 828CB96 +BattleFrontier_BattleTowerLobby_EventScript_Reporter:: lock faceplayer goto_if_set FLAG_TEMP_2, BattleFrontier_BattleTowerLobby_EventScript_AlreadyInterviewed @@ -275,7 +275,7 @@ BattleFrontier_BattleTowerLobby_EventScript_Reporter:: @ 828CB96 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_DeclineInterview end -BattleFrontier_BattleTowerLobby_EventScript_AcceptInterview:: @ 828CBD8 +BattleFrontier_BattleTowerLobby_EventScript_AcceptInterview:: message BattleFrontier_BattleTowerLobby_Text_HowDidBattleTowerTurnOut waitmessage multichoice 20, 8, MULTI_SATISFACTION, TRUE @@ -296,20 +296,20 @@ BattleFrontier_BattleTowerLobby_EventScript_AcceptInterview:: @ 828CBD8 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_CancelInterview end -BattleFrontier_BattleTowerLobby_EventScript_DeclineInterview:: @ 828CC2E +BattleFrontier_BattleTowerLobby_EventScript_DeclineInterview:: msgbox BattleFrontier_BattleTowerLobby_Text_SorryWeDisturbedYou, MSGBOX_DEFAULT release end -BattleFrontier_BattleTowerLobby_EventScript_Satisfied:: @ 828CC38 +BattleFrontier_BattleTowerLobby_EventScript_Satisfied:: msgbox BattleFrontier_BattleTowerLobby_Text_ObviousYouHadGreatBattle, MSGBOX_DEFAULT return -BattleFrontier_BattleTowerLobby_EventScript_Dissatisfied:: @ 828CC41 +BattleFrontier_BattleTowerLobby_EventScript_Dissatisfied:: msgbox BattleFrontier_BattleTowerLobby_Text_DifficultToMakeBattleTurnOutAsPlanned, MSGBOX_DEFAULT return -BattleFrontier_BattleTowerLobby_EventScript_SubmitResponse:: @ 828CC4A +BattleFrontier_BattleTowerLobby_EventScript_SubmitResponse:: compare VAR_RESULT, 0 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_CancelInterview msgbox BattleFrontier_BattleTowerLobby_Text_ThatsGreatLine, MSGBOX_DEFAULT @@ -319,17 +319,17 @@ BattleFrontier_BattleTowerLobby_EventScript_SubmitResponse:: @ 828CC4A goto Interview_EventScript_EndInterview end -BattleFrontier_BattleTowerLobby_EventScript_CancelInterview:: @ 828CC70 +BattleFrontier_BattleTowerLobby_EventScript_CancelInterview:: msgbox BattleFrontier_BattleTowerLobby_Text_SilentType, MSGBOX_DEFAULT release end -BattleFrontier_BattleTowerLobby_EventScript_AlreadyInterviewed:: @ 828CC7A +BattleFrontier_BattleTowerLobby_EventScript_AlreadyInterviewed:: msgbox BattleFrontier_BattleTowerLobby_Text_LookingForwardToNextBattle, MSGBOX_DEFAULT release end -BattleFrontier_BattleTowerLobby_EventScript_ShowOrHideReporter:: @ 828CC84 +BattleFrontier_BattleTowerLobby_EventScript_ShowOrHideReporter:: compare VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0 goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_HideReporter setvar VAR_0x8005, TVSHOW_BRAVO_TRAINER_BATTLE_TOWER_PROFILE @@ -339,12 +339,12 @@ BattleFrontier_BattleTowerLobby_EventScript_ShowOrHideReporter:: @ 828CC84 clearflag FLAG_HIDE_BATTLE_TOWER_REPORTER return -BattleFrontier_BattleTowerLobby_EventScript_HideReporter:: @ 828CCA6 +BattleFrontier_BattleTowerLobby_EventScript_HideReporter:: setflag FLAG_HIDE_BATTLE_TOWER_REPORTER return @ Unused -EventScript_ContestLiveInterview:: @ 828CCAA +EventScript_ContestLiveInterview:: setvar VAR_0x8005, TVSHOW_CONTEST_LIVE_UPDATES special InterviewBefore compare VAR_RESULT, TRUE @@ -353,5 +353,5 @@ EventScript_ContestLiveInterview:: @ 828CCAA special InterviewAfter return -EventScript_ContestLiveInterviewEnd:: @ 828CCC6 +EventScript_ContestLiveInterviewEnd:: return diff --git a/data/scripts/item_ball_scripts.inc b/data/scripts/item_ball_scripts.inc index f9228134c..683c383df 100644 --- a/data/scripts/item_ball_scripts.inc +++ b/data/scripts/item_ball_scripts.inc @@ -1,659 +1,659 @@ -Route102_EventScript_ItemPotion:: @ 8290CD8 +Route102_EventScript_ItemPotion:: finditem ITEM_POTION end -Route103_EventScript_ItemGuardSpec:: @ 8290CE5 +Route103_EventScript_ItemGuardSpec:: finditem ITEM_GUARD_SPEC end -Route103_EventScript_ItemPPUp:: @ 8290CF2 +Route103_EventScript_ItemPPUp:: finditem ITEM_PP_UP end -Route104_EventScript_ItemPPUp:: @ 8290CFF +Route104_EventScript_ItemPPUp:: finditem ITEM_PP_UP end -Route104_EventScript_ItemPokeBall:: @ 8290D0C +Route104_EventScript_ItemPokeBall:: finditem ITEM_POKE_BALL end -Route104_EventScript_ItemXAccuracy:: @ 8290D19 +Route104_EventScript_ItemXAccuracy:: finditem ITEM_X_ACCURACY end -Route104_EventScript_ItemPotion:: @ 8290D26 +Route104_EventScript_ItemPotion:: finditem ITEM_POTION end -Route105_EventScript_ItemIron:: @ 8290D33 +Route105_EventScript_ItemIron:: finditem ITEM_IRON end -Route106_EventScript_ItemProtein:: @ 8290D40 +Route106_EventScript_ItemProtein:: finditem ITEM_PROTEIN end -Route108_EventScript_ItemStarPiece:: @ 8290D4D +Route108_EventScript_ItemStarPiece:: finditem ITEM_STAR_PIECE end -Route109_EventScript_ItemPPUp:: @ 8290D5A +Route109_EventScript_ItemPPUp:: finditem ITEM_PP_UP end -Route109_EventScript_ItemPotion:: @ 8290D67 +Route109_EventScript_ItemPotion:: finditem ITEM_POTION end -Route110_EventScript_ItemRareCandy:: @ 8290D74 +Route110_EventScript_ItemRareCandy:: finditem ITEM_RARE_CANDY end -Route110_EventScript_ItemDireHit:: @ 8290D81 +Route110_EventScript_ItemDireHit:: finditem ITEM_DIRE_HIT end -Route110_EventScript_ItemElixir:: @ 8290D8E +Route110_EventScript_ItemElixir:: finditem ITEM_ELIXIR end -Route111_EventScript_ItemTM37:: @ 8290D9B +Route111_EventScript_ItemTM37:: finditem ITEM_TM37 end -Route111_EventScript_ItemStardust:: @ 8290DA8 +Route111_EventScript_ItemStardust:: finditem ITEM_STARDUST end -Route111_EventScript_ItemHPUp:: @ 8290DB5 +Route111_EventScript_ItemHPUp:: finditem ITEM_HP_UP end -Route111_EventScript_ItemElixir:: @ 8290DC2 +Route111_EventScript_ItemElixir:: finditem ITEM_ELIXIR end -Route112_EventScript_ItemNugget:: @ 8290DCF +Route112_EventScript_ItemNugget:: finditem ITEM_NUGGET end -Route113_EventScript_ItemMaxEther:: @ 8290DDC +Route113_EventScript_ItemMaxEther:: finditem ITEM_MAX_ETHER end -Route113_EventScript_ItemSuperRepel:: @ 8290DE9 +Route113_EventScript_ItemSuperRepel:: finditem ITEM_SUPER_REPEL end -Route113_EventScript_ItemHyperPotion:: @ 8290DF6 +Route113_EventScript_ItemHyperPotion:: finditem ITEM_HYPER_POTION end -Route114_EventScript_ItemRareCandy:: @ 8290E03 +Route114_EventScript_ItemRareCandy:: finditem ITEM_RARE_CANDY end -Route114_EventScript_ItemProtein:: @ 8290E10 +Route114_EventScript_ItemProtein:: finditem ITEM_PROTEIN end -Route114_EventScript_ItemEnergyPowder:: @ 8290E1D +Route114_EventScript_ItemEnergyPowder:: finditem ITEM_ENERGY_POWDER end -Route115_EventScript_ItemSuperPotion:: @ 8290E2A +Route115_EventScript_ItemSuperPotion:: finditem ITEM_SUPER_POTION end -Route115_EventScript_ItemTM01:: @ 8290E37 +Route115_EventScript_ItemTM01:: finditem ITEM_TM01 end -Route115_EventScript_ItemIron:: @ 8290E44 +Route115_EventScript_ItemIron:: finditem ITEM_IRON end -Route115_EventScript_ItemGreatBall:: @ 8290E51 +Route115_EventScript_ItemGreatBall:: finditem ITEM_GREAT_BALL end -Route115_EventScript_ItemHealPowder:: @ 8290E5E +Route115_EventScript_ItemHealPowder:: finditem ITEM_HEAL_POWDER end -Route115_EventScript_ItemPPUp:: @ 8290E6B +Route115_EventScript_ItemPPUp:: finditem ITEM_PP_UP end -Route116_EventScript_ItemXSpecial:: @ 8290E78 +Route116_EventScript_ItemXSpecial:: finditem ITEM_X_SPECIAL end -Route116_EventScript_ItemEther:: @ 8290E85 +Route116_EventScript_ItemEther:: finditem ITEM_ETHER end -Route116_EventScript_ItemRepel:: @ 8290E92 +Route116_EventScript_ItemRepel:: finditem ITEM_REPEL end -Route116_EventScript_ItemHPUp:: @ 8290E9F +Route116_EventScript_ItemHPUp:: finditem ITEM_HP_UP end -Route116_EventScript_ItemPotion:: @ 8290EAC +Route116_EventScript_ItemPotion:: finditem ITEM_POTION end -Route117_EventScript_ItemGreatBall:: @ 8290EB9 +Route117_EventScript_ItemGreatBall:: finditem ITEM_GREAT_BALL end -Route117_EventScript_ItemRevive:: @ 8290EC6 +Route117_EventScript_ItemRevive:: finditem ITEM_REVIVE end -Route118_EventScript_ItemHyperPotion:: @ 8290ED3 +Route118_EventScript_ItemHyperPotion:: finditem ITEM_HYPER_POTION end -Route119_EventScript_ItemSuperRepel:: @ 8290EE0 +Route119_EventScript_ItemSuperRepel:: finditem ITEM_SUPER_REPEL end -Route119_EventScript_ItemZinc:: @ 8290EED +Route119_EventScript_ItemZinc:: finditem ITEM_ZINC end -Route119_EventScript_ItemElixir:: @ 8290EFA +Route119_EventScript_ItemElixir:: finditem ITEM_ELIXIR end -Route119_EventScript_ItemLeafStone:: @ 8290F07 +Route119_EventScript_ItemLeafStone:: finditem ITEM_LEAF_STONE end -Route119_EventScript_ItemRareCandy:: @ 8290F14 +Route119_EventScript_ItemRareCandy:: finditem ITEM_RARE_CANDY end -Route119_EventScript_ItemHyperPotion:: @ 8290F21 +Route119_EventScript_ItemHyperPotion:: finditem ITEM_HYPER_POTION end -Route119_EventScript_ItemHyperPotion2:: @ 8290F2E +Route119_EventScript_ItemHyperPotion2:: finditem ITEM_HYPER_POTION end -Route119_EventScript_ItemElixir2:: @ 8290F3B +Route119_EventScript_ItemElixir2:: finditem ITEM_ELIXIR end -Route120_EventScript_ItemNugget:: @ 8290F48 +Route120_EventScript_ItemNugget:: finditem ITEM_NUGGET end -Route120_EventScript_ItemFullHeal:: @ 8290F55 +Route120_EventScript_ItemFullHeal:: finditem ITEM_FULL_HEAL end -Route120_EventScript_ItemHyperPotion:: @ 8290F62 +Route120_EventScript_ItemHyperPotion:: finditem ITEM_HYPER_POTION end -Route120_EventScript_ItemNestBall:: @ 8290F6F +Route120_EventScript_ItemNestBall:: finditem ITEM_NEST_BALL end -Route120_EventScript_ItemRevive:: @ 8290F7C +Route120_EventScript_ItemRevive:: finditem ITEM_REVIVE end -Route121_EventScript_ItemCarbos:: @ 8290F89 +Route121_EventScript_ItemCarbos:: finditem ITEM_CARBOS end -Route121_EventScript_ItemRevive:: @ 8290F96 +Route121_EventScript_ItemRevive:: finditem ITEM_REVIVE end -Route121_EventScript_ItemZinc:: @ 8290FA3 +Route121_EventScript_ItemZinc:: finditem ITEM_ZINC end -Route123_EventScript_ItemCalcium:: @ 8290FB0 +Route123_EventScript_ItemCalcium:: finditem ITEM_CALCIUM end -Route123_EventScript_ItemUltraBall:: @ 8290FBD +Route123_EventScript_ItemUltraBall:: finditem ITEM_ULTRA_BALL end -Route123_EventScript_ItemElixir:: @ 8290FCA +Route123_EventScript_ItemElixir:: finditem ITEM_ELIXIR end -Route123_EventScript_ItemPPUp:: @ 8290FD7 +Route123_EventScript_ItemPPUp:: finditem ITEM_PP_UP end -Route123_EventScript_ItemRevivalHerb:: @ 8290FE4 +Route123_EventScript_ItemRevivalHerb:: finditem ITEM_REVIVAL_HERB end -Route124_EventScript_ItemRedShard:: @ 8290FF1 +Route124_EventScript_ItemRedShard:: finditem ITEM_RED_SHARD end -Route124_EventScript_ItemBlueShard:: @ 8290FFE +Route124_EventScript_ItemBlueShard:: finditem ITEM_BLUE_SHARD end -Route124_EventScript_ItemYellowShard:: @ 829100B +Route124_EventScript_ItemYellowShard:: finditem ITEM_YELLOW_SHARD end -Route125_EventScript_ItemBigPearl:: @ 8291018 +Route125_EventScript_ItemBigPearl:: finditem ITEM_BIG_PEARL end -Route126_EventScript_ItemGreenShard:: @ 8291025 +Route126_EventScript_ItemGreenShard:: finditem ITEM_GREEN_SHARD end -Route127_EventScript_ItemZinc:: @ 8291032 +Route127_EventScript_ItemZinc:: finditem ITEM_ZINC end -Route127_EventScript_ItemCarbos:: @ 829103F +Route127_EventScript_ItemCarbos:: finditem ITEM_CARBOS end -Route127_EventScript_ItemRareCandy:: @ 829104C +Route127_EventScript_ItemRareCandy:: finditem ITEM_RARE_CANDY end -Route132_EventScript_ItemRareCandy:: @ 8291059 +Route132_EventScript_ItemRareCandy:: finditem ITEM_RARE_CANDY end -Route132_EventScript_ItemProtein:: @ 8291066 +Route132_EventScript_ItemProtein:: finditem ITEM_PROTEIN end -Route133_EventScript_ItemBigPearl:: @ 8291073 +Route133_EventScript_ItemBigPearl:: finditem ITEM_BIG_PEARL end -Route133_EventScript_ItemStarPiece:: @ 8291080 +Route133_EventScript_ItemStarPiece:: finditem ITEM_STAR_PIECE end -Route133_EventScript_ItemMaxRevive:: @ 829108D +Route133_EventScript_ItemMaxRevive:: finditem ITEM_MAX_REVIVE end -Route134_EventScript_ItemCarbos:: @ 829109A +Route134_EventScript_ItemCarbos:: finditem ITEM_CARBOS end -Route134_EventScript_ItemStarPiece:: @ 82910A7 +Route134_EventScript_ItemStarPiece:: finditem ITEM_STAR_PIECE end -PetalburgCity_EventScript_ItemMaxRevive:: @ 82910B4 +PetalburgCity_EventScript_ItemMaxRevive:: finditem ITEM_MAX_REVIVE end -PetalburgCity_EventScript_ItemEther:: @ 82910C1 +PetalburgCity_EventScript_ItemEther:: finditem ITEM_ETHER end -MauvilleCity_EventScript_ItemXSpeed:: @ 82910CE +MauvilleCity_EventScript_ItemXSpeed:: finditem ITEM_X_SPEED end -RustboroCity_EventScript_ItemXDefend:: @ 82910DB +RustboroCity_EventScript_ItemXDefend:: finditem ITEM_X_DEFEND end -LilycoveCity_EventScript_ItemMaxRepel:: @ 82910E8 +LilycoveCity_EventScript_ItemMaxRepel:: finditem ITEM_MAX_REPEL end -MossdeepCity_EventScript_ItemNetBall:: @ 82910F5 +MossdeepCity_EventScript_ItemNetBall:: finditem ITEM_NET_BALL end -PetalburgWoods_EventScript_ItemXAttack:: @ 8291102 +PetalburgWoods_EventScript_ItemXAttack:: finditem ITEM_X_ATTACK end -PetalburgWoods_EventScript_ItemGreatBall:: @ 829110F +PetalburgWoods_EventScript_ItemGreatBall:: finditem ITEM_GREAT_BALL end -PetalburgWoods_EventScript_ItemEther:: @ 829111C +PetalburgWoods_EventScript_ItemEther:: finditem ITEM_ETHER end -PetalburgWoods_EventScript_ItemParalyzeHeal:: @ 8291129 +PetalburgWoods_EventScript_ItemParalyzeHeal:: finditem ITEM_PARALYZE_HEAL end -RusturfTunnel_EventScript_ItemPokeBall:: @ 8291136 +RusturfTunnel_EventScript_ItemPokeBall:: finditem ITEM_POKE_BALL end -RusturfTunnel_EventScript_ItemMaxEther:: @ 8291143 +RusturfTunnel_EventScript_ItemMaxEther:: finditem ITEM_MAX_ETHER end -GraniteCave_1F_EventScript_ItemEscapeRope:: @ 8291150 +GraniteCave_1F_EventScript_ItemEscapeRope:: finditem ITEM_ESCAPE_ROPE end -GraniteCave_B1F_EventScript_ItemPokeBall:: @ 829115D +GraniteCave_B1F_EventScript_ItemPokeBall:: finditem ITEM_POKE_BALL end -GraniteCave_B2F_EventScript_ItemRepel:: @ 829116A +GraniteCave_B2F_EventScript_ItemRepel:: finditem ITEM_REPEL end -GraniteCave_B2F_EventScript_ItemRareCandy:: @ 8291177 +GraniteCave_B2F_EventScript_ItemRareCandy:: finditem ITEM_RARE_CANDY end -JaggedPass_EventScript_ItemBurnHeal:: @ 8291184 +JaggedPass_EventScript_ItemBurnHeal:: finditem ITEM_BURN_HEAL end -FieryPath_EventScript_ItemFireStone:: @ 8291191 +FieryPath_EventScript_ItemFireStone:: finditem ITEM_FIRE_STONE end -FieryPath_EventScript_ItemTM06:: @ 829119E +FieryPath_EventScript_ItemTM06:: finditem ITEM_TM06 end -MeteorFalls_1F_1R_EventScript_ItemTM23:: @ 82911AB +MeteorFalls_1F_1R_EventScript_ItemTM23:: finditem ITEM_TM23 end -MeteorFalls_1F_1R_EventScript_ItemFullHeal:: @ 82911B8 +MeteorFalls_1F_1R_EventScript_ItemFullHeal:: finditem ITEM_FULL_HEAL end -MeteorFalls_1F_1R_EventScript_ItemMoonStone:: @ 82911C5 +MeteorFalls_1F_1R_EventScript_ItemMoonStone:: finditem ITEM_MOON_STONE end -MeteorFalls_1F_1R_EventScript_ItemPPUP:: @ 82911D2 +MeteorFalls_1F_1R_EventScript_ItemPPUP:: finditem ITEM_PP_UP end -MeteorFalls_B1F_2R_EventScript_ItemTM02:: @ 82911DF +MeteorFalls_B1F_2R_EventScript_ItemTM02:: finditem ITEM_TM02 end -NewMauville_Inside_EventScript_ItemUltraBall:: @ 82911EC +NewMauville_Inside_EventScript_ItemUltraBall:: finditem ITEM_ULTRA_BALL end -NewMauville_Inside_EventScript_ItemEscapeRope:: @ 82911F9 +NewMauville_Inside_EventScript_ItemEscapeRope:: finditem ITEM_ESCAPE_ROPE end -NewMauville_Inside_EventScript_ItemThunderStone:: @ 8291206 +NewMauville_Inside_EventScript_ItemThunderStone:: finditem ITEM_THUNDER_STONE end -NewMauville_Inside_EventScript_ItemFullHeal:: @ 8291213 +NewMauville_Inside_EventScript_ItemFullHeal:: finditem ITEM_FULL_HEAL end -NewMauville_Inside_EventScript_ItemParalyzeHeal:: @ 8291220 +NewMauville_Inside_EventScript_ItemParalyzeHeal:: finditem ITEM_PARALYZE_HEAL end -AbandonedShip_Rooms_1F_EventScript_ItemHarborMail:: @ 829122D +AbandonedShip_Rooms_1F_EventScript_ItemHarborMail:: finditem ITEM_HARBOR_MAIL end -AbandonedShip_Rooms_B1F_EventScript_ItemEscapeRope:: @ 829123A +AbandonedShip_Rooms_B1F_EventScript_ItemEscapeRope:: finditem ITEM_ESCAPE_ROPE end -AbandonedShip_Rooms2_B1F_EventScript_ItemDiveBall:: @ 8291247 +AbandonedShip_Rooms2_B1F_EventScript_ItemDiveBall:: finditem ITEM_DIVE_BALL end -AbandonedShip_Room_B1F_EventScript_ItemTM13:: @ 8291254 +AbandonedShip_Room_B1F_EventScript_ItemTM13:: finditem ITEM_TM13 end -AbandonedShip_Rooms2_1F_EventScript_ItemRevive:: @ 8291261 +AbandonedShip_Rooms2_1F_EventScript_ItemRevive:: finditem ITEM_REVIVE end -AbandonedShip_CaptainsOffice_EventScript_ItemStorageKey:: @ 829126E +AbandonedShip_CaptainsOffice_EventScript_ItemStorageKey:: finditem ITEM_STORAGE_KEY end -AbandonedShip_HiddenFloorRooms_EventScript_ItemLuxuryBall:: @ 829127B +AbandonedShip_HiddenFloorRooms_EventScript_ItemLuxuryBall:: finditem ITEM_LUXURY_BALL end -AbandonedShip_HiddenFloorRooms_EventScript_ItemScanner:: @ 8291288 +AbandonedShip_HiddenFloorRooms_EventScript_ItemScanner:: finditem ITEM_SCANNER end -AbandonedShip_HiddenFloorRooms_EventScript_ItemWaterStone:: @ 8291295 +AbandonedShip_HiddenFloorRooms_EventScript_ItemWaterStone:: finditem ITEM_WATER_STONE end -AbandonedShip_HiddenFloorRooms_EventScript_ItemTM18:: @ 82912A2 +AbandonedShip_HiddenFloorRooms_EventScript_ItemTM18:: finditem ITEM_TM18 end -ScorchedSlab_EventScript_ItemTM11:: @ 82912AF +ScorchedSlab_EventScript_ItemTM11:: finditem ITEM_TM11 end -SafariZone_Northwest_EventScript_ItemTM22:: @ 82912BC +SafariZone_Northwest_EventScript_ItemTM22:: finditem ITEM_TM22 end -SafariZone_North_EventScript_ItemCalcium:: @ 82912C9 +SafariZone_North_EventScript_ItemCalcium:: finditem ITEM_CALCIUM end -SafariZone_Southwest_EventScript_ItemMaxRevive:: @ 82912D6 +SafariZone_Southwest_EventScript_ItemMaxRevive:: finditem ITEM_MAX_REVIVE end -SafariZone_Northeast_EventScript_ItemNugget:: @ 82912E3 +SafariZone_Northeast_EventScript_ItemNugget:: finditem ITEM_NUGGET end -SafariZone_Southeast_EventScript_ItemBigPearl:: @ 82912F0 +SafariZone_Southeast_EventScript_ItemBigPearl:: finditem ITEM_BIG_PEARL end -MtPyre_2F_EventScript_ItemUltraBall:: @ 82912FD +MtPyre_2F_EventScript_ItemUltraBall:: finditem ITEM_ULTRA_BALL end -MtPyre_3F_EventScript_ItemSuperRepel:: @ 829130A +MtPyre_3F_EventScript_ItemSuperRepel:: finditem ITEM_SUPER_REPEL end -MtPyre_4F_EventScript_ItemSeaIncense:: @ 8291317 +MtPyre_4F_EventScript_ItemSeaIncense:: finditem ITEM_SEA_INCENSE end -MtPyre_5F_EventScript_ItemLaxIncense:: @ 8291324 +MtPyre_5F_EventScript_ItemLaxIncense:: finditem ITEM_LAX_INCENSE end -MtPyre_6F_EventScript_ItemTM30:: @ 8291331 +MtPyre_6F_EventScript_ItemTM30:: finditem ITEM_TM30 end -MtPyre_Exterior_EventScript_ItemMaxPotion:: @ 829133E +MtPyre_Exterior_EventScript_ItemMaxPotion:: finditem ITEM_MAX_POTION end -MtPyre_Exterior_EventScript_ItemTM48:: @ 829134B +MtPyre_Exterior_EventScript_ItemTM48:: finditem ITEM_TM48 end -AquaHideout_B1F_EventScript_ItemMasterBall:: @ 8291358 +AquaHideout_B1F_EventScript_ItemMasterBall:: finditem ITEM_MASTER_BALL end -AquaHideout_B1F_EventScript_ItemNugget:: @ 8291365 +AquaHideout_B1F_EventScript_ItemNugget:: finditem ITEM_NUGGET end -AquaHideout_B1F_EventScript_ItemMaxElixir:: @ 8291372 +AquaHideout_B1F_EventScript_ItemMaxElixir:: finditem ITEM_MAX_ELIXIR end -AquaHideout_B2F_EventScript_ItemNestBall:: @ 829137F +AquaHideout_B2F_EventScript_ItemNestBall:: finditem ITEM_NEST_BALL end -AquaHideout_B2F_EventScript_ItemMasterBall:: @ 829138C +AquaHideout_B2F_EventScript_ItemMasterBall:: finditem ITEM_MASTER_BALL // Unused end -Route119_EventScript_ItemNugget:: @ 8291399 +Route119_EventScript_ItemNugget:: finditem ITEM_NUGGET end -Route119_EventScript_ItemMaxElixir:: @ 82913A6 +Route119_EventScript_ItemMaxElixir:: finditem ITEM_MAX_ELIXIR end -Route119_EventScript_ItemNestBall:: @ 82913B3 +Route119_EventScript_ItemNestBall:: finditem ITEM_NEST_BALL end -ShoalCave_LowTideEntranceRoom_EventScript_ItemBigPearl:: @ 82913C0 +ShoalCave_LowTideEntranceRoom_EventScript_ItemBigPearl:: finditem ITEM_BIG_PEARL end -ShoalCave_LowTideInnerRoom_EventScript_ItemRareCandy:: @ 82913CD +ShoalCave_LowTideInnerRoom_EventScript_ItemRareCandy:: finditem ITEM_RARE_CANDY end -ShoalCave_LowTideStairsRoom_EventScript_ItemIceHeal:: @ 82913DA +ShoalCave_LowTideStairsRoom_EventScript_ItemIceHeal:: finditem ITEM_ICE_HEAL end -ShoalCave_LowTideIceRoom_EventScript_ItemTM07:: @ 82913E7 +ShoalCave_LowTideIceRoom_EventScript_ItemTM07:: finditem ITEM_TM07 end -ShoalCave_LowTideIceRoom_EventScript_ItemNeverMeltIce:: @ 82913F4 +ShoalCave_LowTideIceRoom_EventScript_ItemNeverMeltIce:: finditem ITEM_NEVER_MELT_ICE end -SeafloorCavern_Room9_EventScript_ItemTM26:: @ 8291401 +SeafloorCavern_Room9_EventScript_ItemTM26:: finditem ITEM_TM26 end -Route110_TrickHousePuzzle1_EventScript_ItemOrangeMail:: @ 829140E +Route110_TrickHousePuzzle1_EventScript_ItemOrangeMail:: finditem ITEM_ORANGE_MAIL end -Route110_TrickHousePuzzle2_EventScript_ItemHarborMail:: @ 829141B +Route110_TrickHousePuzzle2_EventScript_ItemHarborMail:: finditem ITEM_HARBOR_MAIL end -Route110_TrickHousePuzzle2_EventScript_ItemWaveMail:: @ 8291428 +Route110_TrickHousePuzzle2_EventScript_ItemWaveMail:: finditem ITEM_WAVE_MAIL end -Route110_TrickHousePuzzle3_EventScript_ItemShadowMail:: @ 8291435 +Route110_TrickHousePuzzle3_EventScript_ItemShadowMail:: finditem ITEM_SHADOW_MAIL end -Route110_TrickHousePuzzle3_EventScript_ItemWoodMail:: @ 8291442 +Route110_TrickHousePuzzle3_EventScript_ItemWoodMail:: finditem ITEM_WOOD_MAIL end -Route110_TrickHousePuzzle4_EventScript_ItemMechMail:: @ 829144F +Route110_TrickHousePuzzle4_EventScript_ItemMechMail:: finditem ITEM_MECH_MAIL end -Route110_TrickHousePuzzle6_EventScript_ItemGlitterMail:: @ 829145C +Route110_TrickHousePuzzle6_EventScript_ItemGlitterMail:: finditem ITEM_GLITTER_MAIL end -Route110_TrickHousePuzzle7_EventScript_ItemTropicMail:: @ 8291469 +Route110_TrickHousePuzzle7_EventScript_ItemTropicMail:: finditem ITEM_TROPIC_MAIL end -Route110_TrickHousePuzzle8_EventScript_ItemBeadMail:: @ 8291476 +Route110_TrickHousePuzzle8_EventScript_ItemBeadMail:: finditem ITEM_BEAD_MAIL end -VictoryRoad_1F_EventScript_ItemMaxElixir:: @ 8291483 +VictoryRoad_1F_EventScript_ItemMaxElixir:: finditem ITEM_MAX_ELIXIR end -VictoryRoad_1F_EventScript_ItemPPUp:: @ 8291490 +VictoryRoad_1F_EventScript_ItemPPUp:: finditem ITEM_PP_UP end -VictoryRoad_B1F_EventScript_ItemTM29:: @ 829149D +VictoryRoad_B1F_EventScript_ItemTM29:: finditem ITEM_TM29 end -VictoryRoad_B1F_EventScript_ItemFullRestore:: @ 82914AA +VictoryRoad_B1F_EventScript_ItemFullRestore:: finditem ITEM_FULL_RESTORE end -VictoryRoad_B2F_EventScript_ItemFullHeal:: @ 82914B7 +VictoryRoad_B2F_EventScript_ItemFullHeal:: finditem ITEM_FULL_HEAL end -ArtisanCave_B1F_EventScript_ItemHPUp:: @ 82914C4 +ArtisanCave_B1F_EventScript_ItemHPUp:: finditem ITEM_HP_UP end -ArtisanCave_1F_EventScript_ItemCarbos:: @ 82914D1 +ArtisanCave_1F_EventScript_ItemCarbos:: finditem ITEM_CARBOS end -MagmaHideout_1F_EventScript_ItemRareCandy:: @ 82914DE +MagmaHideout_1F_EventScript_ItemRareCandy:: finditem ITEM_RARE_CANDY end -MagmaHideout_2F_2R_EventScript_ItemMaxElixir:: @ 82914EB +MagmaHideout_2F_2R_EventScript_ItemMaxElixir:: finditem ITEM_MAX_ELIXIR end -MagmaHideout_2F_2R_EventScript_ItemFullRestore:: @ 82914F8 +MagmaHideout_2F_2R_EventScript_ItemFullRestore:: finditem ITEM_FULL_RESTORE end -MagmaHideout_3F_1R_EventScript_ItemNugget:: @ 8291505 +MagmaHideout_3F_1R_EventScript_ItemNugget:: finditem ITEM_NUGGET end -MagmaHideout_3F_2R_EventScript_ItemPPMax:: @ 8291512 +MagmaHideout_3F_2R_EventScript_ItemPPMax:: finditem ITEM_PP_MAX end -MagmaHideout_4F_EventScript_ItemMaxRevive:: @ 829151F +MagmaHideout_4F_EventScript_ItemMaxRevive:: finditem ITEM_MAX_REVIVE end -MagmaHideout_3F_3R_EventScript_ItemEscapeRope:: @ 829152C +MagmaHideout_3F_3R_EventScript_ItemEscapeRope:: finditem ITEM_ESCAPE_ROPE end diff --git a/data/scripts/kecleon.inc b/data/scripts/kecleon.inc index 659cd027b..414217499 100644 --- a/data/scripts/kecleon.inc +++ b/data/scripts/kecleon.inc @@ -1,53 +1,53 @@ -Route120_EventScript_Kecleon1:: @ 82722DB +Route120_EventScript_Kecleon1:: lock faceplayer setvar VAR_0x8009, 1 goto EventScript_Kecleon end -Route120_EventScript_Kecleon2:: @ 82722E8 +Route120_EventScript_Kecleon2:: lock faceplayer setvar VAR_0x8009, 2 goto EventScript_Kecleon end -Route120_EventScript_Kecleon3:: @ 82722F5 +Route120_EventScript_Kecleon3:: lock faceplayer setvar VAR_0x8009, 3 goto EventScript_Kecleon end -Route120_EventScript_Kecleon4:: @ 8272302 +Route120_EventScript_Kecleon4:: lock faceplayer setvar VAR_0x8009, 4 goto EventScript_Kecleon end -Route120_EventScript_Kecleon5:: @ 827230F +Route120_EventScript_Kecleon5:: lock faceplayer setvar VAR_0x8009, 5 goto EventScript_Kecleon end -Route119_EventScript_Kecleon1:: @ 827231C +Route119_EventScript_Kecleon1:: lock faceplayer setvar VAR_0x8009, 6 goto EventScript_Kecleon end -Route119_EventScript_Kecleon2:: @ 8272329 +Route119_EventScript_Kecleon2:: lock faceplayer setvar VAR_0x8009, 7 goto EventScript_Kecleon end -EventScript_Kecleon:: @ 8272336 +EventScript_Kecleon:: checkitem ITEM_DEVON_SCOPE, 1 compare VAR_RESULT, 1 goto_if_eq EventScript_AskUseDevonScope @@ -55,14 +55,14 @@ EventScript_Kecleon:: @ 8272336 release end -EventScript_AskUseDevonScope:: @ 8272350 +EventScript_AskUseDevonScope:: msgbox Kecleon_Text_WantToUseDevonScope, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq EventScript_BattleKecleon release end -EventScript_BattleKecleon:: @ 8272365 +EventScript_BattleKecleon:: msgbox Kecleon_Text_UseDevonScopeMonAttacked, MSGBOX_DEFAULT closemessage applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer @@ -87,11 +87,11 @@ EventScript_BattleKecleon:: @ 8272365 release end -EventScript_RemoveKecleon:: @ 82723C1 +EventScript_RemoveKecleon:: goto Common_EventScript_RemoveStaticPokemon end -Movement_KecleonAppears: @ 82723C7 +Movement_KecleonAppears: set_visible delay_4 set_invisible diff --git a/data/scripts/lilycove_lady.inc b/data/scripts/lilycove_lady.inc index 40ead8e58..137af8752 100644 --- a/data/scripts/lilycove_lady.inc +++ b/data/scripts/lilycove_lady.inc @@ -1,7 +1,7 @@ .set LOCALID_LILYCOVE_LADY, 4 .set LOCALID_LADYS_MON, 5 -LilycoveCity_PokemonCenter_1F_EventScript_LilycoveLady:: @ 82A836B +LilycoveCity_PokemonCenter_1F_EventScript_LilycoveLady:: special Script_GetLilycoveLadyId switch VAR_RESULT case LILYCOVE_LADY_QUIZ, LilycoveCity_PokemonCenter_1F_EventScript_QuizLady @@ -9,7 +9,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_LilycoveLady:: @ 82A836B case LILYCOVE_LADY_CONTEST, LilycoveCity_PokemonCenter_1F_EventScript_ContestLady end -LilycoveCity_PokemonCenter_1F_EventScript_FavorLady:: @ 82A8395 +LilycoveCity_PokemonCenter_1F_EventScript_FavorLady:: lock faceplayer msgbox LilycoveCity_PokemonCenter_1F_Text_ImTheFavorLady, MSGBOX_DEFAULT @@ -22,12 +22,12 @@ LilycoveCity_PokemonCenter_1F_EventScript_FavorLady:: @ 82A8395 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyPrize end -LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyCompleted:: @ 82A83C6 +LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyCompleted:: msgbox LilycoveCity_PokemonCenter_1F_Text_ThankYouForLastTime, MSGBOX_DEFAULT release end -LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyReady:: @ 82A83D0 +LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyReady:: special BufferFavorLadyRequest msgbox LilycoveCity_PokemonCenter_1F_Text_ObsessedWithThing, MSGBOX_DEFAULT specialvar VAR_RESULT, HasAnotherPlayerGivenFavorLadyItem @@ -37,7 +37,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyReady:: @ 82A83D0 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_TellAboutPlayersItem end -LilycoveCity_PokemonCenter_1F_EventScript_TellAboutPlayersItem:: @ 82A83F7 +LilycoveCity_PokemonCenter_1F_EventScript_TellAboutPlayersItem:: special BufferFavorLadyItemName special BufferFavorLadyPlayerName specialvar VAR_RESULT, DidFavorLadyLikeItem @@ -47,17 +47,17 @@ LilycoveCity_PokemonCenter_1F_EventScript_TellAboutPlayersItem:: @ 82A83F7 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_PlayerGaveGreatThing end -LilycoveCity_PokemonCenter_1F_EventScript_PlayerGaveBadThing:: @ 82A8419 +LilycoveCity_PokemonCenter_1F_EventScript_PlayerGaveBadThing:: msgbox LilycoveCity_PokemonCenter_1F_Text_PlayerGaveMeBadThing, MSGBOX_DEFAULT goto LilycoveCity_PokemonCenter_1F_EventScript_RequestItem end -LilycoveCity_PokemonCenter_1F_EventScript_PlayerGaveGreatThing:: @ 82A8427 +LilycoveCity_PokemonCenter_1F_EventScript_PlayerGaveGreatThing:: msgbox LilycoveCity_PokemonCenter_1F_Text_PlayerGaveMeGreatThing, MSGBOX_DEFAULT goto LilycoveCity_PokemonCenter_1F_EventScript_RequestItem end -LilycoveCity_PokemonCenter_1F_EventScript_RequestItem:: @ 82A8435 +LilycoveCity_PokemonCenter_1F_EventScript_RequestItem:: msgbox LilycoveCity_PokemonCenter_1F_Text_WillYouShareThing, MSGBOX_YESNO compare VAR_RESULT, NO goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_DeclineFavor @@ -65,17 +65,17 @@ LilycoveCity_PokemonCenter_1F_EventScript_RequestItem:: @ 82A8435 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_AcceptFavor end -LilycoveCity_PokemonCenter_1F_EventScript_DeclineFavor:: @ 82A8454 +LilycoveCity_PokemonCenter_1F_EventScript_DeclineFavor:: msgbox LilycoveCity_PokemonCenter_1F_Text_IsThatSoGoodbye, MSGBOX_DEFAULT release end -LilycoveCity_PokemonCenter_1F_EventScript_AcceptFavor:: @ 82A845E +LilycoveCity_PokemonCenter_1F_EventScript_AcceptFavor:: msgbox LilycoveCity_PokemonCenter_1F_Text_WhatWillYouGiveMe, MSGBOX_DEFAULT goto LilycoveCity_PokemonCenter_1F_EventScript_ChooseFavorItem end -LilycoveCity_PokemonCenter_1F_EventScript_ChooseFavorItem:: @ 82A846C +LilycoveCity_PokemonCenter_1F_EventScript_ChooseFavorItem:: fadescreen FADE_TO_BLACK setvar VAR_RESULT, 0 special Script_FavorLadyOpenBagMenu @@ -86,7 +86,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_ChooseFavorItem:: @ 82A846C goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_GiveFavorItem end -LilycoveCity_PokemonCenter_1F_EventScript_AskQuitChooseFavorItem:: @ 82A848E +LilycoveCity_PokemonCenter_1F_EventScript_AskQuitChooseFavorItem:: msgbox LilycoveCity_PokemonCenter_1F_Text_NotWillingToShare, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_DeclineFavor @@ -94,7 +94,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_AskQuitChooseFavorItem:: @ 82A848E goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_ChooseFavorItem end -LilycoveCity_PokemonCenter_1F_EventScript_GiveFavorItem:: @ 82A84AD +LilycoveCity_PokemonCenter_1F_EventScript_GiveFavorItem:: specialvar VAR_RESULT, Script_DoesFavorLadyLikeItem compare VAR_RESULT, FALSE goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_DidntLikeFavorItem @@ -102,13 +102,13 @@ LilycoveCity_PokemonCenter_1F_EventScript_GiveFavorItem:: @ 82A84AD goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_CheckLovedItem end -LilycoveCity_PokemonCenter_1F_EventScript_DidntLikeFavorItem:: @ 82A84C9 +LilycoveCity_PokemonCenter_1F_EventScript_DidntLikeFavorItem:: special BufferFavorLadyRequest msgbox LilycoveCity_PokemonCenter_1F_Text_IllTryToCherishIt, MSGBOX_DEFAULT release end -LilycoveCity_PokemonCenter_1F_EventScript_CheckLovedItem:: @ 82A84D6 +LilycoveCity_PokemonCenter_1F_EventScript_CheckLovedItem:: specialvar VAR_RESULT, IsFavorLadyThresholdMet compare VAR_RESULT, FALSE goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_LikedFavorItem @@ -116,19 +116,19 @@ LilycoveCity_PokemonCenter_1F_EventScript_CheckLovedItem:: @ 82A84D6 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_LovedFavorItem end -LilycoveCity_PokemonCenter_1F_EventScript_LikedFavorItem:: @ 82A84F2 +LilycoveCity_PokemonCenter_1F_EventScript_LikedFavorItem:: special BufferFavorLadyRequest msgbox LilycoveCity_PokemonCenter_1F_Text_IWillCherishThis, MSGBOX_DEFAULT release end -LilycoveCity_PokemonCenter_1F_EventScript_LovedFavorItem:: @ 82A84FF +LilycoveCity_PokemonCenter_1F_EventScript_LovedFavorItem:: special BufferFavorLadyRequest msgbox LilycoveCity_PokemonCenter_1F_Text_IWillTreasureThis, MSGBOX_DEFAULT goto LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyPrize end -LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyPrize:: @ 82A8510 +LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyPrize:: setvar VAR_0x8004, 0 specialvar VAR_0x8004, FavorLadyGetPrize msgbox LilycoveCity_PokemonCenter_1F_Text_IllGiveYouThisInReturn, MSGBOX_DEFAULT @@ -139,17 +139,17 @@ LilycoveCity_PokemonCenter_1F_EventScript_FavorLadyPrize:: @ 82A8510 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_ReceivedFavorPrize end -LilycoveCity_PokemonCenter_1F_EventScript_NoRoomForFavorPrize:: @ 82A8545 +LilycoveCity_PokemonCenter_1F_EventScript_NoRoomForFavorPrize:: msgbox LilycoveCity_PokemonCenter_1F_Text_YouDontHaveSpaceForIt, MSGBOX_DEFAULT release end -LilycoveCity_PokemonCenter_1F_EventScript_ReceivedFavorPrize:: @ 82A854F +LilycoveCity_PokemonCenter_1F_EventScript_ReceivedFavorPrize:: special SetFavorLadyState_Complete release end -LilycoveCity_PokemonCenter_1F_EventScript_QuizLady:: @ 82A8554 +LilycoveCity_PokemonCenter_1F_EventScript_QuizLady:: lock faceplayer msgbox LilycoveCity_PokemonCenter_1F_Text_ImTheQuizLady, MSGBOX_DEFAULT @@ -162,7 +162,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_QuizLady:: @ 82A8554 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_ReadyGivePrize end -LilycoveCity_PokemonCenter_1F_EventScript_HasQuiz:: @ 82A8585 +LilycoveCity_PokemonCenter_1F_EventScript_HasQuiz:: specialvar VAR_RESULT, GetQuizAuthor compare VAR_RESULT, QUIZ_AUTHOR_PLAYER goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_WaitingToTakeYourQuiz @@ -172,7 +172,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_HasQuiz:: @ 82A8585 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_LadyQuizReady end -LilycoveCity_PokemonCenter_1F_EventScript_CheckMadeQuiz:: @ 82A85AC +LilycoveCity_PokemonCenter_1F_EventScript_CheckMadeQuiz:: specialvar VAR_RESULT, IsQuizLadyWaitingForChallenger compare VAR_RESULT, FALSE goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_AskMakeQuiz @@ -180,22 +180,22 @@ LilycoveCity_PokemonCenter_1F_EventScript_CheckMadeQuiz:: @ 82A85AC goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_WaitingToTakeYourQuiz end -LilycoveCity_PokemonCenter_1F_EventScript_WaitingToTakeYourQuiz:: @ 82A85C8 +LilycoveCity_PokemonCenter_1F_EventScript_WaitingToTakeYourQuiz:: msgbox LilycoveCity_PokemonCenter_1F_Text_WaitingToTakeYourQuiz, MSGBOX_DEFAULT release end -LilycoveCity_PokemonCenter_1F_EventScript_PlayerQuizReady:: @ 82A85D2 +LilycoveCity_PokemonCenter_1F_EventScript_PlayerQuizReady:: msgbox LilycoveCity_PokemonCenter_1F_Text_WaitingForChallenger, MSGBOX_DEFAULT goto LilycoveCity_PokemonCenter_1F_EventScript_AskTakeQuiz end -LilycoveCity_PokemonCenter_1F_EventScript_LadyQuizReady:: @ 82A85E0 +LilycoveCity_PokemonCenter_1F_EventScript_LadyQuizReady:: msgbox LilycoveCity_PokemonCenter_1F_Text_WaitingForChallenger, MSGBOX_DEFAULT goto LilycoveCity_PokemonCenter_1F_EventScript_AskTakeQuiz end -LilycoveCity_PokemonCenter_1F_EventScript_AskTakeQuiz:: @ 82A85EE +LilycoveCity_PokemonCenter_1F_EventScript_AskTakeQuiz:: setvar VAR_0x8004, 0 msgbox LilycoveCity_PokemonCenter_1F_Text_TakeQuizChallenge, MSGBOX_YESNO compare VAR_RESULT, YES @@ -204,38 +204,38 @@ LilycoveCity_PokemonCenter_1F_EventScript_AskTakeQuiz:: @ 82A85EE goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_DeclineQuiz end -LilycoveCity_PokemonCenter_1F_EventScript_DeclineQuiz:: @ 82A8612 +LilycoveCity_PokemonCenter_1F_EventScript_DeclineQuiz:: msgbox LilycoveCity_PokemonCenter_1F_Text_HowBoringBye, MSGBOX_DEFAULT release end -LilycoveCity_PokemonCenter_1F_EventScript_TakeQuiz:: @ 82A861C +LilycoveCity_PokemonCenter_1F_EventScript_TakeQuiz:: special ClearQuizLadyPlayerAnswer compare VAR_0x8004, 0 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_ShowQuestion compare VAR_0x8004, EASY_CHAT_TYPE_QUIZ_ANSWER goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_GetAnswer -LilycoveCity_PokemonCenter_1F_EventScript_CheckQuizTakingState:: @ 82A8635 +LilycoveCity_PokemonCenter_1F_EventScript_CheckQuizTakingState:: compare VAR_RESULT, 0 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_AskQuitQuiz compare VAR_RESULT, 1 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_SubmitQuizResponse end -LilycoveCity_PokemonCenter_1F_EventScript_ShowQuestion:: @ 82A864C +LilycoveCity_PokemonCenter_1F_EventScript_ShowQuestion:: special QuizLadyShowQuizQuestion waitstate goto LilycoveCity_PokemonCenter_1F_EventScript_CheckQuizTakingState end -LilycoveCity_PokemonCenter_1F_EventScript_GetAnswer:: @ 82A8656 +LilycoveCity_PokemonCenter_1F_EventScript_GetAnswer:: special QuizLadyGetPlayerAnswer waitstate goto LilycoveCity_PokemonCenter_1F_EventScript_CheckQuizTakingState end -LilycoveCity_PokemonCenter_1F_EventScript_AskQuitQuiz:: @ 82A8660 +LilycoveCity_PokemonCenter_1F_EventScript_AskQuitQuiz:: msgbox LilycoveCity_PokemonCenter_1F_Text_YoureGoingToQuit, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_QuitTakingQuiz @@ -243,12 +243,12 @@ LilycoveCity_PokemonCenter_1F_EventScript_AskQuitQuiz:: @ 82A8660 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_TakeQuiz end -LilycoveCity_PokemonCenter_1F_EventScript_QuitTakingQuiz:: @ 82A867F +LilycoveCity_PokemonCenter_1F_EventScript_QuitTakingQuiz:: msgbox LilycoveCity_PokemonCenter_1F_Text_TakeTheQuizAnotherTime, MSGBOX_DEFAULT release end -LilycoveCity_PokemonCenter_1F_EventScript_SubmitQuizResponse:: @ 82A8689 +LilycoveCity_PokemonCenter_1F_EventScript_SubmitQuizResponse:: special SetQuizLadyState_Complete msgbox LilycoveCity_PokemonCenter_1F_Text_WaitForAnswer, MSGBOX_DEFAULT specialvar VAR_RESULT, IsQuizAnswerCorrect @@ -258,7 +258,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_SubmitQuizResponse:: @ 82A8689 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_CorrectResponse end -LilycoveCity_PokemonCenter_1F_EventScript_CorrectResponse:: @ 82A86B0 +LilycoveCity_PokemonCenter_1F_EventScript_CorrectResponse:: playse SE_SUCCESS delay 10 playse SE_SUCCESS @@ -266,7 +266,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_CorrectResponse:: @ 82A86B0 goto LilycoveCity_PokemonCenter_1F_EventScript_ReadyGivePrize end -LilycoveCity_PokemonCenter_1F_EventScript_IncorrectResponse:: @ 82A86C7 +LilycoveCity_PokemonCenter_1F_EventScript_IncorrectResponse:: special BufferQuizCorrectAnswer special BufferQuizPrizeName playse SE_FAILURE @@ -278,7 +278,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_IncorrectResponse:: @ 82A86C7 end @ VAR_RESULT is essentially ignored, both jumps are identical -LilycoveCity_PokemonCenter_1F_EventScript_ReadyGivePrize:: @ 82A86EC +LilycoveCity_PokemonCenter_1F_EventScript_ReadyGivePrize:: specialvar VAR_RESULT, BufferQuizAuthorNameAndCheckIfLady compare VAR_RESULT, 1 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_GivePrize1 @@ -286,17 +286,17 @@ LilycoveCity_PokemonCenter_1F_EventScript_ReadyGivePrize:: @ 82A86EC goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_GivePrize0 end -LilycoveCity_PokemonCenter_1F_EventScript_GivePrize1:: @ 82A8708 +LilycoveCity_PokemonCenter_1F_EventScript_GivePrize1:: msgbox LilycoveCity_PokemonCenter_1F_Text_YouGotItRightYouveWonPersonsPrize, MSGBOX_DEFAULT goto LilycoveCity_PokemonCenter_1F_EventScript_GivePrize end -LilycoveCity_PokemonCenter_1F_EventScript_GivePrize0:: @ 82A8716 +LilycoveCity_PokemonCenter_1F_EventScript_GivePrize0:: msgbox LilycoveCity_PokemonCenter_1F_Text_YouGotItRightYouveWonPersonsPrize, MSGBOX_DEFAULT goto LilycoveCity_PokemonCenter_1F_EventScript_GivePrize end -LilycoveCity_PokemonCenter_1F_EventScript_GivePrize:: @ 82A8724 +LilycoveCity_PokemonCenter_1F_EventScript_GivePrize:: setvar VAR_0x8005, 0 special BufferQuizPrizeItem special SetQuizLadyState_Complete @@ -306,13 +306,13 @@ LilycoveCity_PokemonCenter_1F_EventScript_GivePrize:: @ 82A8724 goto LilycoveCity_PokemonCenter_1F_EventScript_AskMakeQuiz end -LilycoveCity_PokemonCenter_1F_EventScript_NoSpaceForQuizPrize:: @ 82A874C +LilycoveCity_PokemonCenter_1F_EventScript_NoSpaceForQuizPrize:: msgbox LilycoveCity_PokemonCenter_1F_Text_YourBagIsFilledUp, MSGBOX_DEFAULT special SetQuizLadyState_GivePrize release end -LilycoveCity_PokemonCenter_1F_EventScript_AskMakeQuiz:: @ 82A8759 +LilycoveCity_PokemonCenter_1F_EventScript_AskMakeQuiz:: msgbox LilycoveCity_PokemonCenter_1F_Text_MakeYourOwnQuiz, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_MakeQuiz @@ -320,15 +320,15 @@ LilycoveCity_PokemonCenter_1F_EventScript_AskMakeQuiz:: @ 82A8759 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_DeclineMakeQuiz end -LilycoveCity_PokemonCenter_1F_EventScript_DeclineMakeQuiz:: @ 82A8778 +LilycoveCity_PokemonCenter_1F_EventScript_DeclineMakeQuiz:: special QuizLadyPickNewQuestion msgbox LilycoveCity_PokemonCenter_1F_Text_MaybeNextTime, MSGBOX_DEFAULT release end -LilycoveCity_PokemonCenter_1F_EventScript_MakeQuiz:: @ 82A8785 +LilycoveCity_PokemonCenter_1F_EventScript_MakeQuiz:: msgbox LilycoveCity_PokemonCenter_1F_Text_PickYourPrize, MSGBOX_DEFAULT -LilycoveCity_PokemonCenter_1F_EventScript_PickPrize:: @ 82A878D +LilycoveCity_PokemonCenter_1F_EventScript_PickPrize:: fadescreen FADE_TO_BLACK setvar VAR_RESULT, 0 special Script_QuizLadyOpenBagMenu @@ -339,7 +339,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_PickPrize:: @ 82A878D goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_WriteQuiz end -LilycoveCity_PokemonCenter_1F_EventScript_AskQuitChoosingPrize:: @ 82A87AF +LilycoveCity_PokemonCenter_1F_EventScript_AskQuitChoosingPrize:: msgbox LilycoveCity_PokemonCenter_1F_Text_QuitChoosingPrize, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_DeclineMakeQuiz @@ -347,12 +347,12 @@ LilycoveCity_PokemonCenter_1F_EventScript_AskQuitChoosingPrize:: @ 82A87AF goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_PickPrize end -LilycoveCity_PokemonCenter_1F_EventScript_WriteQuiz:: @ 82A87CE +LilycoveCity_PokemonCenter_1F_EventScript_WriteQuiz:: msgbox LilycoveCity_PokemonCenter_1F_Text_WriteYourQuiz, MSGBOX_DEFAULT special ClearQuizLadyQuestionAndAnswer special ClearQuizLadyPlayerAnswer setvar VAR_0x8004, EASY_CHAT_TYPE_QUIZ_QUESTION -LilycoveCity_PokemonCenter_1F_EventScript_WriteQuizQuestion:: @ 82A87E1 +LilycoveCity_PokemonCenter_1F_EventScript_WriteQuizQuestion:: fadescreen FADE_TO_BLACK special QuizLadySetCustomQuestion waitstate @@ -361,7 +361,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_WriteQuizQuestion:: @ 82A87E1 goto LilycoveCity_PokemonCenter_1F_EventScript_FinishMakingQuiz end -LilycoveCity_PokemonCenter_1F_EventScript_AskQuitWritingQuizQuestion:: @ 82A87F8 +LilycoveCity_PokemonCenter_1F_EventScript_AskQuitWritingQuizQuestion:: msgbox LilycoveCity_PokemonCenter_1F_Text_QuitWritingQuizQuestion, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_DeclineMakeQuiz @@ -369,7 +369,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_AskQuitWritingQuizQuestion:: @ 82A87F8 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_WriteQuizQuestion end -LilycoveCity_PokemonCenter_1F_EventScript_FinishMakingQuiz:: @ 82A8817 +LilycoveCity_PokemonCenter_1F_EventScript_FinishMakingQuiz:: special QuizLadyTakePrizeForCustomQuiz special QuizLadyRecordCustomQuizData special QuizLadySetWaitingForChallenger @@ -377,7 +377,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_FinishMakingQuiz:: @ 82A8817 release end -LilycoveCity_PokemonCenter_1F_EventScript_ContestLady:: @ 82A882A +LilycoveCity_PokemonCenter_1F_EventScript_ContestLady:: lock faceplayer msgbox LilycoveCity_PokemonCenter_1F_Text_ImTheContestLady, MSGBOX_DEFAULT @@ -389,7 +389,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_ContestLady:: @ 82A882A end @ Redundant with above script, VAR_RESULT will always be FALSE here -LilycoveCity_PokemonCenter_1F_EventScript_NotGivenPokeblock:: @ 82A8850 +LilycoveCity_PokemonCenter_1F_EventScript_NotGivenPokeblock:: specialvar VAR_RESULT, ShouldContestLadyShowGoOnAir compare VAR_RESULT, FALSE goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_AskForPokeblock @@ -397,12 +397,12 @@ LilycoveCity_PokemonCenter_1F_EventScript_NotGivenPokeblock:: @ 82A8850 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_GivenPokeblock end -LilycoveCity_PokemonCenter_1F_EventScript_GivenPokeblock:: @ 82A886C +LilycoveCity_PokemonCenter_1F_EventScript_GivenPokeblock:: msgbox LilycoveCity_PokemonCenter_1F_Text_ThankForPokeblock, MSGBOX_DEFAULT release end -LilycoveCity_PokemonCenter_1F_EventScript_AskForPokeblock:: @ 82A8876 +LilycoveCity_PokemonCenter_1F_EventScript_AskForPokeblock:: special Script_BufferContestLadyCategoryAndMonName msgbox LilycoveCity_PokemonCenter_1F_Text_MyFriendDisplaysQuality, MSGBOX_DEFAULT checkitem ITEM_POKEBLOCK_CASE, 1 @@ -415,12 +415,12 @@ LilycoveCity_PokemonCenter_1F_EventScript_AskForPokeblock:: @ 82A8876 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_ChoosePokeblock end -LilycoveCity_PokemonCenter_1F_EventScript_DeclineGivePokeblock:: @ 82A88B0 +LilycoveCity_PokemonCenter_1F_EventScript_DeclineGivePokeblock:: msgbox LilycoveCity_PokemonCenter_1F_Text_WhatACheapskate, MSGBOX_DEFAULT release end -LilycoveCity_PokemonCenter_1F_EventScript_ChoosePokeblock:: @ 82A88BA +LilycoveCity_PokemonCenter_1F_EventScript_ChoosePokeblock:: fadescreen FADE_TO_BLACK special OpenPokeblockCaseForContestLady waitstate @@ -430,7 +430,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_ChoosePokeblock:: @ 82A88BA goto_if_ne LilycoveCity_PokemonCenter_1F_EventScript_GivePokeblock end -LilycoveCity_PokemonCenter_1F_EventScript_AskQuitGivingPokeblock:: @ 82A88D7 +LilycoveCity_PokemonCenter_1F_EventScript_AskQuitGivingPokeblock:: msgbox LilycoveCity_PokemonCenter_1F_Text_ICantHaveOnePokeblock, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_DeclineGivePokeblock @@ -438,7 +438,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_AskQuitGivingPokeblock:: @ 82A88D7 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_ChoosePokeblock end -LilycoveCity_PokemonCenter_1F_EventScript_GivePokeblock:: @ 82A88F6 +LilycoveCity_PokemonCenter_1F_EventScript_GivePokeblock:: msgbox LilycoveCity_PokemonCenter_1F_Text_IllUseYourPokeblock, MSGBOX_DEFAULT special SetContestLadyGivenPokeblock special GetContestLadyMonSpecies @@ -446,7 +446,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_GivePokeblock:: @ 82A88F6 end @ VAR_0x8004 here is the return value from GivePokeblockToContestLady -LilycoveCity_PokemonCenter_1F_EventScript_FeedPokeblock:: @ 82A890A +LilycoveCity_PokemonCenter_1F_EventScript_FeedPokeblock:: applymovement LOCALID_LILYCOVE_LADY, LilycoveCity_PokemonCenter_1F_Movement_LadyFaceMon waitmovement 0 delay 60 @@ -463,11 +463,11 @@ LilycoveCity_PokemonCenter_1F_EventScript_FeedPokeblock:: @ 82A890A end @ VAR_0x8004 here is the return value from GivePokeblockToContestLady -LilycoveCity_PokemonCenter_1F_EventScript_MonEnjoyPokeblock:: @ 82A893F +LilycoveCity_PokemonCenter_1F_EventScript_MonEnjoyPokeblock:: applymovement LOCALID_LADYS_MON, LilycoveCity_PokemonCenter_1F_Movement_MonJump waitmovement 0 delay 60 -LilycoveCity_PokemonCenter_1F_EventScript_FinishFeedPokeblock:: @ 82A894C +LilycoveCity_PokemonCenter_1F_EventScript_FinishFeedPokeblock:: applymovement LOCALID_LILYCOVE_LADY, LilycoveCity_PokemonCenter_1F_Movement_LadyFacePlayer waitmovement 0 delay 60 @@ -477,62 +477,62 @@ LilycoveCity_PokemonCenter_1F_EventScript_FinishFeedPokeblock:: @ 82A894C goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_MonLikedPokeblock end -LilycoveCity_PokemonCenter_1F_EventScript_MonDislikedPokeblock:: @ 82A8970 +LilycoveCity_PokemonCenter_1F_EventScript_MonDislikedPokeblock:: msgbox LilycoveCity_PokemonCenter_1F_Text_NoChangeThanks, MSGBOX_DEFAULT goto LilycoveCity_PokemonCenter_1F_EventScript_CheckAirContestLadyShow end -LilycoveCity_PokemonCenter_1F_EventScript_MonLikedPokeblock:: @ 82A897E +LilycoveCity_PokemonCenter_1F_EventScript_MonLikedPokeblock:: special Script_BufferContestLadyCategoryAndMonName msgbox LilycoveCity_PokemonCenter_1F_Text_ReallyImprovedThanks, MSGBOX_DEFAULT goto LilycoveCity_PokemonCenter_1F_EventScript_CheckAirContestLadyShow end -LilycoveCity_PokemonCenter_1F_EventScript_CheckAirContestLadyShow:: @ 82A898F +LilycoveCity_PokemonCenter_1F_EventScript_CheckAirContestLadyShow:: specialvar VAR_RESULT, ShouldContestLadyShowGoOnAir compare VAR_RESULT, 1 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_AirContestLadyShow release end -LilycoveCity_PokemonCenter_1F_EventScript_AirContestLadyShow:: @ 82A89A1 +LilycoveCity_PokemonCenter_1F_EventScript_AirContestLadyShow:: msgbox LilycoveCity_PokemonCenter_1F_Text_ReadyToEnterContests, MSGBOX_DEFAULT special PutLilycoveContestLadyShowOnTheAir release end -LilycoveCity_PokemonCenter_1F_EventScript_NoPokeblockCase:: @ 82A89AE +LilycoveCity_PokemonCenter_1F_EventScript_NoPokeblockCase:: msgbox LilycoveCity_PokemonCenter_1F_Text_DontHaveAPokeblockCase, MSGBOX_DEFAULT release end -LilycoveCity_PokemonCenter_1F_Movement_LadyFaceMon: @ 82A89B8 +LilycoveCity_PokemonCenter_1F_Movement_LadyFaceMon: face_right delay_8 step_end -LilycoveCity_PokemonCenter_1F_Movement_MonFaceLady: @ 82A89BB +LilycoveCity_PokemonCenter_1F_Movement_MonFaceLady: face_left delay_8 step_end @ Unused -LilycoveCity_PokemonCenter_1F_Movement_MonFaceDown: @ 82A89BE +LilycoveCity_PokemonCenter_1F_Movement_MonFaceDown: face_down step_end -LilycoveCity_PokemonCenter_1F_Movement_LadyFacePlayer: @ 82A89C0 +LilycoveCity_PokemonCenter_1F_Movement_LadyFacePlayer: face_player step_end -LilycoveCity_PokemonCenter_1F_Movement_MonJump: @ 82A89C2 +LilycoveCity_PokemonCenter_1F_Movement_MonJump: disable_jump_landing_ground_effect jump_in_place_left disable_jump_landing_ground_effect jump_in_place_left step_end -LilycoveCity_PokemonCenter_1F_EventScript_ContestLadyMon:: @ 82A89C7 +LilycoveCity_PokemonCenter_1F_EventScript_ContestLadyMon:: specialvar VAR_RESULT, GetContestLadyCategory special Script_BufferContestLadyCategoryAndMonName special GetContestLadyMonSpecies @@ -548,7 +548,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_ContestLadyMon:: @ 82A89C7 goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_Pikachu end -LilycoveCity_PokemonCenter_1F_EventScript_Zigzagoon:: @ 82A8A0A +LilycoveCity_PokemonCenter_1F_EventScript_Zigzagoon:: lock faceplayer waitse @@ -558,7 +558,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_Zigzagoon:: @ 82A8A0A release end -LilycoveCity_PokemonCenter_1F_EventScript_Skitty:: @ 82A8A1D +LilycoveCity_PokemonCenter_1F_EventScript_Skitty:: lock faceplayer waitse @@ -568,7 +568,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_Skitty:: @ 82A8A1D release end -LilycoveCity_PokemonCenter_1F_EventScript_Poochyena:: @ 82A8A30 +LilycoveCity_PokemonCenter_1F_EventScript_Poochyena:: lock faceplayer waitse @@ -578,7 +578,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_Poochyena:: @ 82A8A30 release end -LilycoveCity_PokemonCenter_1F_EventScript_Kecleon:: @ 82A8A43 +LilycoveCity_PokemonCenter_1F_EventScript_Kecleon:: lock faceplayer waitse @@ -588,7 +588,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_Kecleon:: @ 82A8A43 release end -LilycoveCity_PokemonCenter_1F_EventScript_Pikachu:: @ 82A8A56 +LilycoveCity_PokemonCenter_1F_EventScript_Pikachu:: lock faceplayer waitse @@ -598,54 +598,54 @@ LilycoveCity_PokemonCenter_1F_EventScript_Pikachu:: @ 82A8A56 release end -LilycoveCity_PokemonCenter_1F_Text_ImTheFavorLady: @ 82A8A69 +LilycoveCity_PokemonCenter_1F_Text_ImTheFavorLady: .string "I'm the FAVOR LADY…$" -LilycoveCity_PokemonCenter_1F_Text_ObsessedWithThing: @ 82A8A7D +LilycoveCity_PokemonCenter_1F_Text_ObsessedWithThing: .string "I've recently developed an obsession\n" .string "for {STR_VAR_1} things…$" -LilycoveCity_PokemonCenter_1F_Text_ThankYouForLastTime: @ 82A8AB1 +LilycoveCity_PokemonCenter_1F_Text_ThankYouForLastTime: .string "Oh…\n" .string "Thank you for last time…$" -LilycoveCity_PokemonCenter_1F_Text_PlayerGaveMeBadThing: @ 82A8ACE +LilycoveCity_PokemonCenter_1F_Text_PlayerGaveMeBadThing: .string "Before, I think it was {STR_VAR_3}…\p" .string "{STR_VAR_3} gave me one {STR_VAR_2},\n" .string "saying it was {STR_VAR_1}.\p" .string "But it wasn't {STR_VAR_1}.\n" .string "Not in the least bit.$" -LilycoveCity_PokemonCenter_1F_Text_PlayerGaveMeGreatThing: @ 82A8B36 +LilycoveCity_PokemonCenter_1F_Text_PlayerGaveMeGreatThing: .string "Before, {STR_VAR_3} gave me a very\n" .string "{STR_VAR_1} {STR_VAR_2}.\p" .string "I cherish it now.$" -LilycoveCity_PokemonCenter_1F_Text_WillYouShareThing: @ 82A8B69 +LilycoveCity_PokemonCenter_1F_Text_WillYouShareThing: .string "Listen, if you have anything that\n" .string "is {STR_VAR_1}, will you share it\l" .string "with me?$" -LilycoveCity_PokemonCenter_1F_Text_WhatWillYouGiveMe: @ 82A8BAD +LilycoveCity_PokemonCenter_1F_Text_WhatWillYouGiveMe: .string "…Really?\n" .string "What will you give me?$" -LilycoveCity_PokemonCenter_1F_Text_IsThatSoGoodbye: @ 82A8BCD +LilycoveCity_PokemonCenter_1F_Text_IsThatSoGoodbye: .string "Is that so?\n" .string "Then, it's good-bye…$" -LilycoveCity_PokemonCenter_1F_Text_NotWillingToShare: @ 82A8BEE +LilycoveCity_PokemonCenter_1F_Text_NotWillingToShare: .string "Oh…\n" .string "You're not willing to share?$" -LilycoveCity_PokemonCenter_1F_Text_IllTryToCherishIt: @ 82A8C0F +LilycoveCity_PokemonCenter_1F_Text_IllTryToCherishIt: .string "Oh?\n" .string "That {STR_VAR_2} is {STR_VAR_1}?\p" .string "…Oh, is that right?\p" .string "Well, I owe you a thanks anyway.\n" .string "I'll try to cherish it…$" -LilycoveCity_PokemonCenter_1F_Text_IWillCherishThis: @ 82A8C6F +LilycoveCity_PokemonCenter_1F_Text_IWillCherishThis: .string "Oh…\p" .string "That's a quite {STR_VAR_1}\n" .string "{STR_VAR_2}…\p" @@ -654,7 +654,7 @@ LilycoveCity_PokemonCenter_1F_Text_IWillCherishThis: @ 82A8C6F .string "Thank you…\n" .string "I will cherish this…$" -LilycoveCity_PokemonCenter_1F_Text_IWillTreasureThis: @ 82A8CC8 +LilycoveCity_PokemonCenter_1F_Text_IWillTreasureThis: .string "…Oh, oh, oh…\p" .string "This is amazing!\n" .string "This really is {STR_VAR_1}!\p" @@ -664,90 +664,90 @@ LilycoveCity_PokemonCenter_1F_Text_IWillTreasureThis: @ 82A8CC8 .string "I will treasure this for the rest\n" .string "of my life!$" -LilycoveCity_PokemonCenter_1F_Text_IllGiveYouThisInReturn: @ 82A8D5D +LilycoveCity_PokemonCenter_1F_Text_IllGiveYouThisInReturn: .string "I'll give you this wonderful item in\n" .string "return for your fabulous gift.\p" .string "I hope you will cherish it…$" -LilycoveCity_PokemonCenter_1F_Text_YouDontHaveSpaceForIt: @ 82A8DBD +LilycoveCity_PokemonCenter_1F_Text_YouDontHaveSpaceForIt: .string "Oh, you can't have it if you don't have\n" .string "the space for it.\p" .string "Please come see me when you get\n" .string "your BAG organized…$" -LilycoveCity_PokemonCenter_1F_Text_ImTheQuizLady: @ 82A8E2B +LilycoveCity_PokemonCenter_1F_Text_ImTheQuizLady: .string "I'm the QUIZ LADY!\n" .string "I love quizzes!$" -LilycoveCity_PokemonCenter_1F_Text_WaitingToTakeYourQuiz: @ 82A8E4E +LilycoveCity_PokemonCenter_1F_Text_WaitingToTakeYourQuiz: .string "Oh?\p" .string "I'm waiting for a challenger to answer\n" .string "the quiz you made.\p" .string "We can chat another time, okay?$" -LilycoveCity_PokemonCenter_1F_Text_WaitingForChallenger: @ 82A8EAC +LilycoveCity_PokemonCenter_1F_Text_WaitingForChallenger: .string "I'm waiting for someone to challenge\n" .string "a quiz this {STR_VAR_1} thought up!$" -LilycoveCity_PokemonCenter_1F_Text_TakeQuizChallenge: @ 82A8EEC +LilycoveCity_PokemonCenter_1F_Text_TakeQuizChallenge: .string "If you answer correctly, you can win\n" .string "fabulous prizes!\p" .string "Would you like to take the quiz\n" .string "challenge?$" -LilycoveCity_PokemonCenter_1F_Text_WaitForAnswer: @ 82A8F4D +LilycoveCity_PokemonCenter_1F_Text_WaitForAnswer: .string "… … … … … …\n" .string "… … … … … …$" -LilycoveCity_PokemonCenter_1F_Text_HowBoringBye: @ 82A8F65 +LilycoveCity_PokemonCenter_1F_Text_HowBoringBye: .string "Oh, how boring!\n" .string "Bye-bye!$" -LilycoveCity_PokemonCenter_1F_Text_YoureGoingToQuit: @ 82A8F7E +LilycoveCity_PokemonCenter_1F_Text_YoureGoingToQuit: .string "Awww!\n" .string "You're going to quit?$" -LilycoveCity_PokemonCenter_1F_Text_TakeTheQuizAnotherTime: @ 82A8F9A +LilycoveCity_PokemonCenter_1F_Text_TakeTheQuizAnotherTime: .string "Please take the quiz challenge\n" .string "another time!$" -LilycoveCity_PokemonCenter_1F_Text_YouGotItRight: @ 82A8FC7 +LilycoveCity_PokemonCenter_1F_Text_YouGotItRight: .string "You're amazing! You've got it right!\n" .string "You're one sharp customer!$" -LilycoveCity_PokemonCenter_1F_Text_YouGotItRightYouveWonPersonsPrize: @ 82A9007 +LilycoveCity_PokemonCenter_1F_Text_YouGotItRightYouveWonPersonsPrize: .string "Congratulations!\n" .string "You've got the quiz right!\p" .string "You've won a prize provided by\n" .string "{STR_VAR_1}!$" @ Unused -LilycoveCity_PokemonCenter_1F_Text_XReceivedOneY: @ 82A9056 +LilycoveCity_PokemonCenter_1F_Text_XReceivedOneY: .string "{STR_VAR_1} received\n" .string "one {STR_VAR_2}!$" -LilycoveCity_PokemonCenter_1F_Text_YourBagIsFilledUp: @ 82A906A +LilycoveCity_PokemonCenter_1F_Text_YourBagIsFilledUp: .string "Oh? Your BAG is filled up!\n" .string "Come see me when you have room.$" -LilycoveCity_PokemonCenter_1F_Text_WrongTheCorrectAnswerIs: @ 82A90A5 +LilycoveCity_PokemonCenter_1F_Text_WrongTheCorrectAnswerIs: .string "Hmm… Wrong!\n" .string "The correct answer is “{STR_VAR_3}”!$" -LilycoveCity_PokemonCenter_1F_Text_IGetToKeepPrize: @ 82A90CD +LilycoveCity_PokemonCenter_1F_Text_IGetToKeepPrize: .string "Too bad!\p" .string "I get to keep the quiz prize\n" .string "{STR_VAR_1} now!$" -LilycoveCity_PokemonCenter_1F_Text_MakeYourOwnQuiz: @ 82A90FB +LilycoveCity_PokemonCenter_1F_Text_MakeYourOwnQuiz: .string "Listen, listen!\n" .string "Would you like to make your own quiz?$" -LilycoveCity_PokemonCenter_1F_Text_MaybeNextTime: @ 82A9131 +LilycoveCity_PokemonCenter_1F_Text_MaybeNextTime: .string "Oh, I see…\n" .string "Well, maybe next time!$" -LilycoveCity_PokemonCenter_1F_Text_PickYourPrize: @ 82A9153 +LilycoveCity_PokemonCenter_1F_Text_PickYourPrize: .string "Okay, the first thing you have to do\n" .string "is pick the prize for the person that\l" .string "answers your quiz correctly.\p" @@ -755,47 +755,47 @@ LilycoveCity_PokemonCenter_1F_Text_PickYourPrize: @ 82A9153 .string "the quiz can't get it right, I get to\l" .string "keep the prize!$" -LilycoveCity_PokemonCenter_1F_Text_QuitChoosingPrize: @ 82A9212 +LilycoveCity_PokemonCenter_1F_Text_QuitChoosingPrize: .string "If you don't choose a prize,\n" .string "your quiz can't be made.\p" .string "Are you going to quit making\n" .string "your quiz?$" -LilycoveCity_PokemonCenter_1F_Text_WriteYourQuiz: @ 82A9270 +LilycoveCity_PokemonCenter_1F_Text_WriteYourQuiz: .string "Oh, how nice!\n" .string "That's a wonderful prize!\p" .string "Next, you need to write your quiz\n" .string "question and its answer.$" -LilycoveCity_PokemonCenter_1F_Text_QuitWritingQuizQuestion: @ 82A92D3 +LilycoveCity_PokemonCenter_1F_Text_QuitWritingQuizQuestion: .string "Are you going to quit writing\n" .string "your quiz question?$" @ Unused -LilycoveCity_PokemonCenter_1F_Text_QuitWritingQuizAnswer: @ 82A9305 +LilycoveCity_PokemonCenter_1F_Text_QuitWritingQuizAnswer: .string "Are you going to quit choosing\n" .string "your quiz answer?$" -LilycoveCity_PokemonCenter_1F_Text_IllLookForAChallenger: @ 82A9336 +LilycoveCity_PokemonCenter_1F_Text_IllLookForAChallenger: .string "Thank you!\n" .string "You've put together a nice quiz.\p" .string "I'll go look for someone who'll take\n" .string "your quiz challenge right away.$" -LilycoveCity_PokemonCenter_1F_Text_ImTheContestLady: @ 82A93A7 +LilycoveCity_PokemonCenter_1F_Text_ImTheContestLady: .string "I'm the CONTEST LADY!\n" .string "I sure do love CONTESTS!$" -LilycoveCity_PokemonCenter_1F_Text_ThankForPokeblock: @ 82A93D6 +LilycoveCity_PokemonCenter_1F_Text_ThankForPokeblock: .string "Thanks for your {POKEBLOCK} before!$" -LilycoveCity_PokemonCenter_1F_Text_MyFriendDisplaysQuality: @ 82A93F4 +LilycoveCity_PokemonCenter_1F_Text_MyFriendDisplaysQuality: .string "This is my friend {STR_VAR_1}!\n" .string "It's the epitome of {STR_VAR_2}!\p" .string "But I think that it will display\n" .string "even more {STR_VAR_2}!$" -LilycoveCity_PokemonCenter_1F_Text_DontHaveAPokeblockCase: @ 82A9451 +LilycoveCity_PokemonCenter_1F_Text_DontHaveAPokeblockCase: .string "So, I need your help!\p" .string "Please, may I have one {POKEBLOCK}?\n" .string "All I'm asking for is one!\p" @@ -803,57 +803,57 @@ LilycoveCity_PokemonCenter_1F_Text_DontHaveAPokeblockCase: @ 82A9451 .string "Don't you have a {POKEBLOCK} CASE?\l" .string "That's no good. Next time, then!$" -LilycoveCity_PokemonCenter_1F_Text_AskingForOnePokeblock: @ 82A94E8 +LilycoveCity_PokemonCenter_1F_Text_AskingForOnePokeblock: .string "So, I need your help!\p" .string "Please, may I have one {POKEBLOCK}?\n" .string "All I'm asking for is one!$" -LilycoveCity_PokemonCenter_1F_Text_ICantHaveOnePokeblock: @ 82A9537 +LilycoveCity_PokemonCenter_1F_Text_ICantHaveOnePokeblock: .string "Awww!\n" .string "I can't have one {POKEBLOCK}?!$" -LilycoveCity_PokemonCenter_1F_Text_WhatACheapskate: @ 82A9556 +LilycoveCity_PokemonCenter_1F_Text_WhatACheapskate: .string "Sheesh!\n" .string "What a cheapskate!$" -LilycoveCity_PokemonCenter_1F_Text_IllUseYourPokeblock: @ 82A9571 +LilycoveCity_PokemonCenter_1F_Text_IllUseYourPokeblock: .string "Yay!\n" .string "Thank you!\p" .string "I'll feed my POKéMON your {POKEBLOCK}\n" .string "right away.$" -LilycoveCity_PokemonCenter_1F_Text_NoChangeThanks: @ 82A95AD +LilycoveCity_PokemonCenter_1F_Text_NoChangeThanks: .string "…It doesn't seem to have changed\n" .string "in any way at all…\p" .string "Hmm…\p" .string "Oh, well!\n" .string "Thank you very much!$" -LilycoveCity_PokemonCenter_1F_Text_ReallyImprovedThanks: @ 82A9605 +LilycoveCity_PokemonCenter_1F_Text_ReallyImprovedThanks: .string "Oh, yay!\n" .string "It's really delighted!\p" .string "I think it really improved {STR_VAR_1}'s\n" .string "{STR_VAR_2} quality, too.\p" .string "Thank you so much!$" -LilycoveCity_PokemonCenter_1F_Text_ReadyToEnterContests: @ 82A9669 +LilycoveCity_PokemonCenter_1F_Text_ReadyToEnterContests: .string "Hmm…\p" .string "I think we may be ready to enter\n" .string "some CONTESTS.\p" .string "If you see us in one somewhere,\n" .string "I hope you'll cheer for us.$" -LilycoveCity_PokemonCenter_1F_Text_Zigzagoon: @ 82A96DA +LilycoveCity_PokemonCenter_1F_Text_Zigzagoon: .string "{STR_VAR_1}: Guguuh!$" -LilycoveCity_PokemonCenter_1F_Text_Kecleon: @ 82A96E6 +LilycoveCity_PokemonCenter_1F_Text_Kecleon: .string "{STR_VAR_1}: Igigigiiih!$" -LilycoveCity_PokemonCenter_1F_Text_Poochyena: @ 82A96F6 +LilycoveCity_PokemonCenter_1F_Text_Poochyena: .string "{STR_VAR_1}: Baaarun…$" -LilycoveCity_PokemonCenter_1F_Text_Pikachu: @ 82A9703 +LilycoveCity_PokemonCenter_1F_Text_Pikachu: .string "{STR_VAR_1}: Pikka!$" -LilycoveCity_PokemonCenter_1F_Text_Skitty: @ 82A970E +LilycoveCity_PokemonCenter_1F_Text_Skitty: .string "{STR_VAR_1}: Umyaaaan!$" diff --git a/data/scripts/mauville_man.inc b/data/scripts/mauville_man.inc index a6585ca4d..a9c008e5e 100644 --- a/data/scripts/mauville_man.inc +++ b/data/scripts/mauville_man.inc @@ -1,4 +1,4 @@ -MauvilleCity_PokemonCenter_1F_EventScript_MauvilleOldMan:: @ 828E066 +MauvilleCity_PokemonCenter_1F_EventScript_MauvilleOldMan:: special ScrSpecial_GetCurrentMauvilleMan switch VAR_RESULT case MAUVILLE_MAN_BARD, MauvilleCity_PokemonCenter_1F_EventScript_Bard @@ -9,7 +9,7 @@ MauvilleCity_PokemonCenter_1F_EventScript_MauvilleOldMan:: @ 828E066 end @ Bard -MauvilleCity_PokemonCenter_1F_EventScript_Bard:: @ 828E0A6 +MauvilleCity_PokemonCenter_1F_EventScript_Bard:: lock faceplayer msgbox MauvilleCity_PokemonCenter_1F_Text_WouldYouLikeToHearMySong, MSGBOX_YESNO @@ -19,7 +19,7 @@ MauvilleCity_PokemonCenter_1F_EventScript_Bard:: @ 828E0A6 goto_if_eq MauvilleCity_PokemonCenter_1F_EventScript_DeclineSong end -MauvilleCity_PokemonCenter_1F_EventScript_PlaySong:: @ 828E0C7 +MauvilleCity_PokemonCenter_1F_EventScript_PlaySong:: setvar VAR_0x8004, 0 special ScrSpecial_PlayBardSong delay 60 @@ -30,12 +30,12 @@ MauvilleCity_PokemonCenter_1F_EventScript_PlaySong:: @ 828E0C7 release end -MauvilleCity_PokemonCenter_1F_EventScript_DeclineSong:: @ 828E0EA +MauvilleCity_PokemonCenter_1F_EventScript_DeclineSong:: msgbox MauvilleCity_PokemonCenter_1F_Text_BardFeelingTheBlues1, MSGBOX_DEFAULT release end -MauvilleCity_PokemonCenter_1F_EventScript_AskToWriteLyrics:: @ 828E0F4 +MauvilleCity_PokemonCenter_1F_EventScript_AskToWriteLyrics:: msgbox MauvilleCity_PokemonCenter_1F_Text_WouldYouLikeToWriteSomeLyrics, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq MauvilleCity_PokemonCenter_1F_EventScript_WriteLyrics @@ -43,7 +43,7 @@ MauvilleCity_PokemonCenter_1F_EventScript_AskToWriteLyrics:: @ 828E0F4 goto_if_eq MauvilleCity_PokemonCenter_1F_EventScript_DeclineWritingLyrics end -MauvilleCity_PokemonCenter_1F_EventScript_WriteLyrics:: @ 828E113 +MauvilleCity_PokemonCenter_1F_EventScript_WriteLyrics:: setvar VAR_0x8004, EASY_CHAT_TYPE_BARD_SONG call Common_ShowEasyChatScreen lock @@ -62,13 +62,13 @@ MauvilleCity_PokemonCenter_1F_EventScript_WriteLyrics:: @ 828E113 release end -MauvilleCity_PokemonCenter_1F_EventScript_DeclineWritingLyrics:: @ 828E15D +MauvilleCity_PokemonCenter_1F_EventScript_DeclineWritingLyrics:: msgbox MauvilleCity_PokemonCenter_1F_Text_BardFeelingTheBlues2, MSGBOX_DEFAULT release end @ Hipster -MauvilleCity_PokemonCenter_1F_EventScript_Hipster:: @ 828E167 +MauvilleCity_PokemonCenter_1F_EventScript_Hipster:: lock faceplayer setflag FLAG_SYS_HIPSTER_MEET @@ -80,7 +80,7 @@ MauvilleCity_PokemonCenter_1F_EventScript_Hipster:: @ 828E167 release end -MauvilleCity_PokemonCenter_1F_EventScript_TryTeachWord:: @ 828E18C +MauvilleCity_PokemonCenter_1F_EventScript_TryTeachWord:: special ScrSpecial_HipsterTeachWord compare VAR_RESULT, TRUE goto_if_eq MauvilleCity_PokemonCenter_1F_EventScript_TeachWord @@ -88,73 +88,73 @@ MauvilleCity_PokemonCenter_1F_EventScript_TryTeachWord:: @ 828E18C release end -MauvilleCity_PokemonCenter_1F_EventScript_TeachWord:: @ 828E1A4 +MauvilleCity_PokemonCenter_1F_EventScript_TeachWord:: msgbox MauvilleCity_PokemonCenter_1F_Text_HaveYouHeardOfPhrase, MSGBOX_DEFAULT special ScrSpecial_SetHipsterSpokenFlag release end @ Trader -MauvilleCity_PokemonCenter_1F_Text_WantToTradeDecor: @ 828E1B1 +MauvilleCity_PokemonCenter_1F_Text_WantToTradeDecor: .string "Hi, I'm the TRADER.\n" .string "Want to trade decorations with me?$" -MauvilleCity_PokemonCenter_1F_Text_TraderFeelingTheBlues: @ 828E1E8 +MauvilleCity_PokemonCenter_1F_Text_TraderFeelingTheBlues: .string "Oh…\n" .string "You've left me feeling the blues…$" -MauvilleCity_PokemonCenter_1F_Text_WeveAlreadyTraded: @ 828E20E +MauvilleCity_PokemonCenter_1F_Text_WeveAlreadyTraded: .string "But we've traded decorations already,\n" .string "you and I.$" -MauvilleCity_PokemonCenter_1F_Text_PickADecorItem: @ 828E23F +MauvilleCity_PokemonCenter_1F_Text_PickADecorItem: .string "If you see any decorative item that\n" .string "you want of mine, speak up.$" -MauvilleCity_PokemonCenter_1F_Text_YouDontWantAnything: @ 828E27F +MauvilleCity_PokemonCenter_1F_Text_YouDontWantAnything: .string "You don't want anything?\n" .string "I feel unwanted…$" -MauvilleCity_PokemonCenter_1F_Text_OnceBelongedToPlayerDoYouWantIt: @ 828E2A9 +MauvilleCity_PokemonCenter_1F_Text_OnceBelongedToPlayerDoYouWantIt: .string "That decorative item once belonged\n" .string "to {STR_VAR_1}.\p" .string "Do you want it?$" -MauvilleCity_PokemonCenter_1F_Text_YouDontHaveAnyDecor: @ 828E2E3 +MauvilleCity_PokemonCenter_1F_Text_YouDontHaveAnyDecor: .string "Uh… Wait a second. You don't have a\n" .string "single piece of decoration!$" -MauvilleCity_PokemonCenter_1F_Text_PickTheDecorToTrade: @ 828E323 +MauvilleCity_PokemonCenter_1F_Text_PickTheDecorToTrade: .string "Okay, pick the decoration that you'll\n" .string "trade to me.$" -MauvilleCity_PokemonCenter_1F_Text_YouDontWantToTrade: @ 828E356 +MauvilleCity_PokemonCenter_1F_Text_YouDontWantToTrade: .string "You won't trade with me?\n" .string "I feel unwanted…$" -MauvilleCity_PokemonCenter_1F_Text_YouveNoRoomForThis: @ 828E380 +MauvilleCity_PokemonCenter_1F_Text_YouveNoRoomForThis: .string "You've got all the {STR_VAR_2}S that can\n" .string "be stored. You've no room for this.$" -MauvilleCity_PokemonCenter_1F_Text_SoWellTradeTheseDecor: @ 828E3C4 +MauvilleCity_PokemonCenter_1F_Text_SoWellTradeTheseDecor: .string "Okay, so we'll trade my {STR_VAR_3}\n" .string "for your {STR_VAR_2}?$" -MauvilleCity_PokemonCenter_1F_Text_ThatDecorIsInUse: @ 828E3EC +MauvilleCity_PokemonCenter_1F_Text_ThatDecorIsInUse: .string "That piece of decoration is in use.\n" .string "You can't trade it.$" -MauvilleCity_PokemonCenter_1F_Text_SendDecorToYourPC: @ 828E424 +MauvilleCity_PokemonCenter_1F_Text_SendDecorToYourPC: .string "Then we'll trade!\n" .string "I'll send my decoration to your PC.$" -MauvilleCity_PokemonCenter_1F_Text_CantTradeThatOne: @ 828E45A +MauvilleCity_PokemonCenter_1F_Text_CantTradeThatOne: .string "Oops! Sorry! That's a really rare\n" .string "piece of decoration.\l" .string "I can't trade that one away!\p" .string "Can I interest you in something else?$" -MauvilleCity_PokemonCenter_1F_EventScript_Trader:: @ 828E4D4 +MauvilleCity_PokemonCenter_1F_EventScript_Trader:: lock faceplayer msgbox MauvilleCity_PokemonCenter_1F_Text_WantToTradeDecor, MSGBOX_YESNO @@ -168,17 +168,17 @@ MauvilleCity_PokemonCenter_1F_EventScript_Trader:: @ 828E4D4 goto MauvilleCity_PokemonCenter_1F_EventScript_PickDecorToReceive end -MauvilleCity_PokemonCenter_1F_EventScript_DeclineTrade:: @ 828E503 +MauvilleCity_PokemonCenter_1F_EventScript_DeclineTrade:: msgbox MauvilleCity_PokemonCenter_1F_Text_TraderFeelingTheBlues, MSGBOX_DEFAULT release end -MauvilleCity_PokemonCenter_1F_EventScript_AlreadyTraded:: @ 828E50D +MauvilleCity_PokemonCenter_1F_EventScript_AlreadyTraded:: msgbox MauvilleCity_PokemonCenter_1F_Text_WeveAlreadyTraded, MSGBOX_DEFAULT release end -MauvilleCity_PokemonCenter_1F_EventScript_PickDecorToReceive:: @ 828E517 +MauvilleCity_PokemonCenter_1F_EventScript_PickDecorToReceive:: special ScrSpecial_TraderMenuGetDecoration waitstate compare VAR_0x8004, 0 @@ -194,29 +194,29 @@ MauvilleCity_PokemonCenter_1F_EventScript_PickDecorToReceive:: @ 828E517 goto MauvilleCity_PokemonCenter_1F_EventScript_PickDecorToGive end -MauvilleCity_PokemonCenter_1F_EventScript_CancelPickDecor:: @ 828E558 +MauvilleCity_PokemonCenter_1F_EventScript_CancelPickDecor:: msgbox MauvilleCity_PokemonCenter_1F_Text_YouDontWantAnything, MSGBOX_DEFAULT release end -MauvilleCity_PokemonCenter_1F_EventScript_InvalidDecor:: @ 828E562 +MauvilleCity_PokemonCenter_1F_EventScript_InvalidDecor:: message MauvilleCity_PokemonCenter_1F_Text_CantTradeThatOne waitmessage goto MauvilleCity_PokemonCenter_1F_EventScript_PickDecorToReceive end -MauvilleCity_PokemonCenter_1F_EventScript_PickDifferentDecor:: @ 828E56E +MauvilleCity_PokemonCenter_1F_EventScript_PickDifferentDecor:: message MauvilleCity_PokemonCenter_1F_Text_PickADecorItem waitmessage goto MauvilleCity_PokemonCenter_1F_EventScript_PickDecorToReceive end -MauvilleCity_PokemonCenter_1F_EventScript_DontHaveAnyDecor:: @ 828E57A +MauvilleCity_PokemonCenter_1F_EventScript_DontHaveAnyDecor:: msgbox MauvilleCity_PokemonCenter_1F_Text_YouDontHaveAnyDecor, MSGBOX_DEFAULT release end -MauvilleCity_PokemonCenter_1F_EventScript_PickDecorToGive:: @ 828E584 +MauvilleCity_PokemonCenter_1F_EventScript_PickDecorToGive:: msgbox MauvilleCity_PokemonCenter_1F_Text_PickTheDecorToTrade, MSGBOX_DEFAULT special ScrSpecial_TraderMenuGiveDecoration waitstate @@ -235,43 +235,43 @@ MauvilleCity_PokemonCenter_1F_EventScript_PickDecorToGive:: @ 828E584 release end -MauvilleCity_PokemonCenter_1F_EventScript_CancelGiveDecor:: @ 828E5D4 +MauvilleCity_PokemonCenter_1F_EventScript_CancelGiveDecor:: msgbox MauvilleCity_PokemonCenter_1F_Text_YouDontWantToTrade, MSGBOX_DEFAULT release end -MauvilleCity_PokemonCenter_1F_EventScript_DecorInUse:: @ 828E5DE +MauvilleCity_PokemonCenter_1F_EventScript_DecorInUse:: msgbox MauvilleCity_PokemonCenter_1F_Text_ThatDecorIsInUse, MSGBOX_DEFAULT goto MauvilleCity_PokemonCenter_1F_EventScript_PickDecorToGive end -MauvilleCity_PokemonCenter_1F_EventScript_NoRoomForDecor:: @ 828E5EC +MauvilleCity_PokemonCenter_1F_EventScript_NoRoomForDecor:: msgbox MauvilleCity_PokemonCenter_1F_Text_YouveNoRoomForThis, MSGBOX_DEFAULT release end @ Storyteller -MauvilleCity_PokemonCenter_1F_Text_WillYouHearMyTale: @ 828E5F6 +MauvilleCity_PokemonCenter_1F_Text_WillYouHearMyTale: .string "I'm the STORYTELLER.\n" .string "I'll tell you tales of legendary\l" .string "TRAINERS.\p" .string "Will you hear my tale?$" -MauvilleCity_PokemonCenter_1F_Text_StorytellerFeelingTheBlues: @ 828E64D +MauvilleCity_PokemonCenter_1F_Text_StorytellerFeelingTheBlues: .string "Oh…\n" .string "You've left me feeling the blues…$" -MauvilleCity_PokemonCenter_1F_Text_WhichTaleToTell: @ 828E673 +MauvilleCity_PokemonCenter_1F_Text_WhichTaleToTell: .string "I know of these legends.\n" .string "Which tale will you have me tell?$" -MauvilleCity_PokemonCenter_1F_Text_IKnowNoTales: @ 828E6AE +MauvilleCity_PokemonCenter_1F_Text_IKnowNoTales: .string "But, I know of no legendary TRAINERS.\n" .string "Hence, I know no tales.\p" .string "Where does one find a TRAINER worthy\n" .string "of a legendary tale?$" -MauvilleCity_PokemonCenter_1F_Text_YouDidStatXTimes: @ 828E726 +MauvilleCity_PokemonCenter_1F_Text_YouDidStatXTimes: .string "What's that?!\n" .string "You… You…\p" .string "{STR_VAR_2}\n" @@ -279,39 +279,39 @@ MauvilleCity_PokemonCenter_1F_Text_YouDidStatXTimes: @ 828E726 .string "That is indeed magnificent!\n" .string "It's the birth of a new legend!$" -MauvilleCity_PokemonCenter_1F_Text_CouldThereBeOtherLegends: @ 828E78A +MauvilleCity_PokemonCenter_1F_Text_CouldThereBeOtherLegends: .string "It gets me thinking, could there be\n" .string "other TRAINERS with more impressive\l" .string "legends awaiting discovery?$" -MauvilleCity_PokemonCenter_1F_Text_HaveYouAnyLegendaryTales: @ 828E7EE +MauvilleCity_PokemonCenter_1F_Text_HaveYouAnyLegendaryTales: .string "Are you a TRAINER?\p" .string "Then tell me, have you any tales that\n" .string "are even remotely legendary?$" @ Unused -MauvilleCity_PokemonCenter_1F_Text_HearAnotherLegendaryTale: @ 828E844 +MauvilleCity_PokemonCenter_1F_Text_HearAnotherLegendaryTale: .string "Incidentally… Would you care to hear\n" .string "another legendary tale?$" -MauvilleCity_PokemonCenter_1F_Text_NotWorthyOfLegend: @ 828E881 +MauvilleCity_PokemonCenter_1F_Text_NotWorthyOfLegend: .string "Hmm…\n" .string "I'm not satisfied…\p" .string "I wish you would bring me news worthy\n" .string "of being called a legend.$" -MauvilleCity_PokemonCenter_1F_Text_IWishMorePeopleWereInterested: @ 828E8D9 +MauvilleCity_PokemonCenter_1F_Text_IWishMorePeopleWereInterested: .string "I wish more people would be interested\n" .string "in hearing my epic tales of legendary\l" .string "TRAINERS.$" -MauvilleCity_PokemonCenter_1F_Text_SavedGameTitle:: @ 828E930 +MauvilleCity_PokemonCenter_1F_Text_SavedGameTitle:: .string "The Save-Happy TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_SavedGameAction:: @ 828E947 +MauvilleCity_PokemonCenter_1F_Text_SavedGameAction:: .string "Saved the game$" -MauvilleCity_PokemonCenter_1F_Text_SavedGameStory:: @ 828E956 +MauvilleCity_PokemonCenter_1F_Text_SavedGameStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER saved the game\n" @@ -319,13 +319,13 @@ MauvilleCity_PokemonCenter_1F_Text_SavedGameStory:: @ 828E956 .string "A more cautious TRAINER than\n" .string "{STR_VAR_3} one will never find!$" -MauvilleCity_PokemonCenter_1F_Text_TrendsStartedTitle:: @ 828E9D7 +MauvilleCity_PokemonCenter_1F_Text_TrendsStartedTitle:: .string "The Trendsetter TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_TrendsStartedAction:: @ 828E9EF +MauvilleCity_PokemonCenter_1F_Text_TrendsStartedAction:: .string "Started trends$" -MauvilleCity_PokemonCenter_1F_Text_TrendsStartedStory:: @ 828E9FE +MauvilleCity_PokemonCenter_1F_Text_TrendsStartedStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER started new trends\n" @@ -333,13 +333,13 @@ MauvilleCity_PokemonCenter_1F_Text_TrendsStartedStory:: @ 828E9FE .string "{STR_VAR_3} is setting trends for all\n" .string "the HOENN region!$" -MauvilleCity_PokemonCenter_1F_Text_BerriesPlantedTitle:: @ 828EA7D +MauvilleCity_PokemonCenter_1F_Text_BerriesPlantedTitle:: .string "The BERRY-Planting TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_BerriesPlantedAction:: @ 828EA98 +MauvilleCity_PokemonCenter_1F_Text_BerriesPlantedAction:: .string "Planted BERRIES$" -MauvilleCity_PokemonCenter_1F_Text_BerriesPlantedStory:: @ 828EAA8 +MauvilleCity_PokemonCenter_1F_Text_BerriesPlantedStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER planted BERRIES\n" @@ -347,13 +347,13 @@ MauvilleCity_PokemonCenter_1F_Text_BerriesPlantedStory:: @ 828EAA8 .string "{STR_VAR_3} is a legendary lover of\n" .string "BERRIES!$" -MauvilleCity_PokemonCenter_1F_Text_BikeTradesTitle:: @ 828EB19 +MauvilleCity_PokemonCenter_1F_Text_BikeTradesTitle:: .string "The BIKE-Loving TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_BikeTradesAction:: @ 828EB31 +MauvilleCity_PokemonCenter_1F_Text_BikeTradesAction:: .string "Traded BIKES$" -MauvilleCity_PokemonCenter_1F_Text_BikeTradesStory:: @ 828EB3E +MauvilleCity_PokemonCenter_1F_Text_BikeTradesStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER swapped BIKES\n" @@ -361,13 +361,13 @@ MauvilleCity_PokemonCenter_1F_Text_BikeTradesStory:: @ 828EB3E .string "{STR_VAR_3} must love BIKES deeply\n" .string "and passionately!$" -MauvilleCity_PokemonCenter_1F_Text_InterviewsTitle:: @ 828EBB5 +MauvilleCity_PokemonCenter_1F_Text_InterviewsTitle:: .string "The Interviewed TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_InterviewsAction:: @ 828EBCD +MauvilleCity_PokemonCenter_1F_Text_InterviewsAction:: .string "Got interviewed$" -MauvilleCity_PokemonCenter_1F_Text_InterviewsStory:: @ 828EBDD +MauvilleCity_PokemonCenter_1F_Text_InterviewsStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER got interviewed\n" @@ -375,26 +375,26 @@ MauvilleCity_PokemonCenter_1F_Text_InterviewsStory:: @ 828EBDD .string "{STR_VAR_3} must be a TRAINER who's\n" .string "attracting much attention!$" -MauvilleCity_PokemonCenter_1F_Text_TrainerBattlesTitle:: @ 828EC60 +MauvilleCity_PokemonCenter_1F_Text_TrainerBattlesTitle:: .string "The Battle-Happy TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_TrainerBattlesAction:: @ 828EC79 +MauvilleCity_PokemonCenter_1F_Text_TrainerBattlesAction:: .string "Battled$" -MauvilleCity_PokemonCenter_1F_Text_TrainerBattlesStory:: @ 828EC81 +MauvilleCity_PokemonCenter_1F_Text_TrainerBattlesStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER battled {STR_VAR_1} times!\p" .string "{STR_VAR_3} must be a TRAINER who can\n" .string "never refuse a chance to battle!$" -MauvilleCity_PokemonCenter_1F_Text_PokemonCaughtTitle:: @ 828ED04 +MauvilleCity_PokemonCenter_1F_Text_PokemonCaughtTitle:: .string "The POKéMON-Catching TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_PokemonCaughtAction:: @ 828ED21 +MauvilleCity_PokemonCenter_1F_Text_PokemonCaughtAction:: .string "Caught POKéMON$" -MauvilleCity_PokemonCenter_1F_Text_PokemonCaughtStory:: @ 828ED30 +MauvilleCity_PokemonCenter_1F_Text_PokemonCaughtStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER caught\n" @@ -402,13 +402,13 @@ MauvilleCity_PokemonCenter_1F_Text_PokemonCaughtStory:: @ 828ED30 .string "{STR_VAR_3} is a legendary catcher of\n" .string "wild POKéMON!$" -MauvilleCity_PokemonCenter_1F_Text_FishingPokemonCaughtTitle:: @ 828EDA1 +MauvilleCity_PokemonCenter_1F_Text_FishingPokemonCaughtTitle:: .string "The Fishing TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_FishingPokemonCaughtAction:: @ 828EDB5 +MauvilleCity_PokemonCenter_1F_Text_FishingPokemonCaughtAction:: .string "Caught POKéMON with a ROD$" -MauvilleCity_PokemonCenter_1F_Text_FishingPokemonCaughtStory:: @ 828EDCF +MauvilleCity_PokemonCenter_1F_Text_FishingPokemonCaughtStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER caught\n" @@ -416,13 +416,13 @@ MauvilleCity_PokemonCenter_1F_Text_FishingPokemonCaughtStory:: @ 828EDCF .string "{STR_VAR_3} is a legendary fishing\n" .string "expert!$" -MauvilleCity_PokemonCenter_1F_Text_EggsHatchedTitle:: @ 828EE45 +MauvilleCity_PokemonCenter_1F_Text_EggsHatchedTitle:: .string "The EGG-Warming TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_EggsHatchedAction:: @ 828EE5D +MauvilleCity_PokemonCenter_1F_Text_EggsHatchedAction:: .string "Hatched EGGS$" -MauvilleCity_PokemonCenter_1F_Text_EggsHatchedStory:: @ 828EE6A +MauvilleCity_PokemonCenter_1F_Text_EggsHatchedStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER hatched {STR_VAR_1} POKéMON\n" @@ -430,13 +430,13 @@ MauvilleCity_PokemonCenter_1F_Text_EggsHatchedStory:: @ 828EE6A .string "{STR_VAR_3} is a legendary warmer\n" .string "of EGGS!$" -MauvilleCity_PokemonCenter_1F_Text_PokemonEvolvedTitle:: @ 828EEDD +MauvilleCity_PokemonCenter_1F_Text_PokemonEvolvedTitle:: .string "The Evolver TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_PokemonEvolvedAction:: @ 828EEF1 +MauvilleCity_PokemonCenter_1F_Text_PokemonEvolvedAction:: .string "Evolved POKéMON$" -MauvilleCity_PokemonCenter_1F_Text_PokemonEvolvedStory:: @ 828EF01 +MauvilleCity_PokemonCenter_1F_Text_PokemonEvolvedStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER made {STR_VAR_1} POKéMON\n" @@ -444,13 +444,13 @@ MauvilleCity_PokemonCenter_1F_Text_PokemonEvolvedStory:: @ 828EF01 .string "{STR_VAR_3} is the ultimate evolver\n" .string "of POKéMON!$" -MauvilleCity_PokemonCenter_1F_Text_UsedPokemonCenterTitle:: @ 828EF73 +MauvilleCity_PokemonCenter_1F_Text_UsedPokemonCenterTitle:: .string "The POKéMON CENTER-Loving TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_UsedPokemonCenterAction:: @ 828EF95 +MauvilleCity_PokemonCenter_1F_Text_UsedPokemonCenterAction:: .string "Used POKéMON CENTERS$" -MauvilleCity_PokemonCenter_1F_Text_UsedPokemonCenterStory:: @ 828EFAA +MauvilleCity_PokemonCenter_1F_Text_UsedPokemonCenterStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER healed POKéMON\n" @@ -458,13 +458,13 @@ MauvilleCity_PokemonCenter_1F_Text_UsedPokemonCenterStory:: @ 828EFAA .string "There could be no greater lover of\n" .string "POKéMON CENTERS than {STR_VAR_3}!$" -MauvilleCity_PokemonCenter_1F_Text_RestedAtHomeTitle:: @ 828F045 +MauvilleCity_PokemonCenter_1F_Text_RestedAtHomeTitle:: .string "The Homebody TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_RestedAtHomeAction:: @ 828F05A +MauvilleCity_PokemonCenter_1F_Text_RestedAtHomeAction:: .string "Rested POKéMON at home$" -MauvilleCity_PokemonCenter_1F_Text_RestedAtHomeStory:: @ 828F071 +MauvilleCity_PokemonCenter_1F_Text_RestedAtHomeStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER healed POKéMON\n" @@ -472,13 +472,13 @@ MauvilleCity_PokemonCenter_1F_Text_RestedAtHomeStory:: @ 828F071 .string "There could be no more of a homebody\n" .string "than {STR_VAR_3}!$" -MauvilleCity_PokemonCenter_1F_Text_SafariGamesTitle:: @ 828F0F3 +MauvilleCity_PokemonCenter_1F_Text_SafariGamesTitle:: .string "The SAFARI-Loving TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_SafariGamesAction:: @ 828F10D +MauvilleCity_PokemonCenter_1F_Text_SafariGamesAction:: .string "Entered the SAFARI ZONE$" -MauvilleCity_PokemonCenter_1F_Text_SafariGamesStory:: @ 828F125 +MauvilleCity_PokemonCenter_1F_Text_SafariGamesStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER went into the SAFARI ZONE\n" @@ -486,13 +486,13 @@ MauvilleCity_PokemonCenter_1F_Text_SafariGamesStory:: @ 828F125 .string "{STR_VAR_3} is a TRAINER whose wild side\n" .string "must come out in the SAFARI ZONE!$" -MauvilleCity_PokemonCenter_1F_Text_UsedCutTitle:: @ 828F1BE +MauvilleCity_PokemonCenter_1F_Text_UsedCutTitle:: .string "The CUT-Frenzy TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_UsedCutAction:: @ 828F1D5 +MauvilleCity_PokemonCenter_1F_Text_UsedCutAction:: .string "Used CUT$" -MauvilleCity_PokemonCenter_1F_Text_UsedCutStory:: @ 828F1DE +MauvilleCity_PokemonCenter_1F_Text_UsedCutStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER used CUT\n" @@ -500,13 +500,13 @@ MauvilleCity_PokemonCenter_1F_Text_UsedCutStory:: @ 828F1DE .string "{STR_VAR_3} is a TRAINER who just must\n" .string "love to CUT!$" -MauvilleCity_PokemonCenter_1F_Text_UsedRockSmashTitle:: @ 828F24F +MauvilleCity_PokemonCenter_1F_Text_UsedRockSmashTitle:: .string "The ROCK-SMASHING TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_UsedRockSmashAction:: @ 828F269 +MauvilleCity_PokemonCenter_1F_Text_UsedRockSmashAction:: .string "Smashed rocks$" -MauvilleCity_PokemonCenter_1F_Text_UsedRockSmashStory:: @ 828F277 +MauvilleCity_PokemonCenter_1F_Text_UsedRockSmashStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER used ROCK SMASH\n" @@ -514,13 +514,13 @@ MauvilleCity_PokemonCenter_1F_Text_UsedRockSmashStory:: @ 828F277 .string "{STR_VAR_3} must be a TRAINER who\n" .string "can't leave a stone unsmashed!$" -MauvilleCity_PokemonCenter_1F_Text_MovedBasesTitle:: @ 828F2FC +MauvilleCity_PokemonCenter_1F_Text_MovedBasesTitle:: .string "The Move-Loving TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_MovedBasesAction:: @ 828F314 +MauvilleCity_PokemonCenter_1F_Text_MovedBasesAction:: .string "Moved the SECRET BASE$" -MauvilleCity_PokemonCenter_1F_Text_MovedBasesStory:: @ 828F32A +MauvilleCity_PokemonCenter_1F_Text_MovedBasesStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER moved the SECRET BASE\n" @@ -528,13 +528,13 @@ MauvilleCity_PokemonCenter_1F_Text_MovedBasesStory:: @ 828F32A .string "{STR_VAR_3} is a TRAINER who loves\n" .string "to move houses often!$" -MauvilleCity_PokemonCenter_1F_Text_UsedSplashTitle:: @ 828F3AD +MauvilleCity_PokemonCenter_1F_Text_UsedSplashTitle:: .string "The SPLASH-Happy TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_UsedSplashAction:: @ 828F3C6 +MauvilleCity_PokemonCenter_1F_Text_UsedSplashAction:: .string "Used SPLASH$" -MauvilleCity_PokemonCenter_1F_Text_UsedSplashStory:: @ 828F3D2 +MauvilleCity_PokemonCenter_1F_Text_UsedSplashStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER used SPLASH\n" @@ -542,13 +542,13 @@ MauvilleCity_PokemonCenter_1F_Text_UsedSplashStory:: @ 828F3D2 .string "{STR_VAR_3} is a TRAINER who must love\n" .string "SPLASHING around!$" -MauvilleCity_PokemonCenter_1F_Text_UsedStruggleTitle:: @ 828F44B +MauvilleCity_PokemonCenter_1F_Text_UsedStruggleTitle:: .string "The Tenacious TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_UsedStruggleAction:: @ 828F461 +MauvilleCity_PokemonCenter_1F_Text_UsedStruggleAction:: .string "Resorted to using STRUGGLE$" -MauvilleCity_PokemonCenter_1F_Text_UsedStruggleStory:: @ 828F47C +MauvilleCity_PokemonCenter_1F_Text_UsedStruggleStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER had to rely on STRUGGLE\n" @@ -556,13 +556,13 @@ MauvilleCity_PokemonCenter_1F_Text_UsedStruggleStory:: @ 828F47C .string "{STR_VAR_3} is a tenacious TRAINER\n" .string "who never gives in to adversity!$" -MauvilleCity_PokemonCenter_1F_Text_SlotJackpotsTitle:: @ 828F50C +MauvilleCity_PokemonCenter_1F_Text_SlotJackpotsTitle:: .string "The SLOT Champ$" -MauvilleCity_PokemonCenter_1F_Text_SlotJackpotsAction:: @ 828F51B +MauvilleCity_PokemonCenter_1F_Text_SlotJackpotsAction:: .string "Won the jackpot on the SLOTS$" -MauvilleCity_PokemonCenter_1F_Text_SlotJackpotsStory:: @ 828F538 +MauvilleCity_PokemonCenter_1F_Text_SlotJackpotsStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER won the jackpot on\n" @@ -570,13 +570,13 @@ MauvilleCity_PokemonCenter_1F_Text_SlotJackpotsStory:: @ 828F538 .string "{STR_VAR_3} is a TRAINER who was lucky\n" .string "on the SLOTS!$" -MauvilleCity_PokemonCenter_1F_Text_RouletteWinsTitle:: @ 828F5BE +MauvilleCity_PokemonCenter_1F_Text_RouletteWinsTitle:: .string "The ROULETTE Champ$" -MauvilleCity_PokemonCenter_1F_Text_RouletteWinsAction:: @ 828F5D1 +MauvilleCity_PokemonCenter_1F_Text_RouletteWinsAction:: .string "Had consecutive ROULETTE wins of$" -MauvilleCity_PokemonCenter_1F_Text_RouletteWinsStory:: @ 828F5F2 +MauvilleCity_PokemonCenter_1F_Text_RouletteWinsStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER won in ROULETTE\n" @@ -584,13 +584,13 @@ MauvilleCity_PokemonCenter_1F_Text_RouletteWinsStory:: @ 828F5F2 .string "{STR_VAR_3} was lucky when the ball\n" .string "bounced in ROULETTE!$" -MauvilleCity_PokemonCenter_1F_Text_BattleTowerChallengesTitle:: @ 828F678 +MauvilleCity_PokemonCenter_1F_Text_BattleTowerChallengesTitle:: .string "The BATTLE TOWER Challenger$" -MauvilleCity_PokemonCenter_1F_Text_BattleTowerChallengesAction:: @ 828F694 +MauvilleCity_PokemonCenter_1F_Text_BattleTowerChallengesAction:: .string "Took the BATTLE TOWER challenge$" -MauvilleCity_PokemonCenter_1F_Text_BattleTowerChallengesStory:: @ 828F6B4 +MauvilleCity_PokemonCenter_1F_Text_BattleTowerChallengesStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER took the BATTLE TOWER\n" @@ -598,13 +598,13 @@ MauvilleCity_PokemonCenter_1F_Text_BattleTowerChallengesStory:: @ 828F6B4 .string "{STR_VAR_3} is a TRAINER who aspires\n" .string "for excellence in the BATTLE TOWER!$" -MauvilleCity_PokemonCenter_1F_Text_MadePokeblocksTitle:: @ 828F751 +MauvilleCity_PokemonCenter_1F_Text_MadePokeblocksTitle:: .string "The Blend-Loving TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_MadePokeblocksAction:: @ 828F76A +MauvilleCity_PokemonCenter_1F_Text_MadePokeblocksAction:: .string "Made {POKEBLOCK}S$" -MauvilleCity_PokemonCenter_1F_Text_MadePokeblocksStory:: @ 828F776 +MauvilleCity_PokemonCenter_1F_Text_MadePokeblocksStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER made {POKEBLOCK}S\n" @@ -612,13 +612,13 @@ MauvilleCity_PokemonCenter_1F_Text_MadePokeblocksStory:: @ 828F776 .string "There is none better at using a BERRY\n" .string "BLENDER than {STR_VAR_3}!$" -MauvilleCity_PokemonCenter_1F_Text_EnteredContestsTitle:: @ 828F7F6 +MauvilleCity_PokemonCenter_1F_Text_EnteredContestsTitle:: .string "The CONTEST-Loving TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_EnteredContestsAction:: @ 828F811 +MauvilleCity_PokemonCenter_1F_Text_EnteredContestsAction:: .string "Entered CONTESTS$" -MauvilleCity_PokemonCenter_1F_Text_EnteredContestsStory:: @ 828F822 +MauvilleCity_PokemonCenter_1F_Text_EnteredContestsStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER entered CONTESTS\n" @@ -626,13 +626,13 @@ MauvilleCity_PokemonCenter_1F_Text_EnteredContestsStory:: @ 828F822 .string "{STR_VAR_3} must love showing off\n" .string "POKéMON to others!$" -MauvilleCity_PokemonCenter_1F_Text_WonContestsTitle:: @ 828F89C +MauvilleCity_PokemonCenter_1F_Text_WonContestsTitle:: .string "The CONTEST Master$" -MauvilleCity_PokemonCenter_1F_Text_WonContestsAction:: @ 828F8AF +MauvilleCity_PokemonCenter_1F_Text_WonContestsAction:: .string "Won CONTESTS$" -MauvilleCity_PokemonCenter_1F_Text_WonContestsStory:: @ 828F8BC +MauvilleCity_PokemonCenter_1F_Text_WonContestsStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER won CONTESTS\n" @@ -640,13 +640,13 @@ MauvilleCity_PokemonCenter_1F_Text_WonContestsStory:: @ 828F8BC .string "{STR_VAR_3} must be an incredible\n" .string "CONTEST master!$" -MauvilleCity_PokemonCenter_1F_Text_TimesShoppedTitle:: @ 828F92F +MauvilleCity_PokemonCenter_1F_Text_TimesShoppedTitle:: .string "The Happy Shopper$" -MauvilleCity_PokemonCenter_1F_Text_TimesShoppedAction:: @ 828F941 +MauvilleCity_PokemonCenter_1F_Text_TimesShoppedAction:: .string "Shopped$" -MauvilleCity_PokemonCenter_1F_Text_TimesShoppedStory:: @ 828F949 +MauvilleCity_PokemonCenter_1F_Text_TimesShoppedStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER bought items in shops\n" @@ -654,13 +654,13 @@ MauvilleCity_PokemonCenter_1F_Text_TimesShoppedStory:: @ 828F949 .string "{STR_VAR_3} must be one of those\n" .string "people who are born to shop.$" -MauvilleCity_PokemonCenter_1F_Text_UsedItemFinderTitle:: @ 828F9D1 +MauvilleCity_PokemonCenter_1F_Text_UsedItemFinderTitle:: .string "The Item-Finding TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_UsedItemFinderAction:: @ 828F9EA +MauvilleCity_PokemonCenter_1F_Text_UsedItemFinderAction:: .string "Used an ITEMFINDER$" -MauvilleCity_PokemonCenter_1F_Text_UsedItemFinderStory:: @ 828F9FD +MauvilleCity_PokemonCenter_1F_Text_UsedItemFinderStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER used an ITEMFINDER\n" @@ -668,13 +668,13 @@ MauvilleCity_PokemonCenter_1F_Text_UsedItemFinderStory:: @ 828F9FD .string "{STR_VAR_3} must enjoy scouring the\n" .string "ground for hidden items!$" -MauvilleCity_PokemonCenter_1F_Text_TimesRainedTitle:: @ 828FA81 +MauvilleCity_PokemonCenter_1F_Text_TimesRainedTitle:: .string "The Rain-Soaked TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_TimesRainedAction:: @ 828FA99 +MauvilleCity_PokemonCenter_1F_Text_TimesRainedAction:: .string "Got rained on$" -MauvilleCity_PokemonCenter_1F_Text_TimesRainedStory:: @ 828FAA7 +MauvilleCity_PokemonCenter_1F_Text_TimesRainedStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER got soaked by rain\n" @@ -682,13 +682,13 @@ MauvilleCity_PokemonCenter_1F_Text_TimesRainedStory:: @ 828FAA7 .string "{STR_VAR_3}'s charisma must even\n" .string "attract rain!$" -MauvilleCity_PokemonCenter_1F_Text_CheckedPokedexTitle:: @ 828FB1D +MauvilleCity_PokemonCenter_1F_Text_CheckedPokedexTitle:: .string "The Avid POKéDEX Reader$" -MauvilleCity_PokemonCenter_1F_Text_CheckedPokedexAction:: @ 828FB35 +MauvilleCity_PokemonCenter_1F_Text_CheckedPokedexAction:: .string "Checked a POKéDEX$" -MauvilleCity_PokemonCenter_1F_Text_CheckedPokedexStory:: @ 828FB47 +MauvilleCity_PokemonCenter_1F_Text_CheckedPokedexStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER checked a POKéDEX\n" @@ -696,13 +696,13 @@ MauvilleCity_PokemonCenter_1F_Text_CheckedPokedexStory:: @ 828FB47 .string "{STR_VAR_3} must love inspecting\n" .string "POKéMON in a POKéDEX!$" -MauvilleCity_PokemonCenter_1F_Text_ReceivedRibbonsTitle:: @ 828FBC4 +MauvilleCity_PokemonCenter_1F_Text_ReceivedRibbonsTitle:: .string "The RIBBON Collector$" -MauvilleCity_PokemonCenter_1F_Text_ReceivedRibbonsAction:: @ 828FBD9 +MauvilleCity_PokemonCenter_1F_Text_ReceivedRibbonsAction:: .string "Received RIBBONS$" -MauvilleCity_PokemonCenter_1F_Text_ReceivedRibbonsStory:: @ 828FBEA +MauvilleCity_PokemonCenter_1F_Text_ReceivedRibbonsStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER received RIBBONS\n" @@ -710,13 +710,13 @@ MauvilleCity_PokemonCenter_1F_Text_ReceivedRibbonsStory:: @ 828FBEA .string "{STR_VAR_3} must be a TRAINER who\n" .string "loves to collect RIBBONS!$" -MauvilleCity_PokemonCenter_1F_Text_LedgesJumpedTitle:: @ 828FC6B +MauvilleCity_PokemonCenter_1F_Text_LedgesJumpedTitle:: .string "The Ledge-Jumping TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_LedgesJumpedAction:: @ 828FC85 +MauvilleCity_PokemonCenter_1F_Text_LedgesJumpedAction:: .string "Jumped down ledges$" -MauvilleCity_PokemonCenter_1F_Text_LedgesJumpedStory:: @ 828FC98 +MauvilleCity_PokemonCenter_1F_Text_LedgesJumpedStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER jumped down ledges\n" @@ -724,26 +724,26 @@ MauvilleCity_PokemonCenter_1F_Text_LedgesJumpedStory:: @ 828FC98 .string "If there's a ledge to be jumped,\n" .string "{STR_VAR_3} can't ignore it!$" -MauvilleCity_PokemonCenter_1F_Text_TVWatchedTitle:: @ 828FD1D +MauvilleCity_PokemonCenter_1F_Text_TVWatchedTitle:: .string "The Legendary TV Viewer$" -MauvilleCity_PokemonCenter_1F_Text_TVWatchedAction:: @ 828FD35 +MauvilleCity_PokemonCenter_1F_Text_TVWatchedAction:: .string "Watched TV$" -MauvilleCity_PokemonCenter_1F_Text_TVWatchedStory:: @ 828FD40 +MauvilleCity_PokemonCenter_1F_Text_TVWatchedStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER watched TV\n" .string "{STR_VAR_1} times!\p" .string "{STR_VAR_3} must love watching TV!$" -MauvilleCity_PokemonCenter_1F_Text_CheckedClockTitle:: @ 828FDA2 +MauvilleCity_PokemonCenter_1F_Text_CheckedClockTitle:: .string "The Time-Conscious TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_CheckedClockAction:: @ 828FDBD +MauvilleCity_PokemonCenter_1F_Text_CheckedClockAction:: .string "Checked the time$" -MauvilleCity_PokemonCenter_1F_Text_CheckedClockStory:: @ 828FDCE +MauvilleCity_PokemonCenter_1F_Text_CheckedClockStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER checked the time\n" @@ -751,13 +751,13 @@ MauvilleCity_PokemonCenter_1F_Text_CheckedClockStory:: @ 828FDCE .string "{STR_VAR_3} must be a punctual TRAINER\n" .string "who's conscious of the time.$" -MauvilleCity_PokemonCenter_1F_Text_WonLotteryTitle:: @ 828FE57 +MauvilleCity_PokemonCenter_1F_Text_WonLotteryTitle:: .string "The POKéMON LOTTERY Wizard$" -MauvilleCity_PokemonCenter_1F_Text_WonLotteryAction:: @ 828FE72 +MauvilleCity_PokemonCenter_1F_Text_WonLotteryAction:: .string "Won POKéMON LOTTERIES$" -MauvilleCity_PokemonCenter_1F_Text_WonLotteryStory:: @ 828FE88 +MauvilleCity_PokemonCenter_1F_Text_WonLotteryStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER won POKéMON LOTTERIES\n" @@ -765,13 +765,13 @@ MauvilleCity_PokemonCenter_1F_Text_WonLotteryStory:: @ 828FE88 .string "{STR_VAR_3} must have many friends\n" .string "to trade POKéMON with!$" -MauvilleCity_PokemonCenter_1F_Text_UsedDaycareTitle:: @ 828FF0C +MauvilleCity_PokemonCenter_1F_Text_UsedDaycareTitle:: .string "The DAY CARE-Using Trainer$" -MauvilleCity_PokemonCenter_1F_Text_UsedDaycareAction:: @ 828FF27 +MauvilleCity_PokemonCenter_1F_Text_UsedDaycareAction:: .string "Left POKéMON at the DAY CARE$" -MauvilleCity_PokemonCenter_1F_Text_UsedDaycareStory:: @ 828FF44 +MauvilleCity_PokemonCenter_1F_Text_UsedDaycareStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER left POKéMON with the\n" @@ -779,13 +779,13 @@ MauvilleCity_PokemonCenter_1F_Text_UsedDaycareStory:: @ 828FF44 .string "{STR_VAR_3} must be a real go-getter\n" .string "who raises POKéMON aggressively!$" -MauvilleCity_PokemonCenter_1F_Text_RodeCableCarTitle:: @ 828FFDD +MauvilleCity_PokemonCenter_1F_Text_RodeCableCarTitle:: .string "The CABLE CAR-Loving TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_RodeCableCarAction:: @ 828FFFA +MauvilleCity_PokemonCenter_1F_Text_RodeCableCarAction:: .string "Rode the CABLE CAR$" -MauvilleCity_PokemonCenter_1F_Text_RodeCableCarStory:: @ 829000D +MauvilleCity_PokemonCenter_1F_Text_RodeCableCarStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER rode the CABLE CAR\n" @@ -793,13 +793,13 @@ MauvilleCity_PokemonCenter_1F_Text_RodeCableCarStory:: @ 829000D .string "{STR_VAR_3} must be a busy TRAINER\n" .string "who's up and down all the time!$" -MauvilleCity_PokemonCenter_1F_Text_HotSpringsTitle:: @ 8290097 +MauvilleCity_PokemonCenter_1F_Text_HotSpringsTitle:: .string "The Hot Spring-Loving TRAINER$" -MauvilleCity_PokemonCenter_1F_Text_HotSpringsAction:: @ 82900B5 +MauvilleCity_PokemonCenter_1F_Text_HotSpringsAction:: .string "Bathed in hot springs$" -MauvilleCity_PokemonCenter_1F_Text_HotSpringsStory:: @ 82900CB +MauvilleCity_PokemonCenter_1F_Text_HotSpringsStory:: .string "This is a tale of a TRAINER\n" .string "named {STR_VAR_3}.\p" .string "This TRAINER bathed in hot springs\n" @@ -808,7 +808,7 @@ MauvilleCity_PokemonCenter_1F_Text_HotSpringsStory:: @ 82900CB .string "baby-smooth skin!$" -MauvilleCity_PokemonCenter_1F_EventScript_Storyteller:: @ 829014A +MauvilleCity_PokemonCenter_1F_EventScript_Storyteller:: lock faceplayer setvar VAR_0x8008, 0 @@ -836,20 +836,20 @@ MauvilleCity_PokemonCenter_1F_EventScript_Storyteller:: @ 829014A goto_if_eq MauvilleCity_PokemonCenter_1F_EventScript_AreThereOtherTales goto MauvilleCity_PokemonCenter_1F_EventScript_TellPlayersTale -MauvilleCity_PokemonCenter_1F_EventScript_CancelStorySelection:: @ 82901B7 +MauvilleCity_PokemonCenter_1F_EventScript_CancelStorySelection:: goto MauvilleCity_PokemonCenter_1F_EventScript_DeclineStoryteller end -MauvilleCity_PokemonCenter_1F_EventScript_AreThereOtherTales:: @ 82901BD +MauvilleCity_PokemonCenter_1F_EventScript_AreThereOtherTales:: msgbox MauvilleCity_PokemonCenter_1F_Text_CouldThereBeOtherLegends, MSGBOX_DEFAULT specialvar VAR_RESULT, ScrSpecial_HasStorytellerAlreadyRecorded compare VAR_RESULT, TRUE goto_if_eq MauvilleCity_PokemonCenter_1F_EventScript_StorytellerEnd goto MauvilleCity_PokemonCenter_1F_EventScript_DoYouHaveAnyTales -MauvilleCity_PokemonCenter_1F_EventScript_KnowNoTales:: @ 82901DA +MauvilleCity_PokemonCenter_1F_EventScript_KnowNoTales:: msgbox MauvilleCity_PokemonCenter_1F_Text_IKnowNoTales, MSGBOX_DEFAULT -MauvilleCity_PokemonCenter_1F_EventScript_DoYouHaveAnyTales:: @ 82901E2 +MauvilleCity_PokemonCenter_1F_EventScript_DoYouHaveAnyTales:: msgbox MauvilleCity_PokemonCenter_1F_Text_HaveYouAnyLegendaryTales, MSGBOX_YESNO compare VAR_RESULT, NO goto_if_eq MauvilleCity_PokemonCenter_1F_EventScript_DeclineStoryteller @@ -860,45 +860,45 @@ MauvilleCity_PokemonCenter_1F_EventScript_DoYouHaveAnyTales:: @ 82901E2 release end -MauvilleCity_PokemonCenter_1F_EventScript_TellPlayersTale:: @ 829020F +MauvilleCity_PokemonCenter_1F_EventScript_TellPlayersTale:: msgbox MauvilleCity_PokemonCenter_1F_Text_YouDidStatXTimes, MSGBOX_DEFAULT release end -MauvilleCity_PokemonCenter_1F_EventScript_DeclineStoryteller:: @ 8290219 +MauvilleCity_PokemonCenter_1F_EventScript_DeclineStoryteller:: msgbox MauvilleCity_PokemonCenter_1F_Text_StorytellerFeelingTheBlues, MSGBOX_DEFAULT release end @ Unused -MauvilleCity_PokemonCenter_1F_EventScript_WaitingForRecordMix:: @ 8290223 +MauvilleCity_PokemonCenter_1F_EventScript_WaitingForRecordMix:: msgbox MauvilleCity_PokemonCenter_1F_Text_IWishMorePeopleWereInterested, MSGBOX_DEFAULT release end -MauvilleCity_PokemonCenter_1F_EventScript_StorytellerEnd:: @ 829022D +MauvilleCity_PokemonCenter_1F_EventScript_StorytellerEnd:: release end @ Giddy -MauvilleCity_PokemonCenter_1F_Text_HearMyStory: @ 829022F +MauvilleCity_PokemonCenter_1F_Text_HearMyStory: .string "I'm GIDDY!\n" .string "I have a scintillating story for you!\p" .string "Would you like to hear my story?$" -MauvilleCity_PokemonCenter_1F_Text_GiddyFeelingTheBlues: @ 8290281 +MauvilleCity_PokemonCenter_1F_Text_GiddyFeelingTheBlues: .string "Oh…\n" .string "You've left me feeling the blues…$" -MauvilleCity_PokemonCenter_1F_Text_AlsoIWasThinking: @ 82902A7 +MauvilleCity_PokemonCenter_1F_Text_AlsoIWasThinking: .string "Also, I was thinking…$" -MauvilleCity_PokemonCenter_1F_Text_WeShouldChatAgain: @ 82902BD +MauvilleCity_PokemonCenter_1F_Text_WeShouldChatAgain: .string "That's about it, I think…\p" .string "We should chat again!\n" .string "Bye-bye!$" -MauvilleCity_PokemonCenter_1F_EventScript_Giddy:: @ 82902F6 +MauvilleCity_PokemonCenter_1F_EventScript_Giddy:: lock faceplayer msgbox MauvilleCity_PokemonCenter_1F_Text_HearMyStory, MSGBOX_YESNO @@ -908,7 +908,7 @@ MauvilleCity_PokemonCenter_1F_EventScript_Giddy:: @ 82902F6 goto_if_eq MauvilleCity_PokemonCenter_1F_EventScript_DeclineGiddy end -MauvilleCity_PokemonCenter_1F_EventScript_TryTellTale:: @ 8290317 +MauvilleCity_PokemonCenter_1F_EventScript_TryTellTale:: special ScrSpecial_GiddyShouldTellAnotherTale compare VAR_RESULT, TRUE goto_if_eq MauvilleCity_PokemonCenter_1F_EventScript_GiddyTellTale @@ -916,7 +916,7 @@ MauvilleCity_PokemonCenter_1F_EventScript_TryTellTale:: @ 8290317 goto_if_eq MauvilleCity_PokemonCenter_1F_EventScript_ToldEnoughTales end -MauvilleCity_PokemonCenter_1F_EventScript_TryTellNewTale:: @ 8290331 +MauvilleCity_PokemonCenter_1F_EventScript_TryTellNewTale:: special ScrSpecial_GiddyShouldTellAnotherTale compare VAR_RESULT, TRUE goto_if_eq MauvilleCity_PokemonCenter_1F_EventScript_GiddyStartNewTale @@ -924,13 +924,13 @@ MauvilleCity_PokemonCenter_1F_EventScript_TryTellNewTale:: @ 8290331 goto_if_eq MauvilleCity_PokemonCenter_1F_EventScript_ToldEnoughTales end -MauvilleCity_PokemonCenter_1F_EventScript_GiddyStartNewTale:: @ 829034B +MauvilleCity_PokemonCenter_1F_EventScript_GiddyStartNewTale:: msgbox MauvilleCity_PokemonCenter_1F_Text_AlsoIWasThinking, MSGBOX_DEFAULT goto MauvilleCity_PokemonCenter_1F_EventScript_GiddyTellTale end @ Regardless of whether yes or no is selected below, Giddy will continue to tell stories until he's told 10 -MauvilleCity_PokemonCenter_1F_EventScript_GiddyTellTale:: @ 8290359 +MauvilleCity_PokemonCenter_1F_EventScript_GiddyTellTale:: special ScrSpecial_GenerateGiddyLine special ShowFieldMessageStringVar4 waitmessage @@ -941,29 +941,29 @@ MauvilleCity_PokemonCenter_1F_EventScript_GiddyTellTale:: @ 8290359 goto_if_eq MauvilleCity_PokemonCenter_1F_EventScript_TryTellNewTale end -MauvilleCity_PokemonCenter_1F_EventScript_DeclineGiddy:: @ 829037A +MauvilleCity_PokemonCenter_1F_EventScript_DeclineGiddy:: msgbox MauvilleCity_PokemonCenter_1F_Text_GiddyFeelingTheBlues, MSGBOX_DEFAULT release end -MauvilleCity_PokemonCenter_1F_EventScript_ToldEnoughTales:: @ 8290384 +MauvilleCity_PokemonCenter_1F_EventScript_ToldEnoughTales:: msgbox MauvilleCity_PokemonCenter_1F_Text_WeShouldChatAgain, MSGBOX_DEFAULT release end -MauvilleCity_PokemonCenter_1F_Text_WouldYouLikeToHearMySong: @ 829038E +MauvilleCity_PokemonCenter_1F_Text_WouldYouLikeToHearMySong: .string "Hi, I'm the BARD.\n" .string "Would you like to hear my song?$" -MauvilleCity_PokemonCenter_1F_Text_BardFeelingTheBlues1: @ 82903C0 +MauvilleCity_PokemonCenter_1F_Text_BardFeelingTheBlues1: .string "Oh…\n" .string "You've left me feeling the blues…$" -MauvilleCity_PokemonCenter_1F_Text_WishICouldPlaySongForOthers: @ 82903E6 +MauvilleCity_PokemonCenter_1F_Text_WishICouldPlaySongForOthers: .string "Oh, what a moving song…\n" .string "I wish I could play it for others…$" -MauvilleCity_PokemonCenter_1F_Text_WouldYouLikeToWriteSomeLyrics: @ 8290421 +MauvilleCity_PokemonCenter_1F_Text_WouldYouLikeToWriteSomeLyrics: .string "So?\n" .string "How do you like my song?\p" .string "But I'm none too happy about\n" @@ -971,38 +971,38 @@ MauvilleCity_PokemonCenter_1F_Text_WouldYouLikeToWriteSomeLyrics: @ 8290421 .string "How would you like to write some\n" .string "new lyrics for me?$" -MauvilleCity_PokemonCenter_1F_Text_BardFeelingTheBlues2: @ 829049B +MauvilleCity_PokemonCenter_1F_Text_BardFeelingTheBlues2: .string "Oh…\n" .string "You've left me feeling the blues…$" -MauvilleCity_PokemonCenter_1F_Text_LetMeSingItForYou: @ 82904C1 +MauvilleCity_PokemonCenter_1F_Text_LetMeSingItForYou: .string "Thank you kindly!\n" .string "Let me sing it for you.$" -MauvilleCity_PokemonCenter_1F_Text_ThatHowYouWantedSongToGo: @ 82904EB +MauvilleCity_PokemonCenter_1F_Text_ThatHowYouWantedSongToGo: .string "Was that how you wanted your song\n" .string "to go?$" -MauvilleCity_PokemonCenter_1F_Text_IllSingThisSongForAWhile: @ 8290514 +MauvilleCity_PokemonCenter_1F_Text_IllSingThisSongForAWhile: .string "Okay! That's it, then.\n" .string "I'll sing this song for a while.$" -MauvilleCity_PokemonCenter_1F_Text_TeachWhatsHipAndHappening: @ 829054C +MauvilleCity_PokemonCenter_1F_Text_TeachWhatsHipAndHappening: .string "Hey, yo! They call me the HIPSTER.\n" .string "I'll teach you what's hip and happening.$" -MauvilleCity_PokemonCenter_1F_Text_IAlreadyTaughtYou: @ 8290598 +MauvilleCity_PokemonCenter_1F_Text_IAlreadyTaughtYou: .string "But, hey, I taught you what's hip and\n" .string "happening already.\p" .string "I'd like to spread the good word to\n" .string "other folks.$" -MauvilleCity_PokemonCenter_1F_Text_IveGotNothingNewToTeach: @ 8290602 +MauvilleCity_PokemonCenter_1F_Text_IveGotNothingNewToTeach: .string "But, hey, you already know a lot about\n" .string "what's hip and happening.\p" .string "I've got nothing new to teach you!$" -MauvilleCity_PokemonCenter_1F_Text_HaveYouHeardOfPhrase: @ 8290666 +MauvilleCity_PokemonCenter_1F_Text_HaveYouHeardOfPhrase: .string "Hey, have you heard about\n" .string "“{STR_VAR_1}”?\p" .string "What's it mean? Well…\n" diff --git a/data/scripts/mevent.inc b/data/scripts/mevent.inc index 731154315..b33a33270 100644 --- a/data/scripts/mevent.inc +++ b/data/scripts/mevent.inc @@ -1,4 +1,4 @@ -EventScript_Questionnaire:: @ 827381B +EventScript_Questionnaire:: lockall msgbox Mevent_Text_FillOutQuestionnaire, MSGBOX_YESNO compare VAR_RESULT, NO @@ -18,7 +18,7 @@ EventScript_Questionnaire:: @ 827381B goto_if_eq Mevent_EventScript_QuestionnaireThankYou end -Mevent_EventScript_PlayerInputMysteryEventPhrase:: @ 827386D +Mevent_EventScript_PlayerInputMysteryEventPhrase:: goto_if_unset FLAG_SYS_POKEDEX_GET, Mevent_EventScript_QuestionnaireThankYou goto_if_set FLAG_SYS_MYSTERY_EVENT_ENABLE, Mevent_EventScript_QuestionnaireThankYou applymovement VAR_0x8008, Common_Movement_FaceDown @@ -34,7 +34,7 @@ Mevent_EventScript_PlayerInputMysteryEventPhrase:: @ 827386D releaseall end -Mevent_EventScript_PlayerInputMysteryGiftPhrase:: @ 82738B5 +Mevent_EventScript_PlayerInputMysteryGiftPhrase:: goto_if_unset FLAG_SYS_POKEDEX_GET, Mevent_EventScript_QuestionnaireThankYou goto_if_set FLAG_SYS_MYSTERY_GIFT_ENABLE, Mevent_EventScript_QuestionnaireThankYou applymovement VAR_0x8008, Common_Movement_FaceDown @@ -50,11 +50,11 @@ Mevent_EventScript_PlayerInputMysteryGiftPhrase:: @ 82738B5 releaseall end -Mevent_EventScript_Release:: @ 82738FD +Mevent_EventScript_Release:: releaseall end -Mevent_EventScript_QuestionnaireThankYou:: @ 82738FF +Mevent_EventScript_QuestionnaireThankYou:: applymovement VAR_0x8008, Common_Movement_FaceDown waitmovement 0 msgbox Mevent_Text_QuestionnaireThankYou, MSGBOX_DEFAULT diff --git a/data/scripts/mevent_altering_cave.inc b/data/scripts/mevent_altering_cave.inc index 499907edd..7e9b0a758 100644 --- a/data/scripts/mevent_altering_cave.inc +++ b/data/scripts/mevent_altering_cave.inc @@ -1,10 +1,10 @@ -MysteryEventScript_AlteringCave:: @ 86756E3 +MysteryEventScript_AlteringCave:: setvaddress MysteryEventScript_AlteringCave addvar VAR_ALTERING_CAVE_WILD_SET, 1 compare VAR_ALTERING_CAVE_WILD_SET, 10 vgoto_if_ne MysteryEventScript_AlteringCave_ setvar VAR_ALTERING_CAVE_WILD_SET, 0 -MysteryEventScript_AlteringCave_: @ 86756FD +MysteryEventScript_AlteringCave_: lock faceplayer vmessage sText_MysteryGiftAlteringCave diff --git a/data/scripts/mevent_aurora_ticket.inc b/data/scripts/mevent_aurora_ticket.inc index f26be068f..9d7334638 100644 --- a/data/scripts/mevent_aurora_ticket.inc +++ b/data/scripts/mevent_aurora_ticket.inc @@ -1,4 +1,4 @@ -MysteryEventScript_AuroraTicket:: @ 867533C +MysteryEventScript_AuroraTicket:: setvaddress MysteryEventScript_AuroraTicket lock faceplayer @@ -22,14 +22,14 @@ MysteryEventScript_AuroraTicket:: @ 867533C release end -AuroraTicket_NoBagSpace: @ 8675397 +AuroraTicket_NoBagSpace: vmessage sText_AuroraTicketBagFull waitmessage waitbuttonpress release end -AuroraTicket_Obtained: @ 86753A0 +AuroraTicket_Obtained: vmessage sText_AuroraTicketThankYou waitmessage waitbuttonpress diff --git a/data/scripts/mevent_battle_card.inc b/data/scripts/mevent_battle_card.inc index 70462bdd9..3a66297e1 100644 --- a/data/scripts/mevent_battle_card.inc +++ b/data/scripts/mevent_battle_card.inc @@ -1,4 +1,4 @@ -MysteryEventScript_BattleCard:: @ 867513C +MysteryEventScript_BattleCard:: setvaddress MysteryEventScript_BattleCard vgoto_if_set FLAG_MYSTERY_EVENT_DONE, MysteryEventScript_BattleCardInfo setorcopyvar VAR_RESULT, GET_CARD_BATTLES_WON @@ -15,7 +15,7 @@ MysteryEventScript_BattleCard:: @ 867513C setflag FLAG_MYSTERY_EVENT_DONE end -MysteryEventScript_BattleCardInfo: @ 8675179 +MysteryEventScript_BattleCardInfo: lock faceplayer vmessage sText_MysteryGiftBattleCountCard diff --git a/data/scripts/mevent_mystic_ticket.inc b/data/scripts/mevent_mystic_ticket.inc index 8f938dc33..e085c5a59 100644 --- a/data/scripts/mevent_mystic_ticket.inc +++ b/data/scripts/mevent_mystic_ticket.inc @@ -1,4 +1,4 @@ -MysteryEventScript_MysticTicket:: @ 867550B +MysteryEventScript_MysticTicket:: setvaddress MysteryEventScript_MysticTicket lock faceplayer @@ -23,14 +23,14 @@ MysteryEventScript_MysticTicket:: @ 867550B release end -MysticTicket_NoBagSpace: @ 867556F +MysticTicket_NoBagSpace: vmessage sText_MysticTicketBagFull waitmessage waitbuttonpress release end -MysticTicket_Obtained: @ 8675578 +MysticTicket_Obtained: vmessage sText_MysticTicketThankYou waitmessage waitbuttonpress diff --git a/data/scripts/mevent_old_sea_map.inc b/data/scripts/mevent_old_sea_map.inc index 0fb3c1002..68714117b 100644 --- a/data/scripts/mevent_old_sea_map.inc +++ b/data/scripts/mevent_old_sea_map.inc @@ -1,4 +1,4 @@ -MysteryEventScript_OldSeaMap:: @ 86757F4 +MysteryEventScript_OldSeaMap:: setvaddress MysteryEventScript_OldSeaMap lock faceplayer @@ -22,14 +22,14 @@ MysteryEventScript_OldSeaMap:: @ 86757F4 release end -OldSeaMap_NoBagSpace: @ 867584F +OldSeaMap_NoBagSpace: vmessage sText_MysteryGiftOldSeaMapBagFull waitmessage waitbuttonpress release end -OldSeaMap_Obtained: @ 8675858 +OldSeaMap_Obtained: vmessage sText_MysteryGiftOldSeaMapThankYou waitmessage waitbuttonpress diff --git a/data/scripts/mevent_pichu.inc b/data/scripts/mevent_pichu.inc index 2b9e09df9..02b47b41f 100644 --- a/data/scripts/mevent_pichu.inc +++ b/data/scripts/mevent_pichu.inc @@ -1,9 +1,9 @@ -MysteryEventScript_SurfPichu:: @ 8674D3D +MysteryEventScript_SurfPichu:: setvaddress MysteryEventScript_SurfPichu vgoto_if_unset FLAG_MYSTERY_EVENT_DONE, SurfPichu_GiveIfPossible returnram -SurfPichu_GiveIfPossible: @ 8674D4C +SurfPichu_GiveIfPossible: specialvar VAR_EVENT_PICHU_SLOT, CalculatePlayerPartyCount compare VAR_EVENT_PICHU_SLOT, PARTY_SIZE vgoto_if_eq SurfPichu_FullParty @@ -19,7 +19,7 @@ SurfPichu_GiveIfPossible: @ 8674D4C release end -SurfPichu_FullParty: @ 8674D73 +SurfPichu_FullParty: lock faceplayer vmessage sText_FullParty @@ -28,7 +28,7 @@ SurfPichu_FullParty: @ 8674D73 release end -SurfPichu_GiveEgg: @ 8674D7E +SurfPichu_GiveEgg: giveegg SPECIES_PICHU setmoneventlegal VAR_EVENT_PICHU_SLOT setmonmetlocation VAR_EVENT_PICHU_SLOT, METLOC_FATEFUL_ENCOUNTER @@ -44,23 +44,23 @@ SurfPichu_GiveEgg: @ 8674D7E vgoto_if_eq SurfPichu_Slot5 return -SurfPichu_Slot1: @ 8674DC0 +SurfPichu_Slot1: setmonmove 1, 2, MOVE_SURF return -SurfPichu_Slot2:: @ 8674DC6 +SurfPichu_Slot2:: setmonmove 2, 2, MOVE_SURF return -SurfPichu_Slot3: @ 8674DCC +SurfPichu_Slot3: setmonmove 3, 2, MOVE_SURF return -SurfPichu_Slot4: @ 8674DD2 +SurfPichu_Slot4: setmonmove 4, 2, MOVE_SURF return -SurfPichu_Slot5: @ 8674DD8 +SurfPichu_Slot5: setmonmove 5, 2, MOVE_SURF return diff --git a/data/scripts/mevent_stamp_card.inc b/data/scripts/mevent_stamp_card.inc index dcef80a50..eeb361854 100644 --- a/data/scripts/mevent_stamp_card.inc +++ b/data/scripts/mevent_stamp_card.inc @@ -1,4 +1,4 @@ -MysteryEventScript_StampCard:: @ 8674CB0 +MysteryEventScript_StampCard:: setvaddress MysteryEventScript_StampCard setorcopyvar VAR_RESULT, GET_MAX_STAMPS specialvar VAR_0x8008, GetMysteryEventCardVal diff --git a/data/scripts/mevent_trainer.inc b/data/scripts/mevent_trainer.inc index 4114750d8..f4318408d 100644 --- a/data/scripts/mevent_trainer.inc +++ b/data/scripts/mevent_trainer.inc @@ -1,4 +1,4 @@ -MysteryEventScript_VisitingTrainer:: @ 8674EC1 +MysteryEventScript_VisitingTrainer:: setvaddress MysteryEventScript_VisitingTrainer special ValidateEReaderTrainer compare VAR_RESULT, 0 @@ -11,7 +11,7 @@ MysteryEventScript_VisitingTrainer:: @ 8674EC1 release end -MysteryEventScript_VisitingTrainerArrived: @ 8674EDF +MysteryEventScript_VisitingTrainerArrived: lock faceplayer vmessage sText_MysteryGiftVisitingTrainerArrived diff --git a/data/scripts/move_tutors.inc b/data/scripts/move_tutors.inc index a7807ce51..cc952749d 100644 --- a/data/scripts/move_tutors.inc +++ b/data/scripts/move_tutors.inc @@ -1,4 +1,4 @@ -SlateportCity_PokemonFanClub_EventScript_SwaggerTutor:: @ 82C7F16 +SlateportCity_PokemonFanClub_EventScript_SwaggerTutor:: lock faceplayer goto_if_set FLAG_MOVE_TUTOR_TAUGHT_SWAGGER, MoveTutor_EventScript_SwaggerTaught @@ -17,17 +17,17 @@ SlateportCity_PokemonFanClub_EventScript_SwaggerTutor:: @ 82C7F16 goto MoveTutor_EventScript_SwaggerTaught end -MoveTutor_EventScript_SwaggerDeclined:: @ 82C7F6A +MoveTutor_EventScript_SwaggerDeclined:: msgbox MoveTutor_Text_SwaggerDeclined, MSGBOX_DEFAULT release end -MoveTutor_EventScript_SwaggerTaught:: @ 82C7F74 +MoveTutor_EventScript_SwaggerTaught:: msgbox MoveTutor_Text_SwaggerTaught, MSGBOX_DEFAULT release end -MauvilleCity_EventScript_RolloutTutor:: @ 82C7F7E +MauvilleCity_EventScript_RolloutTutor:: lock faceplayer goto_if_set FLAG_MOVE_TUTOR_TAUGHT_ROLLOUT, MoveTutor_EventScript_RolloutTaught @@ -46,17 +46,17 @@ MauvilleCity_EventScript_RolloutTutor:: @ 82C7F7E goto MoveTutor_EventScript_RolloutTaught end -MoveTutor_EventScript_RolloutDeclined:: @ 82C7FD2 +MoveTutor_EventScript_RolloutDeclined:: msgbox MoveTutor_Text_RolloutDeclined, MSGBOX_DEFAULT release end -MoveTutor_EventScript_RolloutTaught:: @ 82C7FDC +MoveTutor_EventScript_RolloutTaught:: msgbox MoveTutor_Text_RolloutTaught, MSGBOX_DEFAULT release end -VerdanturfTown_PokemonCenter_1F_EventScript_FuryCutterTutor:: @ 82C7FE6 +VerdanturfTown_PokemonCenter_1F_EventScript_FuryCutterTutor:: lock faceplayer goto_if_set FLAG_MOVE_TUTOR_TAUGHT_FURY_CUTTER, MoveTutor_EventScript_FuryCutterTaught @@ -75,17 +75,17 @@ VerdanturfTown_PokemonCenter_1F_EventScript_FuryCutterTutor:: @ 82C7FE6 goto MoveTutor_EventScript_FuryCutterTaught end -MoveTutor_EventScript_FuryCutterDeclined:: @ 82C803A +MoveTutor_EventScript_FuryCutterDeclined:: msgbox MoveTutor_Text_FuryCutterDeclined, MSGBOX_DEFAULT release end -MoveTutor_EventScript_FuryCutterTaught:: @ 82C8044 +MoveTutor_EventScript_FuryCutterTaught:: msgbox MoveTutor_Text_FuryCutterTaught, MSGBOX_DEFAULT release end -LavaridgeTown_House_EventScript_MimicTutor:: @ 82C804E +LavaridgeTown_House_EventScript_MimicTutor:: lock faceplayer goto_if_set FLAG_MOVE_TUTOR_TAUGHT_MIMIC, MoveTutor_EventScript_MimicTaught @@ -104,17 +104,17 @@ LavaridgeTown_House_EventScript_MimicTutor:: @ 82C804E goto MoveTutor_EventScript_MimicTaught end -MoveTutor_EventScript_MimicDeclined:: @ 82C80A2 +MoveTutor_EventScript_MimicDeclined:: msgbox MoveTutor_MimicDeclined, MSGBOX_DEFAULT release end -MoveTutor_EventScript_MimicTaught:: @ 82C80AC +MoveTutor_EventScript_MimicTaught:: msgbox MoveTutor_Text_MimicTaught, MSGBOX_DEFAULT release end -FallarborTown_Mart_EventScript_MetronomeTutor:: @ 82C80B6 +FallarborTown_Mart_EventScript_MetronomeTutor:: lock faceplayer goto_if_set FLAG_MOVE_TUTOR_TAUGHT_METRONOME, MoveTutor_EventScript_MetronomeTaught @@ -133,17 +133,17 @@ FallarborTown_Mart_EventScript_MetronomeTutor:: @ 82C80B6 goto MoveTutor_EventScript_MetronomeTaught end -MoveTutor_EventScript_MetronomeDeclined:: @ 82C810A +MoveTutor_EventScript_MetronomeDeclined:: msgbox MoveTutor_Text_MetronomeDeclined, MSGBOX_DEFAULT release end -MoveTutor_EventScript_MetronomeTaught:: @ 82C8114 +MoveTutor_EventScript_MetronomeTaught:: msgbox MoveTutor_Text_MetronomeTaught, MSGBOX_DEFAULT release end -FortreeCity_House2_EventScript_SleepTalkTutor:: @ 82C811E +FortreeCity_House2_EventScript_SleepTalkTutor:: lock faceplayer goto_if_set FLAG_MOVE_TUTOR_TAUGHT_SLEEP_TALK, MoveTutor_EventScript_SleepTalkTaught @@ -162,17 +162,17 @@ FortreeCity_House2_EventScript_SleepTalkTutor:: @ 82C811E goto MoveTutor_EventScript_SleepTalkTaught end -MoveTutor_EventScript_SleepTalkDeclined:: @ 82C8172 +MoveTutor_EventScript_SleepTalkDeclined:: msgbox MoveTutor_Text_SleepTalkDeclined, MSGBOX_DEFAULT release end -MoveTutor_EventScript_SleepTalkTaught:: @ 82C817C +MoveTutor_EventScript_SleepTalkTaught:: msgbox MoveTutor_Text_SleepTalkTaught, MSGBOX_DEFAULT release end -LilycoveCity_DepartmentStoreRooftop_EventScript_SubstituteTutor:: @ 82C8186 +LilycoveCity_DepartmentStoreRooftop_EventScript_SubstituteTutor:: lock faceplayer goto_if_set FLAG_MOVE_TUTOR_TAUGHT_SUBSTITUTE, MoveTutor_EventScript_SubstituteTaught @@ -191,17 +191,17 @@ LilycoveCity_DepartmentStoreRooftop_EventScript_SubstituteTutor:: @ 82C8186 goto MoveTutor_EventScript_SubstituteTaught end -MoveTutor_EventScript_SubstituteDeclined:: @ 82C81DA +MoveTutor_EventScript_SubstituteDeclined:: msgbox MoveTutor_Text_SubstituteDeclined, MSGBOX_DEFAULT release end -MoveTutor_EventScript_SubstituteTaught:: @ 82C81E4 +MoveTutor_EventScript_SubstituteTaught:: msgbox MoveTutor_Text_SubstituteTaught, MSGBOX_DEFAULT release end -MossdeepCity_EventScript_DynamicPunchTutor:: @ 82C81EE +MossdeepCity_EventScript_DynamicPunchTutor:: lock faceplayer goto_if_set FLAG_MOVE_TUTOR_TAUGHT_DYNAMICPUNCH, MoveTutor_EventScript_DynamicPunchTaught @@ -220,17 +220,17 @@ MossdeepCity_EventScript_DynamicPunchTutor:: @ 82C81EE goto MoveTutor_EventScript_DynamicPunchTaught end -MoveTutor_EventScript_DynamicPunchDeclined:: @ 82C8242 +MoveTutor_EventScript_DynamicPunchDeclined:: msgbox MoveTutor_Text_DynamicPunchDeclined, MSGBOX_DEFAULT release end -MoveTutor_EventScript_DynamicPunchTaught:: @ 82C824C +MoveTutor_EventScript_DynamicPunchTaught:: msgbox MoveTutor_Text_DynamicPunchTaught, MSGBOX_DEFAULT release end -SootopolisCity_PokemonCenter_1F_EventScript_DoubleEdgeTutor:: @ 82C8256 +SootopolisCity_PokemonCenter_1F_EventScript_DoubleEdgeTutor:: lock faceplayer goto_if_set FLAG_MOVE_TUTOR_TAUGHT_DOUBLE_EDGE, MoveTutor_EventScript_DoubleEdgeTaught @@ -249,17 +249,17 @@ SootopolisCity_PokemonCenter_1F_EventScript_DoubleEdgeTutor:: @ 82C8256 goto MoveTutor_EventScript_DoubleEdgeTaught end -MoveTutor_EventScript_DoubleEdgeDeclined:: @ 82C82AA +MoveTutor_EventScript_DoubleEdgeDeclined:: msgbox MoveTutor_Text_DoubleEdgeDeclined, MSGBOX_DEFAULT release end -MoveTutor_EventScript_DoubleEdgeTaught:: @ 82C82B4 +MoveTutor_EventScript_DoubleEdgeTaught:: msgbox MoveTutor_Text_DoubleEdgeTaught, MSGBOX_DEFAULT release end -PacifidlogTown_PokemonCenter_1F_EventScript_ExplosionTutor:: @ 82C82BE +PacifidlogTown_PokemonCenter_1F_EventScript_ExplosionTutor:: lock faceplayer goto_if_set FLAG_MOVE_TUTOR_TAUGHT_EXPLOSION, MoveTutor_EventScript_ExplosionTaught @@ -278,23 +278,23 @@ PacifidlogTown_PokemonCenter_1F_EventScript_ExplosionTutor:: @ 82C82BE goto MoveTutor_EventScript_ExplosionTaught end -MoveTutor_EventScript_ExplosionDeclined:: @ 82C8312 +MoveTutor_EventScript_ExplosionDeclined:: msgbox MoveTutor_Text_ExplosionDeclined, MSGBOX_DEFAULT release end -MoveTutor_EventScript_ExplosionTaught:: @ 82C831C +MoveTutor_EventScript_ExplosionTaught:: msgbox MoveTutor_Text_ExplosionTaught, MSGBOX_DEFAULT release end -MoveTutor_EventScript_OpenPartyMenu:: @ 82C8326 +MoveTutor_EventScript_OpenPartyMenu:: special ChooseMonForMoveTutor waitstate lock faceplayer return -MoveTutor_EventScript_CanOnlyBeLearnedOnce:: @ 82C832D +MoveTutor_EventScript_CanOnlyBeLearnedOnce:: msgbox MoveTutor_Text_ThisMoveCanOnlyBeLearnedOnce, MSGBOX_YESNO return diff --git a/data/scripts/movement.inc b/data/scripts/movement.inc index 3dd1a8144..3f75d30dd 100644 --- a/data/scripts/movement.inc +++ b/data/scripts/movement.inc @@ -1,74 +1,74 @@ -Common_Movement_QuestionMark: @ 8272596 +Common_Movement_QuestionMark: emote_question_mark step_end -Common_Movement_ExclamationMark: @ 8272598 +Common_Movement_ExclamationMark: emote_exclamation_mark step_end -Common_Movement_Delay48: @ 827259A +Common_Movement_Delay48: delay_16 delay_16 delay_16 step_end -Common_Movement_FacePlayer: @ 827259E +Common_Movement_FacePlayer: face_player step_end -Common_Movement_FaceAwayPlayer: @ 82725A0 +Common_Movement_FaceAwayPlayer: face_away_player step_end -Common_Movement_FaceOriginalDirection: @ 82725A2 +Common_Movement_FaceOriginalDirection: face_original_direction step_end -Common_Movement_WalkInPlaceFastestLeft: @ 82725A4 +Common_Movement_WalkInPlaceFastestLeft: walk_in_place_fastest_left step_end -Common_Movement_WalkInPlaceFastestUp: @ 82725A6 +Common_Movement_WalkInPlaceFastestUp: walk_in_place_fastest_up step_end -Common_Movement_WalkInPlaceFastestRight: @ 82725A8 +Common_Movement_WalkInPlaceFastestRight: walk_in_place_fastest_right step_end -Common_Movement_WalkInPlaceFastestDown: @ 82725AA +Common_Movement_WalkInPlaceFastestDown: walk_in_place_fastest_down step_end -Common_Movement_FaceRight: @ 82725AC +Common_Movement_FaceRight: face_right step_end -Common_Movement_FaceLeft: @ 82725AE +Common_Movement_FaceLeft: face_left step_end -Common_Movement_FaceDown: @ 82725B0 +Common_Movement_FaceDown: face_down step_end -Common_Movement_FaceUp: @ 82725B2 +Common_Movement_FaceUp: face_up step_end -Common_Movement_WalkInPlaceDown: @ 82725B4 +Common_Movement_WalkInPlaceDown: walk_in_place_down step_end -Common_Movement_WalkInPlaceLeft: @ 82725B6 +Common_Movement_WalkInPlaceLeft: walk_in_place_left step_end -Common_Movement_WalkInPlaceRight: @ 82725B8 +Common_Movement_WalkInPlaceRight: walk_in_place_right step_end -Common_Movement_WalkUp6: @ 82725BA +Common_Movement_WalkUp6: walk_up walk_up walk_up @@ -77,24 +77,24 @@ Common_Movement_WalkUp6: @ 82725BA walk_up step_end -Common_Movement_WalkUp4: @ 82725C1 +Common_Movement_WalkUp4: walk_up walk_up walk_up walk_up step_end -Common_Movement_Delay32: @ 82725C6 +Common_Movement_Delay32: delay_16 delay_16 step_end -Common_Movement_WalkUp: @ 82725C9 +Common_Movement_WalkUp: walk_up step_end @ Unused -Common_Movement_WalkUp2:: @ 82725CB +Common_Movement_WalkUp2:: walk_up walk_up step_end diff --git a/data/scripts/mystery_event_club.inc b/data/scripts/mystery_event_club.inc index 77d24adf6..f0cb55998 100644 --- a/data/scripts/mystery_event_club.inc +++ b/data/scripts/mystery_event_club.inc @@ -1,4 +1,4 @@ -MysteryEventClub_EventScript_Man:: @ 8291539 +MysteryEventClub_EventScript_Man:: lock faceplayer goto_if_set FLAG_SYS_CHAT_USED, MysteryEventClub_EventScript_GivenProfileBefore @@ -6,7 +6,7 @@ MysteryEventClub_EventScript_Man:: @ 8291539 goto MysteryEventClub_EventScript_AskToSeeProfile end -MysteryEventClub_EventScript_AskToSeeProfile:: @ 8291552 +MysteryEventClub_EventScript_AskToSeeProfile:: msgbox MysteryEventClub_Text_MayISeeYourProfile, MSGBOX_DEFAULT multichoice 17, 6, MULTI_YESNOINFO_2, FALSE switch VAR_RESULT @@ -16,12 +16,12 @@ MysteryEventClub_EventScript_AskToSeeProfile:: @ 8291552 case MULTI_B_PRESSED, MysteryEventClub_EventScript_DeclineShowProfile end -MysteryEventClub_EventScript_Info:: @ 8291591 +MysteryEventClub_EventScript_Info:: msgbox MysteryEventClub_Text_EasyChatExplanation, MSGBOX_DEFAULT goto MysteryEventClub_EventScript_AskToSeeProfile end -MysteryEventClub_EventScript_CreateProfile:: @ 829159F +MysteryEventClub_EventScript_CreateProfile:: msgbox MysteryEventClub_Text_LetsSeeItThen, MSGBOX_DEFAULT closemessage setvar VAR_0x8004, EASY_CHAT_TYPE_PROFILE @@ -34,12 +34,12 @@ MysteryEventClub_EventScript_CreateProfile:: @ 829159F goto_if_eq MysteryEventClub_EventScript_ShowProfile end -MysteryEventClub_EventScript_CancelShowProfile:: @ 82915CB +MysteryEventClub_EventScript_CancelShowProfile:: msgbox MysteryEventClub_Text_NotIntoItRightNow, MSGBOX_DEFAULT release end -MysteryEventClub_EventScript_ShowProfile:: @ 82915D5 +MysteryEventClub_EventScript_ShowProfile:: setvar VAR_0x8004, 0 special ShowEasyChatProfile waitmessage @@ -48,17 +48,17 @@ MysteryEventClub_EventScript_ShowProfile:: @ 82915D5 release end -MysteryEventClub_EventScript_DeclineShowProfile:: @ 82915EB +MysteryEventClub_EventScript_DeclineShowProfile:: msgbox MysteryEventClub_Text_ImagineYouWouldHaveWonderfulProfile, MSGBOX_DEFAULT release end -MysteryEventClub_EventScript_GivenProfileBefore:: @ 82915F5 +MysteryEventClub_EventScript_GivenProfileBefore:: msgbox MysteryEventClub_Text_YouHaveWonderfulSmile, MSGBOX_DEFAULT goto MysteryEventClub_EventScript_AskToSeeNewProfile end -MysteryEventClub_EventScript_AskToSeeNewProfile:: @ 8291603 +MysteryEventClub_EventScript_AskToSeeNewProfile:: msgbox MysteryEventClub_Text_MayISeeYourNewProfile, MSGBOX_DEFAULT multichoice 17, 6, MULTI_YESNOINFO_2, FALSE switch VAR_RESULT @@ -68,12 +68,12 @@ MysteryEventClub_EventScript_AskToSeeNewProfile:: @ 8291603 case MULTI_B_PRESSED, MysteryEventClub_EventScript_DeclineNewProfile end -MysteryEventClub_EventScript_InfoNewProfile:: @ 8291642 +MysteryEventClub_EventScript_InfoNewProfile:: msgbox MysteryEventClub_Text_EasyChatExplanation, MSGBOX_DEFAULT goto MysteryEventClub_EventScript_AskToSeeNewProfile end -MysteryEventClub_EventScript_CreateNewProfile:: @ 8291650 +MysteryEventClub_EventScript_CreateNewProfile:: msgbox MysteryEventClub_Text_EvenBetterThanLastProfile, MSGBOX_DEFAULT closemessage setvar VAR_0x8004, EASY_CHAT_TYPE_PROFILE @@ -86,26 +86,26 @@ MysteryEventClub_EventScript_CreateNewProfile:: @ 8291650 goto_if_eq MysteryEventClub_EventScript_ShowProfile end -MysteryEventClub_EventScript_DeclineNewProfile:: @ 829167C +MysteryEventClub_EventScript_DeclineNewProfile:: msgbox MysteryEventClub_Text_LikeProfileWayItIs, MSGBOX_DEFAULT release end @ Unused -MysteryEventClub_EventScript_Ret:: @ 8291686 +MysteryEventClub_EventScript_Ret:: return -MysteryEventClub_Text_CollectTrainerProfiles: @ 8291687 +MysteryEventClub_Text_CollectTrainerProfiles: .string "Hello there, TRAINER!\n" .string "You've got a wonderful smile, there.\p" .string "I have a hobby--collecting the profiles\n" .string "of POKéMON TRAINERS.$" -MysteryEventClub_Text_MayISeeYourProfile: @ 82916FF +MysteryEventClub_Text_MayISeeYourProfile: .string "So, how about it?\n" .string "May I see your profile?$" -MysteryEventClub_Text_EasyChatExplanation: @ 8291729 +MysteryEventClub_Text_EasyChatExplanation: .string "You make your own profile by putting\n" .string "together four words or phrases.\p" .string "Here, I'll show you an example of a\n" @@ -124,37 +124,37 @@ MysteryEventClub_Text_EasyChatExplanation: @ 8291729 .string "Repeat for the remaining text choices,\n" .string "and you'll have your very own profile.$" -MysteryEventClub_Text_LetsSeeItThen: @ 8291969 +MysteryEventClub_Text_LetsSeeItThen: .string "Yes! Thank you!\n" .string "So, let's see it, then.$" -MysteryEventClub_Text_ImagineYouWouldHaveWonderfulProfile: @ 8291991 +MysteryEventClub_Text_ImagineYouWouldHaveWonderfulProfile: .string "Oh, no, really?\p" .string "I imagine someone like you would have\n" .string "a wonderful profile…$" -MysteryEventClub_Text_NotIntoItRightNow: @ 82919DC +MysteryEventClub_Text_NotIntoItRightNow: .string "Oh? You're not into it right now?\p" .string "Well, anytime is good by me!$" -MysteryEventClub_Text_YouHaveWonderfulSmile: @ 8291A1B +MysteryEventClub_Text_YouHaveWonderfulSmile: .string "Hello there, TRAINER!\n" .string "You've got a wonderful smile.$" -MysteryEventClub_Text_MayISeeYourNewProfile: @ 8291A4F +MysteryEventClub_Text_MayISeeYourNewProfile: .string "May I see your new profile?$" -MysteryEventClub_Text_EvenBetterThanLastProfile: @ 8291A6B +MysteryEventClub_Text_EvenBetterThanLastProfile: .string "Yes! Thank you!\p" .string "I hope it's even better than the profile\n" .string "you showed me before.$" -MysteryEventClub_Text_LikeProfileWayItIs: @ 8291ABA +MysteryEventClub_Text_LikeProfileWayItIs: .string "Oh, you like your profile the way it is.\p" .string "I don't blame you--it's a wonderful\n" .string "profile the way it is now.$" -MysteryEventClub_Text_FantasticProfile: @ 8291B22 +MysteryEventClub_Text_FantasticProfile: .string "F-fantastic!\p" .string "Your profile, it's wonderful!\n" .string "It really says what you're about.\p" @@ -163,7 +163,7 @@ MysteryEventClub_Text_FantasticProfile: @ 8291B22 .string "Thank you!$" @ Unused -MysteryEventClub_Text_YouKnowSecretSaying: @ 8291BB7 +MysteryEventClub_Text_YouKnowSecretSaying: .string "Oh?\n" .string "You know the secret saying!\p" .string "That means you're now a fellow member\n" diff --git a/data/scripts/new_game.inc b/data/scripts/new_game.inc index 2a314b3d1..f31cedc80 100644 --- a/data/scripts/new_game.inc +++ b/data/scripts/new_game.inc @@ -1,4 +1,4 @@ -EventScript_ResetAllBerries:: @ 827149D +EventScript_ResetAllBerries:: @ Route 102 setberrytree BERRY_TREE_ROUTE_102_ORAN, ITEM_TO_BERRY(ITEM_ORAN_BERRY), BERRY_STAGE_BERRIES setberrytree BERRY_TREE_ROUTE_102_PECHA, ITEM_TO_BERRY(ITEM_PECHA_BERRY), BERRY_STAGE_BERRIES @@ -112,7 +112,7 @@ EventScript_ResetAllBerries:: @ 827149D setberrytree BERRY_TREE_ROUTE_130_LIECHI, ITEM_TO_BERRY(ITEM_LIECHI_BERRY), BERRY_STAGE_BERRIES return -EventScript_ResetAllMapFlags:: @ 82715DE +EventScript_ResetAllMapFlags:: setflag FLAG_HIDE_CONTEST_POKE_BALL setflag FLAG_HIDE_ROUTE_111_VICTORIA_WINSTRATE setflag FLAG_HIDE_ROUTE_111_VIVI_WINSTRATE diff --git a/data/scripts/obtain_item.inc b/data/scripts/obtain_item.inc index 19f57d9d5..382f5ce32 100644 --- a/data/scripts/obtain_item.inc +++ b/data/scripts/obtain_item.inc @@ -1,10 +1,10 @@ -Std_ObtainItem:: @ 8271AD3 +Std_ObtainItem:: additem VAR_0x8000, VAR_0x8001 copyvar VAR_0x8007, VAR_RESULT call EventScript_ObtainItemMessage return -EventScript_ObtainItemMessage:: @ 8271AE3 +EventScript_ObtainItemMessage:: bufferitemnameplural 1, VAR_0x8000, VAR_0x8001 checkitemtype VAR_0x8000 call EventScript_BufferPocketNameAndTryFanfare @@ -14,7 +14,7 @@ EventScript_ObtainItemMessage:: @ 8271AE3 call_if_eq EventScript_NoRoomForItem return -EventScript_BufferPocketNameAndTryFanfare:: @ 8271B08 +EventScript_BufferPocketNameAndTryFanfare:: switch VAR_RESULT case POCKET_ITEMS, EventScript_BufferItemsPocket case POCKET_KEY_ITEMS, EventScript_BufferKeyItemsPocket @@ -23,62 +23,62 @@ EventScript_BufferPocketNameAndTryFanfare:: @ 8271B08 case POCKET_BERRIES, EventScript_BufferBerriesPocket end -EventScript_BufferItemsPocket:: @ 8271B45 +EventScript_BufferItemsPocket:: bufferstdstring 2, STDSTRING_ITEMS compare VAR_0x8007, 1 call_if_eq EventScript_PlayFanfareObtainedItem return -EventScript_BufferKeyItemsPocket:: @ 8271B55 +EventScript_BufferKeyItemsPocket:: bufferstdstring 2, STDSTRING_KEYITEMS compare VAR_0x8007, 1 call_if_eq EventScript_PlayFanfareObtainedItem return -EventScript_BufferPokeballsPocket:: @ 8271B65 +EventScript_BufferPokeballsPocket:: bufferstdstring 2, STDSTRING_POKEBALLS compare VAR_0x8007, 1 call_if_eq EventScript_PlayFanfareObtainedItem return -EventScript_BufferTMHMsPocket:: @ 8271B75 +EventScript_BufferTMHMsPocket:: bufferstdstring 2, STDSTRING_TMHMS compare VAR_0x8007, 1 call_if_eq EventScript_PlayFanfareObtainedTMHM return -EventScript_BufferBerriesPocket:: @ 8271B85 +EventScript_BufferBerriesPocket:: bufferstdstring 2, STDSTRING_BERRIES compare VAR_0x8007, 1 call_if_eq EventScript_PlayFanfareObtainedItem return -EventScript_ObtainedItem:: @ 8271B95 +EventScript_ObtainedItem:: message gText_ObtainedTheItem waitfanfare msgbox gText_PutItemInPocket, MSGBOX_DEFAULT setvar VAR_RESULT, 1 return -EventScript_NoRoomForItem:: @ 8271BA9 +EventScript_NoRoomForItem:: setvar VAR_RESULT, 0 return -EventScript_PlayFanfareObtainedItem:: @ 8271BAF +EventScript_PlayFanfareObtainedItem:: playfanfare MUS_OBTAIN_ITEM return -EventScript_PlayFanfareObtainedTMHM:: @ 8271BB3 +EventScript_PlayFanfareObtainedTMHM:: playfanfare MUS_OBTAIN_TMHM return -Std_ObtainDecoration:: @ 8271BB7 +Std_ObtainDecoration:: adddecoration VAR_0x8000 copyvar VAR_0x8007, VAR_RESULT call EventScript_ObtainDecorationMessage return -EventScript_ObtainDecorationMessage:: @ 8271BC5 +EventScript_ObtainDecorationMessage:: bufferdecorationname 1, VAR_0x8000 compare VAR_0x8007, 1 call_if_eq EventScript_ObtainedDecor @@ -86,7 +86,7 @@ EventScript_ObtainDecorationMessage:: @ 8271BC5 call_if_eq EventScript_NoRoomForDecor return -EventScript_ObtainedDecor:: @ 8271BE0 +EventScript_ObtainedDecor:: playfanfare MUS_OBTAIN_ITEM message gText_ObtainedTheDecor waitfanfare @@ -94,11 +94,11 @@ EventScript_ObtainedDecor:: @ 8271BE0 setvar VAR_RESULT, 1 return -EventScript_NoRoomForDecor:: @ 8271BF7 +EventScript_NoRoomForDecor:: setvar VAR_RESULT, 0 return -Std_FindItem:: @ 8271BFD +Std_FindItem:: lock faceplayer waitse @@ -116,7 +116,7 @@ Std_FindItem:: @ 8271BFD release return -EventScript_PickUpItem:: @ 8271C3A +EventScript_PickUpItem:: removeobject VAR_LAST_TALKED additem VAR_0x8004, VAR_0x8005 specialvar VAR_RESULT, BufferTMHMMoveName @@ -134,26 +134,26 @@ EventScript_PickUpItem:: @ 8271C3A msgbox gText_PutItemInPocket, MSGBOX_DEFAULT return -EventScript_PutBattlePyramidItemInBag:: @ 8271C86 +EventScript_PutBattlePyramidItemInBag:: msgbox gText_PlayerPutItemInBag, MSGBOX_DEFAULT return -EventScript_FoundTMHM:: @ 8271C8F +EventScript_FoundTMHM:: bufferitemnameplural 0, VAR_0x8004, VAR_0x8005 message gText_PlayerFoundOneTMHM return -EventScript_FoundItem:: @ 8271C9B +EventScript_FoundItem:: message gText_PlayerFoundOneItem return -EventScript_NoRoomToPickUpItem:: @ 8271CA1 +EventScript_NoRoomToPickUpItem:: msgbox gText_ObtainedTheItem, MSGBOX_DEFAULT msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT setvar VAR_RESULT, 0 return -EventScript_HiddenItemScript:: @ 8271CB7 +EventScript_HiddenItemScript:: lockall waitse additem VAR_0x8005 @@ -167,7 +167,7 @@ EventScript_HiddenItemScript:: @ 8271CB7 goto_if_eq EventScript_NoRoomForHiddenItem end -EventScript_PickUpHiddenItem:: @ 8271CE8 +EventScript_PickUpHiddenItem:: copyvar VAR_0x8008, VAR_0x8004 copyvar VAR_0x8004, VAR_0x8005 specialvar VAR_RESULT, BufferTMHMMoveName @@ -177,18 +177,18 @@ EventScript_PickUpHiddenItem:: @ 8271CE8 goto_if_eq EventScript_FoundHiddenItem end -EventScript_FoundHiddenTMHM:: @ 8271D0E +EventScript_FoundHiddenTMHM:: bufferitemnameplural 0, VAR_0x8004, 1 message gText_PlayerFoundOneTMHM goto EventScript_PutHiddenItemInPocket end -EventScript_FoundHiddenItem:: @ 8271D1F +EventScript_FoundHiddenItem:: message gText_PlayerFoundOneItem goto EventScript_PutHiddenItemInPocket end -EventScript_PutHiddenItemInPocket:: @ 8271D2A +EventScript_PutHiddenItemInPocket:: waitmessage waitfanfare bufferitemnameplural 1, VAR_0x8004, 1 @@ -199,7 +199,7 @@ EventScript_PutHiddenItemInPocket:: @ 8271D2A releaseall end -EventScript_NoRoomForHiddenItem:: @ 8271D47 +EventScript_NoRoomForHiddenItem:: msgbox gText_PlayerFoundOneItem, MSGBOX_DEFAULT msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT setvar VAR_RESULT, 0 diff --git a/data/scripts/pc.inc b/data/scripts/pc.inc index b3602ee6f..43c0bca0d 100644 --- a/data/scripts/pc.inc +++ b/data/scripts/pc.inc @@ -1,4 +1,4 @@ -EventScript_PC:: @ 8271D92 +EventScript_PC:: lockall setvar VAR_0x8004, 0 special DoPCTurnOnEffect @@ -7,7 +7,7 @@ EventScript_PC:: @ 8271D92 goto EventScript_PCMainMenu end -EventScript_PCMainMenu:: @ 8271DAC +EventScript_PCMainMenu:: message gText_WhichPCShouldBeAccessed waitmessage special ScriptMenu_CreatePCMultichoice @@ -15,7 +15,7 @@ EventScript_PCMainMenu:: @ 8271DAC goto EventScript_AccessPC end -EventScript_AccessPC:: @ 8271DBC +EventScript_AccessPC:: switch VAR_RESULT case 0, EventScript_AccessPokemonStorage case 1, EventScript_AccessPlayersPC @@ -24,7 +24,7 @@ EventScript_AccessPC:: @ 8271DBC case MULTI_B_PRESSED, EventScript_TurnOffPC end -EventScript_AccessPlayersPC:: @ 8271DF9 +EventScript_AccessPlayersPC:: playse SE_PC_LOGIN msgbox gText_AccessedPlayersPC, MSGBOX_DEFAULT special PlayerPC @@ -32,7 +32,7 @@ EventScript_AccessPlayersPC:: @ 8271DF9 goto EventScript_PCMainMenu end -EventScript_AccessPokemonStorage:: @ 8271E0E +EventScript_AccessPokemonStorage:: playse SE_PC_LOGIN call_if_unset FLAG_SYS_PC_LANETTE, EventScript_AccessSomeonesPC call_if_set FLAG_SYS_PC_LANETTE, EventScript_AccessLanettesPC @@ -42,22 +42,22 @@ EventScript_AccessPokemonStorage:: @ 8271E0E goto EventScript_PCMainMenu end -EventScript_AccessSomeonesPC:: @ 8271E35 +EventScript_AccessSomeonesPC:: msgbox gText_AccessedSomeonesPC, MSGBOX_DEFAULT return -EventScript_AccessLanettesPC:: @ 8271E3E +EventScript_AccessLanettesPC:: msgbox gText_AccessedLanettesPC, MSGBOX_DEFAULT return -EventScript_TurnOffPC:: @ 8271E47 +EventScript_TurnOffPC:: setvar VAR_0x8004, 0 playse SE_PC_OFF special DoPCTurnOffEffect releaseall end -EventScript_AccessHallOfFame:: @ 8271E54 +EventScript_AccessHallOfFame:: goto_if_unset FLAG_SYS_GAME_CLEAR, EventScript_TurnOffPC playse SE_PC_LOGIN special AccessHallOfFamePC diff --git a/data/scripts/pc_transfer.inc b/data/scripts/pc_transfer.inc index ec58b26f1..1fe575d55 100644 --- a/data/scripts/pc_transfer.inc +++ b/data/scripts/pc_transfer.inc @@ -1,11 +1,11 @@ @ VAR_0x8004 here is used by ChangePokemonNickname -Common_EventScript_GetGiftMonPartySlot:: @ 827378B +Common_EventScript_GetGiftMonPartySlot:: getpartysize subvar VAR_RESULT, 1 copyvar VAR_0x8004, VAR_RESULT return -Common_EventScript_NameReceivedBoxMon:: @ 8273797 +Common_EventScript_NameReceivedBoxMon:: fadescreen FADE_TO_BLACK special ChangeBoxPokemonNickname waitstate @@ -13,40 +13,40 @@ Common_EventScript_NameReceivedBoxMon:: @ 8273797 faceplayer return -Common_EventScript_TransferredToPC:: @ 82737A0 +Common_EventScript_TransferredToPC:: bufferboxname 0, VAR_PC_BOX_TO_SEND_MON bufferspeciesname 1, VAR_TEMP_1 call_if_unset FLAG_SYS_PC_LANETTE, EventScript_TransferredSomeonesPC call_if_set FLAG_SYS_PC_LANETTE, EventScript_TransferredLanettesPC return -EventScript_TransferredSomeonesPC:: @ 82737BB +EventScript_TransferredSomeonesPC:: specialvar VAR_RESULT, ShouldShowBoxWasFullMessage compare VAR_RESULT, 1 goto_if_eq EventScript_SomeonesPCBoxFull msgbox gText_PkmnTransferredSomeonesPC, MSGBOX_DEFAULT return -EventScript_SomeonesPCBoxFull:: @ 82737D4 +EventScript_SomeonesPCBoxFull:: specialvar VAR_RESULT, GetPCBoxToSendMon bufferboxname 2, VAR_RESULT msgbox gText_PkmnTransferredSomeonesPCBoxFull, MSGBOX_DEFAULT return -EventScript_TransferredLanettesPC:: @ 82737E6 +EventScript_TransferredLanettesPC:: specialvar VAR_RESULT, ShouldShowBoxWasFullMessage compare VAR_RESULT, TRUE goto_if_eq EventScript_LanettesPCBoxFull msgbox gText_PkmnTransferredLanettesPC, MSGBOX_DEFAULT return -EventScript_LanettesPCBoxFull:: @ 82737FF +EventScript_LanettesPCBoxFull:: specialvar VAR_RESULT, GetPCBoxToSendMon bufferboxname 2, VAR_RESULT msgbox gText_PkmnTransferredLanettesPCBoxFull, MSGBOX_DEFAULT return -Common_EventScript_NoMoreRoomForPokemon:: @ 8273811 +Common_EventScript_NoMoreRoomForPokemon:: msgbox gText_NoMoreRoomForPokemon, MSGBOX_DEFAULT release end diff --git a/data/scripts/pkmn_center_nurse.inc b/data/scripts/pkmn_center_nurse.inc index 6b4bbe2ef..7797b3061 100644 --- a/data/scripts/pkmn_center_nurse.inc +++ b/data/scripts/pkmn_center_nurse.inc @@ -1,4 +1,4 @@ -Common_EventScript_PkmnCenterNurse:: @ 827191E +Common_EventScript_PkmnCenterNurse:: lock faceplayer setvar VAR_0x8004, 0 @@ -12,12 +12,12 @@ Common_EventScript_PkmnCenterNurse:: @ 827191E goto_if_eq EventScript_PkmnCenterNurse_Goodbye end -EventScript_PkmnCenterNurse_Goodbye:: @ 8271954 +EventScript_PkmnCenterNurse_Goodbye:: message gText_WeHopeToSeeYouAgain return @ VAR_0x8004 is 1 when player has Gold Card; jumps are identical -EventScript_PkmnCenterNurse_HealPkmn:: @ 827195A +EventScript_PkmnCenterNurse_HealPkmn:: incrementgamestat GAME_STAT_USED_POKECENTER compare VAR_0x8004, 0 call_if_eq EventScript_PkmnCenterNurse_IllTakeYourPkmn @@ -29,15 +29,15 @@ EventScript_PkmnCenterNurse_HealPkmn:: @ 827195A goto EventScript_PkmnCenterNurse_CheckTrainerHillAndUnionRoom end -EventScript_PkmnCenterNurse_IllTakeYourPkmn:: @ 8271987 +EventScript_PkmnCenterNurse_IllTakeYourPkmn:: message gText_IllTakeYourPkmn return -EventScript_PkmnCenterNurse_IllTakeYourPkmn2:: @ 827198D +EventScript_PkmnCenterNurse_IllTakeYourPkmn2:: message gText_IllTakeYourPkmn2 return -EventScript_PkmnCenterNurse_TakeAndHealPkmn:: @ 8271993 +EventScript_PkmnCenterNurse_TakeAndHealPkmn:: applymovement VAR_0x800B, Common_Movement_WalkInPlaceFastestLeft waitmovement 0 dofieldeffect FLDEFF_POKECENTER_HEAL @@ -47,7 +47,7 @@ EventScript_PkmnCenterNurse_TakeAndHealPkmn:: @ 8271993 special HealPlayerParty return -EventScript_PkmnCenterNurse_CheckTrainerHillAndUnionRoom:: @ 82719B1 +EventScript_PkmnCenterNurse_CheckTrainerHillAndUnionRoom:: specialvar VAR_RESULT, PlayerNotAtTrainerHillEntrance compare VAR_RESULT, 0 goto_if_eq EventScript_PkmnCenterNurse_ReturnPkmn @@ -60,7 +60,7 @@ EventScript_PkmnCenterNurse_CheckTrainerHillAndUnionRoom:: @ 82719B1 end @ VAR_0x8004 is 1 when player has Gold Card -EventScript_PkmnCenterNurse_ReturnPkmn:: @ 82719E2 +EventScript_PkmnCenterNurse_ReturnPkmn:: compare VAR_0x8004, 1 goto_if_eq EventScript_PkmnCenterNurse_ReturnPkmn2 message gText_RestoredPkmnToFullHealth @@ -70,7 +70,7 @@ EventScript_PkmnCenterNurse_ReturnPkmn:: @ 82719E2 message gText_WeHopeToSeeYouAgain return -EventScript_PkmnCenterNurse_ReturnPkmn2:: @ 8271A03 +EventScript_PkmnCenterNurse_ReturnPkmn2:: message gText_ThankYouForWaiting waitmessage applymovement VAR_0x800B, Movement_PkmnCenterNurse_Bow @@ -78,7 +78,7 @@ EventScript_PkmnCenterNurse_ReturnPkmn2:: @ 8271A03 message gText_WeHopeToSeeYouAgain2 return -EventScript_PkmnCenterNurse_PlayerWaitingInUnionRoom:: @ 8271A19 +EventScript_PkmnCenterNurse_PlayerWaitingInUnionRoom:: goto_if_set FLAG_NURSE_UNION_ROOM_REMINDER, EventScript_PkmnCenterNurse_ReturnPkmn msgbox gText_RestoredPkmnToFullHealth, MSGBOX_DEFAULT setflag FLAG_NURSE_UNION_ROOM_REMINDER @@ -89,7 +89,7 @@ EventScript_PkmnCenterNurse_PlayerWaitingInUnionRoom:: @ 8271A19 message gText_WeHopeToSeeYouAgain return -EventScript_PkmnCenterNurse_CheckPokerus:: @ 8271A43 +EventScript_PkmnCenterNurse_CheckPokerus:: specialvar VAR_RESULT, IsPokerusInParty compare VAR_RESULT, TRUE goto_if_eq EventScript_PkmnCenterNurse_ExplainPokerus @@ -97,12 +97,12 @@ EventScript_PkmnCenterNurse_CheckPokerus:: @ 8271A43 goto_if_eq EventScript_PkmnCenterNurse_CheckTrainerHillAndUnionRoom end -EventScript_PkmnCenterNurse_ExplainPokerus:: @ 8271A5F +EventScript_PkmnCenterNurse_ExplainPokerus:: message gText_PokerusExplanation setflag FLAG_POKERUS_EXPLAINED return -EventScript_PkmnCenterNurse_GoldCard:: @ 8271A68 +EventScript_PkmnCenterNurse_GoldCard:: goto_if_set FLAG_NURSE_MENTIONS_GOLD_CARD, EventScript_PkmnCenterNurse_AskForUsual setflag FLAG_NURSE_MENTIONS_GOLD_CARD msgbox gText_WelcomeCutShort, MSGBOX_DEFAULT @@ -117,19 +117,19 @@ EventScript_PkmnCenterNurse_GoldCard:: @ 8271A68 message gText_WeHopeToSeeYouAgain2 return -EventScript_PkmnCenterNurse_AskForUsual:: @ 8271AAC +EventScript_PkmnCenterNurse_AskForUsual:: msgbox gText_YouWantTheUsual, MSGBOX_YESNO compare VAR_RESULT, YES goto_if_eq EventScript_PkmnCenterNurse_GoldCardHealPkmn message gText_WeHopeToSeeYouAgain2 return -EventScript_PkmnCenterNurse_GoldCardHealPkmn:: @ 8271AC5 +EventScript_PkmnCenterNurse_GoldCardHealPkmn:: setvar VAR_0x8004, 1 goto EventScript_PkmnCenterNurse_HealPkmn end -Movement_PkmnCenterNurse_Bow: @ 8271AD0 +Movement_PkmnCenterNurse_Bow: nurse_joy_bow delay_4 step_end diff --git a/data/scripts/players_house.inc b/data/scripts/players_house.inc index 427355332..e7e862039 100644 --- a/data/scripts/players_house.inc +++ b/data/scripts/players_house.inc @@ -3,11 +3,11 @@ .set LOCALID_DAD, 5 .set LOCALID_MOM_2F, 14 -PlayersHouse_2F_EventScript_BlockStairsUntilClockIsSet:: @ 82926FE +PlayersHouse_2F_EventScript_BlockStairsUntilClockIsSet:: setvar VAR_LITTLEROOT_INTRO_STATE, 5 return -PlayersHouse_1F_EventScript_EnterHouseMovingIn:: @ 8292704 +PlayersHouse_1F_EventScript_EnterHouseMovingIn:: msgbox PlayersHouse_1F_Text_IsntItNiceInHere, MSGBOX_DEFAULT applymovement VAR_0x8004, Common_Movement_FacePlayer waitmovement 0 @@ -24,21 +24,21 @@ PlayersHouse_1F_EventScript_EnterHouseMovingIn:: @ 8292704 releaseall end -PlayersHouse_1F_EventScript_MomFacePlayerMovingInMale:: @ 829274D +PlayersHouse_1F_EventScript_MomFacePlayerMovingInMale:: applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight waitmovement 0 return -PlayersHouse_1F_EventScript_MomFacePlayerMovingInFemale:: @ 8292758 +PlayersHouse_1F_EventScript_MomFacePlayerMovingInFemale:: applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft waitmovement 0 return -PlayersHouse_1F_Movement_PlayerWalkIn: @ 8292763 +PlayersHouse_1F_Movement_PlayerWalkIn: walk_up step_end -PlayersHouse_1F_EventScript_MomGoSeeRoom:: @ 8292765 +PlayersHouse_1F_EventScript_MomGoSeeRoom:: msgbox PlayersHouse_1F_Text_ArentYouInterestedInRoom, MSGBOX_DEFAULT closemessage applymovement VAR_0x8004, Common_Movement_WalkInPlaceFastestUp @@ -47,19 +47,19 @@ PlayersHouse_1F_EventScript_MomGoSeeRoom:: @ 8292765 releaseall end -LittlerootTown_BrendansHouse_2F_EventScript_WallClock:: @ 8292781 +LittlerootTown_BrendansHouse_2F_EventScript_WallClock:: lockall setvar VAR_0x8004, MALE goto PlayersHouse_2F_EventScript_WallClock end -LittlerootTown_MaysHouse_2F_EventScript_WallClock:: @ 829278D +LittlerootTown_MaysHouse_2F_EventScript_WallClock:: lockall setvar VAR_0x8004, FEMALE goto PlayersHouse_2F_EventScript_WallClock end -PlayersHouse_2F_EventScript_WallClock:: @ 8292799 +PlayersHouse_2F_EventScript_WallClock:: goto_if_set FLAG_SET_WALL_CLOCK, PlayersHouse_2F_EventScript_CheckWallClock msgbox PlayersHouse_2F_Text_ClockIsStopped, MSGBOX_DEFAULT call PlayersHouse_2F_EventScript_SetWallClock @@ -78,7 +78,7 @@ PlayersHouse_2F_EventScript_WallClock:: @ 8292799 releaseall end -PlayersHouse_2F_EventScript_MomComesUpstairsMale:: @ 82927DF +PlayersHouse_2F_EventScript_MomComesUpstairsMale:: setvar VAR_0x8008, LOCALID_MOM_2F addobject VAR_0x8008 applymovement VAR_0x8008, PlayersHouse_2F_Movement_MomEntersMale @@ -91,7 +91,7 @@ PlayersHouse_2F_EventScript_MomComesUpstairsMale:: @ 82927DF waitmovement 0 return -PlayersHouse_2F_EventScript_MomComesUpstairsFemale:: @ 829280F +PlayersHouse_2F_EventScript_MomComesUpstairsFemale:: setvar VAR_0x8008, LOCALID_MOM_2F addobject VAR_0x8008 applymovement VAR_0x8008, PlayersHouse_2F_Movement_MomEntersFemale @@ -104,7 +104,7 @@ PlayersHouse_2F_EventScript_MomComesUpstairsFemale:: @ 829280F waitmovement 0 return -PlayersHouse_2F_EventScript_CheckWallClock:: @ 829283F +PlayersHouse_2F_EventScript_CheckWallClock:: incrementgamestat GAME_STAT_CHECKED_CLOCK fadescreen FADE_TO_BLACK special Special_ViewWallClock @@ -112,13 +112,13 @@ PlayersHouse_2F_EventScript_CheckWallClock:: @ 829283F releaseall end -PlayersHouse_2F_EventScript_SetWallClock:: @ 8292849 +PlayersHouse_2F_EventScript_SetWallClock:: fadescreen FADE_TO_BLACK special StartWallClock waitstate return -PlayersHouse_2F_Movement_MomEntersMale: @ 8292850 +PlayersHouse_2F_Movement_MomEntersMale: delay_8 walk_down walk_in_place_fastest_left @@ -127,13 +127,13 @@ PlayersHouse_2F_Movement_MomEntersMale: @ 8292850 walk_left step_end -PlayersHouse_2F_Movement_MomExitsMale: @ 8292857 +PlayersHouse_2F_Movement_MomExitsMale: walk_right walk_up delay_8 step_end -PlayersHouse_2F_Movement_MomEntersFemale: @ 829285B +PlayersHouse_2F_Movement_MomEntersFemale: delay_8 walk_down walk_in_place_fastest_right @@ -142,18 +142,18 @@ PlayersHouse_2F_Movement_MomEntersFemale: @ 829285B walk_right step_end -PlayersHouse_2F_Movement_MomExitsFemale: @ 8292862 +PlayersHouse_2F_Movement_MomExitsFemale: walk_left walk_up delay_8 step_end -PlayersHouse_1F_EventScript_SetWatchedBroadcast:: @ 8292866 +PlayersHouse_1F_EventScript_SetWatchedBroadcast:: setvar VAR_LITTLEROOT_INTRO_STATE, 7 releaseall end -PlayersHouse_1F_EventScript_PetalburgGymReportMale:: @ 829286D +PlayersHouse_1F_EventScript_PetalburgGymReportMale:: applymovement VAR_0x8005, Common_Movement_WalkInPlaceFastestRight waitmovement 0 call PlayersHouse_1F_EventScript_MomNoticeGymBroadcast @@ -178,7 +178,7 @@ PlayersHouse_1F_EventScript_PetalburgGymReportMale:: @ 829286D goto PlayersHouse_1F_EventScript_SetWatchedBroadcast end -PlayersHouse_1F_EventScript_PetalburgGymReportFemale:: @ 82928DC +PlayersHouse_1F_EventScript_PetalburgGymReportFemale:: applymovement VAR_0x8005, Common_Movement_WalkInPlaceFastestLeft waitmovement 0 call PlayersHouse_1F_EventScript_MomNoticeGymBroadcast @@ -203,7 +203,7 @@ PlayersHouse_1F_EventScript_PetalburgGymReportFemale:: @ 82928DC goto PlayersHouse_1F_EventScript_SetWatchedBroadcast end -PlayersHouse_1F_EventScript_MomNoticeGymBroadcast:: @ 829294B +PlayersHouse_1F_EventScript_MomNoticeGymBroadcast:: playse SE_PIN applymovement VAR_0x8005, Common_Movement_ExclamationMark waitmovement 0 @@ -213,7 +213,7 @@ PlayersHouse_1F_EventScript_MomNoticeGymBroadcast:: @ 829294B closemessage return -PlayersHouse_1F_EventScript_WatchGymBroadcast:: @ 829296C +PlayersHouse_1F_EventScript_WatchGymBroadcast:: applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp waitmovement 0 msgbox PlayersHouse_1F_Text_ReportFromPetalburgGym, MSGBOX_DEFAULT @@ -223,7 +223,7 @@ PlayersHouse_1F_EventScript_WatchGymBroadcast:: @ 829296C delay 35 return -PlayersHouse_1F_Movement_MomApproachDadMale: @ 8292989 +PlayersHouse_1F_Movement_MomApproachDadMale: walk_up walk_right walk_right @@ -233,7 +233,7 @@ PlayersHouse_1F_Movement_MomApproachDadMale: @ 8292989 walk_in_place_fastest_right step_end -PlayersHouse_1F_Movement_MomApproachDadFemale: @ 8292991 +PlayersHouse_1F_Movement_MomApproachDadFemale: walk_up walk_left walk_left @@ -243,15 +243,15 @@ PlayersHouse_1F_Movement_MomApproachDadFemale: @ 8292991 walk_in_place_fastest_left step_end -PlayersHouse_1F_Movement_MomApproachPlayerMale: @ 8292999 +PlayersHouse_1F_Movement_MomApproachPlayerMale: walk_right step_end -PlayersHouse_1F_Movement_MomApproachPlayerFemale: @ 829299B +PlayersHouse_1F_Movement_MomApproachPlayerFemale: walk_left step_end -PlayersHouse_1F_Movement_MomNoticesLatiBroadcastMale: @ 829299D +PlayersHouse_1F_Movement_MomNoticesLatiBroadcastMale: walk_in_place_fastest_left delay_16 delay_16 @@ -262,7 +262,7 @@ PlayersHouse_1F_Movement_MomNoticesLatiBroadcastMale: @ 829299D delay_16 step_end -PlayersHouse_1F_Movement_MomNoticesLatiBroadcastFemale: @ 82929A6 +PlayersHouse_1F_Movement_MomNoticesLatiBroadcastFemale: walk_in_place_fastest_right delay_16 delay_16 @@ -273,41 +273,41 @@ PlayersHouse_1F_Movement_MomNoticesLatiBroadcastFemale: @ 82929A6 delay_16 step_end -PlayersHouse_1F_Movement_MomApproachPlayerAfterTVMale: @ 82929AF +PlayersHouse_1F_Movement_MomApproachPlayerAfterTVMale: walk_up walk_left walk_left step_end -PlayersHouse_1F_Movement_MomApproachPlayerAfterTVFemale: @ 82929B3 +PlayersHouse_1F_Movement_MomApproachPlayerAfterTVFemale: walk_up walk_right walk_right step_end -PlayersHouse_1F_Movement_MomMakeRoomToSeeTVMale: @ 82929B7 +PlayersHouse_1F_Movement_MomMakeRoomToSeeTVMale: walk_left walk_in_place_fastest_right step_end -PlayersHouse_1F_Movement_MomMakeRoomToSeeTVFemale: @ 82929BA +PlayersHouse_1F_Movement_MomMakeRoomToSeeTVFemale: walk_right walk_in_place_fastest_left step_end -PlayersHouse_1F_Movement_MomReturnToSeatMale: @ 82929BD +PlayersHouse_1F_Movement_MomReturnToSeatMale: walk_left walk_down walk_in_place_fastest_right step_end -PlayersHouse_1F_Movement_MomReturnToSeatFemale: @ 82929C1 +PlayersHouse_1F_Movement_MomReturnToSeatFemale: walk_right walk_down walk_in_place_fastest_left step_end -PlayersHouse_1F_EventScript_Mom:: @ 82929C5 +PlayersHouse_1F_EventScript_Mom:: lock faceplayer compare VAR_LITTLEROOT_HOUSES_STATE_MAY, 4 @@ -324,12 +324,12 @@ PlayersHouse_1F_EventScript_Mom:: @ 82929C5 release end -PlayersHouse_1F_EventScript_DontPushYourselfTooHard:: @ 8292A0F +PlayersHouse_1F_EventScript_DontPushYourselfTooHard:: msgbox PlayersHouse_1F_Text_DontPushYourselfTooHard, MSGBOX_DEFAULT release end -PlayersHouse_1F_EventScript_TryRegisterMom:: @ 8292A19 +PlayersHouse_1F_EventScript_TryRegisterMom:: goto_if_set FLAG_ENABLE_MOM_MATCH_CALL, PlayersHouse_1F_EventScript_CheckGiveAmuletCoin msgbox PlayersHouse_1F_Text_IsThatAPokenav, MSGBOX_DEFAULT closemessage @@ -343,11 +343,11 @@ PlayersHouse_1F_EventScript_TryRegisterMom:: @ 8292A19 release end -PlayersHouse_1F_EventScript_CheckGiveAmuletCoin:: @ 8292A43 +PlayersHouse_1F_EventScript_CheckGiveAmuletCoin:: goto_if_set FLAG_BADGE05_GET, PlayersHouse_1F_EventScript_TryGiveAmuletCoin goto PlayersHouse_1F_EventScript_MomHealsParty -PlayersHouse_1F_EventScript_TryGiveAmuletCoin:: @ 8292A51 +PlayersHouse_1F_EventScript_TryGiveAmuletCoin:: goto_if_set FLAG_RECEIVED_AMULET_COIN, PlayersHouse_1F_EventScript_MomHealsParty msgbox PlayersHouse_1F_Text_GotDadsBadgeHeresSomethingFromMom, MSGBOX_DEFAULT giveitem ITEM_AMULET_COIN @@ -358,17 +358,17 @@ PlayersHouse_1F_EventScript_TryGiveAmuletCoin:: @ 8292A51 release end -PlayersHouse_1F_EventScript_MomHealsParty:: @ 8292A86 +PlayersHouse_1F_EventScript_MomHealsParty:: msgbox PlayersHouse_1F_Text_YouShouldRestABit, MSGBOX_DEFAULT goto PlayersHouse_1F_EventScript_HealParty end -PlayersHouse_1F_EventScript_SeeYouHoney:: @ 8292A94 +PlayersHouse_1F_EventScript_SeeYouHoney:: msgbox PlayersHouse_1F_Text_SeeYouHoney, MSGBOX_DEFAULT release end -PlayersHouse_1F_EventScript_HealParty:: @ 8292A9E +PlayersHouse_1F_EventScript_HealParty:: closemessage call Common_EventScript_OutOfCenterPartyHeal incrementgamestat GAME_STAT_RESTED_AT_HOME @@ -376,12 +376,12 @@ PlayersHouse_1F_EventScript_HealParty:: @ 8292A9E release end -PlayersHouse_1F_EventScript_DidYouMeetProfBirch:: @ 8292AB0 +PlayersHouse_1F_EventScript_DidYouMeetProfBirch:: msgbox PlayersHouse_1F_Text_DidYouMeetProfBirch, MSGBOX_DEFAULT release end -PlayersHouse_1F_EventScript_Vigoroth1:: @ 8292ABA +PlayersHouse_1F_EventScript_Vigoroth1:: lock faceplayer waitse @@ -391,7 +391,7 @@ PlayersHouse_1F_EventScript_Vigoroth1:: @ 8292ABA release end -PlayersHouse_1F_EventScript_Vigoroth2:: @ 8292ACD +PlayersHouse_1F_EventScript_Vigoroth2:: lock faceplayer waitse @@ -401,7 +401,7 @@ PlayersHouse_1F_EventScript_Vigoroth2:: @ 8292ACD release end -PlayersHouse_1F_Movement_PlayerApproachTVForGymMale: @ 8292AE0 +PlayersHouse_1F_Movement_PlayerApproachTVForGymMale: walk_down walk_down walk_left @@ -409,11 +409,11 @@ PlayersHouse_1F_Movement_PlayerApproachTVForGymMale: @ 8292AE0 walk_left step_end -PlayersHouse_1F_Movement_PlayerMoveToTVMale: @ 8292AE6 +PlayersHouse_1F_Movement_PlayerMoveToTVMale: walk_left step_end -PlayersHouse_1F_Movement_PlayerApproachTVForGymFemale: @ 8292AE8 +PlayersHouse_1F_Movement_PlayerApproachTVForGymFemale: walk_down walk_down walk_right @@ -421,15 +421,15 @@ PlayersHouse_1F_Movement_PlayerApproachTVForGymFemale: @ 8292AE8 walk_right step_end -PlayersHouse_1F_Movement_PlayerMoveToTVFemale: @ 8292AEE +PlayersHouse_1F_Movement_PlayerMoveToTVFemale: walk_right step_end -PlayersHouse_1F_Movement_MovePlayerAwayFromDoor: @ 8292AF0 +PlayersHouse_1F_Movement_MovePlayerAwayFromDoor: walk_up step_end -PlayersHouse_1F_EventScript_GetSSTicketAndSeeLatiTV:: @ 8292AF2 +PlayersHouse_1F_EventScript_GetSSTicketAndSeeLatiTV:: lockall checkplayergender compare VAR_RESULT, MALE @@ -513,155 +513,155 @@ PlayersHouse_1F_EventScript_GetSSTicketAndSeeLatiTV:: @ 8292AF2 end @ Never called. -PlayersHouse_1F_EventScript_AirLatiBroadcast:: @ 8292C72 +PlayersHouse_1F_EventScript_AirLatiBroadcast:: setflag FLAG_SYS_TV_LATIAS_LATIOS return -PlayersHouse_1F_EventScript_SetUpObjectEventVarsMale:: @ 8292C76 +PlayersHouse_1F_EventScript_SetUpObjectEventVarsMale:: setvar VAR_0x8008, MALE setvar VAR_0x8009, LOCALID_DAD setvar VAR_0x800A, LOCALID_MOM return -PlayersHouse_1F_EventScript_SetUpObjectEventVarsFemale:: @ 8292C86 +PlayersHouse_1F_EventScript_SetUpObjectEventVarsFemale:: setvar VAR_0x8008, FEMALE setvar VAR_0x8009, LOCALID_DAD setvar VAR_0x800A, LOCALID_MOM return -PlayersHouse_1F_EventScript_DadApproachPlayerMale:: @ 8292C96 +PlayersHouse_1F_EventScript_DadApproachPlayerMale:: applymovement VAR_0x8009, PlayersHouse_1F_Movement_DadApproachPlayerMale waitmovement 0 return -PlayersHouse_1F_EventScript_DadApproachPlayerFemale:: @ 8292CA1 +PlayersHouse_1F_EventScript_DadApproachPlayerFemale:: applymovement VAR_0x8009, PlayersHouse_1F_Movement_DadApproachPlayerFemale waitmovement 0 return -PlayersHouse_1F_EventScript_MomApproachDadMale:: @ 8292CAC +PlayersHouse_1F_EventScript_MomApproachDadMale:: applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomApproachDadMale waitmovement 0 applymovement VAR_0x8009, PlayersHouse_1F_Movement_DadFaceMomMale waitmovement 0 return -PlayersHouse_1F_EventScript_MomApproachDadFemale:: @ 8292CC1 +PlayersHouse_1F_EventScript_MomApproachDadFemale:: applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomApproachDadFemale waitmovement 0 applymovement VAR_0x8009, PlayersHouse_1F_Movement_DadFaceMomFemale waitmovement 0 return -PlayersHouse_1F_EventScript_DadExitsMale:: @ 8292CD6 +PlayersHouse_1F_EventScript_DadExitsMale:: applymovement OBJ_EVENT_ID_PLAYER, PlayersHouse_1F_Movement_MomAndPlayerWatchDadExit applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomAndPlayerWatchDadExit applymovement VAR_0x8009, PlayersHouse_1F_Movement_DadExitsMale waitmovement 0 return -PlayersHouse_1F_EventScript_DadExitsFemale:: @ 8292CEF +PlayersHouse_1F_EventScript_DadExitsFemale:: applymovement OBJ_EVENT_ID_PLAYER, PlayersHouse_1F_Movement_MomAndPlayerWatchDadExit applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomAndPlayerWatchDadExit applymovement VAR_0x8009, PlayersHouse_1F_Movement_DadExitsFemale waitmovement 0 return -PlayersHouse_1F_EventScript_PlayerEnterRoomMale:: @ 8292D08 +PlayersHouse_1F_EventScript_PlayerEnterRoomMale:: applymovement OBJ_EVENT_ID_PLAYER, PlayersHouse_1F_Movement_PlayerEnterRoomMale waitmovement 0 return -PlayersHouse_1F_EventScript_PlayerEnterRoomFemale:: @ 8292D13 +PlayersHouse_1F_EventScript_PlayerEnterRoomFemale:: applymovement OBJ_EVENT_ID_PLAYER, PlayersHouse_1F_Movement_PlayerEnterRoomFemale waitmovement 0 return -PlayersHouse_1F_EventScript_PlayerApproachTVForLatiMale:: @ 8292D1E +PlayersHouse_1F_EventScript_PlayerApproachTVForLatiMale:: applymovement OBJ_EVENT_ID_PLAYER, PlayersHouse_1F_Movement_PlayerApproachTVForLatiMale waitmovement 0 applymovement VAR_0x800A, Common_Movement_WalkInPlaceFastestLeft waitmovement 0 return -PlayersHouse_1F_EventScript_PlayerApproachTVForLatiFemale:: @ 8292D33 +PlayersHouse_1F_EventScript_PlayerApproachTVForLatiFemale:: applymovement OBJ_EVENT_ID_PLAYER, PlayersHouse_1F_Movement_PlayerApproachTVForLatiFemale waitmovement 0 applymovement VAR_0x800A, Common_Movement_WalkInPlaceFastestRight waitmovement 0 return -PlayersHouse_1F_EventScript_MomApproachPlayerMale:: @ 8292D48 +PlayersHouse_1F_EventScript_MomApproachPlayerMale:: applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomApproachPlayerMale waitmovement 0 applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft waitmovement 0 return -PlayersHouse_1F_EventScript_MomApproachPlayerFemale:: @ 8292D5D +PlayersHouse_1F_EventScript_MomApproachPlayerFemale:: applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomApproachPlayerFemale waitmovement 0 applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight waitmovement 0 return -PlayersHouse_1F_EventScript_MomNoticesLatiBroadcastMale:: @ 8292D72 +PlayersHouse_1F_EventScript_MomNoticesLatiBroadcastMale:: applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomNoticesLatiBroadcastMale waitmovement 0 return -PlayersHouse_1F_EventScript_MomNoticesLatiBroadcastFemale:: @ 8292D7D +PlayersHouse_1F_EventScript_MomNoticesLatiBroadcastFemale:: applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomNoticesLatiBroadcastFemale waitmovement 0 return -PlayersHouse_1F_EventScript_MomApproachPlayerAfterTVMale:: @ 8292D88 +PlayersHouse_1F_EventScript_MomApproachPlayerAfterTVMale:: applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomApproachPlayerAfterTVMale waitmovement 0 applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight waitmovement 0 return -PlayersHouse_1F_EventScript_MomApproachPlayerAfterTVFemale:: @ 8292D9D +PlayersHouse_1F_EventScript_MomApproachPlayerAfterTVFemale:: applymovement VAR_0x800A, PlayersHouse_1F_Movement_MomApproachPlayerAfterTVFemale waitmovement 0 applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft waitmovement 0 return -PlayersHouse_1F_Movement_DadApproachPlayerMale: @ 8292DB2 +PlayersHouse_1F_Movement_DadApproachPlayerMale: walk_right walk_right step_end -PlayersHouse_1F_Movement_DadApproachPlayerFemale: @ 8292DB5 +PlayersHouse_1F_Movement_DadApproachPlayerFemale: walk_left walk_left step_end -PlayersHouse_1F_Movement_DadFaceMomMale: @ 8292DB8 +PlayersHouse_1F_Movement_DadFaceMomMale: face_left step_end -PlayersHouse_1F_Movement_DadFaceMomFemale: @ 8292DBA +PlayersHouse_1F_Movement_DadFaceMomFemale: face_right step_end -PlayersHouse_1F_Movement_DadExitsMale: @ 8292DBC +PlayersHouse_1F_Movement_DadExitsMale: walk_down walk_right walk_down delay_8 step_end -PlayersHouse_1F_Movement_DadExitsFemale: @ 8292DC1 +PlayersHouse_1F_Movement_DadExitsFemale: walk_down walk_left walk_down delay_8 step_end -PlayersHouse_1F_Movement_PlayerEnterRoomMale: @ 8292DC6 +PlayersHouse_1F_Movement_PlayerEnterRoomMale: delay_16 walk_down walk_down @@ -669,14 +669,14 @@ PlayersHouse_1F_Movement_PlayerEnterRoomMale: @ 8292DC6 walk_in_place_fastest_left step_end -PlayersHouse_1F_Movement_MomAndPlayerWatchDadExit: @ 8292DCC +PlayersHouse_1F_Movement_MomAndPlayerWatchDadExit: delay_8 delay_16 delay_16 walk_in_place_fastest_down step_end -PlayersHouse_1F_Movement_PlayerEnterRoomFemale: @ 8292DD1 +PlayersHouse_1F_Movement_PlayerEnterRoomFemale: delay_16 walk_down walk_down @@ -684,7 +684,7 @@ PlayersHouse_1F_Movement_PlayerEnterRoomFemale: @ 8292DD1 walk_in_place_fastest_right step_end -PlayersHouse_1F_Movement_PlayerApproachTVForLatiMale: @ 8292DD7 +PlayersHouse_1F_Movement_PlayerApproachTVForLatiMale: walk_up walk_left walk_left @@ -693,7 +693,7 @@ PlayersHouse_1F_Movement_PlayerApproachTVForLatiMale: @ 8292DD7 walk_in_place_fastest_up step_end -PlayersHouse_1F_Movement_PlayerApproachTVForLatiFemale: @ 8292DDE +PlayersHouse_1F_Movement_PlayerApproachTVForLatiFemale: walk_up walk_right walk_right @@ -702,6 +702,6 @@ PlayersHouse_1F_Movement_PlayerApproachTVForLatiFemale: @ 8292DDE walk_in_place_fastest_up step_end -EventScript_RunningShoesManual:: @ 8292DE5 +EventScript_RunningShoesManual:: msgbox PlayersHouse_1F_Text_RunningShoesManual, MSGBOX_SIGN end diff --git a/data/scripts/prof_birch.inc b/data/scripts/prof_birch.inc index b89d2fbd0..7eb1730fc 100644 --- a/data/scripts/prof_birch.inc +++ b/data/scripts/prof_birch.inc @@ -1,4 +1,4 @@ -ProfBirch_EventScript_UpdateLocation:: @ 82720AD +ProfBirch_EventScript_UpdateLocation:: compare VAR_PETALBURG_GYM_STATE, 0 goto_if_eq Common_EventScript_NopReturn goto_if_set FLAG_SYS_GAME_CLEAR, ProfBirch_EventScript_MoveToLab @@ -20,34 +20,34 @@ ProfBirch_EventScript_UpdateLocation:: @ 82720AD call_if_eq ProfBirch_EventScript_MoveToLab return -ProfBirch_EventScript_MoveToLab:: @ 827211A +ProfBirch_EventScript_MoveToLab:: clearflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_BIRCH clearflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_UNKNOWN_0x380 setflag FLAG_HIDE_ROUTE_101_BIRCH setflag FLAG_HIDE_ROUTE_103_BIRCH return -ProfBirch_EventScript_MoveToRoute101:: @ 8272127 +ProfBirch_EventScript_MoveToRoute101:: clearflag FLAG_HIDE_ROUTE_101_BIRCH setflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_BIRCH setflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_UNKNOWN_0x380 setflag FLAG_HIDE_ROUTE_103_BIRCH return -ProfBirch_EventScript_MoveToRoute103:: @ 8272134 +ProfBirch_EventScript_MoveToRoute103:: clearflag FLAG_HIDE_ROUTE_103_BIRCH setflag FLAG_HIDE_ROUTE_101_BIRCH setflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_BIRCH setflag FLAG_HIDE_LITTLEROOT_TOWN_BIRCHS_LAB_UNKNOWN_0x380 return -ProfBirch_EventScript_RatePokedexOrRegister:: @ 8272141 +ProfBirch_EventScript_RatePokedexOrRegister:: lock faceplayer goto_if_unset FLAG_HAS_MATCH_CALL, ProfBirch_EventScript_AskRatePokedex goto_if_unset FLAG_ENABLE_PROF_BIRCH_MATCH_CALL, EventScript_RegisterProfBirch -ProfBirch_EventScript_AskRatePokedex:: @ 8272155 +ProfBirch_EventScript_AskRatePokedex:: msgbox gBirchDexRatingText_AreYouCurious, MSGBOX_YESNO compare VAR_RESULT, NO goto_if_eq ProfBirch_EventScript_DeclineRating @@ -55,19 +55,19 @@ ProfBirch_EventScript_AskRatePokedex:: @ 8272155 release end -ProfBirch_EventScript_DeclineRating:: @ 827216F +ProfBirch_EventScript_DeclineRating:: msgbox gBirchDexRatingText_Cancel, MSGBOX_DEFAULT release end -ProfBirch_EventScript_ShowRatingMessage:: @ 8272179 +ProfBirch_EventScript_ShowRatingMessage:: copyvar VAR_0x8004, VAR_0x8009 special ShowPokedexRatingMessage waitmessage waitbuttonpress return -ProfBirch_EventScript_RatePokedex:: @ 8272184 +ProfBirch_EventScript_RatePokedex:: setvar VAR_0x8004, 0 specialvar VAR_RESULT, ScriptGetPokedexInfo copyvar VAR_0x8008, VAR_0x8005 diff --git a/data/scripts/record_mix.inc b/data/scripts/record_mix.inc index e058816ab..d1ad84d3a 100644 --- a/data/scripts/record_mix.inc +++ b/data/scripts/record_mix.inc @@ -1,5 +1,5 @@ @ Seems this was superseded by the Record Center, and the below scripts are now unused -EventScript_MixRecordsPrompt:: @ 8271D5E +EventScript_MixRecordsPrompt:: lock faceplayer msgbox Text_WouldYouLikeToMixRecords, MSGBOX_YESNO @@ -9,12 +9,12 @@ EventScript_MixRecordsPrompt:: @ 8271D5E goto_if_eq EventScript_EndMixRecords goto EventScript_EndMixRecords -EventScript_MixRecords:: @ 8271D83 +EventScript_MixRecords:: special RecordMixingPlayerSpotTriggered waitstate lock faceplayer -EventScript_EndMixRecords:: @ 8271D89 +EventScript_EndMixRecords:: message Text_WeHopeToSeeYouAgain waitmessage waitbuttonpress diff --git a/data/scripts/repel.inc b/data/scripts/repel.inc index 5deda5762..fc178603c 100644 --- a/data/scripts/repel.inc +++ b/data/scripts/repel.inc @@ -1,6 +1,6 @@ -EventScript_RepelWoreOff:: @ 82A4B2A +EventScript_RepelWoreOff:: msgbox Text_RepelWoreOff, MSGBOX_SIGN end -Text_RepelWoreOff: @ 82A4B33 +Text_RepelWoreOff: .string "REPEL's effect wore off…$" diff --git a/data/scripts/rival_graphics.inc b/data/scripts/rival_graphics.inc index a8ead6497..a0fb15f0e 100644 --- a/data/scripts/rival_graphics.inc +++ b/data/scripts/rival_graphics.inc @@ -1,4 +1,4 @@ -Common_EventScript_SetupRivalGfxId:: @ 8271ED7 +Common_EventScript_SetupRivalGfxId:: checkplayergender compare VAR_RESULT, MALE goto_if_eq EventScript_SetupRivalGfxIdFemale @@ -6,15 +6,15 @@ Common_EventScript_SetupRivalGfxId:: @ 8271ED7 goto_if_eq EventScript_SetupRivalGfxIdMale end -EventScript_SetupRivalGfxIdFemale:: @ 8271EEF +EventScript_SetupRivalGfxIdFemale:: setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL return -EventScript_SetupRivalGfxIdMale:: @ 8271EF5 +EventScript_SetupRivalGfxIdMale:: setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL return -Common_EventScript_SetupRivalOnBikeGfxId:: @ 8271EFB +Common_EventScript_SetupRivalOnBikeGfxId:: checkplayergender compare VAR_RESULT, MALE goto_if_eq EventScript_SetupRivalOnBikeGfxIdFemale @@ -22,16 +22,16 @@ Common_EventScript_SetupRivalOnBikeGfxId:: @ 8271EFB goto_if_eq EventScript_SetupRivalOnBikeGfxIdMale end -EventScript_SetupRivalOnBikeGfxIdFemale:: @ 8271F13 +EventScript_SetupRivalOnBikeGfxIdFemale:: setvar VAR_OBJ_GFX_ID_3, OBJ_EVENT_GFX_RIVAL_MAY_MACH_BIKE return -EventScript_SetupRivalOnBikeGfxIdMale:: @ 8271F19 +EventScript_SetupRivalOnBikeGfxIdMale:: setvar VAR_OBJ_GFX_ID_3, OBJ_EVENT_GFX_RIVAL_BRENDAN_MACH_BIKE return @ Unused -Common_EventScript_SetupRivalGfxIdSameGender:: @ 8271F1F +Common_EventScript_SetupRivalGfxIdSameGender:: checkplayergender compare VAR_RESULT, MALE goto_if_eq EventScript_SetupRivalGfxIdMale2 @@ -39,10 +39,10 @@ Common_EventScript_SetupRivalGfxIdSameGender:: @ 8271F1F goto_if_eq EventScript_SetupRivalGfxIdFemale2 end -EventScript_SetupRivalGfxIdMale2:: @ 8271F37 +EventScript_SetupRivalGfxIdMale2:: setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL return -EventScript_SetupRivalGfxIdFemale2:: @ 8271F3D +EventScript_SetupRivalGfxIdFemale2:: setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL return diff --git a/data/scripts/roulette.inc b/data/scripts/roulette.inc index f590ca358..1167a765b 100644 --- a/data/scripts/roulette.inc +++ b/data/scripts/roulette.inc @@ -1,4 +1,4 @@ -Roulette_EventScript_Table1:: @ 82A5AB1 +Roulette_EventScript_Table1:: checkitem ITEM_COIN_CASE, 1 compare VAR_RESULT, FALSE goto_if_eq MauvilleCity_GameCorner_EventScript_NoCoinCase @@ -10,7 +10,7 @@ Roulette_EventScript_Table1:: @ 82A5AB1 goto Roulette_EventScript_Play end -Roulette_EventScript_Table2:: @ 82A5ADF +Roulette_EventScript_Table2:: checkitem ITEM_COIN_CASE, 1 compare VAR_RESULT, FALSE goto_if_eq MauvilleCity_GameCorner_EventScript_NoCoinCase @@ -22,50 +22,50 @@ Roulette_EventScript_Table2:: @ 82A5ADF goto Roulette_EventScript_Play end -Roulette_EventScript_Play:: @ 82A5B0D +Roulette_EventScript_Play:: special PlayRoulette waitstate end -Roulette_Text_PlayMinimumWagerIsX:: @ 82A5B12 +Roulette_Text_PlayMinimumWagerIsX:: .string "The minimum wager at this table\n" .string "is {STR_VAR_1}. Do you want to play?$" -Roulette_Text_NotEnoughCoins:: @ 82A5B4E +Roulette_Text_NotEnoughCoins:: .string "You don't have enough COINS.$" -Roulette_Text_SpecialRateTable:: @ 82A5B6B +Roulette_Text_SpecialRateTable:: .string "Special rate table right now!$" -Roulette_Text_ControlsInstruction:: @ 82A5B89 +Roulette_Text_ControlsInstruction:: .string "Place your wager with the + Control\n" .string "Pad, then press the A Button.$" -Roulette_Text_ItsAHit:: @ 82A5BCB +Roulette_Text_ItsAHit:: .string "It's a hit!$" -Roulette_Text_Jackpot:: @ 82A5BD7 +Roulette_Text_Jackpot:: .string "Jackpot!$" -Roulette_Text_NothingDoing:: @ 82A5BE0 +Roulette_Text_NothingDoing:: .string "Nothing doing!$" -Roulette_Text_YouveWonXCoins:: @ 82A5BEF +Roulette_Text_YouveWonXCoins:: .string "You've won {STR_VAR_1} COINS!$" -Roulette_Text_NoCoinsLeft:: @ 82A5C04 +Roulette_Text_NoCoinsLeft:: .string "No COINS left…$" -Roulette_Text_KeepPlaying:: @ 82A5C13 +Roulette_Text_KeepPlaying:: .string "Keep playing?$" -Roulette_Text_BoardWillBeCleared:: @ 82A5C21 +Roulette_Text_BoardWillBeCleared:: .string "The ROULETTE board will be cleared.$" @ Unused -Roulette_Text_YouDontHaveACoinCase:: @ 82A5C45 +Roulette_Text_YouDontHaveACoinCase:: .string "You don't have a COIN CASE.$" -Roulette_Text_CoinCaseIsFull:: @ 82A5C61 +Roulette_Text_CoinCaseIsFull:: .string "Your COIN CASE is full!\n" .string "Coins can be exchanged for prizes.$" diff --git a/data/scripts/safari_zone.inc b/data/scripts/safari_zone.inc index d04a16b58..6dd0767f0 100644 --- a/data/scripts/safari_zone.inc +++ b/data/scripts/safari_zone.inc @@ -1,17 +1,17 @@ -SafariZone_EventScript_OutOfBallsMidBattle:: @ 82A4B4C +SafariZone_EventScript_OutOfBallsMidBattle:: setvar VAR_SAFARI_ZONE_STATE, 1 special ExitSafariMode setwarp MAP_ROUTE121_SAFARI_ZONE_ENTRANCE, 255, 2, 5 end -SafariZone_EventScript_Exit:: @ 82A4B5D +SafariZone_EventScript_Exit:: setvar VAR_SAFARI_ZONE_STATE, 1 special ExitSafariMode warp MAP_ROUTE121_SAFARI_ZONE_ENTRANCE, 255, 2, 5 waitstate end -SafariZone_EventScript_RetirePrompt:: @ 82A4B6F +SafariZone_EventScript_RetirePrompt:: lockall msgbox SafariZone_Text_WouldYouLikeToExit, MSGBOX_YESNO compare VAR_RESULT, YES @@ -19,10 +19,10 @@ SafariZone_EventScript_RetirePrompt:: @ 82A4B6F releaseall end -SafariZone_EventScript_Retire:: @ 82A4B85 +SafariZone_EventScript_Retire:: goto SafariZone_EventScript_Exit -SafariZone_EventScript_TimesUp:: @ 82A4B8A +SafariZone_EventScript_TimesUp:: lockall playse SE_DING_DONG message SafariZone_Text_TimesUp @@ -31,7 +31,7 @@ SafariZone_EventScript_TimesUp:: @ 82A4B8A releaseall goto SafariZone_EventScript_Exit -SafariZone_EventScript_OutOfBalls:: @ 82A4B9B +SafariZone_EventScript_OutOfBalls:: lockall playse SE_DING_DONG message SafariZone_Text_OutOfBalls @@ -40,7 +40,7 @@ SafariZone_EventScript_OutOfBalls:: @ 82A4B9B releaseall goto SafariZone_EventScript_Exit -EventScript_PokeBlockFeeder:: @ 82A4BAC +EventScript_PokeBlockFeeder:: lockall special GetPokeblockFeederInFront compare VAR_RESULT, 0xFFFF @@ -51,7 +51,7 @@ EventScript_PokeBlockFeeder:: @ 82A4BAC releaseall end -SafariZone_EventScript_ChoosePokeblock:: @ 82A4BD0 +SafariZone_EventScript_ChoosePokeblock:: fadescreen FADE_TO_BLACK special OpenPokeblockCaseOnFeeder waitstate @@ -59,45 +59,45 @@ SafariZone_EventScript_ChoosePokeblock:: @ 82A4BD0 goto_if_ne SafariZone_EventScript_PokeblockPlaced end -SafariZone_EventScript_PokeblockPlaced:: @ 82A4BE2 +SafariZone_EventScript_PokeblockPlaced:: message SafariZone_Text_PokeblockWasPlaced waitmessage waitbuttonpress releaseall end -SafariZone_EventScript_PokeblockPresent:: @ 82A4BEB +SafariZone_EventScript_PokeblockPresent:: message SafariZone_Text_PokeblockStillHere waitmessage waitbuttonpress releaseall end -SafariZone_Text_WouldYouLikeToExit: @ 82A4BF4 +SafariZone_Text_WouldYouLikeToExit: .string "Would you like to exit the SAFARI\n" .string "ZONE right now?$" -SafariZone_Text_TimesUp: @ 82A4C26 +SafariZone_Text_TimesUp: .string "Ding-dong! Time's up!\n" .string "Your SAFARI Game is over.$" -SafariZone_Text_OutOfBalls: @ 82A4C56 +SafariZone_Text_OutOfBalls: .string "You've run out of SAFARI BALLS.\n" .string "Your SAFARI Game is over.$" -SafariZone_Text_PlacePokeblockOnFeeder: @ 82A4C90 +SafariZone_Text_PlacePokeblockOnFeeder: .string "Would you like to place a {POKEBLOCK}\n" .string "on the {POKEBLOCK} FEEDER?$" -SafariZone_Text_PokeblockStillHere: @ 82A4CC5 +SafariZone_Text_PokeblockStillHere: .string "The {STR_VAR_1} you left\n" .string "before is still here.$" -SafariZone_Text_PokeblockWasPlaced: @ 82A4CEB +SafariZone_Text_PokeblockWasPlaced: .string "The {STR_VAR_1} was placed\n" .string "on the {POKEBLOCK} FEEDER.$" -Route121_SafariZoneEntrance_Text_WelcomeToSafariZone: @ 82A4D12 +Route121_SafariZoneEntrance_Text_WelcomeToSafariZone: .string "Welcome to the SAFARI ZONE!\p" .string "Here, you may witness many kinds of\n" .string "POKéMON rarely seen in HOENN.\p" @@ -109,14 +109,14 @@ Route121_SafariZoneEntrance_Text_WelcomeToSafariZone: @ 82A4D12 .string "for keeps!\p" .string "Come in and enjoy the SAFARI ZONE!$" -Route121_SafariZoneEntrance_Text_WelcomeFirstTime: @ 82A4E46 +Route121_SafariZoneEntrance_Text_WelcomeFirstTime: .string "Welcome to the SAFARI ZONE!\n" .string "Is it your first time here?$" -Route121_SafariZoneEntrance_Text_ComeInAndEnjoy: @ 82A4E7E +Route121_SafariZoneEntrance_Text_ComeInAndEnjoy: .string "Come in and enjoy the SAFARI ZONE!$" -Route121_SafariZoneEntrance_Text_FirstTimeInfo: @ 82A4EA1 +Route121_SafariZoneEntrance_Text_FirstTimeInfo: .string "When you enter the SAFARI ZONE, you\n" .string "start with 30 SAFARI BALLS for\l" .string "catching POKéMON.\p" @@ -125,39 +125,39 @@ Route121_SafariZoneEntrance_Text_FirstTimeInfo: @ 82A4EA1 .string "walked 500 steps.\p" .string "Come in and enjoy the SAFARI ZONE!$" -Route121_SafariZoneEntrance_Text_WouldYouLikeToPlay: @ 82A4F74 +Route121_SafariZoneEntrance_Text_WouldYouLikeToPlay: .string "Welcome to the SAFARI ZONE!\p" .string "All you can catch for just ¥500!\n" .string "Would you like to play a SAFARI Game?$" -Route121_SafariZoneEntrance_Text_PlayAnotherTime: @ 82A4FD7 +Route121_SafariZoneEntrance_Text_PlayAnotherTime: .string "Okay.\n" .string "Please play another time!$" -Route121_SafariZoneEntrance_Text_NotEnoughMoney: @ 82A4FF7 +Route121_SafariZoneEntrance_Text_NotEnoughMoney: .string "You don't have enough money.\n" .string "Sorry.$" -Route121_SafariZoneEntrance_Text_ThatWillBe500Please: @ 82A501B +Route121_SafariZoneEntrance_Text_ThatWillBe500Please: .string "That will be ¥500, please.$" -Route121_SafariZoneEntrance_Text_HereAreYourSafariBalls: @ 82A5036 +Route121_SafariZoneEntrance_Text_HereAreYourSafariBalls: .string "Here are your SAFARI BALLS.$" -Route121_SafariZoneEntrance_Text_Received30SafariBalls: @ 82A5052 +Route121_SafariZoneEntrance_Text_Received30SafariBalls: .string "{PLAYER} received 30 SAFARI BALLS.$" -Route121_SafariZoneEntrance_Text_PleaseEnjoyYourself: @ 82A506F +Route121_SafariZoneEntrance_Text_PleaseEnjoyYourself: .string "We'll let you know when your game\n" .string "is over.\p" .string "So, until then, enjoy yourself, please!\n" .string "Off you go on your wild excursion!$" -Route121_SafariZoneEntrance_Text_PCIsFull: @ 82A50E5 +Route121_SafariZoneEntrance_Text_PCIsFull: .string "Excuse me!\n" .string "Your PC BOX is full.$" -Route121_SafariZoneEntrance_Text_YouNeedPokeblockCase: @ 82A5105 +Route121_SafariZoneEntrance_Text_YouNeedPokeblockCase: .string "Excuse me!\n" .string "You seem to be without a {POKEBLOCK} CASE.\p" .string "Your SAFARI Game will be much more\n" @@ -166,129 +166,129 @@ Route121_SafariZoneEntrance_Text_YouNeedPokeblockCase: @ 82A5105 .string "You may obtain a {POKEBLOCK} CASE from\n" .string "the LILYCOVE CONTEST HALL.$" -SafariZone_South_Text_StillHaveTimeExit: @ 82A51D4 +SafariZone_South_Text_StillHaveTimeExit: .string "You still have time left. Would you like\n" .string "to exit the SAFARI ZONE now?$" -SafariZone_South_Text_EnjoyTheRestOfYourAdventure: @ 82A521A +SafariZone_South_Text_EnjoyTheRestOfYourAdventure: .string "Please enjoy the rest of your wild\n" .string "adventure!$" -SafariZone_South_Text_ExitEarlyThankYouForPlaying: @ 82A5248 +SafariZone_South_Text_ExitEarlyThankYouForPlaying: .string "Okay.\p" .string "I'll take back your remaining SAFARI\n" .string "BALLS.\p" .string "Thank you for playing.\n" .string "We hope to see you again.$" -SafariZone_South_Text_GoodLuck: @ 82A52AB +SafariZone_South_Text_GoodLuck: .string "Good luck!\p" .string "If you need anything, don't hesitate\n" .string "to tell me, please!$" -SafariZone_South_Text_Boy: @ 82A52EF +SafariZone_South_Text_Boy: .string "Did you know?\p" .string "If you put a {POKEBLOCK} in that square box,\n" .string "POKéMON gather around.$" -SafariZone_South_Text_Man: @ 82A533B +SafariZone_South_Text_Man: .string "I want to keep going deeper, but I\n" .string "forgot to bring a BIKE.\p" .string "Something tells me that rare POKéMON\n" .string "live in the outlying areas.$" -SafariZone_Southwest_Text_Woman: @ 82A53B7 +SafariZone_Southwest_Text_Woman: .string "Sometimes, when I toss a {POKEBLOCK} at \n" .string "POKéMON, it gets ignored.\p" .string "Do POKéMON have likes and dislikes\n" .string "about what they eat?$" -SafariZone_Northwest_Text_Man: @ 82A542C +SafariZone_Northwest_Text_Man: .string "Gasp… Gasp…\n" .string "I…made it out here…but…\p" .string "I'm exhausted… I don't have the\n" .string "energy to catch POKéMON…$" -SafariZone_North_Text_Fisherman: @ 82A5489 +SafariZone_North_Text_Fisherman: .string "I'm on a mission to find WATER POKéMON\n" .string "you don't see in HOENN.\p" .string "Do you have any idea where the lake is?$" -SafariZone_North_Text_Man: @ 82A54F0 +SafariZone_North_Text_Man: .string "I'm going to catch a lot of rare POKéMON\n" .string "here and trade them with my friends!$" -SafariZone_South_Text_Youngster: @ 82A553E +SafariZone_South_Text_Youngster: .string "I put a {POKEBLOCK} on the {POKEBLOCK} FEEDER.\n" .string "But it seems to have disappeared.\p" .string "I guess POKéMON must have eaten it\n" .string "without me noticing.$" -Route121_SafariZoneEntrance_Text_TrainerTip: @ 82A55BB +Route121_SafariZoneEntrance_Text_TrainerTip: .string "SAFARI ZONE TRAINER TIP!\p" .string "Throw {POKEBLOCK}S at wild POKéMON to make\n" .string "them less likely to flee.$" -SafariZone_Southwest_Text_RestHouseSign: @ 82A5613 +SafariZone_Southwest_Text_RestHouseSign: .string "“Relieve your tired feet.”\n" .string "REST HOUSE$" -SafariZone_RestHouse_Text_Youngster: @ 82A5639 +SafariZone_RestHouse_Text_Youngster: .string "I don't have any {POKEBLOCK}S, but I caught\n" .string "a good number of POKéMON.\p" .string "You can improve your chances of making\n" .string "a catch by getting closer to them\l" .string "before throwing a SAFARI BALL.$" -SafariZone_RestHouse_Text_PsychicM: @ 82A56E1 +SafariZone_RestHouse_Text_PsychicM: .string "If you use {POKEBLOCK}S, wild POKéMON won't\n" .string "be so quick to run away.\p" .string "It's not much use to give {POKEBLOCK}S to\n" .string "POKéMON that don't flee easily.$" -SafariZone_RestHouse_Text_FatMan: @ 82A5764 +SafariZone_RestHouse_Text_FatMan: .string "If you put a {POKEBLOCK} on the FEEDER,\n" .string "POKéMON are attracted to it.\p" .string "I think POKéMON with the same sort of\n" .string "nature are drawn by a certain {POKEBLOCK}.$" -SafariZone_South_Text_AreaOffLimits1: @ 82A57EE +SafariZone_South_Text_AreaOffLimits1: .string "This area is still under construction.\n" .string "It's off-limits, sorry!$" -SafariZone_Southeast_Text_ExpansionIsFinished: @ 82A582D +SafariZone_Southeast_Text_ExpansionIsFinished: .string "The SAFARI ZONE's expansion project\n" .string "is finished now.\p" .string "We hope you will enjoy the new area.$" -SafariZone_South_Text_AreaOffLimits2: @ 82A5887 +SafariZone_South_Text_AreaOffLimits2: .string "This area is still under construction.\n" .string "It's off-limits, sorry!$" -SafariZone_Southeast_Text_LittleGirl: @ 82A58C6 +SafariZone_Southeast_Text_LittleGirl: .string "Wow! Whee! I haven't seen any of\n" .string "these POKéMON before!$" -SafariZone_Southeast_Text_FatMan: @ 82A58FD +SafariZone_Southeast_Text_FatMan: .string "The POKéMON in this area are all\n" .string "new to me.\p" .string "And I'm allowed to catch these rare\n" .string "POKéMON! Too cool!$" -SafariZone_Southeast_Text_RichBoy: @ 82A5960 +SafariZone_Southeast_Text_RichBoy: .string "The POKéMON around here seem to be\n" .string "from somewhere other than HOENN.$" -SafariZone_Northeast_Text_Boy: @ 82A59A4 +SafariZone_Northeast_Text_Boy: .string "I only have a couple SAFARI BALLS left.\p" .string "I'm having a hard time trying to\n" .string "decide what I should catch.$" -SafariZone_Northeast_Text_Woman: @ 82A5A09 +SafariZone_Northeast_Text_Woman: .string "I heard that you can see PIKACHU here.\n" .string "Where might one be?$" -SafariZone_Northeast_Text_Girl: @ 82A5A44 +SafariZone_Northeast_Text_Girl: .string "Oh, boo!\n" .string "I can't seem to catch anything!\p" .string "I'll end up wasting the admission\n" diff --git a/data/scripts/secret_base.inc b/data/scripts/secret_base.inc index 9e7a60e15..ae802cdfd 100644 --- a/data/scripts/secret_base.inc +++ b/data/scripts/secret_base.inc @@ -1,30 +1,30 @@ -SecretBase_Text_TreeCanBeClimbed: @ 8274746 +SecretBase_Text_TreeCanBeClimbed: .string "If some vines drop down, this tree can\n" .string "be climbed.$" -SecretBase_Text_TreeUseSecretPower: @ 8274779 +SecretBase_Text_TreeUseSecretPower: .string "If some vines drop down, this tree can\n" .string "be climbed.\p" .string "Use the SECRET POWER?$" -SecretBase_Text_VineDroppedDown: @ 82747C2 +SecretBase_Text_VineDroppedDown: .string "A thick vine dropped down!$" -SecretBase_Text_ClumpOfGrass: @ 82747DD +SecretBase_Text_ClumpOfGrass: .string "If this clump of grass can be moved,\n" .string "it might be possible to go inside.$" -SecretBase_Text_ClumpUseSecretPower: @ 8274825 +SecretBase_Text_ClumpUseSecretPower: .string "If this clump of grass can be moved,\n" .string "it might be possible to go inside.\p" .string "Use the SECRET POWER?$" -SecretBase_Text_DiscoveredSmallEntrance: @ 8274883 +SecretBase_Text_DiscoveredSmallEntrance: .string "Discovered a small entrance!$" .include "data/text/secret_base_trainers.inc" -SecretBase_EventScript_CheckEntrance:: @ 82759F1 +SecretBase_EventScript_CheckEntrance:: special GetSecretBaseTypeInFrontOfPlayer special CheckPlayerHasSecretBase compare VAR_RESULT, TRUE @@ -46,7 +46,7 @@ SecretBase_EventScript_CheckEntrance:: @ 82759F1 goto_if_eq SecretBase_EventScript_Shrub end -SecretBase_EventScript_Cave:: @ 8275A50 +SecretBase_EventScript_Cave:: lockall compare VAR_RESULT, PARTY_SIZE goto_if_eq SecretBase_EventScript_CaveNoSecretPower @@ -61,24 +61,24 @@ SecretBase_EventScript_Cave:: @ 8275A50 goto SecretBase_EventScript_CaveEnter end -SecretBase_EventScript_CaveUseSecretPower:: @ 8275A86 +SecretBase_EventScript_CaveUseSecretPower:: lockall dofieldeffect FLDEFF_USE_SECRET_POWER_CAVE waitstate goto SecretBase_EventScript_CaveEnter end -SecretBase_EventScript_CaveNoSecretPower:: @ 8275A91 +SecretBase_EventScript_CaveNoSecretPower:: msgbox SecretBase_Text_SmallIndentInWall, MSGBOX_DEFAULT releaseall end -SecretBase_EventScript_CaveEnter:: @ 8275A9B +SecretBase_EventScript_CaveEnter:: msgbox SecretBase_Text_DiscoveredSmallCavern, MSGBOX_DEFAULT goto SecretBase_EventScript_InitSecretBase end -SecretBase_EventScript_Tree:: @ 8275AA9 +SecretBase_EventScript_Tree:: lockall compare VAR_RESULT, PARTY_SIZE goto_if_eq SecretBase_EventScript_TreeNoSecretPower @@ -93,24 +93,24 @@ SecretBase_EventScript_Tree:: @ 8275AA9 goto SecretBase_EventScript_TreeEnter end -SecretBase_EventScript_TreeUseSecretPower:: @ 8275ADF +SecretBase_EventScript_TreeUseSecretPower:: lockall dofieldeffect FLDEFF_USE_SECRET_POWER_TREE waitstate goto SecretBase_EventScript_TreeEnter end -SecretBase_EventScript_TreeNoSecretPower:: @ 8275AEA +SecretBase_EventScript_TreeNoSecretPower:: msgbox SecretBase_Text_TreeCanBeClimbed, MSGBOX_DEFAULT releaseall end -SecretBase_EventScript_TreeEnter:: @ 8275AF4 +SecretBase_EventScript_TreeEnter:: msgbox SecretBase_Text_VineDroppedDown, MSGBOX_DEFAULT goto SecretBase_EventScript_InitSecretBase end -SecretBase_EventScript_Shrub:: @ 8275B02 +SecretBase_EventScript_Shrub:: lockall compare VAR_RESULT, PARTY_SIZE goto_if_eq SecretBase_EventScript_ShrubNoSecretPower @@ -125,24 +125,24 @@ SecretBase_EventScript_Shrub:: @ 8275B02 goto SecretBase_EventScript_ShrubEnter end -SecretBase_EventScript_ShrubUseSecretPower:: @ 8275B38 +SecretBase_EventScript_ShrubUseSecretPower:: lockall dofieldeffect FLDEFF_USE_SECRET_POWER_SHRUB waitstate goto SecretBase_EventScript_ShrubEnter end -SecretBase_EventScript_ShrubNoSecretPower:: @ 8275B43 +SecretBase_EventScript_ShrubNoSecretPower:: msgbox SecretBase_Text_ClumpOfGrass, MSGBOX_DEFAULT releaseall end -SecretBase_EventScript_ShrubEnter:: @ 8275B4D +SecretBase_EventScript_ShrubEnter:: msgbox SecretBase_Text_DiscoveredSmallEntrance, MSGBOX_DEFAULT goto SecretBase_EventScript_InitSecretBase end -SecretBase_EventScript_InitSecretBase:: @ 8275B5B +SecretBase_EventScript_InitSecretBase:: closemessage playse SE_EXIT setvar VAR_INIT_SECRET_BASE, 0 @@ -156,7 +156,7 @@ SecretBase_EventScript_InitSecretBase:: @ 8275B5B waitstate end -SecretBase_EventScript_FirstEntrance:: @ 8275B81 +SecretBase_EventScript_FirstEntrance:: applymovement OBJ_EVENT_ID_PLAYER, SecretBase_Movement_EnterBase waitmovement 0 setvar VAR_INIT_SECRET_BASE, 1 @@ -168,19 +168,19 @@ SecretBase_EventScript_FirstEntrance:: @ 8275B81 special ClearAndLeaveSecretBase end -SecretBase_EventScript_SetAsBase:: @ 8275BAB +SecretBase_EventScript_SetAsBase:: closemessage setflag FLAG_RECEIVED_SECRET_POWER special EnterNewlyCreatedSecretBase waitstate end -SecretBase_Movement_EnterBase: @ 8275BB4 +SecretBase_Movement_EnterBase: walk_up walk_up step_end -SecretBase_EventScript_Enter:: @ 8275BB7 +SecretBase_EventScript_Enter:: lockall setvar VAR_INIT_SECRET_BASE, 1 playse SE_EXIT @@ -193,14 +193,14 @@ SecretBase_EventScript_Enter:: @ 8275BB7 waitstate end -SecretBase_EventScript_EnterPlayersBase:: @ 8275BDB +SecretBase_EventScript_EnterPlayersBase:: setflag FLAG_DECORATION_0 special EnterSecretBase setvar VAR_SECRET_BASE_INITIALIZED, 0 waitstate end -SecretBase_EventScript_AlreadyHasSecretBase:: @ 8275BE8 +SecretBase_EventScript_AlreadyHasSecretBase:: checkpartymove MOVE_SECRET_POWER compare VAR_RESULT, PARTY_SIZE goto_if_eq SecretBase_EventScript_NoSecretPower @@ -241,7 +241,7 @@ SecretBase_EventScript_AlreadyHasSecretBase:: @ 8275BE8 releaseall end -SecretBase_EventScript_NoSecretPower:: @ 8275C9A +SecretBase_EventScript_NoSecretPower:: lockall compare VAR_0x8007, SECRET_BASE_RED_CAVE goto_if_eq SecretBase_EventScript_CaveNoSecretPower @@ -257,12 +257,12 @@ SecretBase_EventScript_NoSecretPower:: @ 8275C9A goto_if_eq SecretBase_EventScript_ShrubNoSecretPower end -SecretBase_EventScript_CancelOnEntrance:: @ 8275CDE +SecretBase_EventScript_CancelOnEntrance:: closemessage releaseall end -SecretBase_EventScript_SetDecorationFlags:: @ 8275CE1 +SecretBase_EventScript_SetDecorationFlags:: setflag FLAG_DECORATION_1 setflag FLAG_DECORATION_2 setflag FLAG_DECORATION_3 @@ -279,28 +279,28 @@ SecretBase_EventScript_SetDecorationFlags:: @ 8275CE1 setflag FLAG_DECORATION_14 return -SecretBase_EventScript_InitDecorations:: @ 8275D0C +SecretBase_EventScript_InitDecorations:: setvar VAR_0x8004, 0 setvar VAR_0x8005, 0 special InitSecretBaseDecorationSprites setvar VAR_SECRET_BASE_INITIALIZED, 1 end -SecretBase_EventScript_SetDecoration:: @ 8275D1F +SecretBase_EventScript_SetDecoration:: setvar VAR_0x8005, 0 goto SecretBase_EventScript_SetDecoration2 end -SecretBase_EventScript_SetDecoration2:: @ 8275D2A +SecretBase_EventScript_SetDecoration2:: special SetDecoration end -SecretBase_EventScript_PutAwayDecoration:: @ 8275D2E +SecretBase_EventScript_PutAwayDecoration:: setvar VAR_0x8004, 0 goto SecretBase_EventScript_PutAwayDecorationLoop end -SecretBase_EventScript_PutAwayDecorationLoop:: @ 8275D39 +SecretBase_EventScript_PutAwayDecorationLoop:: special PutAwayDecorationIteration compare VAR_RESULT, 1 goto_if_eq SecretBase_EventScript_PutAwayDecorationEnd @@ -312,10 +312,10 @@ SecretBase_EventScript_PutAwayDecorationLoop:: @ 8275D39 goto SecretBase_EventScript_PutAwayDecorationLoop end -SecretBase_EventScript_PutAwayDecorationEnd:: @ 8275D63 +SecretBase_EventScript_PutAwayDecorationEnd:: end -SecretBase_EventScript_RecordMixTrainer:: @ 8275D64 +SecretBase_EventScript_RecordMixTrainer:: special GetSecretBaseOwnerAndState compare VAR_0x8004, 0 goto_if_eq SecretBase_EventScript_Trainer0 @@ -340,7 +340,7 @@ SecretBase_EventScript_RecordMixTrainer:: @ 8275D64 end @ VAR_RESULT is initially set by GetSecretBaseOwnerAndState -SecretBase_EventScript_Trainer0:: @ 8275DD6 +SecretBase_EventScript_Trainer0:: lock faceplayer goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_EventScript_Trainer0PreChampion @@ -358,12 +358,12 @@ SecretBase_EventScript_Trainer0:: @ 8275DD6 goto SecretBase_EventScript_BattleTrainer end -SecretBase_EventScript_Trainer0PreChampion:: @ 8275E25 +SecretBase_EventScript_Trainer0PreChampion:: msgbox SecretBase_Text_Trainer0PreChampion, MSGBOX_DEFAULT release end -SecretBase_EventScript_Trainer0DeclineBattle:: @ 8275E2F +SecretBase_EventScript_Trainer0DeclineBattle:: special DeclinedSecretBaseBattle setvar VAR_RESULT, 0 special SetBattledOwnerFromResult @@ -371,13 +371,13 @@ SecretBase_EventScript_Trainer0DeclineBattle:: @ 8275E2F release end -SecretBase_EventScript_Trainer0PostBattle:: @ 8275E44 +SecretBase_EventScript_Trainer0PostBattle:: msgbox SecretBase_Text_Trainer0PostBattle, MSGBOX_DEFAULT release end @ VAR_RESULT is initially set by GetSecretBaseOwnerAndState -SecretBase_EventScript_Trainer1:: @ 8275E4E +SecretBase_EventScript_Trainer1:: lock faceplayer goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_EventScript_Trainer1PreChampion @@ -395,12 +395,12 @@ SecretBase_EventScript_Trainer1:: @ 8275E4E goto SecretBase_EventScript_BattleTrainer end -SecretBase_EventScript_Trainer1PreChampion:: @ 8275E9D +SecretBase_EventScript_Trainer1PreChampion:: msgbox SecretBase_Text_Trainer1PreChampion, MSGBOX_DEFAULT release end -SecretBase_EventScript_Trainer1DeclineBattle:: @ 8275EA7 +SecretBase_EventScript_Trainer1DeclineBattle:: special DeclinedSecretBaseBattle setvar VAR_RESULT, 0 special SetBattledOwnerFromResult @@ -408,13 +408,13 @@ SecretBase_EventScript_Trainer1DeclineBattle:: @ 8275EA7 release end -SecretBase_EventScript_Trainer1PostBattle:: @ 8275EBC +SecretBase_EventScript_Trainer1PostBattle:: msgbox SecretBase_Text_Trainer1PostBattle, MSGBOX_DEFAULT release end @ VAR_RESULT is initially set by GetSecretBaseOwnerAndState -SecretBase_EventScript_Trainer2:: @ 8275EC6 +SecretBase_EventScript_Trainer2:: lock faceplayer goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_EventScript_Trainer2PreChampion @@ -432,12 +432,12 @@ SecretBase_EventScript_Trainer2:: @ 8275EC6 goto SecretBase_EventScript_BattleTrainer end -SecretBase_EventScript_Trainer2PreChampion:: @ 8275F15 +SecretBase_EventScript_Trainer2PreChampion:: msgbox SecretBase_Text_Trainer2PreChampion, MSGBOX_DEFAULT release end -SecretBase_EventScript_Trainer2DeclineBattle:: @ 8275F1F +SecretBase_EventScript_Trainer2DeclineBattle:: special DeclinedSecretBaseBattle setvar VAR_RESULT, 0 special SetBattledOwnerFromResult @@ -445,13 +445,13 @@ SecretBase_EventScript_Trainer2DeclineBattle:: @ 8275F1F release end -SecretBase_EventScript_Trainer2PostBattle:: @ 8275F34 +SecretBase_EventScript_Trainer2PostBattle:: msgbox SecretBase_Text_Trainer2PostBattle, MSGBOX_DEFAULT release end @ VAR_RESULT is initially set by GetSecretBaseOwnerAndState -SecretBase_EventScript_Trainer3:: @ 8275F3E +SecretBase_EventScript_Trainer3:: lock faceplayer goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_EventScript_Trainer3PreChampion @@ -469,12 +469,12 @@ SecretBase_EventScript_Trainer3:: @ 8275F3E goto SecretBase_EventScript_BattleTrainer end -SecretBase_EventScript_Trainer3PreChampion:: @ 8275F8D +SecretBase_EventScript_Trainer3PreChampion:: msgbox SecretBase_Text_Trainer3PreChampion, MSGBOX_DEFAULT release end -SecretBase_EventScript_Trainer3DeclineBattle:: @ 8275F97 +SecretBase_EventScript_Trainer3DeclineBattle:: special DeclinedSecretBaseBattle setvar VAR_RESULT, 0 special SetBattledOwnerFromResult @@ -482,13 +482,13 @@ SecretBase_EventScript_Trainer3DeclineBattle:: @ 8275F97 release end -SecretBase_EventScript_Trainer3PostBattle:: @ 8275FAC +SecretBase_EventScript_Trainer3PostBattle:: msgbox SecretBase_Text_Trainer3PostBattle, MSGBOX_DEFAULT release end @ VAR_RESULT is initially set by GetSecretBaseOwnerAndState -SecretBase_EventScript_Trainer4:: @ 8275FB6 +SecretBase_EventScript_Trainer4:: lock faceplayer goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_EventScript_Trainer4PreChampion @@ -506,12 +506,12 @@ SecretBase_EventScript_Trainer4:: @ 8275FB6 goto SecretBase_EventScript_BattleTrainer end -SecretBase_EventScript_Trainer4PreChampion:: @ 8276005 +SecretBase_EventScript_Trainer4PreChampion:: msgbox SecretBase_Text_Trainer4PreChampion, MSGBOX_DEFAULT release end -SecretBase_EventScript_Trainer4DeclineBattle:: @ 827600F +SecretBase_EventScript_Trainer4DeclineBattle:: special DeclinedSecretBaseBattle setvar VAR_RESULT, 0 special SetBattledOwnerFromResult @@ -519,13 +519,13 @@ SecretBase_EventScript_Trainer4DeclineBattle:: @ 827600F release end -SecretBase_EventScript_Trainer4PostBattle:: @ 8276024 +SecretBase_EventScript_Trainer4PostBattle:: msgbox SecretBase_Text_Trainer4PostBattle, MSGBOX_DEFAULT release end @ VAR_RESULT is initially set by GetSecretBaseOwnerAndState -SecretBase_EventScript_Trainer5:: @ 827602E +SecretBase_EventScript_Trainer5:: lock faceplayer goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_EventScript_Trainer5PreChampion @@ -543,12 +543,12 @@ SecretBase_EventScript_Trainer5:: @ 827602E goto SecretBase_EventScript_BattleTrainer end -SecretBase_EventScript_Trainer5PreChampion:: @ 827607D +SecretBase_EventScript_Trainer5PreChampion:: msgbox SecretBase_Text_Trainer5PreChampion, MSGBOX_DEFAULT release end -SecretBase_EventScript_Trainer5DeclineBattle:: @ 8276087 +SecretBase_EventScript_Trainer5DeclineBattle:: special DeclinedSecretBaseBattle setvar VAR_RESULT, 0 special SetBattledOwnerFromResult @@ -556,13 +556,13 @@ SecretBase_EventScript_Trainer5DeclineBattle:: @ 8276087 release end -SecretBase_EventScript_Trainer5PostBattle:: @ 827609C +SecretBase_EventScript_Trainer5PostBattle:: msgbox SecretBase_Text_Trainer5PostBattle, MSGBOX_DEFAULT release end @ VAR_RESULT is initially set by GetSecretBaseOwnerAndState -SecretBase_EventScript_Trainer6:: @ 82760A6 +SecretBase_EventScript_Trainer6:: lock faceplayer goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_EventScript_Trainer6PreChampion @@ -580,12 +580,12 @@ SecretBase_EventScript_Trainer6:: @ 82760A6 goto SecretBase_EventScript_BattleTrainer end -SecretBase_EventScript_Trainer6PreChampion:: @ 82760F5 +SecretBase_EventScript_Trainer6PreChampion:: msgbox SecretBase_Text_Trainer6PreChampion, MSGBOX_DEFAULT release end -SecretBase_EventScript_Trainer6DeclineBattle:: @ 82760FF +SecretBase_EventScript_Trainer6DeclineBattle:: special DeclinedSecretBaseBattle setvar VAR_RESULT, 0 special SetBattledOwnerFromResult @@ -593,13 +593,13 @@ SecretBase_EventScript_Trainer6DeclineBattle:: @ 82760FF release end -SecretBase_EventScript_Trainer6PostBattle:: @ 8276114 +SecretBase_EventScript_Trainer6PostBattle:: msgbox SecretBase_Text_Trainer6PostBattle, MSGBOX_DEFAULT release end @ VAR_RESULT is initially set by GetSecretBaseOwnerAndState -SecretBase_EventScript_Trainer7:: @ 827611E +SecretBase_EventScript_Trainer7:: lock faceplayer goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_EventScript_Trainer7PreChampion @@ -617,12 +617,12 @@ SecretBase_EventScript_Trainer7:: @ 827611E goto SecretBase_EventScript_BattleTrainer end -SecretBase_EventScript_Trainer7PreChampion:: @ 827616D +SecretBase_EventScript_Trainer7PreChampion:: msgbox SecretBase_Text_Trainer7PreChampion, MSGBOX_DEFAULT release end -SecretBase_EventScript_Trainer7DeclineBattle:: @ 8276177 +SecretBase_EventScript_Trainer7DeclineBattle:: special DeclinedSecretBaseBattle setvar VAR_RESULT, 0 special SetBattledOwnerFromResult @@ -630,13 +630,13 @@ SecretBase_EventScript_Trainer7DeclineBattle:: @ 8276177 release end -SecretBase_EventScript_Trainer7PostBattle:: @ 827618C +SecretBase_EventScript_Trainer7PostBattle:: msgbox SecretBase_Text_Trainer7PostBattle, MSGBOX_DEFAULT release end @ VAR_RESULT is initially set by GetSecretBaseOwnerAndState -SecretBase_EventScript_Trainer8:: @ 8276196 +SecretBase_EventScript_Trainer8:: lock faceplayer goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_EventScript_Trainer8PreChampion @@ -654,12 +654,12 @@ SecretBase_EventScript_Trainer8:: @ 8276196 goto SecretBase_EventScript_BattleTrainer end -SecretBase_EventScript_Trainer8PreChampion:: @ 82761E5 +SecretBase_EventScript_Trainer8PreChampion:: msgbox SecretBase_Text_Trainer8PreChampion, MSGBOX_DEFAULT release end -SecretBase_EventScript_Trainer8DeclineBattle:: @ 82761EF +SecretBase_EventScript_Trainer8DeclineBattle:: special DeclinedSecretBaseBattle setvar VAR_RESULT, 0 special SetBattledOwnerFromResult @@ -667,13 +667,13 @@ SecretBase_EventScript_Trainer8DeclineBattle:: @ 82761EF release end -SecretBase_EventScript_Trainer8PostBattle:: @ 8276204 +SecretBase_EventScript_Trainer8PostBattle:: msgbox SecretBase_Text_Trainer8PostBattle, MSGBOX_DEFAULT release end @ VAR_RESULT is initially set by GetSecretBaseOwnerAndState -SecretBase_EventScript_Trainer9:: @ 827620E +SecretBase_EventScript_Trainer9:: lock faceplayer goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_EventScript_Trainer9PreChampion @@ -691,12 +691,12 @@ SecretBase_EventScript_Trainer9:: @ 827620E goto SecretBase_EventScript_BattleTrainer end -SecretBase_EventScript_Trainer9PreChampion:: @ 827625D +SecretBase_EventScript_Trainer9PreChampion:: msgbox SecretBase_Text_Trainer9PreChampion, MSGBOX_DEFAULT release end -SecretBase_EventScript_Trainer9DeclineBattle:: @ 8276267 +SecretBase_EventScript_Trainer9DeclineBattle:: special DeclinedSecretBaseBattle setvar VAR_RESULT, 0 special SetBattledOwnerFromResult @@ -704,12 +704,12 @@ SecretBase_EventScript_Trainer9DeclineBattle:: @ 8276267 release end -SecretBase_EventScript_Trainer9PostBattle:: @ 827627C +SecretBase_EventScript_Trainer9PostBattle:: msgbox SecretBase_Text_Trainer9PostBattle, MSGBOX_DEFAULT release end -SecretBase_EventScript_BattleTrainer:: @ 8276286 +SecretBase_EventScript_BattleTrainer:: special PrepSecretBaseBattleFlags setvar VAR_0x8004, SPECIAL_BATTLE_SECRET_BASE setvar VAR_0x8005, 0 @@ -725,59 +725,59 @@ SecretBase_EventScript_BattleTrainer:: @ 8276286 release end -SecretBase_EventScript_DrewSecretBaseBattle:: @ 82762BD +SecretBase_EventScript_DrewSecretBaseBattle:: special DrewSecretBaseBattle return -SecretBase_EventScript_WonSecretBaseBattle:: @ 82762C1 +SecretBase_EventScript_WonSecretBaseBattle:: special WonSecretBaseBattle return -SecretBase_EventScript_LostSecretBaseBattle:: @ 82762C5 +SecretBase_EventScript_LostSecretBaseBattle:: special LostSecretBaseBattle return .include "data/scripts/secret_power_tm.inc" -SecretBase_EventScript_DollInteract:: @ 82766A2 +SecretBase_EventScript_DollInteract:: special CheckInteractedWithFriendsDollDecor end -SecretBase_EventScript_CushionInteract:: @ 82766A6 +SecretBase_EventScript_CushionInteract:: special CheckInteractedWithFriendsCushionDecor end -SecretBase_Text_AllDecorationsWillBeReturned: @ 82766AA +SecretBase_Text_AllDecorationsWillBeReturned: .string "All decorations and furniture in your\n" .string "SECRET BASE will be returned to your PC.\p" .string "Is that okay?$" -SecretBase_Text_WantToRegisterSecretBase: @ 8276707 +SecretBase_Text_WantToRegisterSecretBase: .string "Do you want to register\n" .string "{STR_VAR_1}'s SECRET BASE?$" -SecretBase_Text_AlreadyRegisteredDelete: @ 8276731 +SecretBase_Text_AlreadyRegisteredDelete: .string "This data is already registered.\n" .string "Would you like to delete it?$" -SecretBase_Text_TooManyBasesDeleteSome: @ 827676F +SecretBase_Text_TooManyBasesDeleteSome: .string "Up to 10 locations can be registered.\p" .string "Delete a location if you want to\n" .string "register another location.$" -SecretBase_Text_RegistrationCompleted: @ 82767D1 +SecretBase_Text_RegistrationCompleted: .string "Registration completed.$" -SecretBase_Text_DataUnregistered: @ 82767E9 +SecretBase_Text_DataUnregistered: .string "Data has been unregistered.$" -SecretBase_Text_BootUpPC: @ 8276805 +SecretBase_Text_BootUpPC: .string "{PLAYER} booted up the PC.$" -SecretBase_Text_WhatWouldYouLikeToDo: @ 827681A +SecretBase_Text_WhatWouldYouLikeToDo: .string "What would you like to do?$" -SecretBase_Text_RegistryInfo: @ 8276835 +SecretBase_Text_RegistryInfo: .string "Once registered, a SECRET BASE will not\n" .string "disappear unless the other TRAINER\l" .string "moves it to a different location.\p" @@ -787,27 +787,27 @@ SecretBase_Text_RegistryInfo: @ 8276835 .string "Up to ten SECRET BASE locations\n" .string "may be registered.$" -SecretBase_Text_BattleTowerShield: @ 827692B +SecretBase_Text_BattleTowerShield: .string "A shield of {STR_VAR_2} that marks winning\n" .string "{STR_VAR_1} times in a row at the BATTLE TOWER.$" -SecretBase_Text_ToyTV: @ 8276974 +SecretBase_Text_ToyTV: .string "A realistic toy TV. It could be easily\n" .string "mistaken for the real thing.$" -SecretBase_Text_SeedotTV: @ 82769B8 +SecretBase_Text_SeedotTV: .string "A toy TV shaped like a SEEDOT.\n" .string "It looks ready to roll away on its own…$" -SecretBase_Text_SkittyTV: @ 82769FF +SecretBase_Text_SkittyTV: .string "A toy TV shaped like a SKITTY.\n" .string "It looks ready to stroll away…$" -SecretBase_Text_WouldYouLikeToMoveBases: @ 8276A3D +SecretBase_Text_WouldYouLikeToMoveBases: .string "You may only make one SECRET BASE.\p" .string "Would you like to move from the SECRET\n" .string "BASE near {STR_VAR_1}?$" -SecretBase_Text_MovingCompletedUseSecretPower: @ 8276A95 +SecretBase_Text_MovingCompletedUseSecretPower: .string "Moving completed.\p" .string "Would you like to use the SECRET POWER?$" diff --git a/data/scripts/secret_power_tm.inc b/data/scripts/secret_power_tm.inc index 6684ec98b..41c21e100 100644 --- a/data/scripts/secret_power_tm.inc +++ b/data/scripts/secret_power_tm.inc @@ -1,4 +1,4 @@ -Route111_Text_MakingRoomUseTMToMakeYourOwn: @ 82762C9 +Route111_Text_MakingRoomUseTMToMakeYourOwn: .string "What's that?\n" .string "What am I doing?\p" .string "I'm thinking about making my own room\n" @@ -6,7 +6,7 @@ Route111_Text_MakingRoomUseTMToMakeYourOwn: @ 82762C9 .string "I know! I'll give you this TM.\n" .string "Will you use it to make your own room?$" -Route111_Text_ExplainSecretPower: @ 827636E +Route111_Text_ExplainSecretPower: .string "Find a big tree that looks like it might\n" .string "drop some vines.\p" .string "Use SECRET POWER in front of the tree.\n" @@ -24,16 +24,16 @@ Route111_Text_ExplainSecretPower: @ 827636E .string "I'm going to look for other places, too.\n" .string "Okay, bye!$" -Route111_Text_DontWantThis: @ 827655C +Route111_Text_DontWantThis: .string "Oh, you don't want this?\n" .string "If you change your mind, tell me, okay?$" -Route111_Text_DontHaveAnyRoom: @ 827659D +Route111_Text_DontHaveAnyRoom: .string "Oh, you don't have any room for this.\p" .string "I'll hold on to it, so come back for it\n" .string "another time, okay?$" -Route111_EventScript_SecretPowerMan:: @ 82765FF +Route111_EventScript_SecretPowerMan:: lock faceplayer msgbox Route111_Text_MakingRoomUseTMToMakeYourOwn, MSGBOX_YESNO @@ -43,7 +43,7 @@ Route111_EventScript_SecretPowerMan:: @ 82765FF release end -Route111_EventScript_GiveSecretPower:: @ 827661E +Route111_EventScript_GiveSecretPower:: giveitem ITEM_TM43 compare VAR_RESULT, FALSE goto_if_eq Route111_EventScript_NoRoomForSecretPower @@ -61,22 +61,22 @@ Route111_EventScript_GiveSecretPower:: @ 827661E release end -Route111_EventScript_SecretPowerManExit:: @ 827666A +Route111_EventScript_SecretPowerManExit:: applymovement VAR_LAST_TALKED, Route111_Movement_SecretPowerManExit waitmovement 0 return -Route111_EventScript_SecretPowerManExitNorth:: @ 8276675 +Route111_EventScript_SecretPowerManExitNorth:: applymovement VAR_LAST_TALKED, Route111_Movement_SecretPowerManExitNorth waitmovement 0 return -Route111_EventScript_NoRoomForSecretPower:: @ 8276680 +Route111_EventScript_NoRoomForSecretPower:: msgbox Route111_Text_DontHaveAnyRoom, MSGBOX_DEFAULT release end -Route111_Movement_SecretPowerManExit: @ 827668A +Route111_Movement_SecretPowerManExit: walk_down walk_down walk_down @@ -90,7 +90,7 @@ Route111_Movement_SecretPowerManExit: @ 827668A walk_down step_end -Route111_Movement_SecretPowerManExitNorth: @ 8276696 +Route111_Movement_SecretPowerManExitNorth: walk_left walk_down walk_down diff --git a/data/scripts/set_gym_trainers.inc b/data/scripts/set_gym_trainers.inc index c263e42d4..1faa9f7d5 100644 --- a/data/scripts/set_gym_trainers.inc +++ b/data/scripts/set_gym_trainers.inc @@ -1,4 +1,4 @@ -Common_EventScript_SetGymTrainers:: @ 8271F43 +Common_EventScript_SetGymTrainers:: switch VAR_0x8008 case 1, RustboroCity_Gym_SetGymTrainers case 2, DewfordTown_Gym_SetGymTrainers @@ -10,13 +10,13 @@ Common_EventScript_SetGymTrainers:: @ 8271F43 case 8, SootopolisCity_Gym_SetGymTrainers end -RustboroCity_Gym_SetGymTrainers:: @ 8271FA1 +RustboroCity_Gym_SetGymTrainers:: settrainerflag TRAINER_JOSH settrainerflag TRAINER_TOMMY settrainerflag TRAINER_MARC return -DewfordTown_Gym_SetGymTrainers:: @ 8271FAB +DewfordTown_Gym_SetGymTrainers:: settrainerflag TRAINER_TAKAO settrainerflag TRAINER_JOCELYN settrainerflag TRAINER_LAURA @@ -25,7 +25,7 @@ DewfordTown_Gym_SetGymTrainers:: @ 8271FAB settrainerflag TRAINER_LILITH return -MauvilleCity_Gym_SetGymTrainers:: @ 8271FBE +MauvilleCity_Gym_SetGymTrainers:: settrainerflag TRAINER_KIRK settrainerflag TRAINER_SHAWN settrainerflag TRAINER_BEN @@ -33,7 +33,7 @@ MauvilleCity_Gym_SetGymTrainers:: @ 8271FBE settrainerflag TRAINER_ANGELO return -LavaridgeTown_Gym_SetGymTrainers:: @ 8271FCE +LavaridgeTown_Gym_SetGymTrainers:: settrainerflag TRAINER_COLE settrainerflag TRAINER_AXLE settrainerflag TRAINER_KEEGAN @@ -44,7 +44,7 @@ LavaridgeTown_Gym_SetGymTrainers:: @ 8271FCE settrainerflag TRAINER_ELI return -PetalburgCity_Gym_SetGymTrainers:: @ 8271FE7 +PetalburgCity_Gym_SetGymTrainers:: settrainerflag TRAINER_RANDALL settrainerflag TRAINER_PARKER settrainerflag TRAINER_GEORGE @@ -54,7 +54,7 @@ PetalburgCity_Gym_SetGymTrainers:: @ 8271FE7 settrainerflag TRAINER_JODY return -FortreeCity_Gym_SetGymTrainers:: @ 8271FFD +FortreeCity_Gym_SetGymTrainers:: settrainerflag TRAINER_JARED settrainerflag TRAINER_FLINT settrainerflag TRAINER_ASHLEY @@ -63,7 +63,7 @@ FortreeCity_Gym_SetGymTrainers:: @ 8271FFD settrainerflag TRAINER_DARIUS return -MossdeepCity_Gym_SetGymTrainers:: @ 8272010 +MossdeepCity_Gym_SetGymTrainers:: settrainerflag TRAINER_PRESTON settrainerflag TRAINER_VIRGIL settrainerflag TRAINER_BLAKE @@ -78,7 +78,7 @@ MossdeepCity_Gym_SetGymTrainers:: @ 8272010 settrainerflag TRAINER_NICHOLAS return -SootopolisCity_Gym_SetGymTrainers:: @ 8272035 +SootopolisCity_Gym_SetGymTrainers:: settrainerflag TRAINER_ANDREA settrainerflag TRAINER_CRISSY settrainerflag TRAINER_BRIANNA diff --git a/data/scripts/shared_secret_base.inc b/data/scripts/shared_secret_base.inc index 9e1759872..ef389d3fc 100644 --- a/data/scripts/shared_secret_base.inc +++ b/data/scripts/shared_secret_base.inc @@ -5,25 +5,25 @@ SecretBase_MapScripts:: map_script MAP_SCRIPT_ON_RESUME, SecretBase_OnResume .byte 0 -SecretBase_OnWarp: @ 823B498 +SecretBase_OnWarp: map_script_2 VAR_SECRET_BASE_INITIALIZED, 0, SecretBase_EventScript_InitDecorations .2byte 0 -SecretBase_OnTransition: @ 823B4A2 +SecretBase_OnTransition: call SecretBase_EventScript_SetDecorationFlags special SetSecretBaseOwnerGfxId special InitSecretBaseVars end -SecretBase_OnFrame: @ 823B4AE +SecretBase_OnFrame: map_script_2 VAR_INIT_SECRET_BASE, 0, SecretBase_EventScript_FirstEntrance .2byte 0 -SecretBase_OnResume: @ 823B4B8 +SecretBase_OnResume: setstepcallback STEP_CB_SECRET_BASE end -SecretBase_EventScript_PC:: @ 823B4BB +SecretBase_EventScript_PC:: lockall playse SE_PC_LOGIN message SecretBase_Text_BootUpPC @@ -35,19 +35,19 @@ SecretBase_EventScript_PC:: @ 823B4BB goto SecretBase_EventScript_PCShowMainMenu end -SecretBase_EventScript_PCShowMainMenu:: @ 823B4D3 +SecretBase_EventScript_PCShowMainMenu:: message SecretBase_Text_WhatWouldYouLikeToDo waitmessage goto_if_set FLAG_SECRET_BASE_REGISTRY_ENABLED, SecretBase_EventScript_PCMainMenuWithRegister goto SecretBase_EventScript_PCMainMenuWithoutRegister end -SecretBase_EventScript_PCCancel:: @ 823B4E8 +SecretBase_EventScript_PCCancel:: lockall goto SecretBase_EventScript_PCShowMainMenu end -SecretBase_EventScript_PCMainMenuWithRegister:: @ 823B4EF +SecretBase_EventScript_PCMainMenuWithRegister:: multichoice 0, 0, MULTI_BASE_PC_WITH_REGISTRY, FALSE switch VAR_RESULT case 0, SecretBase_EventScript_PCDecorationMenu @@ -57,7 +57,7 @@ SecretBase_EventScript_PCMainMenuWithRegister:: @ 823B4EF case MULTI_B_PRESSED, SecretBase_EventScript_PCTurnOff end -SecretBase_EventScript_PCMainMenuWithoutRegister:: @ 823B531 +SecretBase_EventScript_PCMainMenuWithoutRegister:: multichoice 0, 0, MULTI_BASE_PC_NO_REGISTRY, FALSE switch VAR_RESULT case 0, SecretBase_EventScript_PCDecorationMenu @@ -66,7 +66,7 @@ SecretBase_EventScript_PCMainMenuWithoutRegister:: @ 823B531 case MULTI_B_PRESSED, SecretBase_EventScript_PCTurnOff end -SecretBase_EventScript_PCPackUp:: @ 823B568 +SecretBase_EventScript_PCPackUp:: msgbox SecretBase_Text_AllDecorationsWillBeReturned, MSGBOX_YESNO compare VAR_RESULT, NO goto_if_eq SecretBase_EventScript_PCShowMainMenu @@ -75,15 +75,15 @@ SecretBase_EventScript_PCPackUp:: @ 823B568 releaseall end -SecretBase_EventScript_PCDecorationMenu:: @ 823B581 +SecretBase_EventScript_PCDecorationMenu:: special ShowSecretBaseDecorationMenu end -SecretBase_EventScript_PCRegistryMenu:: @ 823B585 +SecretBase_EventScript_PCRegistryMenu:: special ShowSecretBaseRegistryMenu end -SecretBase_EventScript_RecordMixingPC:: @ 823B589 +SecretBase_EventScript_RecordMixingPC:: lockall message SecretBase_Text_BootUpPC playse SE_PC_LOGIN @@ -95,7 +95,7 @@ SecretBase_EventScript_RecordMixingPC:: @ 823B589 goto SecretBase_EventScript_PCRegisterMenu end -SecretBase_EventScript_PCRegisterMenu:: @ 823B5A1 +SecretBase_EventScript_PCRegisterMenu:: message SecretBase_Text_WhatWouldYouLikeToDo waitmessage multichoice 0, 0, MULTI_REGISTER_MENU, FALSE @@ -107,12 +107,12 @@ SecretBase_EventScript_PCRegisterMenu:: @ 823B5A1 case MULTI_B_PRESSED, SecretBase_EventScript_PCTurnOff end -SecretBase_EventScript_ShowRegisterMenu:: @ 823B5E9 +SecretBase_EventScript_ShowRegisterMenu:: lockall goto SecretBase_EventScript_PCRegisterMenu end -SecretBase_EventScript_PCRegister:: @ 823B5F0 +SecretBase_EventScript_PCRegister:: special GetCurSecretBaseRegistrationValidity compare VAR_RESULT, 1 goto_if_eq SecretBase_EventScript_AlreadyRegistered @@ -128,7 +128,7 @@ SecretBase_EventScript_PCRegister:: @ 823B5F0 releaseall end -SecretBase_EventScript_AlreadyRegistered:: @ 823B62F +SecretBase_EventScript_AlreadyRegistered:: msgbox SecretBase_Text_AlreadyRegisteredDelete, MSGBOX_YESNO compare VAR_RESULT, NO goto_if_eq SecretBase_EventScript_PCRegisterMenu @@ -138,51 +138,51 @@ SecretBase_EventScript_AlreadyRegistered:: @ 823B62F releaseall end -SecretBase_EventScript_CantRegisterTooManyBases:: @ 823B652 +SecretBase_EventScript_CantRegisterTooManyBases:: msgbox SecretBase_Text_TooManyBasesDeleteSome, MSGBOX_SIGN special DoSecretBasePCTurnOffEffect closemessage releaseall end -SecretBase_EventScript_PCRegistryInfo:: @ 823B660 +SecretBase_EventScript_PCRegistryInfo:: msgbox SecretBase_Text_RegistryInfo, MSGBOX_DEFAULT goto SecretBase_EventScript_PCRegisterMenu end -SecretBase_EventScript_PCTurnOff:: @ 823B66E +SecretBase_EventScript_PCTurnOff:: special DoSecretBasePCTurnOffEffect closemessage releaseall end @ Unused -SecretBase_EventScript_Poster:: @ 823B674 +SecretBase_EventScript_Poster:: special CheckInteractedWithFriendsPosterDecor end @ Unused -SecretBase_EventScript_FurnitureBottom:: @ 823B678 +SecretBase_EventScript_FurnitureBottom:: special CheckInteractedWithFriendsFurnitureBottom end @ Unused -SecretBase_EventScript_FurnitureMiddle:: @ 823B67C +SecretBase_EventScript_FurnitureMiddle:: special CheckInteractedWithFriendsFurnitureMiddle end @ Unused -SecretBase_EventScript_FurnitureTop:: @ 823B680 +SecretBase_EventScript_FurnitureTop:: special CheckInteractedWithFriendsFurnitureTop end -SecretBase_EventScript_SandOrnament:: @ 823B684 +SecretBase_EventScript_SandOrnament:: special CheckInteractedWithFriendsSandOrnament dofieldeffect FLDEFF_SAND_PILLAR waitstate end -SecretBase_EventScript_ShieldOrToyTV:: @ 823B68C +SecretBase_EventScript_ShieldOrToyTV:: special InteractWithShieldOrTVDecoration compare VAR_RESULT, 0 goto_if_eq SecretBase_EventScript_BattleTowerShield @@ -194,31 +194,31 @@ SecretBase_EventScript_ShieldOrToyTV:: @ 823B68C goto_if_eq SecretBase_EventScript_SkittyTV end -SecretBase_EventScript_BattleTowerShield:: @ 823B6BC +SecretBase_EventScript_BattleTowerShield:: msgbox SecretBase_Text_BattleTowerShield, MSGBOX_SIGN end -SecretBase_EventScript_ToyTV:: @ 823B6C5 +SecretBase_EventScript_ToyTV:: msgbox SecretBase_Text_ToyTV, MSGBOX_SIGN end -SecretBase_EventScript_SeedotTV:: @ 823B6CE +SecretBase_EventScript_SeedotTV:: msgbox SecretBase_Text_SeedotTV, MSGBOX_SIGN end -SecretBase_EventScript_SkittyTV:: @ 823B6D7 +SecretBase_EventScript_SkittyTV:: msgbox SecretBase_Text_SkittyTV, MSGBOX_SIGN end -SecretBase_Text_SmallIndentInWall:: @ 823B6E0 +SecretBase_Text_SmallIndentInWall:: .string "There's a small indent in the wall.$" -SecretBase_Text_IndentUseSecretPower:: @ 823B704 +SecretBase_Text_IndentUseSecretPower:: .string "There's a small indent in the wall.\p" .string "Use the SECRET POWER?$" -SecretBase_Text_DiscoveredSmallCavern:: @ 823B73E +SecretBase_Text_DiscoveredSmallCavern:: .string "Discovered a small cavern!$" -SecretBase_Text_WantToMakeYourSecretBaseHere: @ 823B759 +SecretBase_Text_WantToMakeYourSecretBaseHere: .string "Want to make your SECRET BASE here?$" diff --git a/data/scripts/std_msgbox.inc b/data/scripts/std_msgbox.inc index 10b46700e..941cc0e96 100644 --- a/data/scripts/std_msgbox.inc +++ b/data/scripts/std_msgbox.inc @@ -1,4 +1,4 @@ -Std_MsgboxNPC: @ 8271315 +Std_MsgboxNPC: lock faceplayer message 0x0 @@ -7,7 +7,7 @@ Std_MsgboxNPC: @ 8271315 release return -Std_MsgboxSign: @ 8271320 +Std_MsgboxSign: lockall message 0x0 waitmessage @@ -15,34 +15,34 @@ Std_MsgboxSign: @ 8271320 releaseall return -Std_MsgboxDefault: @ 827132A +Std_MsgboxDefault: message 0x0 waitmessage waitbuttonpress return -Std_MsgboxYesNo: @ 8271332 +Std_MsgboxYesNo: message 0x0 waitmessage yesnobox 20, 8 return -Std_MsgboxGetPoints: @ 827133C +Std_MsgboxGetPoints: message 0x0 playfanfare MUS_OBTAIN_B_POINTS waitfanfare waitmessage return -Std_10: @ 8271347 +Std_10: pokenavcall 0x0 waitmessage return -EventScript_UnusedReturn: @ 827134E +EventScript_UnusedReturn: return -Common_EventScript_SaveGame:: @ 827134F +Common_EventScript_SaveGame:: special SaveGame waitstate return diff --git a/data/scripts/surf.inc b/data/scripts/surf.inc index af6cac1da..91580422e 100644 --- a/data/scripts/surf.inc +++ b/data/scripts/surf.inc @@ -1,4 +1,4 @@ -EventScript_UseSurf:: @ 8271EA0 +EventScript_UseSurf:: checkpartymove MOVE_SURF compare VAR_RESULT, PARTY_SIZE goto_if_eq EventScript_EndUseSurf @@ -10,7 +10,7 @@ EventScript_UseSurf:: @ 8271EA0 goto_if_eq EventScript_ReleaseUseSurf msgbox gText_PlayerUsedSurf, MSGBOX_DEFAULT dofieldeffect FLDEFF_USE_SURF -EventScript_ReleaseUseSurf:: @ 8271ED5 +EventScript_ReleaseUseSurf:: releaseall -EventScript_EndUseSurf:: @ 8271ED6 +EventScript_EndUseSurf:: end diff --git a/data/scripts/test_signpost.inc b/data/scripts/test_signpost.inc index 482fe18f2..6a8be547b 100644 --- a/data/scripts/test_signpost.inc +++ b/data/scripts/test_signpost.inc @@ -1,7 +1,7 @@ -Text_ThisIsATestSignpostMsg:: @ 82C840A +Text_ThisIsATestSignpostMsg:: .string "This is a test message.\n" .string "This is a signpost.$" -EventScript_TestSignpostMsg:: @ 82C8436 +EventScript_TestSignpostMsg:: msgbox Text_ThisIsATestSignpostMsg, MSGBOX_SIGN end diff --git a/data/scripts/trainer_battle.inc b/data/scripts/trainer_battle.inc index 0b5c1118b..a59b58a6f 100644 --- a/data/scripts/trainer_battle.inc +++ b/data/scripts/trainer_battle.inc @@ -1,13 +1,13 @@ -EventScript_StartTrainerApproach:: @ 8271354 +EventScript_StartTrainerApproach:: selectapproachingtrainer lockfortrainer -EventScript_TrainerApproach:: @ 8271356 +EventScript_TrainerApproach:: special PlayTrainerEncounterMusic special DoTrainerApproach waitstate goto EventScript_ShowTrainerIntroMsg -EventScript_TryDoNormalTrainerBattle:: @ 8271362 +EventScript_TryDoNormalTrainerBattle:: lock faceplayer applymovement VAR_LAST_TALKED, Movement_RevealTrainer @@ -19,10 +19,10 @@ EventScript_TryDoNormalTrainerBattle:: @ 8271362 special SetTrainerFacingDirection goto EventScript_ShowTrainerIntroMsg -EventScript_NoNormalTrainerBattle:: @ 8271389 +EventScript_NoNormalTrainerBattle:: gotopostbattlescript -EventScript_TryDoDoubleTrainerBattle:: @ 827138A +EventScript_TryDoDoubleTrainerBattle:: lock faceplayer call EventScript_RevealTrainer @@ -36,24 +36,24 @@ EventScript_TryDoDoubleTrainerBattle:: @ 827138A special SetTrainerFacingDirection goto EventScript_ShowTrainerIntroMsg -EventScript_NotEnoughMonsForDoubleBattle:: @ 82713BA +EventScript_NotEnoughMonsForDoubleBattle:: special ShowTrainerCantBattleSpeech waitmessage waitbuttonpress release end -EventScript_NoDoubleTrainerBattle:: @ 82713C1 +EventScript_NoDoubleTrainerBattle:: gotopostbattlescript -EventScript_DoNoIntroTrainerBattle:: @ 82713C2 +EventScript_DoNoIntroTrainerBattle:: applymovement VAR_LAST_TALKED, Movement_RevealTrainer waitmovement 0 special PlayTrainerEncounterMusic trainerbattlebegin gotopostbattlescript -EventScript_TryDoRematchBattle:: @ 82713D1 +EventScript_TryDoRematchBattle:: call EventScript_RevealTrainer specialvar VAR_RESULT, IsTrainerReadyForRematch compare VAR_RESULT, FALSE @@ -68,10 +68,10 @@ EventScript_TryDoRematchBattle:: @ 82713D1 releaseall end -EventScript_NoRematchTrainerBattle:: @ 82713F7 +EventScript_NoRematchTrainerBattle:: gotopostbattlescript -EventScript_TryDoDoubleRematchBattle:: @ 82713F8 +EventScript_TryDoDoubleRematchBattle:: specialvar VAR_RESULT, IsTrainerReadyForRematch compare VAR_RESULT, FALSE goto_if_eq EventScript_NoDoubleRematchTrainerBattle @@ -88,26 +88,26 @@ EventScript_TryDoDoubleRematchBattle:: @ 82713F8 releaseall end -EventScript_NoDoubleRematchTrainerBattle:: @ 8271427 +EventScript_NoDoubleRematchTrainerBattle:: gotopostbattlescript -EventScript_NotEnoughMonsForDoubleRematchBattle:: @ 8271428 +EventScript_NotEnoughMonsForDoubleRematchBattle:: special ShowTrainerCantBattleSpeech waitmessage waitbuttonpress release end -EventScript_RevealTrainer:: @ 827142F +EventScript_RevealTrainer:: applymovement VAR_LAST_TALKED, Movement_RevealTrainer waitmovement 0 return -Movement_RevealTrainer: @ 827143A +Movement_RevealTrainer: reveal_trainer step_end -EventScript_ShowTrainerIntroMsg:: @ 827143C +EventScript_ShowTrainerIntroMsg:: special ShowTrainerIntroSpeech waitmessage waitbuttonpress @@ -116,7 +116,7 @@ EventScript_ShowTrainerIntroMsg:: @ 827143C goto_if_eq EventScript_TrainerApproach goto EventScript_DoTrainerBattle -EventScript_DoTrainerBattle:: @ 8271454 +EventScript_DoTrainerBattle:: trainerbattlebegin @ Below battle mode check only needed in FRLG specialvar VAR_RESULT, GetTrainerBattleMode @@ -130,12 +130,12 @@ EventScript_DoTrainerBattle:: @ 8271454 goto_if_eq EventScript_EndTrainerBattle compare VAR_RESULT, TRAINER_BATTLE_CONTINUE_SCRIPT_DOUBLE_NO_MUSIC goto_if_eq EventScript_EndTrainerBattle -EventScript_EndTrainerBattle:: @ 8271491 +EventScript_EndTrainerBattle:: gotobeatenscript releaseall end -Std_MsgboxAutoclose:: @ 8271494 +Std_MsgboxAutoclose:: message 0x0 waitmessage waitbuttonpress diff --git a/data/scripts/trainer_hill.inc b/data/scripts/trainer_hill.inc index e4e453228..f3ba5f035 100644 --- a/data/scripts/trainer_hill.inc +++ b/data/scripts/trainer_hill.inc @@ -1,4 +1,4 @@ -TrainerHill_OnResume: @ 82C8336 +TrainerHill_OnResume: setvar VAR_TEMP_2, 0 trainerhill_resumetimer frontier_get FRONTIER_DATA_BATTLE_OUTCOME @@ -10,29 +10,29 @@ TrainerHill_OnResume: @ 82C8336 goto_if_eq TrainerHill_1F_EventScript_Lost end -TrainerHill_OnWarp: @ 82C8372 +TrainerHill_OnWarp: map_script_2 VAR_TEMP_3, 0, TrainerHill_1F_EventScript_DummyOnWarp .2byte 0 -TrainerHill_1F_EventScript_DummyOnWarp:: @ 82C837C +TrainerHill_1F_EventScript_DummyOnWarp:: setvar VAR_TEMP_3, 1 .ifdef BUGFIX end @ Missing end. By chance, the next byte (0x02 of VAR_TEMP_2) is also the id for the end cmd .endif -TrainerHill_OnFrame: @ 82C8381 +TrainerHill_OnFrame: map_script_2 VAR_TEMP_2, 0, TrainerHill_1F_EventScript_DummyWarpToEntranceCounter map_script_2 VAR_TEMP_1, 1, TrainerHill_EventScript_WarpToEntranceCounter .2byte 0 -EventScript_TrainerHillTimer:: @ 82C8393 +EventScript_TrainerHillTimer:: lockall trainerhill_gettime msgbox TrainerHill_Entrance_Text_ChallengeTime, MSGBOX_DEFAULT releaseall end -TrainerHill_1F_EventScript_DummyWarpToEntranceCounter:: @ 82C83A6 +TrainerHill_1F_EventScript_DummyWarpToEntranceCounter:: setvar VAR_TEMP_2, 1 trainerhill_getusingereader compare VAR_RESULT, TRUE @ VAR_RESULT always FALSE here @@ -40,30 +40,30 @@ TrainerHill_1F_EventScript_DummyWarpToEntranceCounter:: @ 82C83A6 end @ Never reached -TrainerHill_1F_EventScript_WarpSilentToEntranceCounter:: @ 82C83BF +TrainerHill_1F_EventScript_WarpSilentToEntranceCounter:: warpsilent MAP_TRAINER_HILL_ENTRANCE, 255, 9, 6 waitstate end -TrainerHill_1F_EventScript_Lost:: @ 82C83C9 +TrainerHill_1F_EventScript_Lost:: trainerhill_settrainerflags trainerhill_lost setvar VAR_TEMP_1, 1 end -TrainerHill_EventScript_WarpToEntranceCounter:: @ 82C83DF +TrainerHill_EventScript_WarpToEntranceCounter:: setvar VAR_TEMP_1, 0 warp MAP_TRAINER_HILL_ENTRANCE, 255, 9, 6 waitstate end @ Unused -TrainerHill_1F_Movement_SetInvisible:: @ 82C83EE +TrainerHill_1F_Movement_SetInvisible:: set_invisible step_end @ TRAINER_PHILLIP is an actual Trainer on the SS Tidal, but is used as a placeholder here -TrainerHill_EventScript_TrainerBattle:: @ 82C83F0 +TrainerHill_EventScript_TrainerBattle:: trainerbattle TRAINER_BATTLE_HILL, TRAINER_PHILLIP, 0, BattleFacility_TrainerBattle_PlaceholderText, BattleFacility_TrainerBattle_PlaceholderText trainerhill_postbattletext waitmessage diff --git a/data/scripts/trainer_script.inc b/data/scripts/trainer_script.inc index c77e628ee..2a2384c66 100644 --- a/data/scripts/trainer_script.inc +++ b/data/scripts/trainer_script.inc @@ -1,4 +1,4 @@ -Std_RegisteredInMatchCall:: @ 82742C9 +Std_RegisteredInMatchCall:: buffertrainerclassname 0, VAR_0x8000 buffertrainername 1, VAR_0x8000 closemessage @@ -10,14 +10,14 @@ Std_RegisteredInMatchCall:: @ 82742C9 delay 30 return -EventScript_TryGetTrainerScript:: @ 82742E6 +EventScript_TryGetTrainerScript:: special ShouldTryGetTrainerScript compare VAR_RESULT, 1 goto_if_eq EventScript_GotoTrainerScript releaseall end -EventScript_GotoTrainerScript:: @ 82742F6 +EventScript_GotoTrainerScript:: gotobeatenscript releaseall end diff --git a/data/scripts/tv.inc b/data/scripts/tv.inc index 1dfc1884b..14f3ade48 100644 --- a/data/scripts/tv.inc +++ b/data/scripts/tv.inc @@ -1,4 +1,4 @@ -EventScript_TV:: @ 827EE0B +EventScript_TV:: lockall incrementgamestat GAME_STAT_WATCHED_TV special ResetTVShowState @@ -15,7 +15,7 @@ EventScript_TV:: @ 827EE0B goto EventScript_TryDoPokeNews end -EventScript_TryDoTVShow:: @ 827EE54 +EventScript_TryDoTVShow:: specialvar VAR_0x8004, GetRandomActiveShowIdx compare VAR_0x8004, 255 goto_if_eq EventScript_MomDadMightLikeThis2 @@ -28,14 +28,14 @@ EventScript_TryDoTVShow:: @ 827EE54 goto_if_ne EventScript_DoTVShow end -EventScript_MomDadMightLikeThis1:: @ 827EE8A +EventScript_MomDadMightLikeThis1:: special GetMomOrDadStringForTVMessage msgbox gText_MomOrDadMightLikeThisProgram, MSGBOX_DEFAULT special TurnOffTVScreen releaseall end -EventScript_PlayersHouseMovie:: @ 827EE9A +EventScript_PlayersHouseMovie:: msgbox PlayersHouse_1F_Text_TheresAMovieOnTV, MSGBOX_DEFAULT releaseall end @@ -43,7 +43,7 @@ EventScript_PlayersHouseMovie:: @ 827EE9A @ special InitRoamer is a junk call. Its input var (VAR_0x8004) hasn't been set, and @ It's called again when Mom actually asks for the color, overwriting @ whatever it does here. -EventScript_PlayersHouseLatiNewsFlash:: @ 827EEA4 +EventScript_PlayersHouseLatiNewsFlash:: msgbox PlayersHouse_1F_Text_LatiEmergencyNewsFlash, MSGBOX_DEFAULT special InitRoamer clearflag FLAG_SYS_TV_LATIAS_LATIOS @@ -52,7 +52,7 @@ EventScript_PlayersHouseLatiNewsFlash:: @ 827EEA4 releaseall end -EventScript_DoTVShow:: @ 827EEBA +EventScript_DoTVShow:: special DoTVShow waitmessage waitbuttonpress @@ -61,19 +61,19 @@ EventScript_DoTVShow:: @ 827EEBA goto EventScript_TurnOffTV end -EventScript_TurnOffTV:: @ 827EED0 +EventScript_TurnOffTV:: special TurnOffTVScreen setflag FLAG_SYS_TV_WATCH releaseall end -EventScript_MomDadMightLikeThis2:: @ 827EED8 +EventScript_MomDadMightLikeThis2:: special GetMomOrDadStringForTVMessage msgbox gText_MomOrDadMightLikeThisProgram, MSGBOX_DEFAULT goto EventScript_TurnOffTV end -EventScript_TryDoPokeNews:: @ 827EEE9 +EventScript_TryDoPokeNews:: special DoPokeNews compare VAR_RESULT, FALSE goto_if_eq EventScript_TryDoTVShow @@ -82,7 +82,7 @@ EventScript_TryDoPokeNews:: @ 827EEE9 goto EventScript_TurnOffTV end -EventScript_DoInSearchOfTrainers:: @ 827EEFF +EventScript_DoInSearchOfTrainers:: special DoTVShowInSearchOfTrainers waitmessage waitbuttonpress |