Merge branch 'master' of https://github.com/DizzyEggg/pokeemerald into pokemon_expansion

This commit is contained in:
DizzyEggg
2019-11-22 23:11:17 +01:00
334 changed files with 14792 additions and 14581 deletions

View File

@@ -6,6 +6,7 @@
.include "asm/macros/ec.inc"
.include "asm/macros/map.inc"
.include "asm/macros/field_effect_script.inc"
.include "asm/macros/battle_frontier.inc"
.macro region_map_entry x, y, width, height, name
.byte \x

View File

@@ -0,0 +1,35 @@
@ To be populated with macros for the Battle Frontier CallFacilityFunction specials
@ Frontier Util
.macro frontier_setlvlmode lvlmode:req
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 1
setvar VAR_0x8006, \lvlmode
special CallFrontierUtilFunc
.endm
@ Battle Tower
.macro battletower_getstreak
setvar VAR_0x8004, BATTLE_TOWER_FUNC_1
setvar VAR_0x8005, 1
special CallBattleTowerFunc
.endm
@ Battle Dome
@ Battle Palace
@ Battle Arena
@ Battle Factory
@ Battle Pike
@ Battle Pyramid
@ Battle Tent
@ Apprentice

View File

@@ -677,7 +677,7 @@
.elseif \type == TRAINER_BATTLE_SET_TRAINER_B
.4byte \pointer1 @ text
.4byte \pointer2 @ text
.elseif \type == TRAINER_BATTLE_12
.elseif \type == TRAINER_BATTLE_HILL
.4byte \pointer1 @ text
.4byte \pointer2 @ text
.endif
@@ -891,7 +891,7 @@
.endm
@ Draws an image of the winner of the contest. In FireRed, this command is a nop. (The argument is discarded.)
.macro drawcontestwinner a:req
.macro showcontestwinner a:req
.byte 0x77
.byte \a
.endm
@@ -1655,6 +1655,7 @@
MSGBOX_DEFAULT = 4
MSGBOX_YESNO = 5
MSGBOX_AUTOCLOSE = 6
MSGBOX_GETPOINTS = 9
YES = 1
NO = 0

View File

@@ -1,4 +1,4 @@
gUnknown_03006190
gUnknown_030061A0
gUnknown_030061C0
gContestMonPixels
gImageProcessingContext
gContestPaintingWinner
gContestPaintingMonPalette

View File

@@ -1,10 +0,0 @@
gUnknown_03006164
gUnknown_03006168
gUnknown_0300616C
gUnknown_03006170
gUnknown_03006174
gUnknown_03006178
gUnknown_0300617C
gUnknown_03006180
gUnknown_03006184
gUnknown_03006188

View File

@@ -0,0 +1,10 @@
gCanvasColumnStart
gCanvasPixels
gCanvasRowEnd
gCanvasHeight
gCanvasColumnEnd
gCanvasRowStart
gCanvasMonPersonality
gCanvasWidth
gCanvasPalette
gCanvasPaletteStart

View File

@@ -1,9 +1,10 @@
#include "constants/global.h"
#include "constants/battle.h"
#include "constants/battle_frontier.h"
#include "constants/battle_pike.h"
#include "constants/battle_pyramid.h"
#include "constants/battle_frontier.h"
#include "constants/battle_setup.h"
#include "constants/battle_tower.h"
#include "constants/berry.h"
#include "constants/cable_club.h"
#include "constants/coins.h"
@@ -18,6 +19,7 @@
#include "constants/field_specials.h"
#include "constants/field_tasks.h"
#include "constants/flags.h"
#include "constants/frontier_util.h"
#include "constants/game_stat.h"
#include "constants/item.h"
#include "constants/items.h"
@@ -39,6 +41,7 @@
#include "constants/trainer_hill.h"
#include "constants/trainers.h"
#include "constants/tv.h"
#include "constants/union_room.h"
#include "constants/vars.h"
#include "constants/weather.h"
.include "asm/macros.inc"
@@ -86,7 +89,7 @@ gStdScripts:: @ 81DC2A0
.4byte Std_MsgboxAutoclose
.4byte Std_ObtainDecoration
.4byte Std_RegisteredInMatchCall
.4byte Std_9
.4byte Std_MsgboxGetPoints
.4byte Std_10
gStdScripts_End:: @ 81DC2CC
@@ -441,18 +444,7 @@ gStdScripts_End:: @ 81DC2CC
.include "data/maps/TradeCenter/scripts.inc"
.include "data/maps/RecordCorner/scripts.inc"
.include "data/maps/BattleColosseum4P/scripts.inc"
.include "data/maps/LinkContestRoom1/scripts.inc"
.include "data/maps/UnknownLinkContestRoom_25_29/scripts.inc"
.include "data/maps/UnknownLinkContestRoom_25_30/scripts.inc"
.include "data/maps/UnknownLinkContestRoom_25_31/scripts.inc"
.include "data/maps/UnknownLinkContestRoom_25_32/scripts.inc"
.include "data/maps/UnknownLinkContestRoom_25_33/scripts.inc"
.include "data/maps/UnknownLinkContestRoom_25_34/scripts.inc"
.include "data/maps/LinkContestRoom2/scripts.inc"
.include "data/maps/LinkContestRoom3/scripts.inc"
.include "data/maps/LinkContestRoom4/scripts.inc"
.include "data/maps/LinkContestRoom5/scripts.inc"
.include "data/maps/LinkContestRoom6/scripts.inc"
.include "data/maps/ContestHall/scripts.inc"
.include "data/maps/InsideOfTruck/scripts.inc"
.include "data/maps/SSTidalCorridor/scripts.inc"
.include "data/maps/SSTidalLowerDeck/scripts.inc"
@@ -516,7 +508,7 @@ gStdScripts_End:: @ 81DC2CC
.include "data/maps/BattleFrontier_BattlePikeRandomRoom3/scripts.inc"
.include "data/maps/BattleFrontier_RankingHall/scripts.inc"
.include "data/maps/BattleFrontier_Lounge1/scripts.inc"
.include "data/maps/BattleFrontier_BattlePointExchangeServiceCorner/scripts.inc"
.include "data/maps/BattleFrontier_ExchangeServiceCorner/scripts.inc"
.include "data/maps/BattleFrontier_Lounge2/scripts.inc"
.include "data/maps/BattleFrontier_Lounge3/scripts.inc"
.include "data/maps/BattleFrontier_Lounge4/scripts.inc"
@@ -616,7 +608,7 @@ Std_MsgboxYesNo: @ 8271332
yesnobox 20, 8
return
Std_9: @ 827133C
Std_MsgboxGetPoints: @ 827133C
message 0x0
playfanfare MUS_ME_POINTGET
waitfanfare
@@ -1102,7 +1094,7 @@ Common_EventScript_LegendaryFlewAway:: @ 8273776
.include "data/scripts/day_care.inc"
.include "data/scripts/flash.inc"
.include "data/scripts/players_house.inc"
.include "data/scripts/pokeblocks.inc"
.include "data/scripts/berry_blender.inc"
.include "data/text/mauville_man.inc"
.include "data/text/trainers.inc"
.include "data/scripts/repel.inc"
@@ -1121,7 +1113,7 @@ Common_EventScript_LegendaryFlewAway:: @ 8273776
.include "data/scripts/apprentice.inc"
.include "data/text/battle_dome.inc"
.include "data/scripts/battle_pike.inc"
.include "data/text/contest_hall.inc"
.include "data/text/blend_master.inc"
.include "data/text/battle_tent.inc"
.include "data/text/event_ticket_2.inc"
.include "data/text/move_tutors.inc"

View File

@@ -4,7 +4,7 @@
.section .rodata
.align 2, 0
gUnknown_085A1F94:: @ 85A1F94
gPointillismPoints:: @ 85A1F94
.byte 0x00, 0x1d, 0x1c, 0x0e, 0x1e, 0x1b, 0x00, 0x01, 0x32, 0x2e, 0x1e, 0x37, 0x0a, 0x22, 0x1f, 0x05, 0x26, 0x2e, 0x12, 0x17, 0x1e, 0x1a, 0x03, 0x11, 0x05, 0x11, 0x18, 0x05, 0x27, 0x2f, 0x1a, 0x3f
.byte 0x12, 0x22, 0x3f, 0x16, 0x2b, 0x2f, 0x2e, 0x11, 0x02, 0x2d, 0x23, 0x0d, 0x28, 0x17, 0x0c, 0x19, 0x2f, 0x0e, 0x13, 0x30, 0x18, 0x20, 0x2d, 0x28, 0x22, 0x01, 0x03, 0x19, 0x0e, 0x2a, 0x2b, 0x22
.byte 0x15, 0x25, 0x22, 0x0a, 0x26, 0x39, 0x06, 0x23, 0x16, 0x07, 0x2f, 0x22, 0x3a, 0x1b, 0x3b, 0x36, 0x35, 0x0a, 0x2b, 0x24, 0x36, 0x09, 0x12, 0x1c, 0x2f, 0x23, 0x2e, 0x38, 0x2c, 0x05, 0x2a, 0x20

View File

@@ -2242,14 +2242,14 @@
"blockdata_filepath": "data/layouts/BattleColosseum4P/map.bin"
},
{
"id": "LAYOUT_LINK_CONTEST_ROOM1",
"name": "LinkContestRoom1_Layout",
"id": "LAYOUT_CONTEST_HALL",
"name": "ContestHall_Layout",
"width": 15,
"height": 11,
"primary_tileset": "gTileset_General",
"secondary_tileset": "gTileset_Contest",
"border_filepath": "data/layouts/LinkContestRoom1/border.bin",
"blockdata_filepath": "data/layouts/LinkContestRoom1/map.bin"
"border_filepath": "data/layouts/ContestHall/border.bin",
"blockdata_filepath": "data/layouts/ContestHall/map.bin"
},
{
"id": "LAYOUT_UNKNOWN_LINK_CONTEST_ROOM_25_29",
@@ -2312,54 +2312,54 @@
"blockdata_filepath": "data/layouts/UnknownLinkContestRoom_25_34/map.bin"
},
{
"id": "LAYOUT_LINK_CONTEST_ROOM2",
"name": "LinkContestRoom2_Layout",
"id": "LAYOUT_CONTEST_HALL_BEAUTY",
"name": "ContestHallBeauty_Layout",
"width": 15,
"height": 11,
"primary_tileset": "gTileset_General",
"secondary_tileset": "gTileset_Contest",
"border_filepath": "data/layouts/LinkContestRoom2/border.bin",
"blockdata_filepath": "data/layouts/LinkContestRoom2/map.bin"
"border_filepath": "data/layouts/ContestHallBeauty/border.bin",
"blockdata_filepath": "data/layouts/ContestHallBeauty/map.bin"
},
{
"id": "LAYOUT_LINK_CONTEST_ROOM3",
"name": "LinkContestRoom3_Layout",
"id": "LAYOUT_CONTEST_HALL_TOUGH",
"name": "ContestHallTough_Layout",
"width": 15,
"height": 11,
"primary_tileset": "gTileset_General",
"secondary_tileset": "gTileset_Contest",
"border_filepath": "data/layouts/LinkContestRoom3/border.bin",
"blockdata_filepath": "data/layouts/LinkContestRoom3/map.bin"
"border_filepath": "data/layouts/ContestHallTough/border.bin",
"blockdata_filepath": "data/layouts/ContestHallTough/map.bin"
},
{
"id": "LAYOUT_LINK_CONTEST_ROOM4",
"name": "LinkContestRoom4_Layout",
"id": "LAYOUT_CONTEST_HALL_COOL",
"name": "ContestHallCool_Layout",
"width": 15,
"height": 11,
"primary_tileset": "gTileset_General",
"secondary_tileset": "gTileset_Contest",
"border_filepath": "data/layouts/LinkContestRoom4/border.bin",
"blockdata_filepath": "data/layouts/LinkContestRoom4/map.bin"
"border_filepath": "data/layouts/ContestHallCool/border.bin",
"blockdata_filepath": "data/layouts/ContestHallCool/map.bin"
},
{
"id": "LAYOUT_LINK_CONTEST_ROOM5",
"name": "LinkContestRoom5_Layout",
"id": "LAYOUT_CONTEST_HALL_SMART",
"name": "ContestHallSmart_Layout",
"width": 15,
"height": 11,
"primary_tileset": "gTileset_General",
"secondary_tileset": "gTileset_Contest",
"border_filepath": "data/layouts/LinkContestRoom5/border.bin",
"blockdata_filepath": "data/layouts/LinkContestRoom5/map.bin"
"border_filepath": "data/layouts/ContestHallSmart/border.bin",
"blockdata_filepath": "data/layouts/ContestHallSmart/map.bin"
},
{
"id": "LAYOUT_LINK_CONTEST_ROOM6",
"name": "LinkContestRoom6_Layout",
"id": "LAYOUT_CONTEST_HALL_CUTE",
"name": "ContestHallCute_Layout",
"width": 15,
"height": 11,
"primary_tileset": "gTileset_General",
"secondary_tileset": "gTileset_Contest",
"border_filepath": "data/layouts/LinkContestRoom6/border.bin",
"blockdata_filepath": "data/layouts/LinkContestRoom6/map.bin"
"border_filepath": "data/layouts/ContestHallCute/border.bin",
"blockdata_filepath": "data/layouts/ContestHallCute/map.bin"
},
{
"id": "LAYOUT_INSIDE_OF_TRUCK",
@@ -3972,14 +3972,14 @@
"blockdata_filepath": "data/layouts/BattleFrontier_Lounge1/map.bin"
},
{
"id": "LAYOUT_BATTLE_FRONTIER_BATTLE_POINT_EXCHANGE_SERVICE_CORNER",
"name": "BattleFrontier_BattlePointExchangeServiceCorner_Layout",
"id": "LAYOUT_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER",
"name": "BattleFrontier_ExchangeServiceCorner_Layout",
"width": 15,
"height": 11,
"primary_tileset": "gTileset_Building",
"secondary_tileset": "gTileset_BattleFrontier",
"border_filepath": "data/layouts/BattleFrontier_BattlePointExchangeServiceCorner/border.bin",
"blockdata_filepath": "data/layouts/BattleFrontier_BattlePointExchangeServiceCorner/map.bin"
"border_filepath": "data/layouts/BattleFrontier_ExchangeServiceCorner/border.bin",
"blockdata_filepath": "data/layouts/BattleFrontier_ExchangeServiceCorner/map.bin"
},
{
"id": "LAYOUT_BATTLE_FRONTIER_RECEPTION_GATE",

View File

@@ -10,7 +10,7 @@ BattleFrontier_BattleArenaBattleRoom_MapScript1_25749C: @ 825749C
end
BattleFrontier_BattleArenaBattleRoom_MapScript1_2574A0: @ 82574A0
setvar VAR_0x8004, 5
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SET_FRONTIER_TRAINERS
special CallFrontierUtilFunc
call BattleFrontier_BattleArenaBattleRoom_EventScript_2574AE
end
@@ -40,7 +40,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2574DC:: @ 82574DC
showobjectat 8, MAP_BATTLE_FRONTIER_BATTLE_ARENA_BATTLE_ROOM
applymovement 8, BattleFrontier_BattleArenaBattleRoom_Movement_257BE2
waitmovement 0
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 0
@@ -48,15 +48,15 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2574DC:: @ 82574DC
applymovement 5, BattleFrontier_BattleArenaBattleRoom_Movement_257C08
applymovement 8, BattleFrontier_BattleArenaBattleRoom_Movement_257BEB
setvar VAR_TEMP_2, 1
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
goto BattleFrontier_BattleArenaBattleRoom_EventScript_2576B0
BattleFrontier_BattleArenaBattleRoom_EventScript_25752E:: @ 825752E
setvar VAR_0x8004, 3
special sub_8161F74
setvar VAR_0x8004, BATTLE_TOWER_FUNC_CHOOSE_TRAINER
special CallBattleTowerFunc
addobject 7
applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257BEF
waitmovement 0
@@ -109,7 +109,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_2575DB:: @ 82575DB
msgbox BattleFrontier_BattleArenaBattleRoom_Text_257CCE, MSGBOX_DEFAULT
BattleFrontier_BattleArenaBattleRoom_EventScript_257615:: @ 8257615
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 4
special CallFrontierUtilFunc
@@ -118,11 +118,11 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257615:: @ 8257615
BattleFrontier_BattleArenaBattleRoom_EventScript_257630:: @ 8257630
call BattleFrontier_BattleArenaBattleRoom_EventScript_257BA9
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
addvar VAR_RESULT, 1
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 2
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -138,20 +138,20 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257630:: @ 8257630
msgbox BattleFrontier_BattleArenaBattleRoom_Text_257CE9, MSGBOX_DEFAULT
special LoadPlayerParty
special SavePlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special CallFrontierUtilFunc
playfanfare MUS_ME_ASA
waitfanfare
special HealPlayerParty
BattleFrontier_BattleArenaBattleRoom_EventScript_2576B0:: @ 82576B0
setvar VAR_0x8004, 9
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_9
special CallFrontierUtilFunc
copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_2578BC
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 1
@@ -224,7 +224,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_25783A:: @ 825783A
BattleFrontier_BattleArenaBattleRoom_EventScript_257852:: @ 8257852
delay 60
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 3
special CallFrontierUtilFunc
@@ -270,7 +270,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_25789A:: @ 825789A
playse SE_SAVE
waitse
fadescreen 1
setvar VAR_0x8004, 4
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SOFT_RESET
special CallFrontierUtilFunc
end
@@ -330,14 +330,14 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257961:: @ 8257961
case 2, BattleFrontier_BattleArenaBattleRoom_EventScript_257AA5
case 3, BattleFrontier_BattleArenaBattleRoom_EventScript_257A3F
case 4, BattleFrontier_BattleArenaBattleRoom_EventScript_257AF8
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_257A3F
msgbox BattleFrontier_BattleArenaBattleRoom_Text_25801C, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257C30
@@ -357,7 +357,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257A3F:: @ 8257A3F
BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C:: @ 8257A5C
call BattleFrontier_BattleArenaBattleRoom_EventScript_257BA9
setvar VAR_0x8004, 12
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_257852
@@ -368,20 +368,20 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257A5C:: @ 8257A5C
message BattleFrontier_BattleArenaBattleRoom_Text_25819C
waitmessage
waitfanfare
setvar VAR_0x8004, 13
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_FACILITY_SYMBOL
special CallFrontierUtilFunc
msgbox BattleFrontier_BattleArenaBattleRoom_Text_2581CF, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaBattleRoom_EventScript_257852
BattleFrontier_BattleArenaBattleRoom_EventScript_257AA5:: @ 8257AA5
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_257AF8
msgbox BattleFrontier_BattleArenaBattleRoom_Text_258213, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
applymovement 7, BattleFrontier_BattleArenaBattleRoom_Movement_257C30
@@ -401,7 +401,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257AF8:: @ 8257AF8
BattleFrontier_BattleArenaBattleRoom_EventScript_257B15:: @ 8257B15
call BattleFrontier_BattleArenaBattleRoom_EventScript_257BA9
setvar VAR_0x8004, 12
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_257852
@@ -412,7 +412,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257B15:: @ 8257B15
message BattleFrontier_BattleArenaBattleRoom_Text_25835B
waitmessage
waitfanfare
setvar VAR_0x8004, 13
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_FACILITY_SYMBOL
special CallFrontierUtilFunc
msgbox BattleFrontier_BattleArenaBattleRoom_Text_258383, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaBattleRoom_EventScript_257852
@@ -426,7 +426,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_257B6C:: @ 8257B6C
FallarborTown_BattleTentBattleRoom_EventScript_257B6C:: @ 8257B6C
closemessage
setvar VAR_TEMP_2, 0
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -435,10 +435,10 @@ FallarborTown_BattleTentBattleRoom_EventScript_257B6C:: @ 8257B6C
setvar VAR_0x8005, 0
special DoSpecialTrainerBattle
waitstate
setvar VAR_0x8004, 18
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_18
special CallFrontierUtilFunc
special HealPlayerParty
setvar VAR_0x8004, 21
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_21
special CallFrontierUtilFunc
return

View File

@@ -21,7 +21,7 @@ BattleFrontier_BattleArenaLobby_MapScript2_255C55: @ 8255C55
.2byte 0
BattleFrontier_BattleArenaLobby_EventScript_255C7F:: @ 8255C7F
setvar VAR_0x8004, 0
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_0
special CallFrontierUtilFunc
end
@@ -37,7 +37,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255C88:: @ 8255C88
setvar VAR_0x8005, 2
setvar VAR_0x8006, 0
special CallBattleArenaFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -47,9 +47,9 @@ BattleFrontier_BattleArenaLobby_EventScript_255C88:: @ 8255C88
BattleFrontier_BattleArenaLobby_EventScript_255CCF:: @ 8255CCF
lockall
setvar VAR_0x8004, 10
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_IS_FRONTIER_BRAIN
special CallFrontierUtilFunc
compare VAR_RESULT, 1
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255CF0
msgbox BattleFrontier_BattleArenaLobby_Text_2568E7, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_255CF8
@@ -59,9 +59,9 @@ BattleFrontier_BattleArenaLobby_EventScript_255CF0:: @ 8255CF0
BattleFrontier_BattleArenaLobby_EventScript_255CF8:: @ 8255CF8
msgbox BattleFrontier_BattleArenaLobby_Text_257353, MSGBOX_DEFAULT
setvar VAR_0x8004, 11
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_11
special CallFrontierUtilFunc
msgbox BattleFrontier_BattleArenaLobby_Text_241520, 9
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
message BattleFrontier_BattleArenaLobby_Text_256931
waitmessage
call BattleFrontier_BattleArenaLobby_EventScript_255D59
@@ -87,7 +87,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255D2B:: @ 8255D2B
end
BattleFrontier_BattleArenaLobby_EventScript_255D59:: @ 8255D59
setvar VAR_0x8004, 8
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_8
special CallFrontierUtilFunc
special LoadPlayerParty
special HealPlayerParty
@@ -122,7 +122,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255DC0:: @ 8255DC0
special CallBattleArenaFunction
playse SE_SAVE
waitse
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -154,11 +154,11 @@ BattleFrontier_BattleArenaLobby_EventScript_255E47:: @ 8255E47
switch VAR_RESULT
case 2, BattleFrontier_BattleArenaLobby_EventScript_255FFB
case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_255FFB
setvar VAR_0x8004, 15
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_255FAC
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -179,7 +179,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255E47:: @ 8255E47
BattleFrontier_BattleArenaLobby_EventScript_255EE8:: @ 8255EE8
setvar VAR_TEMP_0, 0
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 4
special CallFrontierUtilFunc
setvar VAR_0x8004, 0
@@ -188,11 +188,11 @@ BattleFrontier_BattleArenaLobby_EventScript_255EE8:: @ 8255EE8
setvar VAR_0x8005, 2
setvar VAR_0x8006, 1
special CallBattleArenaFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -206,12 +206,12 @@ BattleFrontier_BattleArenaLobby_EventScript_255EE8:: @ 8255EE8
BattleFrontier_BattleArenaLobby_EventScript_255F54:: @ 8255F54
special SavePlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special CallFrontierUtilFunc
msgbox BattleFrontier_BattleArenaLobby_Text_2567E6, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 1
special CallFrontierUtilFunc
compare VAR_RESULT, 0
@@ -241,7 +241,7 @@ BattleFrontier_BattleArenaLobby_EventScript_255FD4:: @ 8255FD4
goto BattleFrontier_BattleArenaLobby_EventScript_256003
BattleFrontier_BattleArenaLobby_EventScript_255FE1:: @ 8255FE1
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -344,7 +344,7 @@ BattleFrontier_BattleArenaLobby_Movement_256088: @ 8256088
BattleFrontier_BattleArenaLobby_EventScript_256092:: @ 8256092
lockall
setvar VAR_0x8004, 7
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
setvar VAR_0x8005, 3
special CallFrontierUtilFunc
waitbuttonpress

View File

@@ -8,7 +8,7 @@ BattleFrontier_BattleDomeBattleRoom_MapScripts:: @ 824BC9C
BattleFrontier_BattleDomeBattleRoom_MapScript1_24BCB1: @ 824BCB1
setvar VAR_0x8004, 10
special CallBattleDomeFunction
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
copyvar VAR_TEMP_F, VAR_RESULT
@@ -78,9 +78,9 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BD82:: @ 824BD82
applymovement 13, BattleFrontier_BattleDomeBattleRoom_Movement_24C77B
applymovement 15, BattleFrontier_BattleDomeBattleRoom_Movement_24C789
waitmovement 0
setvar VAR_0x8004, 7
setvar VAR_0x8004, BATTLE_TOWER_FUNC_7
setvar VAR_0x8005, 0
special sub_8161F74
special CallBattleTowerFunc
msgbox gStringVar4, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 5
@@ -134,7 +134,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BE8D:: @ 824BE8D
special CallBattleDomeFunction
BattleFrontier_BattleDomePreBattleRoom_EventScript_24BE9A:: @ 824BE9A
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 4
special CallFrontierUtilFunc
@@ -142,7 +142,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24BE9A:: @ 824BE9A
@ goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24C8F5
BattleFrontier_BattleDomeBattleRoom_EventScript_24BEB1:: @ 824BEB1
setvar VAR_0x8004, 20
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_BUFFER_TRAINER_NAME
setvar VAR_0x8005, 1
special CallFrontierUtilFunc
message BattleFrontier_BattleDomeBattleRoom_Text_24C9E1
@@ -150,7 +150,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BEB1:: @ 824BEB1
return
BattleFrontier_BattleDomeBattleRoom_EventScript_24BEC5:: @ 824BEC5
setvar VAR_0x8004, 20
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_BUFFER_TRAINER_NAME
setvar VAR_0x8005, 0
special CallFrontierUtilFunc
message BattleFrontier_BattleDomeBattleRoom_Text_24CB34
@@ -177,11 +177,11 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BEE0:: @ 824BEE0
setvar VAR_0x8004, 12
setvar VAR_0x8005, 1
special CallBattleDomeFunction
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
addvar VAR_RESULT, 1
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 2
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -194,7 +194,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BEE0:: @ 824BEE0
BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62:: @ 824BF62
applymovement 13, BattleFrontier_BattleDomeBattleRoom_Movement_24C77D
waitmovement 0
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 1
special CallFrontierUtilFunc
switch VAR_RESULT
@@ -210,7 +210,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24BF9E:: @ 824BF9E
playse SE_W227B
call BattleFrontier_BattleDomeBattleRoom_EventScript_24C82E
delay 60
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 3
special CallFrontierUtilFunc
@@ -377,7 +377,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C1B6:: @ 824C1B6
return
BattleFrontier_BattleDomeBattleRoom_EventScript_24C1BD:: @ 824C1BD
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
return
@@ -426,13 +426,13 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C211:: @ 824C211
case 2, BattleFrontier_BattleDomeBattleRoom_EventScript_24C346
case 3, BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9
case 4, BattleFrontier_BattleDomeBattleRoom_EventScript_24C373
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9
msgbox BattleFrontier_BattleDomeBattleRoom_Text_24CFAE, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
@@ -444,10 +444,10 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9:: @ 824C2B9
case 9, BattleFrontier_BattleDomeBattleRoom_EventScript_24C420
case 3, BattleFrontier_BattleDomeBattleRoom_EventScript_24C436
msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D0F6, MSGBOX_DEFAULT
setvar VAR_0x8004, 12
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
setvar VAR_0x8005, 1
special CallBattleDomeFunction
setvar VAR_0x8004, 12
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62
@@ -459,19 +459,19 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C2B9:: @ 824C2B9
message BattleFrontier_BattleDomeBattleRoom_Text_24D1AA
waitmessage
waitfanfare
setvar VAR_0x8004, 13
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_FACILITY_SYMBOL
special CallFrontierUtilFunc
msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D1E0, MSGBOX_DEFAULT
goto BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62
BattleFrontier_BattleDomeBattleRoom_EventScript_24C346:: @ 824C346
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24C373
msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D319, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
@@ -486,7 +486,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C373:: @ 824C373
setvar VAR_0x8004, 12
setvar VAR_0x8005, 1
special CallBattleDomeFunction
setvar VAR_0x8004, 12
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62
@@ -498,7 +498,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C373:: @ 824C373
message BattleFrontier_BattleDomeBattleRoom_Text_24D522
waitmessage
waitfanfare
setvar VAR_0x8004, 13
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_FACILITY_SYMBOL
special CallFrontierUtilFunc
msgbox BattleFrontier_BattleDomeBattleRoom_Text_24D54D, MSGBOX_DEFAULT
goto BattleFrontier_BattleDomeBattleRoom_EventScript_24BF62
@@ -524,7 +524,7 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C436:: @ 824C436
goto BattleFrontier_BattleDomeBattleRoom_EventScript_24BDF7
BattleFrontier_BattleDomeBattleRoom_EventScript_24C440:: @ 824C440
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -552,12 +552,12 @@ BattleFrontier_BattleDomeBattleRoom_EventScript_24C48B:: @ 824C48B
call BattleFrontier_BattleDomeBattleRoom_EventScript_24BCDC
setvar VAR_TEMP_1, 1
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleDomeBattleRoom_Movement_24C773
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 3
goto_if_ne BattleFrontier_BattleDomeBattleRoom_EventScript_24C4EF
setvar VAR_0x8004, 9
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_9
special CallFrontierUtilFunc
copyvar VAR_TEMP_E, VAR_RESULT
compare VAR_RESULT, 0

View File

@@ -9,7 +9,7 @@ BattleFrontier_BattleDomeCorridor_MapScript2_24B104: @ 824B104
BattleFrontier_BattleDomeCorridor_EventScript_24B10E:: @ 824B10E
delay 16
setvar VAR_TEMP_0, 1
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 1
special CallFrontierUtilFunc
compare VAR_RESULT, 1

View File

@@ -28,7 +28,7 @@ BattleFrontier_BattleDomeLobby_MapScript2_24980F: @ 824980F
.2byte 0
BattleFrontier_BattleDomeLobby_EventScript_249839:: @ 8249839
setvar VAR_0x8004, 0
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_0
special CallFrontierUtilFunc
end
@@ -48,7 +48,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249842:: @ 8249842
setvar VAR_0x8005, 6
setvar VAR_0x8006, 1
special CallBattleDomeFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -59,9 +59,9 @@ BattleFrontier_BattleDomeLobby_EventScript_249842:: @ 8249842
BattleFrontier_BattleDomeLobby_EventScript_24989B:: @ 824989B
call BattleFrontier_BattleDomeLobby_EventScript_241EBA
lockall
setvar VAR_0x8004, 10
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_IS_FRONTIER_BRAIN
special CallFrontierUtilFunc
compare VAR_RESULT, 1
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_2498C1
msgbox BattleFrontier_BattleDomeLobby_Text_24A4E9, MSGBOX_DEFAULT
goto BattleFrontier_BattleDomeLobby_EventScript_2498C9
@@ -71,16 +71,16 @@ BattleFrontier_BattleDomeLobby_EventScript_2498C1:: @ 82498C1
BattleFrontier_BattleDomeLobby_EventScript_2498C9:: @ 82498C9
msgbox BattleFrontier_BattleDomeLobby_Text_24ADB1, MSGBOX_DEFAULT
setvar VAR_0x8004, 11
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_11
special CallFrontierUtilFunc
msgbox BattleFrontier_BattleDomeLobby_Text_241520, 9
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
message BattleFrontier_BattleDomeLobby_Text_24A5D6
waitmessage
special LoadPlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special CallFrontierUtilFunc
setvar VAR_0x8004, 8
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_8
special CallFrontierUtilFunc
setvar VAR_0x8004, 2
setvar VAR_0x8005, 6
@@ -104,10 +104,10 @@ BattleFrontier_BattleDomeLobby_EventScript_249940:: @ 8249940
message BattleFrontier_BattleDomeLobby_Text_24A5D6
waitmessage
special LoadPlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special CallFrontierUtilFunc
setvar VAR_0x8004, 8
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_8
special CallFrontierUtilFunc
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
@@ -157,7 +157,7 @@ BattleFrontier_BattleDomeLobby_EventScript_2499F9:: @ 82499F9
special CallBattleDomeFunction
playse SE_SAVE
waitse
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -207,11 +207,11 @@ BattleFrontier_BattleDomeLobby_EventScript_249ABF:: @ 8249ABF
switch VAR_RESULT
case 2, BattleFrontier_BattleDomeLobby_EventScript_249C64
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_249C64
setvar VAR_0x8004, 15
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C15
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -232,16 +232,16 @@ BattleFrontier_BattleDomeLobby_EventScript_249ABF:: @ 8249ABF
BattleFrontier_BattleDomeLobby_EventScript_249B60:: @ 8249B60
setvar VAR_TEMP_0, 0
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 4
special CallFrontierUtilFunc
setvar VAR_0x8004, 0
special CallBattleDomeFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -257,8 +257,8 @@ BattleFrontier_BattleDomeLobby_EventScript_249B60:: @ 8249B60
BattleFrontier_BattleDomeLobby_EventScript_249BC2:: @ 8249BC2
special SavePlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special CallFrontierUtilFunc
setvar VAR_0x8004, 15
special CallBattleDomeFunction
@@ -292,7 +292,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249C3D:: @ 8249C3D
goto BattleFrontier_BattleDomeLobby_EventScript_249C6C
BattleFrontier_BattleDomeLobby_EventScript_249C4A:: @ 8249C4A
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -410,7 +410,7 @@ BattleFrontier_BattleDomeLobby_Movement_249D4E: @ 8249D4E
BattleFrontier_BattleDomeLobby_EventScript_249D52:: @ 8249D52
lockall
setvar VAR_0x8004, 7
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
setvar VAR_0x8005, 1
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -421,7 +421,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249D52:: @ 8249D52
BattleFrontier_BattleDomeLobby_EventScript_249D6B:: @ 8249D6B
lockall
setvar VAR_0x8004, 7
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
setvar VAR_0x8005, 1
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
@@ -482,16 +482,17 @@ BattleFrontier_BattleDomeLobby_EventScript_249E10:: @ 8249E10
msgbox BattleFrontier_BattleDomeLobby_Text_24ACD3, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_249E19:: @ 8249E19
@ A few OutsideWest event scripts are inserted here instead, two of which are unused
BattleFrontier_OutsideWest_EventScript_Man3:: @ 8249E19
msgbox BattleFrontier_OutsideWest_Text_24AB06, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_249E22:: @ 8249E22
msgbox BattleFrontier_OutsideWest_Text_24AB44, MSGBOX_NPC
BattleFrontier_OutsideWest_EventScript_BattleDomeSign2:: @ 8249E22
msgbox BattleFrontier_OutsideWest_Text_BattleDomeSign2, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_249E2B:: @ 8249E2B
msgbox BattleFrontier_OutsideWest_Text_24AB75, MSGBOX_NPC
BattleFrontier_OutsideWest_EventScript_UnderConstructionSign:: @ 8249E2B
msgbox BattleFrontier_OutsideWest_Text_QuestionMarkUnderConstruction, MSGBOX_NPC
end
BattleFrontier_BattleDomeLobby_EventScript_249E34:: @ 8249E34
@@ -699,11 +700,11 @@ BattleFrontier_OutsideWest_Text_24AB06: @ 824AB06
.string "The BATTLE FRONTIER…\n"
.string "I've long dreamed about a place like it.$"
BattleFrontier_OutsideWest_Text_24AB44: @ 824AB44
BattleFrontier_OutsideWest_Text_BattleDomeSign2: @ 824AB44
.string "The BATTLE DOME\n"
.string "Become the Unbeatable Superstar!$"
BattleFrontier_OutsideWest_Text_24AB75: @ 824AB75
BattleFrontier_OutsideWest_Text_QuestionMarkUnderConstruction: @ 824AB75
.string "The ??????\n"
.string "Under Construction!$"

View File

@@ -19,7 +19,7 @@ BattleFrontier_BattleDomePreBattleRoom_MapScript2_24B218: @ 824B218
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B222:: @ 824B222
compare VAR_0x8006, 1
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
@@ -99,7 +99,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3BB:: @ 824B3BB
playse SE_SAVE
waitse
fadescreen 1
setvar VAR_0x8004, 4
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SOFT_RESET
special CallFrontierUtilFunc
end
@@ -120,7 +120,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3F5:: @ 824B3F5
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B40A:: @ 824B40A
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
switch VAR_RESULT
@@ -156,7 +156,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B46D:: @ 824B46D
setvar VAR_0x8005, 2
special sub_80F9490
waitstate
setvar VAR_0x8004, 21
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_21
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
@@ -185,7 +185,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B46D:: @ 824B46D
end
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B4FB:: @ 824B4FB
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
switch VAR_RESULT
@@ -208,7 +208,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B546:: @ 824B546
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B54C:: @ 824B54C
setvar VAR_0x8004, 9
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_9
special CallFrontierUtilFunc
switch VAR_RESULT
case 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_24B58B
@@ -242,8 +242,8 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7:: @ 824B5C7
setvar VAR_TEMP_0, 1
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B760, MSGBOX_DEFAULT
special LoadPlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special CallFrontierUtilFunc
playfanfare MUS_ME_ASA
waitfanfare
@@ -256,7 +256,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7:: @ 824B5C7
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B600:: @ 824B600
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
switch VAR_RESULT

View File

@@ -5,14 +5,14 @@ BattleFrontier_BattleFactoryBattleRoom_MapScripts:: @ 825ADAB
.byte 0
BattleFrontier_BattleFactoryBattleRoom_MapScript1_25ADBB: @ 825ADBB
setvar VAR_0x8004, 5
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SET_FRONTIER_TRAINERS
special CallFrontierUtilFunc
checkplayergender
compare VAR_RESULT, MALE
call_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE25
compare VAR_RESULT, FEMALE
call_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE2B
setvar VAR_0x8004, 9
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_9
special CallFrontierUtilFunc
copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, 0
@@ -85,7 +85,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7:: @ 825AEA7
msgbox gStringVar4, MSGBOX_DEFAULT
waitmessage
closemessage
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -99,7 +99,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7:: @ 825AEA7
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8:: @ 825AEF8
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25AEF8:: @ 825AEF8
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 4
special CallFrontierUtilFunc
@@ -122,11 +122,11 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E:: @ 825AF3E
call BattleFrontier_BattleFactoryBattleRoom_EventScript_241EBA
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF43:: @ 825AF43
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
addvar VAR_RESULT, 1
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 2
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -137,7 +137,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF43:: @ 825AF43
waitstate
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF85:: @ 825AF85
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 3
special CallFrontierUtilFunc
@@ -148,13 +148,13 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C:: @ 825AF9C
case 2, BattleFrontier_BattleFactoryBattleRoom_EventScript_25B051
case 3, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF
case 4, BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B1FB, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
@@ -166,7 +166,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF:: @ 825AFEF
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C:: @ 825B00C
setvar VAR_0x8004, 12
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
@@ -178,19 +178,19 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C:: @ 825B00C
message BattleFrontier_BattleFactoryBattleRoom_Text_25B460
waitmessage
waitfanfare
setvar VAR_0x8004, 13
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_FACILITY_SYMBOL
special CallFrontierUtilFunc
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B498, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B051:: @ 825B051
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B517, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
@@ -202,7 +202,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E:: @ 825B07E
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B:: @ 825B09B
setvar VAR_0x8004, 12
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
@@ -214,14 +214,14 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B:: @ 825B09B
message BattleFrontier_BattleFactoryBattleRoom_Text_25B640
waitmessage
waitfanfare
setvar VAR_0x8004, 13
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_FACILITY_SYMBOL
special CallFrontierUtilFunc
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B66D, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0:: @ 825B0E0
closemessage
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -253,7 +253,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105:: @ 825B105
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
special CallBattleFactoryFunction
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
addvar VAR_RESULT, 1

View File

@@ -21,7 +21,7 @@ BattleFrontier_BattleFactoryLobby_MapScript2_258407: @ 8258407
.2byte 0
BattleFrontier_BattleFactoryLobby_EventScript_258431:: @ 8258431
setvar VAR_0x8004, 0
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_0
special CallFrontierUtilFunc
end
@@ -43,7 +43,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_25843A:: @ 825843A
setvar VAR_0x8005, 2
setvar VAR_0x8006, 0
special CallBattleFactoryFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -53,9 +53,9 @@ BattleFrontier_BattleFactoryLobby_EventScript_25843A:: @ 825843A
BattleFrontier_BattleFactoryLobby_EventScript_25849B:: @ 825849B
lockall
setvar VAR_0x8004, 10
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_IS_FRONTIER_BRAIN
special CallFrontierUtilFunc
compare VAR_RESULT, 1
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2584BD
msgbox BattleFrontier_BattleFactoryLobby_Text_258D93, MSGBOX_DEFAULT
waitmessage
@@ -67,12 +67,12 @@ BattleFrontier_BattleFactoryLobby_EventScript_2584BD:: @ 82584BD
BattleFrontier_BattleFactoryLobby_EventScript_2584C6:: @ 82584C6
msgbox BattleFrontier_BattleFactoryLobby_Text_2592BD, MSGBOX_DEFAULT
setvar VAR_0x8004, 11
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_11
special CallFrontierUtilFunc
msgbox BattleFrontier_BattleFactoryLobby_Text_241520, 9
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
message BattleFrontier_BattleFactoryLobby_Text_259323
waitmessage
setvar VAR_0x8004, 8
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_8
special CallFrontierUtilFunc
special LoadPlayerParty
setvar VAR_0x8004, 3
@@ -87,7 +87,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_258506:: @ 8258506
lockall
message BattleFrontier_BattleFactoryLobby_Text_258CC7
waitmessage
setvar VAR_0x8004, 8
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_8
special CallFrontierUtilFunc
special LoadPlayerParty
setvar VAR_0x8004, 2
@@ -131,7 +131,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_258592:: @ 8258592
special CallBattleFactoryFunction
playse SE_SAVE
waitse
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -180,7 +180,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_258653:: @ 8258653
switch VAR_RESULT
case 2, BattleFrontier_BattleFactoryLobby_EventScript_25879D
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_25879D
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -194,7 +194,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_2586B9:: @ 82586B9
setvar VAR_TEMP_0, 0
setvar VAR_0x8004, 0
special CallBattleFactoryFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
@@ -202,7 +202,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_2586B9:: @ 82586B9
setvar VAR_0x8005, 2
setvar VAR_0x8006, 1
special CallBattleFactoryFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -246,7 +246,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_258768:: @ 8258768
goto BattleFrontier_BattleFactoryLobby_EventScript_258606
BattleFrontier_BattleFactoryLobby_EventScript_258783:: @ 8258783
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -300,7 +300,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_2587D8:: @ 82587D8
BattleFrontier_BattleFactoryLobby_EventScript_2587E1:: @ 82587E1
lockall
setvar VAR_0x8004, 7
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
setvar VAR_0x8005, 4
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -311,7 +311,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_2587E1:: @ 82587E1
BattleFrontier_BattleFactoryLobby_EventScript_2587FA:: @ 82587FA
lockall
setvar VAR_0x8004, 7
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
setvar VAR_0x8005, 4
setvar VAR_0x8006, 1
special CallFrontierUtilFunc

View File

@@ -73,7 +73,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5:: @ 8259BA5
playfanfare MUS_ME_ASA
waitfanfare
special HealPlayerParty
setvar VAR_0x8004, 9
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_9
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26
@@ -94,13 +94,13 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5:: @ 8259BA5
end
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13:: @ 8259C13
setvar VAR_0x8004, 9
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_9
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26:: @ 8259C26
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 1
@@ -231,7 +231,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E47:: @ 8259E47
playse SE_SAVE
waitse
fadescreen 1
setvar VAR_0x8004, 4
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SOFT_RESET
special CallFrontierUtilFunc
end
@@ -240,7 +240,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E69:: @ 8259E69
setvar VAR_0x8004, 10
setvar VAR_0x8005, 0
special CallBattleFactoryFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 1
special CallFrontierUtilFunc

View File

@@ -5,7 +5,7 @@ BattleFrontier_BattlePalaceBattleRoom_MapScripts:: @ 824F815
.byte 0
BattleFrontier_BattlePalaceBattleRoom_MapScript1_24F825: @ 824F825
setvar VAR_0x8004, 5
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SET_FRONTIER_TRAINERS
special CallFrontierUtilFunc
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833
end
@@ -34,7 +34,7 @@ BattleFrontier_BattlePalaceBattleRoom_MapScript2_24F861: @ 824F861
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F86B:: @ 824F86B
showobjectat 1, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 0
@@ -43,7 +43,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F86B:: @ 824F86B
waitmovement 0
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC
setvar VAR_TEMP_2, 1
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
@@ -54,8 +54,8 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8B5:: @ 824F8B5
waitmovement 0
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8BF:: @ 824F8BF
setvar VAR_0x8004, 3
special sub_8161F74
setvar VAR_0x8004, BATTLE_TOWER_FUNC_CHOOSE_TRAINER
special CallBattleTowerFunc
addobject 2
applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA1
waitmovement 0
@@ -68,7 +68,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8BF:: @ 824F8BF
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F911
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA:: @ 824F8FA
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 4
special CallFrontierUtilFunc
@@ -76,11 +76,11 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA:: @ 824F8FA
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F911:: @ 824F911
call BattleFrontier_BattlePalaceBattleRoom_EventScript_241EBA
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
addvar VAR_RESULT, 1
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 2
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -95,20 +95,20 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24F911:: @ 824F911
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_24FF00, MSGBOX_DEFAULT
special LoadPlayerParty
special SavePlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special CallFrontierUtilFunc
playfanfare MUS_ME_ASA
waitfanfare
special HealPlayerParty
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A:: @ 824F98A
setvar VAR_0x8004, 9
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_9
special CallFrontierUtilFunc
copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 1
@@ -178,7 +178,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB14:: @ 824FB14
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8BF
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28:: @ 824FB28
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 3
special CallFrontierUtilFunc
@@ -193,7 +193,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB3F:: @ 824FB3F
playse SE_SAVE
waitse
fadescreen 1
setvar VAR_0x8004, 4
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SOFT_RESET
special CallFrontierUtilFunc
end
@@ -244,13 +244,13 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06:: @ 824FC06
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD3A
case 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA
case 4, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2501C1, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
@@ -264,7 +264,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA:: @ 824FCAA
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7
setvar VAR_0x8004, 6
special CallBattlePalaceFunction
setvar VAR_0x8004, 12
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
@@ -276,7 +276,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7
message BattleFrontier_BattlePalaceBattleRoom_Text_2503DC
waitmessage
waitfanfare
setvar VAR_0x8004, 13
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_FACILITY_SYMBOL
special CallFrontierUtilFunc
applymovement 2, Common_Movement_WalkInPlaceLeft
waitmovement 0
@@ -287,13 +287,13 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD3A:: @ 824FD3A
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250485, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
@@ -307,7 +307,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67:: @ 824FD67
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84:: @ 824FD84
setvar VAR_0x8004, 6
special CallBattlePalaceFunction
setvar VAR_0x8004, 12
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
@@ -319,7 +319,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84:: @ 824FD84
message BattleFrontier_BattlePalaceBattleRoom_Text_250699
waitmessage
waitfanfare
setvar VAR_0x8004, 13
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_FACILITY_SYMBOL
special CallFrontierUtilFunc
applymovement 2, Common_Movement_WalkInPlaceLeft
waitmovement 0
@@ -333,7 +333,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7:: @ 824FDF7
VerdanturfTown_BattleTentBattleRoom_EventScript_24FDF7:: @ 824FDF7
closemessage
setvar VAR_TEMP_2, 0
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -342,10 +342,10 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_24FDF7:: @ 824FDF7
setvar VAR_0x8005, 0
special DoSpecialTrainerBattle
waitstate
setvar VAR_0x8004, 18
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_18
special CallFrontierUtilFunc
special HealPlayerParty
setvar VAR_0x8004, 21
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_21
special CallFrontierUtilFunc
return

View File

@@ -25,7 +25,7 @@ BattleFrontier_BattlePalaceCorridor_EventScript_24F4B3:: @ 824F4B3
compare VAR_RESULT, 4
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F5AF
closemessage
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 1
special CallFrontierUtilFunc
compare VAR_RESULT, 1

View File

@@ -21,7 +21,7 @@ BattleFrontier_BattlePalaceLobby_MapScript2_24D79D: @ 824D79D
.2byte 0
BattleFrontier_BattlePalaceLobby_EventScript_24D7C7:: @ 824D7C7
setvar VAR_0x8004, 0
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_0
special CallFrontierUtilFunc
end
@@ -37,7 +37,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D7D0:: @ 824D7D0
setvar VAR_0x8005, 2
setvar VAR_0x8006, 0
special CallBattlePalaceFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -47,9 +47,9 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D7D0:: @ 824D7D0
BattleFrontier_BattlePalaceLobby_EventScript_24D817:: @ 824D817
lockall
setvar VAR_0x8004, 10
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_IS_FRONTIER_BRAIN
special CallFrontierUtilFunc
compare VAR_RESULT, 1
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24D838
msgbox BattleFrontier_BattlePalaceLobby_Text_24E497, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_24D840
@@ -59,9 +59,9 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D838:: @ 824D838
BattleFrontier_BattlePalaceLobby_EventScript_24D840:: @ 824D840
msgbox BattleFrontier_BattlePalaceLobby_Text_24EEB9, MSGBOX_DEFAULT
setvar VAR_0x8004, 11
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_11
special CallFrontierUtilFunc
msgbox BattleFrontier_BattlePalaceLobby_Text_241520, 9
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
message BattleFrontier_BattlePalaceLobby_Text_24E4F7
waitmessage
call BattleFrontier_BattlePalaceLobby_EventScript_24D8A1
@@ -87,7 +87,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D873:: @ 824D873
end
BattleFrontier_BattlePalaceLobby_EventScript_24D8A1:: @ 824D8A1
setvar VAR_0x8004, 8
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_8
special CallFrontierUtilFunc
special LoadPlayerParty
special HealPlayerParty
@@ -123,7 +123,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D908:: @ 824D908
special CallBattlePalaceFunction
playse SE_SAVE
waitse
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -178,11 +178,11 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6
switch VAR_RESULT
case 2, BattleFrontier_BattlePalaceLobby_EventScript_24DB94
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24DB94
setvar VAR_0x8004, 15
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB45
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -203,7 +203,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6
BattleFrontier_BattlePalaceLobby_EventScript_24DA87:: @ 824DA87
setvar VAR_TEMP_0, 0
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 4
special CallFrontierUtilFunc
setvar VAR_0x8004, 0
@@ -212,11 +212,11 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DA87:: @ 824DA87
setvar VAR_0x8005, 2
setvar VAR_0x8006, 1
special CallBattlePalaceFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -230,8 +230,8 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DA87:: @ 824DA87
BattleFrontier_BattlePalaceLobby_EventScript_24DAF3:: @ 824DAF3
special SavePlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special CallFrontierUtilFunc
msgbox BattleFrontier_BattlePalaceLobby_Text_24E408, MSGBOX_DEFAULT
closemessage
@@ -265,7 +265,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DB6D:: @ 824DB6D
goto BattleFrontier_BattlePalaceLobby_EventScript_24DB9C
BattleFrontier_BattlePalaceLobby_EventScript_24DB7A:: @ 824DB7A
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -361,7 +361,7 @@ BattleFrontier_BattlePalaceLobby_Movement_24DC4C: @ 824DC4C
BattleFrontier_BattlePalaceLobby_EventScript_24DC50:: @ 824DC50
lockall
setvar VAR_0x8004, 7
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
setvar VAR_0x8005, 2
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -372,7 +372,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DC50:: @ 824DC50
BattleFrontier_BattlePalaceLobby_EventScript_24DC69:: @ 824DC69
lockall
setvar VAR_0x8004, 7
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
setvar VAR_0x8005, 2
setvar VAR_0x8006, 1
special CallFrontierUtilFunc

View File

@@ -9,7 +9,7 @@ BattleFrontier_BattlePikeCorridor_MapScript2_25C77C: @ 825C77C
BattleFrontier_BattlePikeCorridor_EventScript_25C786:: @ 825C786
delay 16
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 2
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
@@ -27,7 +27,7 @@ BattleFrontier_BattlePikeCorridor_EventScript_25C786:: @ 825C786
releaseall
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePikeCorridor_Movement_25C80E
waitmovement 0
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 99
special CallFrontierUtilFunc

View File

@@ -20,7 +20,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B6FD:: @ 825B6FD
end
BattleFrontier_BattlePikeLobby_EventScript_25B707:: @ 825B707
setvar VAR_0x8004, 0
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_0
special CallFrontierUtilFunc
end
@@ -39,7 +39,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B710:: @ 825B710
setvar VAR_0x8005, 4
setvar VAR_0x8006, 0
special CallBattlePikeFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -49,9 +49,9 @@ BattleFrontier_BattlePikeLobby_EventScript_25B710:: @ 825B710
BattleFrontier_BattlePikeLobby_EventScript_25B762:: @ 825B762
lockall
setvar VAR_0x8004, 10
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_IS_FRONTIER_BRAIN
special CallFrontierUtilFunc
compare VAR_RESULT, 1
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25B784
msgbox BattleFrontier_BattlePikeLobby_Text_25C18A, MSGBOX_DEFAULT
waitmessage
@@ -63,10 +63,10 @@ BattleFrontier_BattlePikeLobby_EventScript_25B784:: @ 825B784
BattleFrontier_BattlePikeLobby_EventScript_25B78D:: @ 825B78D
msgbox BattleFrontier_BattlePikeLobby_Text_25C3D9, MSGBOX_DEFAULT
setvar VAR_0x8004, 11
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_11
special CallFrontierUtilFunc
msgbox BattleFrontier_BattlePikeLobby_Text_241520, 9
setvar VAR_0x8004, 8
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_8
special CallFrontierUtilFunc
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_DATA
setvar VAR_0x8005, 3
@@ -97,9 +97,9 @@ BattleFrontier_BattlePikeLobby_EventScript_25B806:: @ 825B806
lockall
message BattleFrontier_BattlePikeLobby_Text_25C146
waitmessage
setvar VAR_0x8004, 8
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_8
special CallFrontierUtilFunc
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 2
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -147,11 +147,11 @@ BattleFrontier_BattlePikeLobby_EventScript_25B8BB:: @ 825B8BB
switch VAR_RESULT
case 2, BattleFrontier_BattlePikeLobby_EventScript_25BA76
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_25BA76
setvar VAR_0x8004, 15
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25BA27
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -173,12 +173,12 @@ BattleFrontier_BattlePikeLobby_EventScript_25B8BB:: @ 825B8BB
BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
setvar VAR_TEMP_0, 0
setvar VAR_TEMP_1, 0
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 4
special CallFrontierUtilFunc
setvar VAR_0x8004, BATTLE_PIKE_FUNC_INIT_CHALLENGE
special CallBattlePikeFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
@@ -188,7 +188,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
special CallBattlePikeFunction
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SAVE_MON_HELD_ITEMS
special CallBattlePikeFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -202,12 +202,12 @@ BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25BA5C
special SavePlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special CallFrontierUtilFunc
msgbox BattleFrontier_BattlePikeLobby_Text_25C130, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 5
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SET_FRONTIER_TRAINERS
special CallFrontierUtilFunc
call BattleFrontier_BattlePikeLobby_EventScript_25BA94
special HealPlayerParty
@@ -235,7 +235,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25BA4F:: @ 825BA4F
goto BattleFrontier_BattlePikeLobby_EventScript_25BA7E
BattleFrontier_BattlePikeLobby_EventScript_25BA5C:: @ 825BA5C
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -253,7 +253,7 @@ BattleFrontier_BattlePikeLobby_EventScript_25BA7E:: @ 825BA7E
BattleFrontier_BattlePikeLobby_EventScript_25BA80:: @ 825BA80
lockall
setvar VAR_0x8004, 7
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
setvar VAR_0x8005, 5
special CallFrontierUtilFunc
waitbuttonpress

View File

@@ -42,7 +42,7 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D1C6:: @ 825D1C6
case 1, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D226
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D20A:: @ 825D20A
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 4
special CallFrontierUtilFunc
@@ -142,13 +142,13 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D2FB:: @ 825D2FB
case 2, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D416
case 3, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3BD
case 4, BattleFrontier_BattlePikeRandomRoom1_EventScript_25D443
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3BD
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25DED2, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
@@ -160,7 +160,7 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3BD:: @ 825D3BD
goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D20A
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3DA:: @ 825D3DA
setvar VAR_0x8004, 12
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattlePikeRandomRoom1_EventScript_25D49D
@@ -170,20 +170,20 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D3DA:: @ 825D3DA
message BattleFrontier_BattlePikeRandomRoom1_Text_25DFD0
waitmessage
waitfanfare
setvar VAR_0x8004, 13
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_FACILITY_SYMBOL
special CallFrontierUtilFunc
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E003, MSGBOX_DEFAULT
closemessage
goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D49D
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D416:: @ 825D416
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattlePikeRandomRoom1_EventScript_25D443
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E02C, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
@@ -195,7 +195,7 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D443:: @ 825D443
goto BattleFrontier_BattlePikeRandomRoom1_EventScript_25D20A
BattleFrontier_BattlePikeRandomRoom1_EventScript_25D460:: @ 825D460
setvar VAR_0x8004, 12
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattlePikeRandomRoom1_EventScript_25D49D
@@ -205,7 +205,7 @@ BattleFrontier_BattlePikeRandomRoom1_EventScript_25D460:: @ 825D460
message BattleFrontier_BattlePikeRandomRoom1_Text_25E118
waitmessage
waitfanfare
setvar VAR_0x8004, 13
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_FACILITY_SYMBOL
special CallFrontierUtilFunc
msgbox BattleFrontier_BattlePikeRandomRoom1_Text_25E140, MSGBOX_DEFAULT
closemessage

View File

@@ -11,7 +11,7 @@ BattleFrontier_BattlePikeRandomRoom2_EventScript_25E3A7:: @ 825E3A7
delay 16
applymovement 1, BattleFrontier_BattlePikeRandomRoom2_Movement_25E3DB
waitmovement 0
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 3
special CallFrontierUtilFunc

View File

@@ -16,7 +16,7 @@ BattleFrontier_BattlePikeRandomRoom3_EventScript_25E43C:: @ 825E43C
end
BattleFrontier_BattlePikeRandomRoom3_EventScript_25E44A:: @ 825E44A
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 4
special CallFrontierUtilFunc
@@ -35,7 +35,7 @@ BattleFrontier_BattlePikeRandomRoom3_EventScript_25E470:: @ 825E470
BattleFrontier_BattlePikeRandomRoom3_MapScript1_25E47A: @ 825E47A
call BattleFrontier_BattlePikeRandomRoom3_EventScript_2C4271
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 5
special CallFrontierUtilFunc
compare VAR_RESULT, 2

View File

@@ -22,7 +22,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25C887:: @ 825C887
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C891:: @ 825C891
setvar VAR_0x8004, 0
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_0
special CallFrontierUtilFunc
end
@@ -40,28 +40,28 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25C8A4:: @ 825C8A4
special CallBattlePikeFunction
playse SE_SAVE
waitse
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
setvar VAR_TEMP_0, 255
special SavePlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special CallFrontierUtilFunc
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CDDA, MSGBOX_DEFAULT
closemessage
releaseall
setvar VAR_0x8004, 5
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SET_FRONTIER_TRAINERS
special CallFrontierUtilFunc
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 99
special CallFrontierUtilFunc
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C908:: @ 825C908
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
switch VAR_RESULT
@@ -132,7 +132,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8:: @ 825C9D8
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9FD:: @ 825C9FD
setvar VAR_0x8004, 6
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_6
special CallFrontierUtilFunc
message BattleFrontier_BattlePikeThreePathRoom_Text_25CE08
waitmessage
@@ -143,7 +143,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9FD:: @ 825C9FD
playse SE_SAVE
waitse
fadescreen 1
setvar VAR_0x8004, 4
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SOFT_RESET
special CallFrontierUtilFunc
end

View File

@@ -1,764 +0,0 @@
BattleFrontier_BattlePointExchangeServiceCorner_MapScripts:: @ 825F070
.byte 0
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F071:: @ 825F071
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F7FA, MSGBOX_DEFAULT
special ShowBattlePointsWindow
return
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D:: @ 825F07D
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FF12, MSGBOX_DEFAULT
special CloseBattlePointsWindow
release
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A:: @ 825F08A
specialvar VAR_TEMP_1, GetFrontierBattlePoints
compare VAR_TEMP_1, VAR_0x8008
goto_if_ge BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0C9
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE86, MSGBOX_DEFAULT
compare VAR_TEMP_2, 0
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
compare VAR_TEMP_2, 1
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
compare VAR_TEMP_2, 2
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0C9:: @ 825F0C9
compare VAR_TEMP_2, 0
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5
compare VAR_TEMP_2, 1
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F0E5:: @ 825F0E5
checkdecorspace VAR_0x8009
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F11D
copyvar VAR_0x8004, VAR_0x8008
special TakeFrontierBattlePoints
givedecoration VAR_0x8009
special UpdateBattlePointsWindow
playse SE_REGI
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE45, MSGBOX_DEFAULT
compare VAR_TEMP_2, 0
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F11D:: @ 825F11D
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FEB9, MSGBOX_DEFAULT
special CloseBattlePointsWindow
release
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F12A:: @ 825F12A
checkitemspace VAR_0x8009, 1
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F166
copyvar VAR_0x8004, VAR_0x8008
special TakeFrontierBattlePoints
giveitem VAR_0x8009, 1
special UpdateBattlePointsWindow
playse SE_REGI
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE72, MSGBOX_DEFAULT
compare VAR_TEMP_2, 2
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F166:: @ 825F166
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FEE3, MSGBOX_DEFAULT
special CloseBattlePointsWindow
release
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F173:: @ 825F173
lock
faceplayer
setvar VAR_TEMP_2, 0
call BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F071
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185:: @ 825F185
setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_DECOR_VENDOR_1
special ShowFrontierExchangeCornerItemIconWindow
special ShowScrollableMultichoice
waitstate
special CloseFrontierExchangeCornerItemIconWindow
switch VAR_RESULT
case 0, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E
case 1, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241
case 2, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264
case 3, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287
case 4, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA
case 5, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD
case 6, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0
case 7, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313
case 8, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336
case 9, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F359
case 10, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
case MULTI_B_PRESSED, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F21E:: @ 825F21E
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8B6, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 16
setvar VAR_0x8009, DECOR_KISS_POSTER
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F241:: @ 825F241
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8E6, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 32
setvar VAR_0x8009, DECOR_KISS_CUSHION
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F264:: @ 825F264
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F917, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 32
setvar VAR_0x8009, DECOR_SMOOCHUM_DOLL
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F287:: @ 825F287
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F949, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, DECOR_TOGEPI_DOLL
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2AA:: @ 825F2AA
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F979, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, DECOR_MEOWTH_DOLL
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2CD:: @ 825F2CD
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9A9, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, DECOR_CLEFAIRY_DOLL
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F2F0:: @ 825F2F0
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9DB, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 48
setvar VAR_0x8009, DECOR_DITTO_DOLL
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F313:: @ 825F313
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA0A, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80
setvar VAR_0x8009, DECOR_CYNDAQUIL_DOLL
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F336:: @ 825F336
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA3D, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80
setvar VAR_0x8009, DECOR_CHIKORITA_DOLL
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F359:: @ 825F359
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA70, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F185
setvar VAR_0x8008, 80
setvar VAR_0x8009, DECOR_TOTODILE_DOLL
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F37C:: @ 825F37C
lock
faceplayer
setvar VAR_TEMP_2, 1
call BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F071
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E:: @ 825F38E
setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_DECOR_VENDOR_2
special ShowFrontierExchangeCornerItemIconWindow
special ShowScrollableMultichoice
waitstate
special CloseFrontierExchangeCornerItemIconWindow
switch VAR_RESULT
case 0, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0
case 1, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413
case 2, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436
case 3, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459
case 4, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F47C
case 5, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
case MULTI_B_PRESSED, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F3F0:: @ 825F3F0
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAA2, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 128
setvar VAR_0x8009, DECOR_LAPRAS_DOLL
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F413:: @ 825F413
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAD2, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 128
setvar VAR_0x8009, DECOR_SNORLAX_DOLL
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F436:: @ 825F436
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB03, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256
setvar VAR_0x8009, DECOR_VENUSAUR_DOLL
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F459:: @ 825F459
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB35, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256
setvar VAR_0x8009, DECOR_CHARIZARD_DOLL
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F47C:: @ 825F47C
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB68, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F38E
setvar VAR_0x8008, 256
setvar VAR_0x8009, DECOR_BLASTOISE_DOLL
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F49F:: @ 825F49F
lock
faceplayer
setvar VAR_TEMP_2, 2
call BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F071
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1:: @ 825F4B1
setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_VITAMIN_VENDOR
special ShowFrontierExchangeCornerItemIconWindow
special ShowScrollableMultichoice
waitstate
special CloseFrontierExchangeCornerItemIconWindow
switch VAR_RESULT
case 0, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E
case 1, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541
case 2, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564
case 3, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587
case 4, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA
case 5, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5CD
case 6, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
case MULTI_B_PRESSED, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F51E:: @ 825F51E
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB9B, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_PROTEIN
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F541:: @ 825F541
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBC7, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_CALCIUM
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F564:: @ 825F564
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBF3, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_IRON
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F587:: @ 825F587
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC1C, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_ZINC
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5AA:: @ 825F5AA
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC45, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_CARBOS
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5CD:: @ 825F5CD
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC70, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F4B1
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_HP_UP
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5F0:: @ 825F5F0
lock
faceplayer
setvar VAR_TEMP_2, 3
call BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F071
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602:: @ 825F602
setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_HOLD_ITEM_VENDOR
special ShowFrontierExchangeCornerItemIconWindow
special ShowScrollableMultichoice
waitstate
special CloseFrontierExchangeCornerItemIconWindow
switch VAR_RESULT
case 0, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690
case 1, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3
case 2, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6
case 3, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9
case 4, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C
case 5, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F
case 6, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762
case 7, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785
case 8, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7A8
case 9, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
case MULTI_B_PRESSED, BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F07D
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F690:: @ 825F690
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE17, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, ITEM_LEFTOVERS
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6B3:: @ 825F6B3
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCCB, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, ITEM_WHITE_HERB
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6D6:: @ 825F6D6
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCFA, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, ITEM_QUICK_CLAW
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F6F9:: @ 825F6F9
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD29, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 48
setvar VAR_0x8009, ITEM_MENTAL_HERB
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F71C:: @ 825F71C
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC9A, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, ITEM_BRIGHT_POWDER
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F73F:: @ 825F73F
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD59, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, ITEM_CHOICE_BAND
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F762:: @ 825F762
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD89, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, ITEM_KINGS_ROCK
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F785:: @ 825F785
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDB9, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, ITEM_FOCUS_BAND
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7A8:: @ 825F7A8
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDE8, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F602
setvar VAR_0x8008, 64
setvar VAR_0x8009, ITEM_SCOPE_LENS
goto BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F08A
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7CB:: @ 825F7CB
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_260099, MSGBOX_NPC
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7D4:: @ 825F7D4
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_26002E, MSGBOX_NPC
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7DD:: @ 825F7DD
lock
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FFD0, MSGBOX_DEFAULT
release
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7E8:: @ 825F7E8
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_25FF5D, MSGBOX_NPC
end
BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7F1:: @ 825F7F1
msgbox BattleFrontier_BattlePointExchangeServiceCorner_Text_26012D, MSGBOX_NPC
end
BattleFrontier_BattlePointExchangeServiceCorner_Text_25F7FA: @ 825F7FA
.string "Hello, this is the EXCHANGE SERVICE\n"
.string "CORNER.\p"
.string "We exchange the Battle Points you\n"
.string "have collected for lovely prizes.\p"
.string "Please choose a prize from this list.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25F890: @ 825F890
.string "Please choose a prize from this list.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8B6: @ 825F8B6
.string "You've chosen the KISS POSTER.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25F8E6: @ 825F8E6
.string "You've chosen the KISS CUSHION.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25F917: @ 825F917
.string "You've chosen the SMOOCHUM DOLL.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25F949: @ 825F949
.string "You've chosen the TOGEPI DOLL.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25F979: @ 825F979
.string "You've chosen the MEOWTH DOLL.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9A9: @ 825F9A9
.string "You've chosen the CLEFAIRY DOLL.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25F9DB: @ 825F9DB
.string "You've chosen the DITTO DOLL.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA0A: @ 825FA0A
.string "You've chosen the CYNDAQUIL DOLL.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA3D: @ 825FA3D
.string "You've chosen the CHIKORITA DOLL.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FA70: @ 825FA70
.string "You've chosen the TOTODILE DOLL.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAA2: @ 825FAA2
.string "You've chosen the LAPRAS DOLL.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FAD2: @ 825FAD2
.string "You've chosen the SNORLAX DOLL.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB03: @ 825FB03
.string "You've chosen the VENUSAUR DOLL.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB35: @ 825FB35
.string "You've chosen the CHARIZARD DOLL.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB68: @ 825FB68
.string "You've chosen the BLASTOISE DOLL.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FB9B: @ 825FB9B
.string "You've chosen the PROTEIN.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBC7: @ 825FBC7
.string "You've chosen the CALCIUM.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FBF3: @ 825FBF3
.string "You've chosen the IRON.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC1C: @ 825FC1C
.string "You've chosen the ZINC.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC45: @ 825FC45
.string "You've chosen the CARBOS.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC70: @ 825FC70
.string "You've chosen the HP UP.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FC9A: @ 825FC9A
.string "You've chosen the BRIGHTPOWDER.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCCB: @ 825FCCB
.string "You've chosen the WHITE HERB.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FCFA: @ 825FCFA
.string "You've chosen the QUICK CLAW.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD29: @ 825FD29
.string "You've chosen the MENTAL HERB.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD59: @ 825FD59
.string "You've chosen the CHOICE BAND.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FD89: @ 825FD89
.string "You've chosen the KING'S ROCK.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDB9: @ 825FDB9
.string "You've chosen the FOCUS BAND.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FDE8: @ 825FDE8
.string "You've chosen the SCOPE LENS.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE17: @ 825FE17
.string "You've chosen the LEFTOVERS.\n"
.string "Is that correct?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE45: @ 825FE45
.string "Thank you!\n"
.string "We'll send it to your PC at home.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE72: @ 825FE72
.string "Here is your prize!$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FE86: @ 825FE86
.string "I'm so sorry…\n"
.string "You don't have enough Battle Points…$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FEB9: @ 825FEB9
.string "I'm so sorry…\n"
.string "Your PC appears to be full…$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FEE3: @ 825FEE3
.string "I'm so sorry…\n"
.string "You don't have space to hold it…$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FF12: @ 825FF12
.string "Thank you very much.\p"
.string "Please visit us when you have\n"
.string "saved up Battle Points.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FF5D: @ 825FF5D
.string "Oh, they're so nice!\n"
.string "I wish I had them!\l"
.string "Cute cushions!\l"
.string "Big plush DOLLS!\l"
.string "Little plush DOLLS!\l"
.string "I wish I had them all!$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_25FFD0: @ 825FFD0
.string "Leave it to your mommy!\p"
.string "If it's anything you want, I'll go\n"
.string "through anything to get it, honey!$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26002E: @ 826002E
.string "If I can get hold of the items here,\n"
.string "my POKéMON will get tougher.\p"
.string "You bet they will!\n"
.string "No question about it!$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_260099: @ 8260099
.string "Hah?\n"
.string "What are you gawking at?\p"
.string "I don't like you staring at my plush\n"
.string "doll like that.\p"
.string "If you want it, go get one yourself!\n"
.string "Isn't that right, SMOOCHUM?$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26012D: @ 826012D
.string "Did you know?\p"
.string "If you stretch your record at any of\n"
.string "the BATTLE facilities, they start\l"
.string "giving you more and more Battle Points.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2601AA:: @ 82601AA
.string "A large poster with a SMOOCHUM print.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2601D0:: @ 82601D0
.string "A SMOOCHUM cushion.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_260201:: @ 8260201
.string "A SMOOCHUM DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26022F:: @ 826022F
.string "A TOGEPI DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26025B:: @ 826025B
.string "A MEOWTH DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_260287:: @ 8260287
.string "A CLEFAIRY DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2602B5:: @ 82602B5
.string "A DITTO DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2602E0:: @ 82602E0
.string "A CYNDAQUIL DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26030F:: @ 826030F
.string "A CHIKORITA DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26033E:: @ 826033E
.string "A TOTODILE DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26036C:: @ 826036C
.string "A large DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_260397:: @ 8260397
.string "Raises the stat ATTACK of one\n"
.string "POKéMON.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2603BE:: @ 82603BE
.string "Raises the stat SP. ATK of one\n"
.string "POKéMON.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2603E6:: @ 82603E6
.string "Raises the stat DEFENSE of one\n"
.string "POKéMON.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26040E:: @ 826040E
.string "Raises the stat SP. DEF of one\n"
.string "POKéMON.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_260436:: @ 8260436
.string "Raises the stat SPEED of one\n"
.string "POKéMON.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26045C:: @ 826045C
.string "Raises the HP of one POKéMON.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26047A:: @ 826047A
.string "A hold item that gradually restores\n"
.string "HP in battle.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2604AC:: @ 82604AC
.string "A hold item that restores any\n"
.string "lowered stat.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2604D8:: @ 82604D8
.string "A hold item that occasionally allows\n"
.string "the first strike.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_26050F:: @ 826050F
.string "A hold item that snaps POKéMON out\n"
.string "of infatuation.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_260542:: @ 8260542
.string "A hold item that casts a glare to\n"
.string "reduce accuracy.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_260575:: @ 8260575
.string "Raises a move's power, but permits\n"
.string "only that move.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2605A8:: @ 82605A8
.string "A hold item that may cause flinching\n"
.string "when the foe is hit.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_2605E2:: @ 82605E2
.string "A hold item that occasionally\n"
.string "prevents fainting.$"
BattleFrontier_BattlePointExchangeServiceCorner_Text_260613:: @ 8260613
.string "A hold item that raises the\n"
.string "critical-hit rate.$"

View File

@@ -40,13 +40,13 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252A98:: @ 8252A98
BattleFrontier_BattlePyramidEmptySquare_MapScript1_252AA2: @ 8252AA2
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SET_FLOOR_PALETTE
special CallBattlePyramidFunction
setvar VAR_0x8004, 0
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_0
special CallFrontierUtilFunc
switch VAR_TEMP_0
case 0, BattleFrontier_BattlePyramidEmptySquare_EventScript_252B8D
case 1, BattleFrontier_BattlePyramidEmptySquare_EventScript_252B66
case 2, BattleFrontier_BattlePyramidEmptySquare_EventScript_252B8D
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 5
special CallFrontierUtilFunc
compare VAR_RESULT, 4
@@ -61,8 +61,8 @@ BattleFrontier_BattlePyramidEmptySquare_MapScript1_252AA2: @ 8252AA2
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
compare VAR_RESULT, 9
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
setvar VAR_0x8004, 14
setvar VAR_0x8005, 8
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_CHECK_BATTLE_TYPE
setvar VAR_0x8005, BATTLE_TYPE_TRAINER
special CallFrontierUtilFunc
setvar VAR_TEMP_D, 1
@@ -73,7 +73,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39:: @ 8252B39
BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42:: @ 8252B42
BattleFrontier_BattlePyramidTop_EventScript_252B42:: @ 8252B42
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 4
special CallFrontierUtilFunc
@@ -100,14 +100,14 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252B8D:: @ 8252B8D
setvar VAR_0x8005, 1
special CallBattlePyramidFunction
special SavePlayerParty
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_INIT_TRAINERS
special CallBattlePyramidFunction
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special CallFrontierUtilFunc
setvar VAR_TEMP_F, 1
end
@@ -126,11 +126,11 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252BD5:: @ 8252BD5
BattleFrontier_BattlePyramidEmptySquare_EventScript_252BE8:: @ 8252BE8
call BattleFrontier_BattlePalaceBattleRoom_EventScript_241EBA
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
addvar VAR_RESULT, 1
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 2
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -138,7 +138,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252BE8:: @ 8252BE8
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C45
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SEED_FLOOR
special CallBattlePyramidFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -152,6 +152,7 @@ BattleFrontier_BattlePyramidEmptySquare_EventScript_252C45:: @ 8252C45
waitstate
end
@ TRAINER_PHILLIP is used as a placeholder
BattlePyramid_TrainerBattle:: @ 8252C4F
trainerbattle TRAINER_BATTLE_PYRAMID, TRAINER_PHILLIP, 0, BattleFacility_TrainerBattle_PlaceholderText, BattleFacility_TrainerBattle_PlaceholderText
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SHOW_HINT_TEXT

View File

@@ -21,7 +21,7 @@ BattleFrontier_BattlePyramidLobby_MapScript2_250735: @ 8250735
.2byte 0
BattleFrontier_BattlePyramidLobby_EventScript_25075F:: @ 825075F
setvar VAR_0x8004, 0
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_0
special CallFrontierUtilFunc
end
@@ -40,7 +40,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250768:: @ 8250768
setvar VAR_0x8005, 2
setvar VAR_0x8006, 0
special CallBattlePyramidFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -50,9 +50,9 @@ BattleFrontier_BattlePyramidLobby_EventScript_250768:: @ 8250768
BattleFrontier_BattlePyramidLobby_EventScript_2507B1:: @ 82507B1
lockall
setvar VAR_0x8004, 10
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_IS_FRONTIER_BRAIN
special CallFrontierUtilFunc
compare VAR_RESULT, 1
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_2507D2
msgbox BattleFrontier_BattlePyramidLobby_Text_2517B5, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidLobby_EventScript_2507DA
@@ -65,7 +65,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2507DA:: @ 82507DA
compare VAR_RESULT, TRUE
call_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250DDB
clearflag FLAG_STORING_ITEMS_IN_PYRAMID_BAG
setvar VAR_0x8004, 8
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_8
special CallFrontierUtilFunc
special LoadPlayerParty
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_CLEAR_HELD_ITEMS
@@ -76,9 +76,9 @@ BattleFrontier_BattlePyramidLobby_EventScript_2507DA:: @ 82507DA
playse SE_EXPMAX
waitse
msgbox BattleFrontier_BattlePyramidLobby_Text_252662, MSGBOX_DEFAULT
setvar VAR_0x8004, 11
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_11
special CallFrontierUtilFunc
msgbox BattleFrontier_BattlePyramidLobby_Text_241520, 9
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
message BattleFrontier_BattlePyramidLobby_Text_251A77
waitmessage
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SET_REWARD
@@ -95,7 +95,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_2507DA:: @ 82507DA
end
BattleFrontier_BattlePyramidLobby_EventScript_250852:: @ 8250852
setvar VAR_0x8004, 8
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_8
special CallFrontierUtilFunc
special LoadPlayerParty
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_CLEAR_HELD_ITEMS
@@ -151,11 +151,11 @@ BattleFrontier_BattlePyramidLobby_EventScript_250904:: @ 8250904
switch VAR_RESULT
case 2, BattleFrontier_BattlePyramidLobby_EventScript_250AC4
case MULTI_B_PRESSED, BattleFrontier_BattlePyramidLobby_EventScript_250AC4
setvar VAR_0x8004, 15
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_250A75
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -176,7 +176,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250904:: @ 8250904
BattleFrontier_BattlePyramidLobby_EventScript_2509A5:: @ 82509A5
setvar VAR_TEMP_0, 0
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 4
special CallFrontierUtilFunc
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_INIT_CHALLENGE
@@ -185,11 +185,11 @@ BattleFrontier_BattlePyramidLobby_EventScript_2509A5:: @ 82509A5
setvar VAR_0x8005, 2
setvar VAR_0x8006, 1
special CallBattlePyramidFunction
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -207,13 +207,13 @@ BattleFrontier_BattlePyramidLobby_EventScript_2509A5:: @ 82509A5
BattleFrontier_BattlePyramidLobby_EventScript_250A21:: @ 8250A21
special SavePlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special CallFrontierUtilFunc
msgbox BattleFrontier_BattlePyramidLobby_Text_251531, MSGBOX_DEFAULT
closemessage
call BattleFrontier_BattlePyramidLobby_EventScript_250D56
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -242,7 +242,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250A9D:: @ 8250A9D
goto BattleFrontier_BattlePyramidLobby_EventScript_250ACC
BattleFrontier_BattlePyramidLobby_EventScript_250AAA:: @ 8250AAA
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -424,7 +424,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_250D39:: @ 8250D39
BattleFrontier_BattlePyramidLobby_EventScript_250D42:: @ 8250D42
lockall
setvar VAR_0x8004, 7
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
setvar VAR_0x8005, 6
special CallFrontierUtilFunc
waitbuttonpress

View File

@@ -28,7 +28,7 @@ BattleFrontier_BattlePyramidTop_EventScript_2550F3:: @ 82550F3
end
BattleFrontier_BattlePyramidTop_MapScript1_2550F4: @ 82550F4
setvar VAR_0x8004, 9
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_9
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_25510C
@@ -36,13 +36,13 @@ BattleFrontier_BattlePyramidTop_MapScript1_2550F4: @ 82550F4
BattleFrontier_BattlePyramidTop_EventScript_25510C:: @ 825510C
copyvar VAR_TEMP_C, VAR_RESULT
setvar VAR_0x8004, 0
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_0
special CallFrontierUtilFunc
switch VAR_TEMP_0
case 0, BattleFrontier_BattlePyramidTop_EventScript_255193
case 1, BattleFrontier_BattlePyramidTop_EventScript_252B66
case 2, BattleFrontier_BattlePyramidTop_EventScript_255193
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 5
special CallFrontierUtilFunc
compare VAR_RESULT, 2
@@ -73,14 +73,14 @@ BattleFrontier_BattlePyramidTop_EventScript_255193:: @ 8255193
setvar VAR_0x8005, 1
special CallBattlePyramidFunction
special SavePlayerParty
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_INIT_TRAINERS
special CallBattlePyramidFunction
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special CallFrontierUtilFunc
setvar VAR_TEMP_F, 1
end
@@ -107,7 +107,7 @@ BattleFrontier_BattlePyramidTop_EventScript_2551D0:: @ 82551D0
closemessage
BattleFrontier_BattlePyramidTop_EventScript_25521A:: @ 825521A
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 3
special CallFrontierUtilFunc
@@ -133,7 +133,7 @@ BattleFrontier_BattlePyramidTop_EventScript_255256:: @ 8255256
case 2, BattleFrontier_BattlePyramidTop_EventScript_255335
case 3, BattleFrontier_BattlePyramidTop_EventScript_2552D0
case 4, BattleFrontier_BattlePyramidTop_EventScript_255388
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
@@ -143,7 +143,7 @@ BattleFrontier_BattlePyramidTop_EventScript_255256:: @ 8255256
waitmovement 0
msgbox BattleFrontier_BattlePyramidTop_Text_255669, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
applymovement 2, BattleFrontier_BattlePyramidTop_Movement_25540A
@@ -165,7 +165,7 @@ BattleFrontier_BattlePyramidTop_EventScript_2552DA:: @ 82552DA
goto BattleFrontier_BattlePyramidTop_EventScript_252B42
BattleFrontier_BattlePyramidTop_EventScript_2552FB:: @ 82552FB
setvar VAR_0x8004, 12
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_25521A
@@ -174,13 +174,13 @@ BattleFrontier_BattlePyramidTop_EventScript_2552FB:: @ 82552FB
message BattleFrontier_BattlePyramidTop_Text_2558E9
waitmessage
waitfanfare
setvar VAR_0x8004, 13
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_FACILITY_SYMBOL
special CallFrontierUtilFunc
msgbox BattleFrontier_BattlePyramidTop_Text_25591D, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidTop_EventScript_25521A
BattleFrontier_BattlePyramidTop_EventScript_255335:: @ 8255335
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
@@ -190,7 +190,7 @@ BattleFrontier_BattlePyramidTop_EventScript_255335:: @ 8255335
waitmovement 0
msgbox BattleFrontier_BattlePyramidTop_Text_255951, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
applymovement 2, BattleFrontier_BattlePyramidTop_Movement_25540A
@@ -212,7 +212,7 @@ BattleFrontier_BattlePyramidTop_EventScript_255392:: @ 8255392
goto BattleFrontier_BattlePyramidTop_EventScript_252B42
BattleFrontier_BattlePyramidTop_EventScript_2553B3:: @ 82553B3
setvar VAR_0x8004, 12
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_25521A
@@ -221,7 +221,7 @@ BattleFrontier_BattlePyramidTop_EventScript_2553B3:: @ 82553B3
message BattleFrontier_BattlePyramidTop_Text_255B59
waitmessage
waitfanfare
setvar VAR_0x8004, 13
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_FACILITY_SYMBOL
special CallFrontierUtilFunc
msgbox BattleFrontier_BattlePyramidTop_Text_255B82, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidTop_EventScript_25521A

View File

@@ -20,7 +20,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241B6C:: @ 8241B6C
setvar VAR_TEMP_0, 1
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleTowerBattleRoom_Movement_242179
waitmovement 0
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 0
@@ -30,21 +30,21 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241B6C:: @ 8241B6C
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleTowerBattleRoom_Movement_24217E
waitmovement 0
setvar VAR_TEMP_2, 1
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F
BattleFrontier_BattleTowerBattleRoom_EventScript_241BC3:: @ 8241BC3
setvar VAR_0x8004, 3
special sub_8161F74
setvar VAR_0x8004, BATTLE_TOWER_FUNC_CHOOSE_TRAINER
special CallBattleTowerFunc
addobject 1
applymovement 1, BattleFrontier_BattleTowerBattleRoom_Movement_242182
waitmovement 0
setvar VAR_0x8004, 7
setvar VAR_0x8004, BATTLE_TOWER_FUNC_7
setvar VAR_0x8005, 0
special sub_8161F74
special CallBattleTowerFunc
msgbox gStringVar4, MSGBOX_DEFAULT
waitmessage
call BattleFrontier_BattleTowerBattleRoom_EventScript_24210E
@@ -53,27 +53,27 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241BC3:: @ 8241BC3
BattleFrontier_BattleTowerBattleRoom_EventScript_241C03:: @ 8241C03
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_241C03:: @ 8241C03
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 4
special CallFrontierUtilFunc
setvar VAR_0x8004, 2
setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 3
special sub_8161F74
special CallBattleTowerFunc
setvar VAR_0x8004, 3
special sub_813BF7C
special Script_TryGainNewFanFromCounter
goto BattleFrontier_BattleTowerBattleRoom_EventScript_2421B8
BattleFrontier_BattleTowerBattleRoom_EventScript_241C2F:: @ 8241C2F
call BattleFrontier_BattleTowerBattleRoom_EventScript_241EBA
setvar VAR_0x8004, 4
special sub_8161F74
setvar VAR_0x8004, BATTLE_TOWER_FUNC_4
special CallBattleTowerFunc
switch VAR_RESULT
case 7, BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
applymovement 1, BattleFrontier_BattleTowerBattleRoom_Movement_242188
waitmovement 0
removeobject 1
setvar VAR_0x8004, 9
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_9
special CallFrontierUtilFunc
compare VAR_RESULT, 0
call_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_241EC3
@@ -87,12 +87,12 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241C2F:: @ 8241C2F
special HealPlayerParty
BattleFrontier_BattleTowerBattleRoom_EventScript_241C8F:: @ 8241C8F
setvar VAR_0x8004, 9
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_9
special CallFrontierUtilFunc
copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_241F0A
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
call BattleFrontier_BattleTowerBattleRoom_EventScript_241E44
@@ -153,27 +153,27 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241DDC:: @ 8241DDC
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241BC3
BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6:: @ 8241DF6
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 3
special CallFrontierUtilFunc
setvar VAR_0x8004, 2
setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 3
special sub_8161F74
special CallBattleTowerFunc
setvar VAR_0x8004, 3
special sub_813BF7C
special Script_TryGainNewFanFromCounter
goto BattleFrontier_BattleTowerBattleRoom_EventScript_2421B8
BattleFrontier_BattleTowerBattleRoom_EventScript_241E22:: @ 8241E22
message BattleFrontier_BattleTowerBattleRoom_Text_242426
waitmessage
setvar VAR_0x8004, 6
setvar VAR_0x8004, BATTLE_TOWER_FUNC_SAVE
setvar VAR_0x8005, 2
special sub_8161F74
special CallBattleTowerFunc
playse SE_SAVE
waitse
fadescreen 1
setvar VAR_0x8004, 4
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SOFT_RESET
special CallFrontierUtilFunc
end
@@ -223,7 +223,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_241EBA:: @ 8241EBA
BattleFrontier_BattlePalaceBattleRoom_EventScript_241EBA:: @ 8241EBA
BattleFrontier_BattleTowerBattleRoom2_EventScript_241EBA:: @ 8241EBA
BattleFrontier_BattleTowerBattleRoom_EventScript_241EBA:: @ 8241EBA
setvar VAR_0x8004, 17
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_17
special CallFrontierUtilFunc
return
@@ -286,13 +286,13 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241FAF:: @ 8241FAF
case 2, BattleFrontier_BattleTowerBattleRoom_EventScript_242085
case 3, BattleFrontier_BattleTowerBattleRoom_EventScript_242029
case 4, BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_242029
msgbox BattleFrontier_BattleTowerBattleRoom_Text_242579, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
@@ -305,7 +305,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_242029:: @ 8242029
BattleFrontier_BattleTowerBattleRoom_EventScript_242046:: @ 8242046
call BattleFrontier_BattleTowerBattleRoom_EventScript_241EBA
setvar VAR_0x8004, 12
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
@@ -314,19 +314,19 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_242046:: @ 8242046
message BattleFrontier_BattleTowerBattleRoom_Text_24270E
waitmessage
waitfanfare
setvar VAR_0x8004, 13
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_FACILITY_SYMBOL
special CallFrontierUtilFunc
msgbox BattleFrontier_BattleTowerBattleRoom_Text_242744, MSGBOX_DEFAULT
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
BattleFrontier_BattleTowerBattleRoom_EventScript_242085:: @ 8242085
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2
msgbox BattleFrontier_BattleTowerBattleRoom_Text_2427F9, MSGBOX_DEFAULT
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 7
special CallFrontierUtilFunc
@@ -339,7 +339,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_2420B2:: @ 82420B2
BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF:: @ 82420CF
call BattleFrontier_BattleTowerBattleRoom_EventScript_241EBA
setvar VAR_0x8004, 12
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GET_FACILITY_SYMBOLS
special CallFrontierUtilFunc
compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
@@ -348,7 +348,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_2420CF:: @ 82420CF
message BattleFrontier_BattleTowerBattleRoom_Text_242932
waitmessage
waitfanfare
setvar VAR_0x8004, 13
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_GIVE_FACILITY_SYMBOL
special CallFrontierUtilFunc
msgbox BattleFrontier_BattleTowerBattleRoom_Text_24295D, MSGBOX_DEFAULT
goto BattleFrontier_BattleTowerBattleRoom_EventScript_241DF6
@@ -357,7 +357,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_24210E:: @ 824210E
BattleFrontier_BattleTowerBattleRoom_EventScript_24210E:: @ 824210E
closemessage
setvar VAR_TEMP_2, 0
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -369,16 +369,16 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_24210E:: @ 824210E
copyvar VAR_0x8004, VAR_FRONTIER_BATTLE_MODE
compare VAR_0x8004, 3
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_24215A
setvar VAR_0x8004, 18
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_18
special CallFrontierUtilFunc
special HealPlayerParty
setvar VAR_0x8004, 21
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_21
special CallFrontierUtilFunc
BattleFrontier_BattleTowerBattleRoom_EventScript_24215A:: @ 824215A
setvar VAR_0x8004, 15
special sub_8161F74
setvar VAR_0x8004, 1
setvar VAR_0x8004, BATTLE_TOWER_FUNC_15
special CallBattleTowerFunc
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 5
special CallFrontierUtilFunc
return
@@ -389,7 +389,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_242170:: @ 8242170
BattleFrontier_BattlePalaceBattleRoom_EventScript_242170:: @ 8242170
BattleFrontier_BattlePyramidTop_EventScript_242170:: @ 8242170
BattleFrontier_BattleTowerBattleRoom_EventScript_242170:: @ 8242170
setvar VAR_0x8004, 22
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SET_BRAIN_OBJECT
special CallFrontierUtilFunc
return
@@ -506,8 +506,8 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_2421F2:: @ 82421F2
end
BattleFrontier_BattleTowerBattleRoom_EventScript_2421FC:: @ 82421FC
setvar VAR_0x8004, 13
special sub_8161F74
setvar VAR_0x8004, BATTLE_TOWER_FUNC_13
special CallBattleTowerFunc
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 255, 18, 6
waitstate
end

View File

@@ -12,8 +12,8 @@ BattleFrontier_BattleTowerBattleRoom2_MapScript1_248EF8: @ 8248EF8
end
BattleFrontier_BattleTowerBattleRoom2_EventScript_248F0F:: @ 8248F0F
setvar VAR_0x8004, 14
special sub_8161F74
setvar VAR_0x8004, BATTLE_TOWER_FUNC_14
special CallBattleTowerFunc
checkplayergender
compare VAR_RESULT, FEMALE
goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_248F29
@@ -45,7 +45,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248F4D:: @ 8248F4D
applymovement 5, BattleFrontier_BattleTowerBattleRoom2_Movement_249518
applymovement 6, BattleFrontier_BattleTowerBattleRoom2_Movement_24951E
waitmovement 0
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 0
@@ -56,15 +56,15 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248F4D:: @ 8248F4D
applymovement 5, BattleFrontier_BattleTowerBattleRoom2_Movement_249524
applymovement 6, BattleFrontier_BattleTowerBattleRoom2_Movement_249524
waitmovement 0
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249143
BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4:: @ 8248FB4
setvar VAR_0x8004, 3
special sub_8161F74
setvar VAR_0x8004, BATTLE_TOWER_FUNC_CHOOSE_TRAINER
special CallBattleTowerFunc
addobject 1
addobject 4
applymovement 1, BattleFrontier_BattleTowerBattleRoom2_Movement_249528
@@ -72,17 +72,17 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4:: @ 8248FB4
waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, 3
goto_if_eq BattleFrontier_BattleTowerBattleRoom2_EventScript_249026
setvar VAR_0x8004, 7
setvar VAR_0x8004, BATTLE_TOWER_FUNC_7
setvar VAR_0x8005, 0
special sub_8161F74
special CallBattleTowerFunc
delay 15
applymovement 1, BattleFrontier_BattleTowerBattleRoom2_Movement_249545
waitmovement 0
msgbox gStringVar4, MSGBOX_DEFAULT
waitmessage
setvar VAR_0x8004, 7
setvar VAR_0x8004, BATTLE_TOWER_FUNC_7
setvar VAR_0x8005, 1
special sub_8161F74
special CallBattleTowerFunc
applymovement 4, BattleFrontier_BattleTowerBattleRoom2_Movement_249545
waitmovement 0
msgbox gStringVar4, MSGBOX_DEFAULT
@@ -90,18 +90,18 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_248FB4:: @ 8248FB4
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_249069
BattleFrontier_BattleTowerBattleRoom2_EventScript_249026:: @ 8249026
setvar VAR_0x8004, 7
setvar VAR_0x8004, BATTLE_TOWER_FUNC_7
setvar VAR_0x8005, 0
special sub_8161F74
special CallBattleTowerFunc
delay 15
applymovement 1, BattleFrontier_BattleTowerBattleRoom2_Movement_249545
waitmovement 0
messageautoscroll 0x2021fc4
waitmessage
delay 48
setvar VAR_0x8004, 7
setvar VAR_0x8004, BATTLE_TOWER_FUNC_7
setvar VAR_0x8005, 1
special sub_8161F74
special CallBattleTowerFunc
applymovement 4, BattleFrontier_BattleTowerBattleRoom2_Movement_249545
waitmovement 0
messageautoscroll 0x2021fc4
@@ -114,21 +114,21 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249069:: @ 8249069
case 1, BattleFrontier_BattleTowerBattleRoom2_EventScript_2490AA
BattleFrontier_BattleTowerBattleRoom2_EventScript_24907E:: @ 824907E
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 4
special CallFrontierUtilFunc
setvar VAR_0x8004, 2
setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 3
special sub_8161F74
special CallBattleTowerFunc
setvar VAR_0x8004, 3
special sub_813BF7C
special Script_TryGainNewFanFromCounter
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_2421B8
BattleFrontier_BattleTowerBattleRoom2_EventScript_2490AA:: @ 82490AA
call BattleFrontier_BattleTowerBattleRoom2_EventScript_241EBA
setvar VAR_0x8004, 4
special sub_8161F74
setvar VAR_0x8004, BATTLE_TOWER_FUNC_4
special CallBattleTowerFunc
switch VAR_RESULT
case 7, BattleFrontier_BattleTowerBattleRoom2_EventScript_2492AF
applymovement 4, BattleFrontier_BattleTowerBattleRoom2_Movement_249534
@@ -154,7 +154,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249118:: @ 8249118
BattleFrontier_BattleTowerBattleRoom2_EventScript_249121:: @ 8249121
special LoadPlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_FRONTIER_BATTLE_MODE, 3
@@ -164,7 +164,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249121:: @ 8249121
special HealPlayerParty
BattleFrontier_BattleTowerBattleRoom2_EventScript_249143:: @ 8249143
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
call BattleFrontier_BattleTowerBattleRoom2_EventScript_2492FD
@@ -231,27 +231,27 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_249283:: @ 8249283
end
BattleFrontier_BattleTowerBattleRoom2_EventScript_2492AF:: @ 82492AF
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 3
special CallFrontierUtilFunc
setvar VAR_0x8004, 2
setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 3
special sub_8161F74
special CallBattleTowerFunc
setvar VAR_0x8004, 3
special sub_813BF7C
special Script_TryGainNewFanFromCounter
goto BattleFrontier_BattleTowerBattleRoom2_EventScript_2421B8
BattleFrontier_BattleTowerBattleRoom2_EventScript_2492DB:: @ 82492DB
message BattleFrontier_BattleTowerBattleRoom2_Text_242426
waitmessage
setvar VAR_0x8004, 6
setvar VAR_0x8004, BATTLE_TOWER_FUNC_SAVE
setvar VAR_0x8005, 2
special sub_8161F74
special CallBattleTowerFunc
playse SE_SAVE
waitse
fadescreen 1
setvar VAR_0x8004, 4
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SOFT_RESET
special CallFrontierUtilFunc
end

View File

@@ -12,8 +12,8 @@ BattleFrontier_BattleTowerCorridor2_MapScript1_248D5A: @ 8248D5A
end
BattleFrontier_BattleTowerCorridor2_EventScript_248D71:: @ 8248D71
setvar VAR_0x8004, 14
special sub_8161F74
setvar VAR_0x8004, BATTLE_TOWER_FUNC_14
special CallBattleTowerFunc
checkplayergender
compare VAR_RESULT, FEMALE
goto_if_eq BattleFrontier_BattleTowerCorridor2_EventScript_248D8B

View File

@@ -76,7 +76,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattleTowerLobby_EventScript_28CB96",
"script": "BattleFrontier_BattleTowerLobby_EventScript_Reporter",
"flag": "FLAG_HIDE_BATTLE_TOWER_REPORTER"
},
{

View File

@@ -10,7 +10,7 @@ BattleFrontier_BattleTowerLobby_MapScript1_23E690: @ 823E690
end
BattleFrontier_BattleTowerLobby_MapScript1_23E694: @ 823E694
call BattleFrontier_BattleTowerLobby_EventScript_28CC84
call BattleFrontier_BattleTowerLobby_EventScript_ShowOrHideReporter
setvar VAR_0x8004, 10
special CallApprenticeFunction
compare VAR_0x8004, 0
@@ -47,7 +47,7 @@ BattleFrontier_BattleTowerLobby_MapScript2_23E6DD: @ 823E6DD
.2byte 0
BattleFrontier_BattleTowerLobby_EventScript_23E707:: @ 823E707
setvar VAR_0x8004, 0
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_0
special CallFrontierUtilFunc
end
@@ -56,15 +56,15 @@ BattleFrontier_BattleTowerLobby_EventScript_23E710:: @ 823E710
faceplayer
msgbox BattleFrontier_BattleTowerLobby_Text_23F583, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 2
setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 0
special sub_8161F74
setvar VAR_0x8004, 2
special CallBattleTowerFunc
setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 2
setvar VAR_0x8006, 0
special sub_8161F74
setvar VAR_0x8004, 2
special CallBattleTowerFunc
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -75,9 +75,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23E710:: @ 823E710
BattleFrontier_BattleTowerLobby_EventScript_23E758:: @ 823E758
lock
faceplayer
setvar VAR_0x8004, 10
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_IS_FRONTIER_BRAIN
special CallFrontierUtilFunc
compare VAR_RESULT, 1
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23E778
message BattleFrontier_BattleTowerLobby_Text_23F60D
waitmessage
@@ -87,8 +87,8 @@ BattleFrontier_BattleTowerLobby_EventScript_23E778:: @ 823E778
msgbox BattleFrontier_BattleTowerLobby_Text_241486, MSGBOX_DEFAULT
BattleFrontier_BattleTowerLobby_EventScript_23E780:: @ 823E780
setvar VAR_0x8004, 5
special sub_8161F74
setvar VAR_0x8004, BATTLE_TOWER_FUNC_GIVE_RIBBONS
special CallBattleTowerFunc
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23E7A5
message BattleFrontier_BattleTowerLobby_Text_23F844
@@ -99,13 +99,13 @@ BattleFrontier_BattleTowerLobby_EventScript_23E780:: @ 823E780
BattleFrontier_BattleTowerLobby_EventScript_23E7A5:: @ 823E7A5
msgbox BattleFrontier_BattleTowerLobby_Text_2414D4, MSGBOX_DEFAULT
setvar VAR_0x8004, 11
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_11
special CallFrontierUtilFunc
msgbox BattleFrontier_BattleTowerLobby_Text_241520, 9
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
call BattleFrontier_BattleTowerLobby_EventScript_23E84D
setvar VAR_0x8004, 1
setvar VAR_0x8004, BATTLE_TOWER_FUNC_1
setvar VAR_0x8005, 1
special sub_8161F74
special CallBattleTowerFunc
compare VAR_RESULT, 49
goto_if_ne BattleFrontier_BattleTowerLobby_EventScript_23E7E2
msgbox BattleFrontier_BattleTowerLobby_Text_23F79D, MSGBOX_DEFAULT
@@ -121,17 +121,17 @@ BattleFrontier_BattleTowerLobby_EventScript_23E7F2:: @ 823E7F2
compare VAR_FRONTIER_BATTLE_MODE, 2
goto_if_ne BattleFrontier_BattleTowerLobby_EventScript_23E81E
goto_if_set FLAG_CHOSEN_MULTI_BATTLE_NPC_PARTNER, BattleFrontier_BattleTowerLobby_EventScript_23E81E
setvar VAR_0x8004, 1
setvar VAR_0x8004, BATTLE_TOWER_FUNC_1
setvar VAR_0x8005, 1
special sub_8161F74
special CallBattleTowerFunc
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleTowerLobby_EventScript_23E830
BattleFrontier_BattleTowerLobby_EventScript_23E81E:: @ 823E81E
setvar VAR_0x8004, 2
setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 2
setvar VAR_0x8006, 0
special sub_8161F74
special CallBattleTowerFunc
BattleFrontier_BattleTowerLobby_EventScript_23E830:: @ 823E830
lock
@@ -148,13 +148,13 @@ BattleFrontier_BattleTowerLobby_EventScript_23E830:: @ 823E830
BattleFrontier_BattleTowerLobby_EventScript_23E84D:: @ 823E84D
message BattleFrontier_BattleTowerLobby_Text_23F70F
waitmessage
setvar VAR_0x8004, 8
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_8
special CallFrontierUtilFunc
special LoadPlayerParty
special HealPlayerParty
setvar VAR_0x8004, 6
setvar VAR_0x8004, BATTLE_TOWER_FUNC_SAVE
setvar VAR_0x8005, 0
special sub_8161F74
special CallBattleTowerFunc
playse SE_SAVE
waitse
call BattleFrontier_BattleTowerLobby_EventScript_23E8E0
@@ -179,7 +179,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_23E8B4:: @ 823E8B4
BattleFrontier_BattleTowerBattleRoom2_EventScript_23E8B4:: @ 823E8B4
BattleFrontier_BattleTowerBattleRoom_EventScript_23E8B4:: @ 823E8B4
BattleFrontier_BattleTowerLobby_EventScript_23E8B4:: @ 823E8B4
setvar VAR_0x8004, 19
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_19
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23E8D7
@@ -204,7 +204,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_23E8E0:: @ 823E8E0
BattleFrontier_BattleTowerBattleRoom2_EventScript_23E8E0:: @ 823E8E0
BattleFrontier_BattleTowerBattleRoom_EventScript_23E8E0:: @ 823E8E0
BattleFrontier_BattleTowerLobby_EventScript_23E8E0:: @ 823E8E0
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 6
special CallFrontierUtilFunc
return
@@ -218,12 +218,12 @@ BattleFrontier_BattleTowerLobby_EventScript_23E8EE:: @ 823E8EE
waitmessage
message BattleFrontier_BattleTowerLobby_Text_23F754
waitmessage
setvar VAR_0x8004, 6
setvar VAR_0x8004, BATTLE_TOWER_FUNC_SAVE
setvar VAR_0x8005, 1
special sub_8161F74
special CallBattleTowerFunc
playse SE_SAVE
waitse
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -259,11 +259,11 @@ BattleFrontier_BattleTowerLobby_EventScript_23E984:: @ 823E984
switch VAR_RESULT
case 2, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
setvar VAR_0x8004, 15
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -283,17 +283,17 @@ BattleFrontier_BattleTowerLobby_EventScript_23E984:: @ 823E984
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
BattleFrontier_BattleTowerLobby_EventScript_23EA2A:: @ 823EA2A
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 4
special CallFrontierUtilFunc
setvar VAR_TEMP_0, 0
setvar VAR_0x8004, 0
special sub_8161F74
setvar VAR_0x8004, 2
setvar VAR_0x8004, BATTLE_TOWER_FUNC_0
special CallBattleTowerFunc
setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 2
setvar VAR_0x8006, 1
special sub_8161F74
setvar VAR_0x8004, 2
special CallBattleTowerFunc
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -339,11 +339,11 @@ BattleFrontier_BattleTowerLobby_EventScript_23EAED:: @ 823EAED
switch VAR_RESULT
case 2, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
setvar VAR_0x8004, 15
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -363,17 +363,17 @@ BattleFrontier_BattleTowerLobby_EventScript_23EAED:: @ 823EAED
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
BattleFrontier_BattleTowerLobby_EventScript_23EB93:: @ 823EB93
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 4
special CallFrontierUtilFunc
setvar VAR_TEMP_0, 0
setvar VAR_0x8004, 0
special sub_8161F74
setvar VAR_0x8004, 2
setvar VAR_0x8004, BATTLE_TOWER_FUNC_0
special CallBattleTowerFunc
setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 2
setvar VAR_0x8006, 1
special sub_8161F74
setvar VAR_0x8004, 2
special CallBattleTowerFunc
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -420,11 +420,11 @@ BattleFrontier_BattleTowerLobby_EventScript_23EC59:: @ 823EC59
switch VAR_RESULT
case 2, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
setvar VAR_0x8004, 15
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -444,17 +444,17 @@ BattleFrontier_BattleTowerLobby_EventScript_23EC59:: @ 823EC59
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
BattleFrontier_BattleTowerLobby_EventScript_23ECFF:: @ 823ECFF
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 4
special CallFrontierUtilFunc
setvar VAR_TEMP_0, 0
setvar VAR_0x8004, 0
special sub_8161F74
setvar VAR_0x8004, 2
setvar VAR_0x8004, BATTLE_TOWER_FUNC_0
special CallBattleTowerFunc
setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 2
setvar VAR_0x8006, 1
special sub_8161F74
setvar VAR_0x8004, 2
special CallBattleTowerFunc
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -500,11 +500,11 @@ BattleFrontier_BattleTowerLobby_EventScript_23EDC2:: @ 823EDC2
switch VAR_RESULT
case 2, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
setvar VAR_0x8004, 15
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 1
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -524,26 +524,26 @@ BattleFrontier_BattleTowerLobby_EventScript_23EDC2:: @ 823EDC2
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E3
BattleFrontier_BattleTowerLobby_EventScript_23EE68:: @ 823EE68
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 4
special CallFrontierUtilFunc
setvar VAR_TEMP_0, 0
setvar VAR_0x8004, 0
special sub_8161F74
setvar VAR_0x8004, 2
setvar VAR_0x8004, BATTLE_TOWER_FUNC_0
special CallBattleTowerFunc
setvar VAR_0x8004, BATTLE_TOWER_FUNC_2
setvar VAR_0x8005, 2
setvar VAR_0x8006, 1
special sub_8161F74
setvar VAR_0x8004, 2
special CallBattleTowerFunc
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
special LoadPlayerParty
closemessage
delay 2
setvar VAR_0x8004, 6
setvar VAR_0x8004, BATTLE_TOWER_FUNC_SAVE
setvar VAR_0x8005, 0
special sub_8161F74
special CallBattleTowerFunc
call Common_EventScript_SaveGame
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
@@ -629,7 +629,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EFBE:: @ 823EFBE
BattleFrontier_BattleTowerLobby_EventScript_23EFC7:: @ 823EFC7
lockall
setvar VAR_0x8004, 7
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -640,7 +640,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EFC7:: @ 823EFC7
BattleFrontier_BattleTowerLobby_EventScript_23EFE0:: @ 823EFE0
lockall
setvar VAR_0x8004, 7
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
setvar VAR_0x8005, 0
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
@@ -651,7 +651,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EFE0:: @ 823EFE0
BattleFrontier_BattleTowerLobby_EventScript_23EFF9:: @ 823EFF9
lockall
setvar VAR_0x8004, 7
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
setvar VAR_0x8005, 0
setvar VAR_0x8006, 2
special CallFrontierUtilFunc
@@ -662,7 +662,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23EFF9:: @ 823EFF9
BattleFrontier_BattleTowerLobby_EventScript_23F012:: @ 823F012
lockall
setvar VAR_0x8004, 7
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_RESULTS_WINDOW
setvar VAR_0x8005, 0
setvar VAR_0x8006, 3
special CallFrontierUtilFunc
@@ -713,7 +713,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23F0C2:: @ 823F0C2
end
BattleFrontier_BattleTowerLobby_EventScript_23F0D0:: @ 823F0D0
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
special CallFrontierUtilFunc
goto BattleFrontier_BattleTowerLobby_EventScript_23F0E6
@@ -732,14 +732,14 @@ BattleFrontier_BattleTowerLobby_EventScript_23F0F1:: @ 823F0F1
BattleFrontier_BattleTowerLobby_EventScript_23F0F3:: @ 823F0F3
special SavePlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
call BattleFrontier_BattleTowerLobby_EventScript_23F272
special CallFrontierUtilFunc
setvar VAR_RESULT, 0
BattleFrontier_BattleTowerLobby_EventScript_23F108:: @ 823F108
setvar VAR_0x8004, 12
special sub_8161F74
setvar VAR_0x8004, BATTLE_TOWER_FUNC_12
special CallBattleTowerFunc
delay 1
compare VAR_RESULT, 6
goto_if_ne BattleFrontier_BattleTowerLobby_EventScript_23F108
@@ -897,7 +897,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23F272:: @ 823F272
return
BattleFrontier_BattleTowerLobby_EventScript_23F29F:: @ 823F29F
setvar VAR_0x8005, 3
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
return
BattleFrontier_BattleTowerLobby_EventScript_23F2A5:: @ 823F2A5
@@ -920,7 +920,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_23F2B7:: @ 823F2B7
BattleFrontier_BattlePikeLobby_EventScript_23F2B7:: @ 823F2B7
BattleFrontier_BattlePyramidLobby_EventScript_23F2B7:: @ 823F2B7
BattleFrontier_BattleTowerLobby_EventScript_23F2B7:: @ 823F2B7
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 1
special CallFrontierUtilFunc
return
@@ -998,9 +998,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23F3AF:: @ 823F3AF
setvar VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0
message BattleFrontier_BattleTowerLobby_Text_24144D
waitmessage
setvar VAR_0x8004, 6
setvar VAR_0x8004, BATTLE_TOWER_FUNC_SAVE
setvar VAR_0x8005, 1
special sub_8161F74
special CallBattleTowerFunc
special sub_80A08CC
waitstate
playse SE_SAVE
@@ -1015,7 +1015,7 @@ BattleFrontier_BattleTowerLobby_EventScript_23F3DA:: @ 823F3DA
end
BattleFrontier_BattleTowerLobby_EventScript_23F3E8:: @ 823F3E8
setvar VAR_0x8004, 20
setvar VAR_0x8004, LINK_GROUP_BATTLE_TOWER
goto BattleFrontier_BattleTowerLobby_EventScript_23F3F3
end
@@ -1061,9 +1061,9 @@ BattleFrontier_BattleTowerLobby_EventScript_23F496:: @ 823F496
setvar VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0
message BattleFrontier_BattleTowerLobby_Text_24144D
waitmessage
setvar VAR_0x8004, 6
setvar VAR_0x8004, BATTLE_TOWER_FUNC_SAVE
setvar VAR_0x8005, 1
special sub_8161F74
special CallBattleTowerFunc
special sub_80A08CC
waitstate
playse SE_SAVE
@@ -1529,13 +1529,7 @@ BattleFrontier_BattleTowerLobby_Text_2414D4: @ 82414D4
.string "In recognition of your infinite talent,\n"
.string "we award you these Battle Point(s).$"
BattleFrontier_BattleArenaLobby_Text_241520: @ 8241520
BattleFrontier_BattleDomeLobby_Text_241520: @ 8241520
BattleFrontier_BattleFactoryLobby_Text_241520: @ 8241520
BattleFrontier_BattlePalaceLobby_Text_241520: @ 8241520
BattleFrontier_BattlePikeLobby_Text_241520: @ 8241520
BattleFrontier_BattlePyramidLobby_Text_241520: @ 8241520
BattleFrontier_BattleTowerLobby_Text_241520: @ 8241520
BattleFrontier_Text_ObtainedXBattlePoints: @ 8241520
.string "{PLAYER} obtained {STR_VAR_1} Battle Point(s).$"
BattleFrontier_BattleTowerLobby_Text_241540: @ 8241540

View File

@@ -20,8 +20,8 @@ BattleFrontier_BattleTowerMultiBattleRoom_MapScript1_243DB0: @ 8243DB0
clearflag FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_6
setflag FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_ALT_1
setflag FLAG_HIDE_BATTLE_TOWER_MULTI_BATTLE_PARTNER_ALT_2
setvar VAR_0x8004, 10
special sub_8161F74
setvar VAR_0x8004, BATTLE_TOWER_FUNC_10
special CallBattleTowerFunc
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243DDA:: @ 8243DDA
@@ -94,7 +94,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243E7A:: @ 8243E7A
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243E9D:: @ 8243E9D
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 6
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
@@ -166,27 +166,27 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243F29:: @ 8243F29
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243F36:: @ 8243F36
goto_if_set FLAG_CHOSEN_MULTI_BATTLE_NPC_PARTNER, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FC3
setvar VAR_0x8004, 11
setvar VAR_0x8004, BATTLE_TOWER_FUNC_11
setvar VAR_0x8005, 0
special sub_8161F74
special CallBattleTowerFunc
waitmessage
waitbuttonpress
setvar VAR_0x8004, 11
setvar VAR_0x8004, BATTLE_TOWER_FUNC_11
setvar VAR_0x8005, 1
special sub_8161F74
special CallBattleTowerFunc
waitmessage
waitbuttonpress
setvar VAR_0x8004, 11
setvar VAR_0x8004, BATTLE_TOWER_FUNC_11
setvar VAR_0x8005, 2
special sub_8161F74
special CallBattleTowerFunc
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
switch VAR_RESULT
case 1, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FC3
case MULTI_B_PRESSED, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FC3
setvar VAR_0x8004, 11
setvar VAR_0x8004, BATTLE_TOWER_FUNC_11
setvar VAR_0x8005, 3
special sub_8161F74
special CallBattleTowerFunc
waitmessage
waitbuttonpress
closemessage
@@ -202,9 +202,9 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243F36:: @ 8243F36
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_243FC3:: @ 8243FC3
setvar VAR_0x8004, 11
setvar VAR_0x8004, BATTLE_TOWER_FUNC_11
setvar VAR_0x8005, 4
special sub_8161F74
special CallBattleTowerFunc
waitmessage
waitbuttonpress
release

View File

@@ -1,7 +1,7 @@
{
"id": "MAP_BATTLE_FRONTIER_BATTLE_POINT_EXCHANGE_SERVICE_CORNER",
"name": "BattleFrontier_BattlePointExchangeServiceCorner",
"layout": "LAYOUT_BATTLE_FRONTIER_BATTLE_POINT_EXCHANGE_SERVICE_CORNER",
"id": "MAP_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER",
"name": "BattleFrontier_ExchangeServiceCorner",
"layout": "LAYOUT_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER",
"music": "MUS_B_TOWER",
"region_map_section": "MAPSEC_BATTLE_FRONTIER",
"requires_flash": false,
@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F173",
"script": "BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk1",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7E8",
"script": "BattleFrontier_ExchangeServiceCorner_EventScript_RichBoy",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7DD",
"script": "BattleFrontier_ExchangeServiceCorner_EventScript_PokefanF",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7D4",
"script": "BattleFrontier_ExchangeServiceCorner_EventScript_Sailor",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7CB",
"script": "BattleFrontier_ExchangeServiceCorner_EventScript_Man",
"flag": "0"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F37C",
"script": "BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk2",
"flag": "0"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F49F",
"script": "BattleFrontier_ExchangeServiceCorner_EventScript_VitaminClerk",
"flag": "0"
},
{
@@ -115,7 +115,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F5F0",
"script": "BattleFrontier_ExchangeServiceCorner_EventScript_HoldItemClerk",
"flag": "0"
},
{
@@ -128,7 +128,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_BattlePointExchangeServiceCorner_EventScript_25F7F1",
"script": "BattleFrontier_ExchangeServiceCorner_EventScript_Girl",
"flag": "0"
}
],

View File

@@ -0,0 +1,765 @@
BattleFrontier_ExchangeServiceCorner_MapScripts:: @ 825F070
.byte 0
BattleFrontier_ExchangeServiceCorner_EventScript_ClerkWelcome:: @ 825F071
msgbox BattleFrontier_ExchangeServiceCorner_Text_WelcomePleaseChoosePrize, MSGBOX_DEFAULT
special ShowBattlePointsWindow
return
BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye:: @ 825F07D
msgbox BattleFrontier_ExchangeServiceCorner_Text_ThankYouVisitWithPoints, MSGBOX_DEFAULT
special CloseBattlePointsWindow
release
end
BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize:: @ 825F08A
specialvar VAR_TEMP_1, GetFrontierBattlePoints
compare VAR_TEMP_1, VAR_0x8008
goto_if_ge BattleFrontier_ExchangeServiceCorner_EventScript_TryGivePrize
msgbox BattleFrontier_ExchangeServiceCorner_Text_DontHaveEnoughPoints, MSGBOX_DEFAULT
compare VAR_TEMP_2, EXCHANGE_CORNER_DECOR1_CLERK
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
compare VAR_TEMP_2, EXCHANGE_CORNER_DECOR2_CLERK
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
compare VAR_TEMP_2, EXCHANGE_CORNER_VITAMIN_CLERK
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
end
BattleFrontier_ExchangeServiceCorner_EventScript_TryGivePrize:: @ 825F0C9
compare VAR_TEMP_2, EXCHANGE_CORNER_DECOR1_CLERK
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_TryGiveDecor
compare VAR_TEMP_2, EXCHANGE_CORNER_DECOR2_CLERK
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_TryGiveDecor
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryGiveItem
end
BattleFrontier_ExchangeServiceCorner_EventScript_TryGiveDecor:: @ 825F0E5
checkdecorspace VAR_0x8009
compare VAR_RESULT, FALSE
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_NoRoomForDecor
copyvar VAR_0x8004, VAR_0x8008
special TakeFrontierBattlePoints
givedecoration VAR_0x8009
special UpdateBattlePointsWindow
playse SE_REGI
msgbox BattleFrontier_ExchangeServiceCorner_Text_WellSendItToPC, MSGBOX_DEFAULT
compare VAR_TEMP_2, EXCHANGE_CORNER_DECOR1_CLERK
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
end
BattleFrontier_ExchangeServiceCorner_EventScript_NoRoomForDecor:: @ 825F11D
msgbox BattleFrontier_ExchangeServiceCorner_Text_PCIsFull, MSGBOX_DEFAULT
special CloseBattlePointsWindow
release
end
BattleFrontier_ExchangeServiceCorner_EventScript_TryGiveItem:: @ 825F12A
checkitemspace VAR_0x8009, 1
compare VAR_RESULT, FALSE
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_BagFull
copyvar VAR_0x8004, VAR_0x8008
special TakeFrontierBattlePoints
giveitem VAR_0x8009, 1
special UpdateBattlePointsWindow
playse SE_REGI
msgbox BattleFrontier_ExchangeServiceCorner_Text_HereIsYourPrize, MSGBOX_DEFAULT
compare VAR_TEMP_2, EXCHANGE_CORNER_VITAMIN_CLERK
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
end
BattleFrontier_ExchangeServiceCorner_EventScript_BagFull:: @ 825F166
msgbox BattleFrontier_ExchangeServiceCorner_Text_DontHaveSpaceToHoldIt, MSGBOX_DEFAULT
special CloseBattlePointsWindow
release
end
BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk1:: @ 825F173
lock
faceplayer
setvar VAR_TEMP_2, EXCHANGE_CORNER_DECOR1_CLERK
call BattleFrontier_ExchangeServiceCorner_EventScript_ClerkWelcome
goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
end
BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1:: @ 825F185
setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_DECOR_VENDOR_1
special ShowFrontierExchangeCornerItemIconWindow
special ShowScrollableMultichoice
waitstate
special CloseFrontierExchangeCornerItemIconWindow
switch VAR_RESULT
case 0, BattleFrontier_ExchangeServiceCorner_EventScript_KissPoster
case 1, BattleFrontier_ExchangeServiceCorner_EventScript_KissCushion
case 2, BattleFrontier_ExchangeServiceCorner_EventScript_SmoochumDoll
case 3, BattleFrontier_ExchangeServiceCorner_EventScript_TogepiDoll
case 4, BattleFrontier_ExchangeServiceCorner_EventScript_MeowthDoll
case 5, BattleFrontier_ExchangeServiceCorner_EventScript_ClefairyDoll
case 6, BattleFrontier_ExchangeServiceCorner_EventScript_DittoDoll
case 7, BattleFrontier_ExchangeServiceCorner_EventScript_CyndaquilDoll
case 8, BattleFrontier_ExchangeServiceCorner_EventScript_ChikoritaDoll
case 9, BattleFrontier_ExchangeServiceCorner_EventScript_TotodileDoll
case 10, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
case MULTI_B_PRESSED, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
end
BattleFrontier_ExchangeServiceCorner_EventScript_KissPoster:: @ 825F21E
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmKissPoster, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
setvar VAR_0x8008, 16
setvar VAR_0x8009, DECOR_KISS_POSTER
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_KissCushion:: @ 825F241
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmKissCushion, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
setvar VAR_0x8008, 32
setvar VAR_0x8009, DECOR_KISS_CUSHION
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_SmoochumDoll:: @ 825F264
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmSmoochumDoll, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
setvar VAR_0x8008, 32
setvar VAR_0x8009, DECOR_SMOOCHUM_DOLL
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_TogepiDoll:: @ 825F287
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmTogepiDoll, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
setvar VAR_0x8008, 48
setvar VAR_0x8009, DECOR_TOGEPI_DOLL
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_MeowthDoll:: @ 825F2AA
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmMeowthDoll, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
setvar VAR_0x8008, 48
setvar VAR_0x8009, DECOR_MEOWTH_DOLL
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_ClefairyDoll:: @ 825F2CD
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmClefairyDoll, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
setvar VAR_0x8008, 48
setvar VAR_0x8009, DECOR_CLEFAIRY_DOLL
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_DittoDoll:: @ 825F2F0
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmDittoDoll, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
setvar VAR_0x8008, 48
setvar VAR_0x8009, DECOR_DITTO_DOLL
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_CyndaquilDoll:: @ 825F313
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmCyndaquilDoll, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
setvar VAR_0x8008, 80
setvar VAR_0x8009, DECOR_CYNDAQUIL_DOLL
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_ChikoritaDoll:: @ 825F336
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmChikoritaDoll, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
setvar VAR_0x8008, 80
setvar VAR_0x8009, DECOR_CHIKORITA_DOLL
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_TotodileDoll:: @ 825F359
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmTotodileDoll, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor1
setvar VAR_0x8008, 80
setvar VAR_0x8009, DECOR_TOTODILE_DOLL
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_DecorClerk2:: @ 825F37C
lock
faceplayer
setvar VAR_TEMP_2, EXCHANGE_CORNER_DECOR2_CLERK
call BattleFrontier_ExchangeServiceCorner_EventScript_ClerkWelcome
goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
end
BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2:: @ 825F38E
setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_DECOR_VENDOR_2
special ShowFrontierExchangeCornerItemIconWindow
special ShowScrollableMultichoice
waitstate
special CloseFrontierExchangeCornerItemIconWindow
switch VAR_RESULT
case 0, BattleFrontier_ExchangeServiceCorner_EventScript_LaprasDoll
case 1, BattleFrontier_ExchangeServiceCorner_EventScript_SnorlaxDoll
case 2, BattleFrontier_ExchangeServiceCorner_EventScript_VenusaurDoll
case 3, BattleFrontier_ExchangeServiceCorner_EventScript_CharizardDoll
case 4, BattleFrontier_ExchangeServiceCorner_EventScript_BlastoiseDoll
case 5, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
case MULTI_B_PRESSED, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
end
BattleFrontier_ExchangeServiceCorner_EventScript_LaprasDoll:: @ 825F3F0
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmLaprasDoll, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
setvar VAR_0x8008, 128
setvar VAR_0x8009, DECOR_LAPRAS_DOLL
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_SnorlaxDoll:: @ 825F413
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmSnorlaxDoll, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
setvar VAR_0x8008, 128
setvar VAR_0x8009, DECOR_SNORLAX_DOLL
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_VenusaurDoll:: @ 825F436
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmVenusaurDoll, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
setvar VAR_0x8008, 256
setvar VAR_0x8009, DECOR_VENUSAUR_DOLL
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_CharizardDoll:: @ 825F459
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmCharizardDoll, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
setvar VAR_0x8008, 256
setvar VAR_0x8009, DECOR_CHARIZARD_DOLL
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_BlastoiseDoll:: @ 825F47C
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmBlastoiseDoll, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseDecor2
setvar VAR_0x8008, 256
setvar VAR_0x8009, DECOR_BLASTOISE_DOLL
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_VitaminClerk:: @ 825F49F
lock
faceplayer
setvar VAR_TEMP_2, EXCHANGE_CORNER_VITAMIN_CLERK
call BattleFrontier_ExchangeServiceCorner_EventScript_ClerkWelcome
goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
end
BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin:: @ 825F4B1
setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_VITAMIN_VENDOR
special ShowFrontierExchangeCornerItemIconWindow
special ShowScrollableMultichoice
waitstate
special CloseFrontierExchangeCornerItemIconWindow
switch VAR_RESULT
case 0, BattleFrontier_ExchangeServiceCorner_EventScript_Protein
case 1, BattleFrontier_ExchangeServiceCorner_EventScript_Calcium
case 2, BattleFrontier_ExchangeServiceCorner_EventScript_Iron
case 3, BattleFrontier_ExchangeServiceCorner_EventScript_Zinc
case 4, BattleFrontier_ExchangeServiceCorner_EventScript_Carbos
case 5, BattleFrontier_ExchangeServiceCorner_EventScript_HPUp
case 6, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
case MULTI_B_PRESSED, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
end
BattleFrontier_ExchangeServiceCorner_EventScript_Protein:: @ 825F51E
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmProtein, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_PROTEIN
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_Calcium:: @ 825F541
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmCalcium, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_CALCIUM
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_Iron:: @ 825F564
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmIron, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_IRON
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_Zinc:: @ 825F587
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmZinc, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_ZINC
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_Carbos:: @ 825F5AA
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmCarbos, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_CARBOS
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_HPUp:: @ 825F5CD
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmHPUp, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseVitamin
setvar VAR_0x8008, 1
setvar VAR_0x8009, ITEM_HP_UP
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_HoldItemClerk:: @ 825F5F0
lock
faceplayer
setvar VAR_TEMP_2, EXCHANGE_CORNER_HOLD_ITEM_CLERK
call BattleFrontier_ExchangeServiceCorner_EventScript_ClerkWelcome
goto BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
end
BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem:: @ 825F602
setvar VAR_0x8004, SCROLL_MULTI_BF_EXCHANGE_CORNER_HOLD_ITEM_VENDOR
special ShowFrontierExchangeCornerItemIconWindow
special ShowScrollableMultichoice
waitstate
special CloseFrontierExchangeCornerItemIconWindow
switch VAR_RESULT
case 0, BattleFrontier_ExchangeServiceCorner_EventScript_Leftovers
case 1, BattleFrontier_ExchangeServiceCorner_EventScript_WhiteHerb
case 2, BattleFrontier_ExchangeServiceCorner_EventScript_QuickClaw
case 3, BattleFrontier_ExchangeServiceCorner_EventScript_MentalHerb
case 4, BattleFrontier_ExchangeServiceCorner_EventScript_Brightpowder
case 5, BattleFrontier_ExchangeServiceCorner_EventScript_ChoiceBand
case 6, BattleFrontier_ExchangeServiceCorner_EventScript_KingsRock
case 7, BattleFrontier_ExchangeServiceCorner_EventScript_FocusBand
case 8, BattleFrontier_ExchangeServiceCorner_EventScript_ScopeLens
case 9, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
case MULTI_B_PRESSED, BattleFrontier_ExchangeServiceCorner_EventScript_ClerkGoodbye
end
BattleFrontier_ExchangeServiceCorner_EventScript_Leftovers:: @ 825F690
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmLeftovers, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
setvar VAR_0x8008, 48
setvar VAR_0x8009, ITEM_LEFTOVERS
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_WhiteHerb:: @ 825F6B3
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmWhiteHerb, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
setvar VAR_0x8008, 48
setvar VAR_0x8009, ITEM_WHITE_HERB
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_QuickClaw:: @ 825F6D6
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmQuickClaw, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
setvar VAR_0x8008, 48
setvar VAR_0x8009, ITEM_QUICK_CLAW
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_MentalHerb:: @ 825F6F9
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmMentalHerb, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
setvar VAR_0x8008, 48
setvar VAR_0x8009, ITEM_MENTAL_HERB
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_Brightpowder:: @ 825F71C
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmBrightpowder, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
setvar VAR_0x8008, 64
setvar VAR_0x8009, ITEM_BRIGHT_POWDER
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_ChoiceBand:: @ 825F73F
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmChoiceBand, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
setvar VAR_0x8008, 64
setvar VAR_0x8009, ITEM_CHOICE_BAND
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_KingsRock:: @ 825F762
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmKingsRock, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
setvar VAR_0x8008, 64
setvar VAR_0x8009, ITEM_KINGS_ROCK
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_FocusBand:: @ 825F785
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmFocusBand, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
setvar VAR_0x8008, 64
setvar VAR_0x8009, ITEM_FOCUS_BAND
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_ScopeLens:: @ 825F7A8
msgbox BattleFrontier_ExchangeServiceCorner_Text_ConfirmScopeLens, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_ExchangeServiceCorner_EventScript_ChooseHoldItem
setvar VAR_0x8008, 64
setvar VAR_0x8009, ITEM_SCOPE_LENS
goto BattleFrontier_ExchangeServiceCorner_EventScript_TryPurchasePrize
end
BattleFrontier_ExchangeServiceCorner_EventScript_Man:: @ 825F7CB
msgbox BattleFrontier_ExchangeServiceCorner_Text_260099, MSGBOX_NPC
end
BattleFrontier_ExchangeServiceCorner_EventScript_Sailor:: @ 825F7D4
msgbox BattleFrontier_ExchangeServiceCorner_Text_26002E, MSGBOX_NPC
end
BattleFrontier_ExchangeServiceCorner_EventScript_PokefanF:: @ 825F7DD
lock
msgbox BattleFrontier_ExchangeServiceCorner_Text_25FFD0, MSGBOX_DEFAULT
release
end
BattleFrontier_ExchangeServiceCorner_EventScript_RichBoy:: @ 825F7E8
msgbox BattleFrontier_ExchangeServiceCorner_Text_25FF5D, MSGBOX_NPC
end
BattleFrontier_ExchangeServiceCorner_EventScript_Girl:: @ 825F7F1
msgbox BattleFrontier_ExchangeServiceCorner_Text_26012D, MSGBOX_NPC
end
BattleFrontier_ExchangeServiceCorner_Text_WelcomePleaseChoosePrize: @ 825F7FA
.string "Hello, this is the EXCHANGE SERVICE\n"
.string "CORNER.\p"
.string "We exchange the Battle Points you\n"
.string "have collected for lovely prizes.\p"
.string "Please choose a prize from this list.$"
@ Unused
BattleFrontier_ExchangeServiceCorner_Text_PleaseChoosePrize: @ 825F890
.string "Please choose a prize from this list.$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmKissPoster: @ 825F8B6
.string "You've chosen the KISS POSTER.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmKissCushion: @ 825F8E6
.string "You've chosen the KISS CUSHION.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmSmoochumDoll: @ 825F917
.string "You've chosen the SMOOCHUM DOLL.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmTogepiDoll: @ 825F949
.string "You've chosen the TOGEPI DOLL.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmMeowthDoll: @ 825F979
.string "You've chosen the MEOWTH DOLL.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmClefairyDoll: @ 825F9A9
.string "You've chosen the CLEFAIRY DOLL.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmDittoDoll: @ 825F9DB
.string "You've chosen the DITTO DOLL.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmCyndaquilDoll: @ 825FA0A
.string "You've chosen the CYNDAQUIL DOLL.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmChikoritaDoll: @ 825FA3D
.string "You've chosen the CHIKORITA DOLL.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmTotodileDoll: @ 825FA70
.string "You've chosen the TOTODILE DOLL.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmLaprasDoll: @ 825FAA2
.string "You've chosen the LAPRAS DOLL.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmSnorlaxDoll: @ 825FAD2
.string "You've chosen the SNORLAX DOLL.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmVenusaurDoll: @ 825FB03
.string "You've chosen the VENUSAUR DOLL.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmCharizardDoll: @ 825FB35
.string "You've chosen the CHARIZARD DOLL.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmBlastoiseDoll: @ 825FB68
.string "You've chosen the BLASTOISE DOLL.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmProtein: @ 825FB9B
.string "You've chosen the PROTEIN.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmCalcium: @ 825FBC7
.string "You've chosen the CALCIUM.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmIron: @ 825FBF3
.string "You've chosen the IRON.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmZinc: @ 825FC1C
.string "You've chosen the ZINC.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmCarbos: @ 825FC45
.string "You've chosen the CARBOS.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmHPUp: @ 825FC70
.string "You've chosen the HP UP.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmBrightpowder: @ 825FC9A
.string "You've chosen the BRIGHTPOWDER.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmWhiteHerb: @ 825FCCB
.string "You've chosen the WHITE HERB.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmQuickClaw: @ 825FCFA
.string "You've chosen the QUICK CLAW.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmMentalHerb: @ 825FD29
.string "You've chosen the MENTAL HERB.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmChoiceBand: @ 825FD59
.string "You've chosen the CHOICE BAND.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmKingsRock: @ 825FD89
.string "You've chosen the KING'S ROCK.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmFocusBand: @ 825FDB9
.string "You've chosen the FOCUS BAND.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmScopeLens: @ 825FDE8
.string "You've chosen the SCOPE LENS.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_ConfirmLeftovers: @ 825FE17
.string "You've chosen the LEFTOVERS.\n"
.string "Is that correct?$"
BattleFrontier_ExchangeServiceCorner_Text_WellSendItToPC: @ 825FE45
.string "Thank you!\n"
.string "We'll send it to your PC at home.$"
BattleFrontier_ExchangeServiceCorner_Text_HereIsYourPrize: @ 825FE72
.string "Here is your prize!$"
BattleFrontier_ExchangeServiceCorner_Text_DontHaveEnoughPoints: @ 825FE86
.string "I'm so sorry…\n"
.string "You don't have enough Battle Points…$"
BattleFrontier_ExchangeServiceCorner_Text_PCIsFull: @ 825FEB9
.string "I'm so sorry…\n"
.string "Your PC appears to be full…$"
BattleFrontier_ExchangeServiceCorner_Text_DontHaveSpaceToHoldIt: @ 825FEE3
.string "I'm so sorry…\n"
.string "You don't have space to hold it…$"
BattleFrontier_ExchangeServiceCorner_Text_ThankYouVisitWithPoints: @ 825FF12
.string "Thank you very much.\p"
.string "Please visit us when you have\n"
.string "saved up Battle Points.$"
BattleFrontier_ExchangeServiceCorner_Text_25FF5D: @ 825FF5D
.string "Oh, they're so nice!\n"
.string "I wish I had them!\l"
.string "Cute cushions!\l"
.string "Big plush DOLLS!\l"
.string "Little plush DOLLS!\l"
.string "I wish I had them all!$"
BattleFrontier_ExchangeServiceCorner_Text_25FFD0: @ 825FFD0
.string "Leave it to your mommy!\p"
.string "If it's anything you want, I'll go\n"
.string "through anything to get it, honey!$"
BattleFrontier_ExchangeServiceCorner_Text_26002E: @ 826002E
.string "If I can get hold of the items here,\n"
.string "my POKéMON will get tougher.\p"
.string "You bet they will!\n"
.string "No question about it!$"
BattleFrontier_ExchangeServiceCorner_Text_260099: @ 8260099
.string "Hah?\n"
.string "What are you gawking at?\p"
.string "I don't like you staring at my plush\n"
.string "doll like that.\p"
.string "If you want it, go get one yourself!\n"
.string "Isn't that right, SMOOCHUM?$"
BattleFrontier_ExchangeServiceCorner_Text_26012D: @ 826012D
.string "Did you know?\p"
.string "If you stretch your record at any of\n"
.string "the BATTLE facilities, they start\l"
.string "giving you more and more Battle Points.$"
BattleFrontier_ExchangeServiceCorner_Text_KissPosterDesc:: @ 82601AA
.string "A large poster with a SMOOCHUM print.$"
BattleFrontier_ExchangeServiceCorner_Text_KissCushionDesc:: @ 82601D0
.string "A SMOOCHUM cushion.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_ExchangeServiceCorner_Text_SmoochumDollDesc:: @ 8260201
.string "A SMOOCHUM DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_ExchangeServiceCorner_Text_TogepiDollDesc:: @ 826022F
.string "A TOGEPI DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_ExchangeServiceCorner_Text_MeowthDollDesc:: @ 826025B
.string "A MEOWTH DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_ExchangeServiceCorner_Text_ClefairyDollDesc:: @ 8260287
.string "A CLEFAIRY DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_ExchangeServiceCorner_Text_DittoDollDesc:: @ 82602B5
.string "A DITTO DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_ExchangeServiceCorner_Text_CyndaquilDollDesc:: @ 82602E0
.string "A CYNDAQUIL DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_ExchangeServiceCorner_Text_ChikoritaDollDesc:: @ 826030F
.string "A CHIKORITA DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_ExchangeServiceCorner_Text_TotodileDollDesc:: @ 826033E
.string "A TOTODILE DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_ExchangeServiceCorner_Text_LargeDollDesc:: @ 826036C
.string "A large DOLL.\n"
.string "Place it on a mat or a desk.$"
BattleFrontier_ExchangeServiceCorner_Text_ProteinDesc:: @ 8260397
.string "Raises the stat ATTACK of one\n"
.string "POKéMON.$"
BattleFrontier_ExchangeServiceCorner_Text_CalciumDesc:: @ 82603BE
.string "Raises the stat SP. ATK of one\n"
.string "POKéMON.$"
BattleFrontier_ExchangeServiceCorner_Text_IronDesc:: @ 82603E6
.string "Raises the stat DEFENSE of one\n"
.string "POKéMON.$"
BattleFrontier_ExchangeServiceCorner_Text_ZincDesc:: @ 826040E
.string "Raises the stat SP. DEF of one\n"
.string "POKéMON.$"
BattleFrontier_ExchangeServiceCorner_Text_CarbosDesc:: @ 8260436
.string "Raises the stat SPEED of one\n"
.string "POKéMON.$"
BattleFrontier_ExchangeServiceCorner_Text_HPUpDesc:: @ 826045C
.string "Raises the HP of one POKéMON.$"
BattleFrontier_ExchangeServiceCorner_Text_LeftoversDesc:: @ 826047A
.string "A hold item that gradually restores\n"
.string "HP in battle.$"
BattleFrontier_ExchangeServiceCorner_Text_WhiteHerbDesc:: @ 82604AC
.string "A hold item that restores any\n"
.string "lowered stat.$"
BattleFrontier_ExchangeServiceCorner_Text_QuickClawDesc:: @ 82604D8
.string "A hold item that occasionally allows\n"
.string "the first strike.$"
BattleFrontier_ExchangeServiceCorner_Text_MentalHerbDesc:: @ 826050F
.string "A hold item that snaps POKéMON out\n"
.string "of infatuation.$"
BattleFrontier_ExchangeServiceCorner_Text_BrightpowderDesc:: @ 8260542
.string "A hold item that casts a glare to\n"
.string "reduce accuracy.$"
BattleFrontier_ExchangeServiceCorner_Text_ChoiceBandDesc:: @ 8260575
.string "Raises a move's power, but permits\n"
.string "only that move.$"
BattleFrontier_ExchangeServiceCorner_Text_KingsRockDesc:: @ 82605A8
.string "A hold item that may cause flinching\n"
.string "when the foe is hit.$"
BattleFrontier_ExchangeServiceCorner_Text_FocusBandDesc:: @ 82605E2
.string "A hold item that occasionally\n"
.string "prevents fainting.$"
BattleFrontier_ExchangeServiceCorner_Text_ScopeLensDesc:: @ 8260613
.string "A hold item that raises the\n"
.string "critical-hit rate.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge1_EventScript_25E775",
"script": "BattleFrontier_Lounge1_EventScript_Breeder",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge1_EventScript_25E94D",
"script": "BattleFrontier_Lounge1_EventScript_Boy1",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge1_EventScript_25E956",
"script": "BattleFrontier_Lounge1_EventScript_Boy2",
"flag": "0"
}
],

View File

@@ -1,166 +1,173 @@
BattleFrontier_Lounge1_MapScripts:: @ 825E774
.byte 0
BattleFrontier_Lounge1_EventScript_25E775:: @ 825E775
@ NPC that rates pokemon based on their IVs
BattleFrontier_Lounge1_EventScript_Breeder:: @ 825E775
lock
faceplayer
call_if_unset FLAG_MET_BATTLE_FRONTIER_BREEDER, BattleFrontier_Lounge1_EventScript_25E7AD
call_if_set FLAG_MET_BATTLE_FRONTIER_BREEDER, BattleFrontier_Lounge1_EventScript_25E7B6
call_if_unset FLAG_MET_BATTLE_FRONTIER_BREEDER, BattleFrontier_Lounge1_EventScript_BreederIntro
call_if_set FLAG_MET_BATTLE_FRONTIER_BREEDER, BattleFrontier_Lounge1_EventScript_AlreadyMetBreeder
setflag FLAG_MET_BATTLE_FRONTIER_BREEDER
goto BattleFrontier_Lounge1_EventScript_25E792
goto BattleFrontier_Lounge1_EventScript_ChooseMonToShowBreeder
end
BattleFrontier_Lounge1_EventScript_25E792:: @ 825E792
BattleFrontier_Lounge1_EventScript_ChooseMonToShowBreeder:: @ 825E792
special ChoosePartyMon
waitstate
compare VAR_0x8004, 255
goto_if_ne BattleFrontier_Lounge1_EventScript_25E7BF
goto_if_ne BattleFrontier_Lounge1_EventScript_ShowMonToBreeder
compare VAR_0x8004, 255
goto_if_eq BattleFrontier_Lounge1_EventScript_25E943
goto_if_eq BattleFrontier_Lounge1_EventScript_CancelMonSelect
end
BattleFrontier_Lounge1_EventScript_25E7AD:: @ 825E7AD
msgbox BattleFrontier_Lounge1_Text_25E95F, MSGBOX_DEFAULT
BattleFrontier_Lounge1_EventScript_BreederIntro:: @ 825E7AD
msgbox BattleFrontier_Lounge1_Text_PokemonBreederIntro, MSGBOX_DEFAULT
return
BattleFrontier_Lounge1_EventScript_25E7B6:: @ 825E7B6
msgbox BattleFrontier_Lounge1_Text_25EEF6, MSGBOX_DEFAULT
BattleFrontier_Lounge1_EventScript_AlreadyMetBreeder:: @ 825E7B6
msgbox BattleFrontier_Lounge1_Text_LetsLookAtYourPokemon, MSGBOX_DEFAULT
return
BattleFrontier_Lounge1_EventScript_25E7BF:: @ 825E7BF
@ BufferVarsForIVRater buffers the following values
@ VAR_0x8005: Sum of the mons IVs
@ VAR_0x8006: Stat id of highest IV stat
@ VAR_0x8007: IV of the highest IV stat
BattleFrontier_Lounge1_EventScript_ShowMonToBreeder:: @ 825E7BF
specialvar VAR_RESULT, ScriptGetPartyMonSpecies
compare VAR_RESULT, SPECIES_EGG
goto_if_eq BattleFrontier_Lounge1_EventScript_25E7FF
goto_if_eq BattleFrontier_Lounge1_EventScript_ShowEggToBreeder
special BufferVarsForIVRater
compare VAR_0x8005, 90
goto_if_le BattleFrontier_Lounge1_EventScript_25E87F
compare VAR_0x8005, 120
goto_if_le BattleFrontier_Lounge1_EventScript_25E88D
compare VAR_0x8005, 150
goto_if_le BattleFrontier_Lounge1_EventScript_25E89B
compare VAR_0x8005, 151
goto_if_ge BattleFrontier_Lounge1_EventScript_25E8A9
compare VAR_0x8005, 90 @ Average of 15
goto_if_le BattleFrontier_Lounge1_EventScript_AverageTotalIVs
compare VAR_0x8005, 120 @ Average of 20
goto_if_le BattleFrontier_Lounge1_EventScript_AboveAverageTotalIVs
compare VAR_0x8005, 150 @ Average of 25
goto_if_le BattleFrontier_Lounge1_EventScript_HighTotalIVs
compare VAR_0x8005, 151 @ Average of > 25
goto_if_ge BattleFrontier_Lounge1_EventScript_VeryHighTotalIVs
end
BattleFrontier_Lounge1_EventScript_25E7FF:: @ 825E7FF
msgbox BattleFrontier_Lounge1_Text_25EF5E, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_25E792
BattleFrontier_Lounge1_EventScript_ShowEggToBreeder:: @ 825E7FF
msgbox BattleFrontier_Lounge1_Text_EvenICantTell, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_ChooseMonToShowBreeder
end
BattleFrontier_Lounge1_EventScript_25E80D:: @ 825E80D
compare VAR_0x8006, 0
goto_if_eq BattleFrontier_Lounge1_EventScript_25E8B7
compare VAR_0x8006, 1
goto_if_eq BattleFrontier_Lounge1_EventScript_25E8C5
compare VAR_0x8006, 2
goto_if_eq BattleFrontier_Lounge1_EventScript_25E8D3
compare VAR_0x8006, 3
goto_if_eq BattleFrontier_Lounge1_EventScript_25E8E1
compare VAR_0x8006, 4
goto_if_eq BattleFrontier_Lounge1_EventScript_25E8EF
compare VAR_0x8006, 5
goto_if_eq BattleFrontier_Lounge1_EventScript_25E8FD
@ Comment on the highest IV stat
BattleFrontier_Lounge1_EventScript_HighestIVStat:: @ 825E80D
compare VAR_0x8006, STAT_HP
goto_if_eq BattleFrontier_Lounge1_EventScript_HighestIVHP
compare VAR_0x8006, STAT_ATK
goto_if_eq BattleFrontier_Lounge1_EventScript_HighestIVAtk
compare VAR_0x8006, STAT_DEF
goto_if_eq BattleFrontier_Lounge1_EventScript_HighestIVDef
compare VAR_0x8006, STAT_SPEED
goto_if_eq BattleFrontier_Lounge1_EventScript_HighestIVSpeed
compare VAR_0x8006, STAT_SPATK
goto_if_eq BattleFrontier_Lounge1_EventScript_HighestIVSpAtk
compare VAR_0x8006, STAT_SPDEF
goto_if_eq BattleFrontier_Lounge1_EventScript_HighestIVSpDef
end
BattleFrontier_Lounge1_EventScript_25E850:: @ 825E850
@ Comment on the highest IV value
BattleFrontier_Lounge1_EventScript_HighestIVValue:: @ 825E850
compare VAR_0x8007, 15
goto_if_le BattleFrontier_Lounge1_EventScript_25E90B
goto_if_le BattleFrontier_Lounge1_EventScript_HighestIVLow
compare VAR_0x8007, 25
goto_if_le BattleFrontier_Lounge1_EventScript_25E919
goto_if_le BattleFrontier_Lounge1_EventScript_HighestIVMid
compare VAR_0x8007, 30
goto_if_le BattleFrontier_Lounge1_EventScript_25E927
goto_if_le BattleFrontier_Lounge1_EventScript_HighestIVHigh
compare VAR_0x8007, 31
goto_if_ge BattleFrontier_Lounge1_EventScript_25E935
goto_if_ge BattleFrontier_Lounge1_EventScript_HighestIVMax
end
BattleFrontier_Lounge1_EventScript_25E87D:: @ 825E87D
BattleFrontier_Lounge1_EventScript_EndBreederComments:: @ 825E87D
release
end
BattleFrontier_Lounge1_EventScript_25E87F:: @ 825E87F
msgbox BattleFrontier_Lounge1_Text_25EA92, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_25E80D
BattleFrontier_Lounge1_EventScript_AverageTotalIVs:: @ 825E87F
msgbox BattleFrontier_Lounge1_Text_AverageAbility, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_HighestIVStat
end
BattleFrontier_Lounge1_EventScript_25E88D:: @ 825E88D
msgbox BattleFrontier_Lounge1_Text_25EAD9, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_25E80D
BattleFrontier_Lounge1_EventScript_AboveAverageTotalIVs:: @ 825E88D
msgbox BattleFrontier_Lounge1_Text_BetterThanAverageAbility, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_HighestIVStat
end
BattleFrontier_Lounge1_EventScript_25E89B:: @ 825E89B
msgbox BattleFrontier_Lounge1_Text_25EB2A, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_25E80D
BattleFrontier_Lounge1_EventScript_HighTotalIVs:: @ 825E89B
msgbox BattleFrontier_Lounge1_Text_ImpressiveAbility, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_HighestIVStat
end
BattleFrontier_Lounge1_EventScript_25E8A9:: @ 825E8A9
msgbox BattleFrontier_Lounge1_Text_25EB6F, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_25E80D
BattleFrontier_Lounge1_EventScript_VeryHighTotalIVs:: @ 825E8A9
msgbox BattleFrontier_Lounge1_Text_OutstandingAbility, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_HighestIVStat
end
BattleFrontier_Lounge1_EventScript_25E8B7:: @ 825E8B7
msgbox BattleFrontier_Lounge1_Text_25EBBB, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_25E850
BattleFrontier_Lounge1_EventScript_HighestIVHP:: @ 825E8B7
msgbox BattleFrontier_Lounge1_Text_BestAspectHP, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_HighestIVValue
end
BattleFrontier_Lounge1_EventScript_25E8C5:: @ 825E8C5
msgbox BattleFrontier_Lounge1_Text_25EBF8, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_25E850
BattleFrontier_Lounge1_EventScript_HighestIVAtk:: @ 825E8C5
msgbox BattleFrontier_Lounge1_Text_BestAspectAtk, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_HighestIVValue
end
BattleFrontier_Lounge1_EventScript_25E8D3:: @ 825E8D3
msgbox BattleFrontier_Lounge1_Text_25EC39, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_25E850
BattleFrontier_Lounge1_EventScript_HighestIVDef:: @ 825E8D3
msgbox BattleFrontier_Lounge1_Text_BestAspectDef, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_HighestIVValue
end
BattleFrontier_Lounge1_EventScript_25E8E1:: @ 825E8E1
msgbox BattleFrontier_Lounge1_Text_25ED0E, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_25E850
BattleFrontier_Lounge1_EventScript_HighestIVSpeed:: @ 825E8E1
msgbox BattleFrontier_Lounge1_Text_BestAspectSpeed, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_HighestIVValue
end
BattleFrontier_Lounge1_EventScript_25E8EF:: @ 825E8EF
msgbox BattleFrontier_Lounge1_Text_25EC7B, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_25E850
BattleFrontier_Lounge1_EventScript_HighestIVSpAtk:: @ 825E8EF
msgbox BattleFrontier_Lounge1_Text_BestAspectSpAtk, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_HighestIVValue
end
BattleFrontier_Lounge1_EventScript_25E8FD:: @ 825E8FD
msgbox BattleFrontier_Lounge1_Text_25ECC4, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_25E850
BattleFrontier_Lounge1_EventScript_HighestIVSpDef:: @ 825E8FD
msgbox BattleFrontier_Lounge1_Text_BestAspectSpDef, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_HighestIVValue
end
BattleFrontier_Lounge1_EventScript_25E90B:: @ 825E90B
msgbox BattleFrontier_Lounge1_Text_25ED4E, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_25E87D
BattleFrontier_Lounge1_EventScript_HighestIVLow:: @ 825E90B
msgbox BattleFrontier_Lounge1_Text_StatRelativelyGood, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_EndBreederComments
end
BattleFrontier_Lounge1_EventScript_25E919:: @ 825E919
msgbox BattleFrontier_Lounge1_Text_25ED87, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_25E87D
BattleFrontier_Lounge1_EventScript_HighestIVMid:: @ 825E919
msgbox BattleFrontier_Lounge1_Text_StatImpressive, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_EndBreederComments
end
BattleFrontier_Lounge1_EventScript_25E927:: @ 825E927
msgbox BattleFrontier_Lounge1_Text_25EDC1, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_25E87D
BattleFrontier_Lounge1_EventScript_HighestIVHigh:: @ 825E927
msgbox BattleFrontier_Lounge1_Text_StatOutstanding, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_EndBreederComments
end
BattleFrontier_Lounge1_EventScript_25E935:: @ 825E935
msgbox BattleFrontier_Lounge1_Text_25EDF6, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_25E87D
BattleFrontier_Lounge1_EventScript_HighestIVMax:: @ 825E935
msgbox BattleFrontier_Lounge1_Text_StatFlawless, MSGBOX_DEFAULT
goto BattleFrontier_Lounge1_EventScript_EndBreederComments
end
BattleFrontier_Lounge1_EventScript_25E943:: @ 825E943
msgbox BattleFrontier_Lounge1_Text_25EE37, MSGBOX_DEFAULT
BattleFrontier_Lounge1_EventScript_CancelMonSelect:: @ 825E943
msgbox BattleFrontier_Lounge1_Text_NoTimeForMyAdvice, MSGBOX_DEFAULT
release
end
BattleFrontier_Lounge1_EventScript_25E94D:: @ 825E94D
msgbox BattleFrontier_Lounge1_Text_25EFDD, MSGBOX_NPC
BattleFrontier_Lounge1_EventScript_Boy1:: @ 825E94D
msgbox BattleFrontier_Lounge1_Text_SaidMyMonIsOutstanding, MSGBOX_NPC
end
BattleFrontier_Lounge1_EventScript_25E956:: @ 825E956
msgbox BattleFrontier_Lounge1_Text_25F020, MSGBOX_NPC
BattleFrontier_Lounge1_EventScript_Boy2:: @ 825E956
msgbox BattleFrontier_Lounge1_Text_DidntDoAnythingSpecialRaisingIt, MSGBOX_NPC
end
BattleFrontier_Lounge1_Text_25E95F: @ 825E95F
BattleFrontier_Lounge1_Text_PokemonBreederIntro: @ 825E95F
.string "For 70 years I have raised POKéMON!\n"
.string "I am the man they revere as\l"
.string "the legendary top POKéMON BREEDER!\p"
@@ -173,94 +180,95 @@ BattleFrontier_Lounge1_Text_25E95F: @ 825E95F
.string "Here!\n"
.string "Let's have a look at your POKéMON!$"
BattleFrontier_Lounge1_Text_25EA92: @ 825EA92
BattleFrontier_Lounge1_Text_AverageAbility: @ 825EA92
.string "…Hmm…\p"
.string "This one, overall, I would describe\n"
.string "as being of average ability.$"
BattleFrontier_Lounge1_Text_25EAD9: @ 825EAD9
BattleFrontier_Lounge1_Text_BetterThanAverageAbility: @ 825EAD9
.string "…Hmm…\p"
.string "This one, overall, I would describe as\n"
.string "having better-than-average ability.$"
BattleFrontier_Lounge1_Text_25EB2A: @ 825EB2A
BattleFrontier_Lounge1_Text_ImpressiveAbility: @ 825EB2A
.string "…Hmm…\p"
.string "This one, overall, I would say is\n"
.string "quite impressive in ability!$"
BattleFrontier_Lounge1_Text_25EB6F: @ 825EB6F
BattleFrontier_Lounge1_Text_OutstandingAbility: @ 825EB6F
.string "…Hmm…\p"
.string "This one, overall, I would say is\n"
.string "wonderfully outstanding in ability!$"
BattleFrontier_Lounge1_Text_25EBBB: @ 825EBBB
BattleFrontier_Lounge1_Text_BestAspectHP: @ 825EBBB
.string "Incidentally, the best aspect of it,\n"
.string "I would say, is its HP…$"
BattleFrontier_Lounge1_Text_25EBF8: @ 825EBF8
BattleFrontier_Lounge1_Text_BestAspectAtk: @ 825EBF8
.string "Incidentally, the best aspect of it,\n"
.string "I would say, is its ATTACK…$"
BattleFrontier_Lounge1_Text_25EC39: @ 825EC39
BattleFrontier_Lounge1_Text_BestAspectDef: @ 825EC39
.string "Incidentally, the best aspect of it,\n"
.string "I would say, is its DEFENSE…$"
BattleFrontier_Lounge1_Text_25EC7B: @ 825EC7B
BattleFrontier_Lounge1_Text_BestAspectSpAtk: @ 825EC7B
.string "Incidentally, the best aspect of it,\n"
.string "I would say, is its SPECIAL ATTACK…$"
BattleFrontier_Lounge1_Text_25ECC4: @ 825ECC4
BattleFrontier_Lounge1_Text_BestAspectSpDef: @ 825ECC4
.string "Incidentally, the best aspect of it,\n"
.string "I would say, is its SPECIAL DEFENSE…$"
BattleFrontier_Lounge1_Text_25ED0E: @ 825ED0E
BattleFrontier_Lounge1_Text_BestAspectSpeed: @ 825ED0E
.string "Incidentally, the best aspect of it,\n"
.string "I would say, is its SPEED…$"
BattleFrontier_Lounge1_Text_25ED4E: @ 825ED4E
BattleFrontier_Lounge1_Text_StatRelativelyGood: @ 825ED4E
.string "That stat is relatively good.\n"
.string "…Hm… That's how I call it.$"
BattleFrontier_Lounge1_Text_25ED87: @ 825ED87
BattleFrontier_Lounge1_Text_StatImpressive: @ 825ED87
.string "That stat is quite impressive.\n"
.string "…Hm… That's how I call it.$"
BattleFrontier_Lounge1_Text_25EDC1: @ 825EDC1
BattleFrontier_Lounge1_Text_StatOutstanding: @ 825EDC1
.string "That stat is outstanding!\n"
.string "…Hm… That's how I call it.$"
BattleFrontier_Lounge1_Text_25EDF6: @ 825EDF6
BattleFrontier_Lounge1_Text_StatFlawless: @ 825EDF6
.string "It's flawless! A thing of perfection!\n"
.string "…Hm… That's how I call it.$"
BattleFrontier_Lounge1_Text_25EE37: @ 825EE37
BattleFrontier_Lounge1_Text_NoTimeForMyAdvice: @ 825EE37
.string "What?\n"
.string "You have no time for my advice?\p"
.string "You should always be eager to learn\n"
.string "from the experiences of your elders!$"
BattleFrontier_Lounge1_Text_25EEA6: @ 825EEA6
@ Unused
BattleFrontier_Lounge1_Text_HaveBusinessNeedsTending: @ 825EEA6
.string "Yes, what is it now?\p"
.string "I have business that needs tending!\n"
.string "Save it for next time!$"
BattleFrontier_Lounge1_Text_25EEF6: @ 825EEF6
BattleFrontier_Lounge1_Text_LetsLookAtYourPokemon: @ 825EEF6
.string "Ah, youngster! Do your POKéMON's\n"
.string "abilities intrigue you?\p"
.string "Here, here!\n"
.string "Let's have a look at your POKéMON!$"
BattleFrontier_Lounge1_Text_25EF5E: @ 825EF5E
BattleFrontier_Lounge1_Text_EvenICantTell: @ 825EF5E
.string "An expert I am, but even I can't tell\n"
.string "anything about an unhatched POKéMON!\p"
.string "Show me a POKéMON!\n"
.string "A POKéMON is what I need to see!$"
BattleFrontier_Lounge1_Text_25EFDD: @ 825EFDD
BattleFrontier_Lounge1_Text_SaidMyMonIsOutstanding: @ 825EFDD
.string "He said my POKéMON is outstanding!\n"
.string "I'm glad I raised it carefully!$"
BattleFrontier_Lounge1_Text_25F020: @ 825F020
BattleFrontier_Lounge1_Text_DidntDoAnythingSpecialRaisingIt: @ 825F020
.string "He said my POKéMON is outstanding!\n"
.string "But I didn't do anything special\l"
.string "raising it…$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge2_EventScript_260643",
"script": "BattleFrontier_Lounge2_EventScript_FrontierManiac",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge2_EventScript_26073C",
"script": "BattleFrontier_Lounge2_EventScript_Maniac1",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge2_EventScript_260747",
"script": "BattleFrontier_Lounge2_EventScript_Maniac2",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge2_EventScript_26075D",
"script": "BattleFrontier_Lounge2_EventScript_TriathleteF",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge2_EventScript_260752",
"script": "BattleFrontier_Lounge2_EventScript_Maniac3",
"flag": "0"
}
],

View File

@@ -1,122 +1,128 @@
BattleFrontier_Lounge2_MapScripts:: @ 8260642
.byte 0
BattleFrontier_Lounge2_EventScript_260643:: @ 8260643
@ This NPC gives hints about a random facility or battle mode.
@ For battle modes he gives generic advice
@ For facilities, depending on how far the player has progressed he will say either
@ The name of the Frontier Brain there
@ The type and description of the 3 pokemon they use in their silver battle
@ The type and description of the 3 pokemon they use in their gold battle
BattleFrontier_Lounge2_EventScript_FrontierManiac:: @ 8260643
lock
faceplayer
goto_if_set FLAG_MET_BATTLE_FRONTIER_MANIAC, BattleFrontier_Lounge2_EventScript_26065F
goto_if_set FLAG_MET_BATTLE_FRONTIER_MANIAC, BattleFrontier_Lounge2_EventScript_AlreadyMetManiac
setflag FLAG_MET_BATTLE_FRONTIER_MANIAC
msgbox BattleFrontier_Lounge2_Text_260766, MSGBOX_DEFAULT
goto BattleFrontier_Lounge2_EventScript_26066D
msgbox BattleFrontier_Lounge2_Text_FrontierManiacIntro, MSGBOX_DEFAULT
goto BattleFrontier_Lounge2_EventScript_GiveAdvice
end
BattleFrontier_Lounge2_EventScript_26065F:: @ 826065F
msgbox BattleFrontier_Lounge2_Text_260857, MSGBOX_DEFAULT
goto BattleFrontier_Lounge2_EventScript_26066D
BattleFrontier_Lounge2_EventScript_AlreadyMetManiac:: @ 826065F
msgbox BattleFrontier_Lounge2_Text_SwingByForTheLatestWord, MSGBOX_DEFAULT
goto BattleFrontier_Lounge2_EventScript_GiveAdvice
end
BattleFrontier_Lounge2_EventScript_26066D:: @ 826066D
BattleFrontier_Lounge2_EventScript_GiveAdvice:: @ 826066D
compare VAR_FRONTIER_MANIAC_FACILITY, 0
call_if_eq BattleFrontier_Lounge2_EventScript_26070A
call_if_eq BattleFrontier_Lounge2_EventScript_BufferSingle
compare VAR_FRONTIER_MANIAC_FACILITY, 1
call_if_eq BattleFrontier_Lounge2_EventScript_26070F
call_if_eq BattleFrontier_Lounge2_EventScript_BufferDouble
compare VAR_FRONTIER_MANIAC_FACILITY, 2
call_if_eq BattleFrontier_Lounge2_EventScript_260714
call_if_eq BattleFrontier_Lounge2_EventScript_BufferMulti
compare VAR_FRONTIER_MANIAC_FACILITY, 3
call_if_eq BattleFrontier_Lounge2_EventScript_260719
call_if_eq BattleFrontier_Lounge2_EventScript_BufferMultiLink
compare VAR_FRONTIER_MANIAC_FACILITY, 4
call_if_eq BattleFrontier_Lounge2_EventScript_26071E
call_if_eq BattleFrontier_Lounge2_EventScript_BufferBattleDome
compare VAR_FRONTIER_MANIAC_FACILITY, 5
call_if_eq BattleFrontier_Lounge2_EventScript_260723
call_if_eq BattleFrontier_Lounge2_EventScript_BufferBattleFactory
compare VAR_FRONTIER_MANIAC_FACILITY, 6
call_if_eq BattleFrontier_Lounge2_EventScript_260728
call_if_eq BattleFrontier_Lounge2_EventScript_BufferBattlePalace
compare VAR_FRONTIER_MANIAC_FACILITY, 7
call_if_eq BattleFrontier_Lounge2_EventScript_26072D
call_if_eq BattleFrontier_Lounge2_EventScript_BufferBattleArena
compare VAR_FRONTIER_MANIAC_FACILITY, 8
call_if_eq BattleFrontier_Lounge2_EventScript_260732
call_if_eq BattleFrontier_Lounge2_EventScript_BufferBattlePike
compare VAR_FRONTIER_MANIAC_FACILITY, 9
call_if_eq BattleFrontier_Lounge2_EventScript_260737
call_if_eq BattleFrontier_Lounge2_EventScript_BufferBattlePyramid
compare VAR_FRONTIER_MANIAC_FACILITY, 3
call_if_le BattleFrontier_Lounge2_EventScript_2606F8
call_if_le BattleFrontier_Lounge2_EventScript_BattleTowerNews
compare VAR_FRONTIER_MANIAC_FACILITY, 4
call_if_ge BattleFrontier_Lounge2_EventScript_260701
call_if_ge BattleFrontier_Lounge2_EventScript_FacilityNews
special ShowFrontierManiacMessage
waitmessage
waitbuttonpress
release
end
BattleFrontier_Lounge2_EventScript_2606F8:: @ 82606F8
msgbox BattleFrontier_Lounge2_Text_260933, MSGBOX_DEFAULT
BattleFrontier_Lounge2_EventScript_BattleTowerNews:: @ 82606F8
msgbox BattleFrontier_Lounge2_Text_BattleTowerIsHottest, MSGBOX_DEFAULT
return
BattleFrontier_Lounge2_EventScript_260701:: @ 8260701
msgbox BattleFrontier_Lounge2_Text_2608F2, MSGBOX_DEFAULT
BattleFrontier_Lounge2_EventScript_FacilityNews:: @ 8260701
msgbox BattleFrontier_Lounge2_Text_FacilityIsHottest, MSGBOX_DEFAULT
return
BattleFrontier_Lounge2_EventScript_26070A:: @ 826070A
BattleFrontier_Lounge2_EventScript_BufferSingle:: @ 826070A
bufferstdstring 0, STDSTRING_SINGLE
return
BattleFrontier_Lounge2_EventScript_26070F:: @ 826070F
BattleFrontier_Lounge2_EventScript_BufferDouble:: @ 826070F
bufferstdstring 0, STDSTRING_DOUBLE
return
BattleFrontier_Lounge2_EventScript_260714:: @ 8260714
BattleFrontier_Lounge2_EventScript_BufferMulti:: @ 8260714
bufferstdstring 0, STDSTRING_MULTI
return
BattleFrontier_Lounge2_EventScript_260719:: @ 8260719
BattleFrontier_Lounge2_EventScript_BufferMultiLink:: @ 8260719
bufferstdstring 0, STDSTRING_MULTI_LINK
return
BattleFrontier_Lounge2_EventScript_26071E:: @ 826071E
BattleFrontier_Lounge2_EventScript_BufferBattleDome:: @ 826071E
bufferstdstring 0, STDSTRING_BATTLE_DOME
return
BattleFrontier_Lounge2_EventScript_260723:: @ 8260723
BattleFrontier_Lounge2_EventScript_BufferBattleFactory:: @ 8260723
bufferstdstring 0, STDSTRING_BATTLE_FACTORY
return
BattleFrontier_Lounge2_EventScript_260728:: @ 8260728
BattleFrontier_Lounge2_EventScript_BufferBattlePalace:: @ 8260728
bufferstdstring 0, STDSTRING_BATTLE_PALACE
return
BattleFrontier_Lounge2_EventScript_26072D:: @ 826072D
BattleFrontier_Lounge2_EventScript_BufferBattleArena:: @ 826072D
bufferstdstring 0, STDSTRING_BATTLE_ARENA
return
BattleFrontier_Lounge2_EventScript_260732:: @ 8260732
BattleFrontier_Lounge2_EventScript_BufferBattlePike:: @ 8260732
bufferstdstring 0, STDSTRING_BATTLE_PIKE
return
BattleFrontier_Lounge2_EventScript_260737:: @ 8260737
BattleFrontier_Lounge2_EventScript_BufferBattlePyramid:: @ 8260737
bufferstdstring 0, STDSTRING_BATTLE_PYRAMID
return
BattleFrontier_Lounge2_EventScript_26073C:: @ 826073C
BattleFrontier_Lounge2_EventScript_Maniac1:: @ 826073C
lock
msgbox BattleFrontier_Lounge2_Text_261C9C, MSGBOX_DEFAULT
msgbox BattleFrontier_Lounge2_Text_NewsGatheringPower, MSGBOX_DEFAULT
release
end
BattleFrontier_Lounge2_EventScript_260747:: @ 8260747
BattleFrontier_Lounge2_EventScript_Maniac2:: @ 8260747
lock
msgbox BattleFrontier_Lounge2_Text_261CDC, MSGBOX_DEFAULT
msgbox BattleFrontier_Lounge2_Text_AmazingPowersOfObservation, MSGBOX_DEFAULT
release
end
BattleFrontier_Lounge2_EventScript_260752:: @ 8260752
BattleFrontier_Lounge2_EventScript_Maniac3:: @ 8260752
lock
msgbox BattleFrontier_Lounge2_Text_261D1D, MSGBOX_DEFAULT
msgbox BattleFrontier_Lounge2_Text_AmazingPowerOfPersuasion, MSGBOX_DEFAULT
release
end
BattleFrontier_Lounge2_EventScript_26075D:: @ 826075D
msgbox BattleFrontier_Lounge2_Text_261D5C, MSGBOX_NPC
BattleFrontier_Lounge2_EventScript_TriathleteF:: @ 826075D
msgbox BattleFrontier_Lounge2_Text_ThisPlaceIsScaringMe, MSGBOX_NPC
end
BattleFrontier_Lounge2_Text_260766:: @ 8260766
BattleFrontier_Lounge2_Text_FrontierManiacIntro:: @ 8260766
.string "Howdy! When it comes to news about\n"
.string "the BATTLE FRONTIER, I'm no. 1.\p"
.string "You can think of me as\n"
@@ -126,33 +132,34 @@ BattleFrontier_Lounge2_Text_260766:: @ 8260766
.string "I'll happily share the hottest news\n"
.string "I gathered about the BATTLE FRONTIER.$"
BattleFrontier_Lounge2_Text_260857:: @ 8260857
BattleFrontier_Lounge2_Text_SwingByForTheLatestWord:: @ 8260857
.string "Howdy! Did you swing by to grill me\n"
.string "about the latest word? Oh, all right!$"
BattleFrontier_Lounge2_Text_2608A1:: @ 82608A1
@ Unused
BattleFrontier_Lounge2_Text_MyInformationsBeenUsefulRight:: @ 82608A1
.string "Well? Well? Well?\p"
.string "I'm sure my information's been\n"
.string "seriously useful to you, right?$"
BattleFrontier_Lounge2_Text_2608F2:: @ 82608F2
BattleFrontier_Lounge2_Text_FacilityIsHottest:: @ 82608F2
.string "Let's see now…\p"
.string "It sounds like the {STR_VAR_1}\n"
.string "is the hottest place going.$"
BattleFrontier_Lounge2_Text_260933:: @ 8260933
BattleFrontier_Lounge2_Text_BattleTowerIsHottest:: @ 8260933
.string "Let's see now…\p"
.string "It sounds like BATTLE TOWER\n"
.string "{STR_VAR_1} is the hottest.$"
BattleFrontier_Lounge2_Text_260971:: @ 8260971
BattleFrontier_Lounge2_Text_SalonMaidenIsThere:: @ 8260971
.string "Bet you didn't know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "It's this mysterious TRAINER called\n"
.string "the SALON MAIDEN that runs the place.$"
BattleFrontier_Lounge2_Text_260A1E:: @ 8260A1E
BattleFrontier_Lounge2_Text_SalonMaidenSilverMons:: @ 8260A1E
.string "Have you battled the SALON MAIDEN?\p"
.string "When she's measuring up her opponent,\n"
.string "she apparently uses these POKéMON:\p"
@@ -160,7 +167,7 @@ BattleFrontier_Lounge2_Text_260A1E:: @ 8260A1E
.string "a FIRE-type VOLCANO POKéMON,\l"
.string "and a NORMAL-type SLEEPING POKéMON.$"
BattleFrontier_Lounge2_Text_260AE7:: @ 8260AE7
BattleFrontier_Lounge2_Text_SalonMaidenGoldMons:: @ 8260AE7
.string "Have you battled the SALON MAIDEN\n"
.string "when she's serious?\p"
.string "When she's battling flat out,\n"
@@ -169,14 +176,14 @@ BattleFrontier_Lounge2_Text_260AE7:: @ 8260AE7
.string "an ELECTRIC-type THUNDER POKéMON,\l"
.string "and a NORMAL-type SLEEPING POKéMON.$"
BattleFrontier_Lounge2_Text_260BC4:: @ 8260BC4
BattleFrontier_Lounge2_Text_DomeAceIsThere:: @ 8260BC4
.string "Bet you didn't know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "It's this flamboyant TRAINER called\n"
.string "the DOME ACE that runs the place.$"
BattleFrontier_Lounge2_Text_260C6D:: @ 8260C6D
BattleFrontier_Lounge2_Text_DomeAceSilverMons:: @ 8260C6D
.string "Have you battled the DOME ACE?\p"
.string "When he's treating the opponent\n"
.string "lightly, he uses these three POKéMON:\p"
@@ -184,7 +191,7 @@ BattleFrontier_Lounge2_Text_260C6D:: @ 8260C6D
.string "a WATER & GROUND MUD FISH POKéMON,\l"
.string "and a FIRE & FLYING FLAME POKéMON.$"
BattleFrontier_Lounge2_Text_260D3A:: @ 8260D3A
BattleFrontier_Lounge2_Text_DomeAceGoldMons:: @ 8260D3A
.string "Have you battled the DOME ACE\n"
.string "when he's serious?\p"
.string "When he's demonstrating his strategy,\n"
@@ -194,14 +201,14 @@ BattleFrontier_Lounge2_Text_260D3A:: @ 8260D3A
.string "and a STEEL- & PSYCHIC-type IRON LEG\l"
.string "POKéMON.$"
BattleFrontier_Lounge2_Text_260E1E:: @ 8260E1E
BattleFrontier_Lounge2_Text_FactoryHeadIsThere:: @ 8260E1E
.string "Bet you didn't know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "It's this freaky TRAINER called\n"
.string "the FACTORY HEAD that runs the place.$"
BattleFrontier_Lounge2_Text_260EC7:: @ 8260EC7
BattleFrontier_Lounge2_Text_FactoryHeadSilverMons:: @ 8260EC7
.string "Have you battled the FACTORY HEAD\n"
.string "already?\p"
.string "Let me think… When he goes to battle,\n"
@@ -209,7 +216,7 @@ BattleFrontier_Lounge2_Text_260EC7:: @ 8260EC7
.string "He battles under pretty much the same\n"
.string "conditions as you.$"
BattleFrontier_Lounge2_Text_260F74:: @ 8260F74
BattleFrontier_Lounge2_Text_FactoryHeadGoldMons:: @ 8260F74
.string "Have you battled the FACTORY HEAD\n"
.string "when he's serious?\p"
.string "When he goes seriously to battle,\n"
@@ -217,14 +224,14 @@ BattleFrontier_Lounge2_Text_260F74:: @ 8260F74
.string "He battles under virtually the same\n"
.string "conditions as you.$"
BattleFrontier_Lounge2_Text_261026:: @ 8261026
BattleFrontier_Lounge2_Text_PikeQueenIsThere:: @ 8261026
.string "Bet you didn't know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "It's this scary TRAINER called\n"
.string "the PIKE QUEEN that runs the place.$"
BattleFrontier_Lounge2_Text_2610CC:: @ 82610CC
BattleFrontier_Lounge2_Text_PikeQueenSilverMons:: @ 82610CC
.string "Have you battled the PIKE QUEEN\n"
.string "before?\p"
.string "When she's in a good mood, they say\n"
@@ -233,7 +240,7 @@ BattleFrontier_Lounge2_Text_2610CC:: @ 82610CC
.string "a BUG & ROCK MOLD POKéMON,\l"
.string "and a WATER-type TENDER POKéMON.$"
BattleFrontier_Lounge2_Text_261194:: @ 8261194
BattleFrontier_Lounge2_Text_PikeQueenGoldMons:: @ 8261194
.string "Have you battled the PIKE QUEEN\n"
.string "when she's serious?\p"
.string "When she's seriously annoyed, they say\n"
@@ -243,14 +250,14 @@ BattleFrontier_Lounge2_Text_261194:: @ 8261194
.string "and a WATER- & FLYING-type ATROCIOUS\l"
.string "POKéMON.$"
BattleFrontier_Lounge2_Text_261282:: @ 8261282
BattleFrontier_Lounge2_Text_ArenaTycoonIsThere:: @ 8261282
.string "Bet you didn't know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "It's this cute TRAINER called\n"
.string "the ARENA TYCOON that runs the place.$"
BattleFrontier_Lounge2_Text_261329:: @ 8261329
BattleFrontier_Lounge2_Text_ArenaTycoonSilverMons:: @ 8261329
.string "Have you battled the ARENA TYCOON\n"
.string "before?\p"
.string "When she's assessing the foe's ability,\n"
@@ -259,7 +266,7 @@ BattleFrontier_Lounge2_Text_261329:: @ 8261329
.string "a DARK-type MOONLIGHT POKéMON,\l"
.string "and a BUG & GHOST SHED POKéMON.$"
BattleFrontier_Lounge2_Text_261403:: @ 8261403
BattleFrontier_Lounge2_Text_ArenaTycoonGoldMons:: @ 8261403
.string "Have you battled the ARENA TYCOON\n"
.string "when she's serious?\p"
.string "When she battles for keeps,\n"
@@ -269,14 +276,14 @@ BattleFrontier_Lounge2_Text_261403:: @ 8261403
.string "and a GRASS- & FIGHTING-type\l"
.string "MUSHROOM POKéMON.$"
BattleFrontier_Lounge2_Text_2614E6:: @ 82614E6
BattleFrontier_Lounge2_Text_PalaceMavenIsThere:: @ 82614E6
.string "Bet you didn't know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "It's this sinister TRAINER called\n"
.string "the PALACE MAVEN that runs the place.$"
BattleFrontier_Lounge2_Text_261591:: @ 8261591
BattleFrontier_Lounge2_Text_PalaceMavenSilverMons:: @ 8261591
.string "Have you battled the PALACE MAVEN\n"
.string "before?\p"
.string "When he's testing the opponent's\n"
@@ -285,7 +292,7 @@ BattleFrontier_Lounge2_Text_261591:: @ 8261591
.string "a NORMAL-type LAZY POKéMON, and a\l"
.string "WATER- & ICE-type TRANSPORT POKéMON.$"
BattleFrontier_Lounge2_Text_26166F:: @ 826166F
BattleFrontier_Lounge2_Text_PalaceMavenGoldMons:: @ 826166F
.string "Have you battled the PALACE MAVEN\n"
.string "when he's serious?\p"
.string "When he throws his entire might into\n"
@@ -294,14 +301,14 @@ BattleFrontier_Lounge2_Text_26166F:: @ 826166F
.string "a NORMAL-type LAZY POKéMON,\l"
.string "and a WATER-type AURORA POKéMON.$"
BattleFrontier_Lounge2_Text_26174D:: @ 826174D
BattleFrontier_Lounge2_Text_PyramidKingIsThere:: @ 826174D
.string "Bet you didn't know this!\p"
.string "One of those top TRAINERS that SCOTT\n"
.string "calls the FRONTIER BRAINS is there.\p"
.string "It's this fiery-hot TRAINER called\n"
.string "the PYRAMID KING that runs the place.$"
BattleFrontier_Lounge2_Text_2617F9:: @ 82617F9
BattleFrontier_Lounge2_Text_PyramidKingSilverMons:: @ 82617F9
.string "Have you battled the PYRAMID KING\n"
.string "before?\p"
.string "When he's checking the foe's power,\n"
@@ -310,7 +317,7 @@ BattleFrontier_Lounge2_Text_2617F9:: @ 82617F9
.string "an ICE-type ICEBERG POKéMON,\l"
.string "and a STEEL-type IRON POKéMON.$"
BattleFrontier_Lounge2_Text_2618C4:: @ 82618C4
BattleFrontier_Lounge2_Text_PyramidKingGoldMons:: @ 82618C4
.string "Have you battled the PYRAMID KING\n"
.string "when he's serious?\p"
.string "When he's pumped with hot power,\n"
@@ -320,7 +327,7 @@ BattleFrontier_Lounge2_Text_2618C4:: @ 82618C4
.string "and a FIRE- & FLYING-type FLAME\l"
.string "POKéMON.$"
BattleFrontier_Lounge2_Text_2619AC:: @ 82619AC
BattleFrontier_Lounge2_Text_DoubleBattleAdvice1:: @ 82619AC
.string "Sure, there are several places where\n"
.string "you can enter DOUBLE BATTLES.\p"
.string "But the DOUBLE BATTLE ROOMS of\n"
@@ -329,44 +336,44 @@ BattleFrontier_Lounge2_Text_2619AC:: @ 82619AC
.string "how DOUBLE BATTLES are played here\l"
.string "in the BATTLE FRONTIER.$"
BattleFrontier_Lounge2_Text_261A91:: @ 8261A91
BattleFrontier_Lounge2_Text_DoubleBattleAdvice2:: @ 8261A91
.string "Watch yourself in the battles here.\p"
.string "I hear there are TRAINERS that have\n"
.string "strategies they developed just for\l"
.string "DOUBLE BATTLES.$"
BattleFrontier_Lounge2_Text_261B0C:: @ 8261B0C
BattleFrontier_Lounge2_Text_DoubleBattleAdvice3:: @ 8261B0C
.string "Once you're confident and comfortable\n"
.string "with DOUBLE BATTLES here, you should\l"
.string "think about challenging other places\l"
.string "offering DOUBLE BATTLES.$"
BattleFrontier_Lounge2_Text_261B95:: @ 8261B95
BattleFrontier_Lounge2_Text_MultiBattleAdvice:: @ 8261B95
.string "All sorts of TRAINERS gather in\n"
.string "the BATTLE SALON.\p"
.string "Just think--you may run into your\n"
.string "friends or followers!\l"
.string "You should look carefully!$"
BattleFrontier_Lounge2_Text_261C1A:: @ 8261C1A
BattleFrontier_Lounge2_Text_LinkMultiBattleAdvice:: @ 8261C1A
.string "If you're with a friend, head for the\n"
.string "LINK MULTI BATTLE ROOM.\p"
.string "If you play with a strong friend,\n"
.string "you can expect to see tough foes!$"
BattleFrontier_Lounge2_Text_261C9C:: @ 8261C9C
BattleFrontier_Lounge2_Text_NewsGatheringPower:: @ 8261C9C
.string "What amazing news-gathering power!\n"
.string "My mentor's like none other!$"
BattleFrontier_Lounge2_Text_261CDC:: @ 8261CDC
BattleFrontier_Lounge2_Text_AmazingPowersOfObservation:: @ 8261CDC
.string "What amazing powers of observation!\n"
.string "My mentor's like none other!$"
BattleFrontier_Lounge2_Text_261D1D:: @ 8261D1D
BattleFrontier_Lounge2_Text_AmazingPowerOfPersuasion:: @ 8261D1D
.string "What amazing power of persuasion!\n"
.string "My mentor's like none other!$"
BattleFrontier_Lounge2_Text_261D5C:: @ 8261D5C
BattleFrontier_Lounge2_Text_ThisPlaceIsScaringMe:: @ 8261D5C
.string "…What is this place?\n"
.string "It's scaring me…$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge3_EventScript_261D83",
"script": "BattleFrontier_Lounge3_EventScript_Gambler",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge3_EventScript_261FE1",
"script": "BattleFrontier_Lounge3_EventScript_FatMan",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge3_EventScript_261FC1",
"script": "BattleFrontier_Lounge3_EventScript_Woman",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge3_EventScript_261FD1",
"script": "BattleFrontier_Lounge3_EventScript_PokefanF",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 3,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge3_EventScript_261FB8",
"script": "BattleFrontier_Lounge3_EventScript_Man",
"flag": "0"
}
],

View File

@@ -1,81 +1,85 @@
BattleFrontier_Lounge3_MapScripts:: @ 8261D82
.byte 0
BattleFrontier_Lounge3_EventScript_261D83:: @ 8261D83
.set BET_AMOUNT_5, 5
.set BET_AMOUNT_10, 10
.set BET_AMOUNT_15, 15
BattleFrontier_Lounge3_EventScript_Gambler:: @ 8261D83
lock
faceplayer
goto_if_set FLAG_MET_BATTLE_FRONTIER_BETTOR, BattleFrontier_Lounge3_EventScript_261EF9
call BattleFrontier_Lounge3_EventScript_261EA0
goto_if_set FLAG_MET_BATTLE_FRONTIER_GAMBLER, BattleFrontier_Lounge3_EventScript_AlreadyMetGambler
call BattleFrontier_Lounge3_EventScript_CountSilverSymbols
compare VAR_0x8004, 2
goto_if_le BattleFrontier_Lounge3_EventScript_261EEB
setflag FLAG_MET_BATTLE_FRONTIER_BETTOR
msgbox BattleFrontier_Lounge3_Text_262061, MSGBOX_DEFAULT
goto BattleFrontier_Lounge3_EventScript_261DAF
goto_if_le BattleFrontier_Lounge3_EventScript_NotEnoughSilverSymbols
setflag FLAG_MET_BATTLE_FRONTIER_GAMBLER
msgbox BattleFrontier_Lounge3_Text_YouLookToughExplainGambling, MSGBOX_DEFAULT
goto BattleFrontier_Lounge3_EventScript_AskToEnterChallenge
end
BattleFrontier_Lounge3_EventScript_261DAF:: @ 8261DAF
BattleFrontier_Lounge3_EventScript_AskToEnterChallenge:: @ 8261DAF
special ShowFrontierGamblerLookingMessage
waitmessage
waitbuttonpress
msgbox BattleFrontier_Lounge3_Text_262A60, MSGBOX_YESNO
msgbox BattleFrontier_Lounge3_Text_HowAboutEnteringEventForMe, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_Lounge3_EventScript_261FA5
msgbox BattleFrontier_Lounge3_Text_262ABD, MSGBOX_YESNO
goto_if_eq BattleFrontier_Lounge3_EventScript_DeclineChallenge
msgbox BattleFrontier_Lounge3_Text_SpotMeSomeBattlePoints, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_Lounge3_EventScript_261FA5
message BattleFrontier_Lounge3_Text_262B42
goto_if_eq BattleFrontier_Lounge3_EventScript_DeclineChallenge
message BattleFrontier_Lounge3_Text_HowMuchCanYouSpot
waitmessage
special ShowBattlePointsWindow
goto BattleFrontier_Lounge3_EventScript_261DE9
goto BattleFrontier_Lounge3_EventScript_ChooseBetAmount
end
BattleFrontier_Lounge3_EventScript_261DE9:: @ 8261DE9
BattleFrontier_Lounge3_EventScript_ChooseBetAmount:: @ 8261DE9
multichoice 20, 4, MULTI_FRONTIER_GAMBLER_BET, 0
copyvar VAR_FRONTIER_GAMBLER_AMOUNT_BET, VAR_RESULT
switch VAR_RESULT
case FRONTIER_GAMBLER_BET_5, BattleFrontier_Lounge3_EventScript_261E30
case FRONTIER_GAMBLER_BET_10, BattleFrontier_Lounge3_EventScript_261E3B
case FRONTIER_GAMBLER_BET_15, BattleFrontier_Lounge3_EventScript_261E46
case FRONTIER_GAMBLER_BET_CANCEL, BattleFrontier_Lounge3_EventScript_261FAF
case MULTI_B_PRESSED, BattleFrontier_Lounge3_EventScript_261FAF
case FRONTIER_GAMBLER_BET_5, BattleFrontier_Lounge3_EventScript_Bet5
case FRONTIER_GAMBLER_BET_10, BattleFrontier_Lounge3_EventScript_Bet10
case FRONTIER_GAMBLER_BET_15, BattleFrontier_Lounge3_EventScript_Bet15
case FRONTIER_GAMBLER_BET_CANCEL, BattleFrontier_Lounge3_EventScript_CancelBet
case MULTI_B_PRESSED, BattleFrontier_Lounge3_EventScript_CancelBet
end
BattleFrontier_Lounge3_EventScript_261E30:: @ 8261E30
setvar VAR_0x8008, 5
goto BattleFrontier_Lounge3_EventScript_261E51
BattleFrontier_Lounge3_EventScript_Bet5:: @ 8261E30
setvar VAR_0x8008, BET_AMOUNT_5
goto BattleFrontier_Lounge3_EventScript_TryPlaceBet
end
BattleFrontier_Lounge3_EventScript_261E3B:: @ 8261E3B
setvar VAR_0x8008, 10
goto BattleFrontier_Lounge3_EventScript_261E51
BattleFrontier_Lounge3_EventScript_Bet10:: @ 8261E3B
setvar VAR_0x8008, BET_AMOUNT_10
goto BattleFrontier_Lounge3_EventScript_TryPlaceBet
end
BattleFrontier_Lounge3_EventScript_261E46:: @ 8261E46
setvar VAR_0x8008, 15
goto BattleFrontier_Lounge3_EventScript_261E51
BattleFrontier_Lounge3_EventScript_Bet15:: @ 8261E46
setvar VAR_0x8008, BET_AMOUNT_15
goto BattleFrontier_Lounge3_EventScript_TryPlaceBet
end
BattleFrontier_Lounge3_EventScript_261E51:: @ 8261E51
BattleFrontier_Lounge3_EventScript_TryPlaceBet:: @ 8261E51
specialvar VAR_TEMP_1, GetFrontierBattlePoints
compare VAR_TEMP_1, VAR_0x8008
goto_if_ge BattleFrontier_Lounge3_EventScript_261E75
msgbox BattleFrontier_Lounge3_Text_262B6E, MSGBOX_DEFAULT
message BattleFrontier_Lounge3_Text_262B42
goto_if_ge BattleFrontier_Lounge3_EventScript_PlaceBet
msgbox BattleFrontier_Lounge3_Text_YouDontHaveEnoughPoints, MSGBOX_DEFAULT
message BattleFrontier_Lounge3_Text_HowMuchCanYouSpot
waitmessage
goto BattleFrontier_Lounge3_EventScript_261DE9
goto BattleFrontier_Lounge3_EventScript_ChooseBetAmount
end
BattleFrontier_Lounge3_EventScript_261E75:: @ 8261E75
BattleFrontier_Lounge3_EventScript_PlaceBet:: @ 8261E75
copyvar VAR_0x8004, VAR_0x8008
special TakeFrontierBattlePoints
setvar VAR_FRONTIER_GAMBLER_STATE, FRONTIER_GAMBLER_PLACED_BET
special UpdateBattlePointsWindow
playse SE_REGI
msgbox BattleFrontier_Lounge3_Text_262BE0, MSGBOX_DEFAULT
goto BattleFrontier_Lounge3_EventScript_261E96
msgbox BattleFrontier_Lounge3_Text_ThanksOffYouGo, MSGBOX_DEFAULT
goto BattleFrontier_Lounge3_EventScript_FinishBet
end
BattleFrontier_Lounge3_EventScript_261E96:: @ 8261E96
BattleFrontier_Lounge3_EventScript_FinishBet:: @ 8261E96
special ShowFrontierGamblerGoMessage
waitmessage
waitbuttonpress
@@ -83,132 +87,132 @@ BattleFrontier_Lounge3_EventScript_261E96:: @ 8261E96
release
end
BattleFrontier_Lounge3_EventScript_261EA0:: @ 8261EA0
BattleFrontier_Lounge3_EventScript_CountSilverSymbols:: @ 8261EA0
setvar VAR_0x8004, 0
call_if_set FLAG_SYS_TOWER_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
call_if_set FLAG_SYS_DOME_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
call_if_set FLAG_SYS_PALACE_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
call_if_set FLAG_SYS_ARENA_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
call_if_set FLAG_SYS_FACTORY_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
call_if_set FLAG_SYS_PIKE_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
call_if_set FLAG_SYS_PYRAMID_SILVER, BattleFrontier_Lounge3_EventScript_261EE5
call_if_set FLAG_SYS_TOWER_SILVER, BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount
call_if_set FLAG_SYS_DOME_SILVER, BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount
call_if_set FLAG_SYS_PALACE_SILVER, BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount
call_if_set FLAG_SYS_ARENA_SILVER, BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount
call_if_set FLAG_SYS_FACTORY_SILVER, BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount
call_if_set FLAG_SYS_PIKE_SILVER, BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount
call_if_set FLAG_SYS_PYRAMID_SILVER, BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount
return
BattleFrontier_Lounge3_EventScript_261EE5:: @ 8261EE5
BattleFrontier_Lounge3_EventScript_AddSilverSymbolCount:: @ 8261EE5
addvar VAR_0x8004, 1
return
BattleFrontier_Lounge3_EventScript_261EEB:: @ 8261EEB
msgbox BattleFrontier_Lounge3_Text_261FFE, MSGBOX_DEFAULT
goto BattleFrontier_Lounge3_EventScript_261FF1
BattleFrontier_Lounge3_EventScript_NotEnoughSilverSymbols:: @ 8261EEB
msgbox BattleFrontier_Lounge3_Text_CantYouSeeWereBusyHere, MSGBOX_DEFAULT
goto BattleFrontier_Lounge3_EventScript_FaceOriginalDirection
end
BattleFrontier_Lounge3_EventScript_261EF9:: @ 8261EF9
msgbox BattleFrontier_Lounge3_Text_26346B, MSGBOX_DEFAULT
BattleFrontier_Lounge3_EventScript_AlreadyMetGambler:: @ 8261EF9
msgbox BattleFrontier_Lounge3_Text_Oh, MSGBOX_DEFAULT
compare VAR_FRONTIER_GAMBLER_STATE, FRONTIER_GAMBLER_PLACED_BET
goto_if_ge BattleFrontier_Lounge3_EventScript_261F12
goto BattleFrontier_Lounge3_EventScript_261DAF
goto_if_ge BattleFrontier_Lounge3_EventScript_CheckBetResults
goto BattleFrontier_Lounge3_EventScript_AskToEnterChallenge
end
BattleFrontier_Lounge3_EventScript_261F12:: @ 8261F12
BattleFrontier_Lounge3_EventScript_CheckBetResults:: @ 8261F12
compare VAR_FRONTIER_GAMBLER_STATE, FRONTIER_GAMBLER_PLACED_BET
goto_if_eq BattleFrontier_Lounge3_EventScript_261F9E
goto_if_eq BattleFrontier_Lounge3_EventScript_ChallengeNotAttempted
compare VAR_FRONTIER_GAMBLER_STATE, FRONTIER_GAMBLER_WON
goto_if_eq BattleFrontier_Lounge3_EventScript_261F2E
goto BattleFrontier_Lounge3_EventScript_261F71
goto_if_eq BattleFrontier_Lounge3_EventScript_WonChallenge
goto BattleFrontier_Lounge3_EventScript_LostChallenge
end
BattleFrontier_Lounge3_EventScript_261F2E:: @ 8261F2E
msgbox BattleFrontier_Lounge3_Text_263334, MSGBOX_DEFAULT
BattleFrontier_Lounge3_EventScript_WonChallenge:: @ 8261F2E
msgbox BattleFrontier_Lounge3_Text_HelloChampHeresYourPoints, MSGBOX_DEFAULT
compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, FRONTIER_GAMBLER_BET_5
call_if_eq BattleFrontier_Lounge3_EventScript_261F80
call_if_eq BattleFrontier_Lounge3_EventScript_RewardBet5
compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, FRONTIER_GAMBLER_BET_10
call_if_eq BattleFrontier_Lounge3_EventScript_261F8A
call_if_eq BattleFrontier_Lounge3_EventScript_RewardBet10
compare VAR_FRONTIER_GAMBLER_AMOUNT_BET, FRONTIER_GAMBLER_BET_15
call_if_eq BattleFrontier_Lounge3_EventScript_261F94
msgbox BattleFrontier_Lounge3_Text_2633D4, 9
call_if_eq BattleFrontier_Lounge3_EventScript_RewardBet15
msgbox BattleFrontier_Lounge3_Text_ObtainedBattlePoints, MSGBOX_GETPOINTS
special GiveFrontierBattlePoints
msgbox BattleFrontier_Lounge3_Text_2633F2, MSGBOX_DEFAULT
msgbox BattleFrontier_Lounge3_Text_ThinkOfMeForAnotherChallenge, MSGBOX_DEFAULT
setvar VAR_FRONTIER_GAMBLER_STATE, FRONTIER_GAMBLER_WAITING
release
end
BattleFrontier_Lounge3_EventScript_261F71:: @ 8261F71
msgbox BattleFrontier_Lounge3_Text_263298, MSGBOX_DEFAULT
BattleFrontier_Lounge3_EventScript_LostChallenge:: @ 8261F71
msgbox BattleFrontier_Lounge3_Text_NiceTryCantReturnPoints, MSGBOX_DEFAULT
setvar VAR_FRONTIER_GAMBLER_STATE, FRONTIER_GAMBLER_WAITING
release
end
BattleFrontier_Lounge3_EventScript_261F80:: @ 8261F80
buffernumberstring 0, 10
setvar VAR_0x8004, 10
BattleFrontier_Lounge3_EventScript_RewardBet5:: @ 8261F80
buffernumberstring 0, (BET_AMOUNT_5 * 2)
setvar VAR_0x8004, (BET_AMOUNT_5 * 2)
return
BattleFrontier_Lounge3_EventScript_261F8A:: @ 8261F8A
buffernumberstring 0, 20
setvar VAR_0x8004, 20
BattleFrontier_Lounge3_EventScript_RewardBet10:: @ 8261F8A
buffernumberstring 0, (BET_AMOUNT_10 * 2)
setvar VAR_0x8004, (BET_AMOUNT_10 * 2)
return
BattleFrontier_Lounge3_EventScript_261F94:: @ 8261F94
buffernumberstring 0, 30
setvar VAR_0x8004, 30
BattleFrontier_Lounge3_EventScript_RewardBet15:: @ 8261F94
buffernumberstring 0, (BET_AMOUNT_15 * 2)
setvar VAR_0x8004, (BET_AMOUNT_15 * 2)
return
BattleFrontier_Lounge3_EventScript_261F9E:: @ 8261F9E
BattleFrontier_Lounge3_EventScript_ChallengeNotAttempted:: @ 8261F9E
special ShowFrontierGamblerGoMessage
waitmessage
waitbuttonpress
release
end
BattleFrontier_Lounge3_EventScript_261FA5:: @ 8261FA5
msgbox BattleFrontier_Lounge3_Text_26342D, MSGBOX_DEFAULT
BattleFrontier_Lounge3_EventScript_DeclineChallenge:: @ 8261FA5
msgbox BattleFrontier_Lounge3_Text_NotInterested, MSGBOX_DEFAULT
release
end
BattleFrontier_Lounge3_EventScript_261FAF:: @ 8261FAF
BattleFrontier_Lounge3_EventScript_CancelBet:: @ 8261FAF
special CloseBattlePointsWindow
goto BattleFrontier_Lounge3_EventScript_261FA5
goto BattleFrontier_Lounge3_EventScript_DeclineChallenge
end
BattleFrontier_Lounge3_EventScript_261FB8:: @ 8261FB8
msgbox BattleFrontier_Lounge3_Text_263545, MSGBOX_NPC
BattleFrontier_Lounge3_EventScript_Man:: @ 8261FB8
msgbox BattleFrontier_Lounge3_Text_ShouldBeTakingChallenges, MSGBOX_NPC
end
BattleFrontier_Lounge3_EventScript_261FC1:: @ 8261FC1
BattleFrontier_Lounge3_EventScript_Woman:: @ 8261FC1
lock
faceplayer
msgbox BattleFrontier_Lounge3_Text_26346F, MSGBOX_DEFAULT
goto BattleFrontier_Lounge3_EventScript_261FF1
msgbox BattleFrontier_Lounge3_Text_BackedWrongTrainer, MSGBOX_DEFAULT
goto BattleFrontier_Lounge3_EventScript_FaceOriginalDirection
end
BattleFrontier_Lounge3_EventScript_261FD1:: @ 8261FD1
BattleFrontier_Lounge3_EventScript_PokefanF:: @ 8261FD1
lock
faceplayer
msgbox BattleFrontier_Lounge3_Text_26351D, MSGBOX_DEFAULT
goto BattleFrontier_Lounge3_EventScript_261FF1
msgbox BattleFrontier_Lounge3_Text_KnowWinnerWhenISeeOne, MSGBOX_DEFAULT
goto BattleFrontier_Lounge3_EventScript_FaceOriginalDirection
end
BattleFrontier_Lounge3_EventScript_261FE1:: @ 8261FE1
BattleFrontier_Lounge3_EventScript_FatMan:: @ 8261FE1
lock
faceplayer
msgbox BattleFrontier_Lounge3_Text_2634C9, MSGBOX_DEFAULT
goto BattleFrontier_Lounge3_EventScript_261FF1
msgbox BattleFrontier_Lounge3_Text_TrainerGoodButRattled, MSGBOX_DEFAULT
goto BattleFrontier_Lounge3_EventScript_FaceOriginalDirection
end
BattleFrontier_Lounge3_EventScript_261FF1:: @ 8261FF1
BattleFrontier_Lounge3_EventScript_FaceOriginalDirection:: @ 8261FF1
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
BattleFrontier_Lounge3_Text_261FFE:: @ 8261FFE
BattleFrontier_Lounge3_Text_CantYouSeeWereBusyHere:: @ 8261FFE
.string "…What's that you want?\p"
.string "Can't you see we're kind of busy here?\n"
.string "Can't your business wait till later?$"
BattleFrontier_Lounge3_Text_262061:: @ 8262061
BattleFrontier_Lounge3_Text_YouLookToughExplainGambling:: @ 8262061
.string "…Huh?\n"
.string "You look to me like a tough TRAINER.\p"
.string "Heheh…\n"
@@ -228,201 +232,201 @@ BattleFrontier_Lounge3_Text_262061:: @ 8262061
.string "Sounds simple, huh?\n"
.string "So, anyway…$"
BattleFrontier_Lounge3_Text_262261:: @ 8262261
BattleFrontier_Lounge3_Text_ChallengeBattleTowerSingle:: @ 8262261
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be challenging the BATTLE\l"
.string "TOWER's SINGLE BATTLE ROOMS.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_26230D:: @ 826230D
BattleFrontier_Lounge3_Text_ChallengeBattleTowerDouble:: @ 826230D
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be challenging the BATTLE\l"
.string "TOWER's DOUBLE BATTLE ROOMS.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_2623B9:: @ 82623B9
BattleFrontier_Lounge3_Text_ChallengeBattleTowerMulti:: @ 82623B9
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be challenging the BATTLE\l"
.string "TOWER's MULTI BATTLE ROOMS.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_262464:: @ 8262464
BattleFrontier_Lounge3_Text_ChallengeBattleDomeSingle:: @ 8262464
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be entering the BATTLE\l"
.string "DOME's SINGLE BATTLE Tourney.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_26250E:: @ 826250E
BattleFrontier_Lounge3_Text_ChallengeBattleDomeDouble:: @ 826250E
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be entering the BATTLE\l"
.string "DOME's DOUBLE BATTLE Tourney.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_2625B8:: @ 82625B8
BattleFrontier_Lounge3_Text_ChallengeBattleFactorySingle:: @ 82625B8
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be entering the BATTLE\l"
.string "FACTORY's Battle Swap Single Tourney.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_26266A:: @ 826266A
BattleFrontier_Lounge3_Text_ChallengeBattleFactoryDouble:: @ 826266A
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be entering the BATTLE\l"
.string "FACTORY's Battle Swap Double Tourney.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_26271C:: @ 826271C
BattleFrontier_Lounge3_Text_ChallengeBattlePalaceSingle:: @ 826271C
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be challenging the BATTLE\l"
.string "PALACE's SINGLE BATTLE HALLS.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_2627C9:: @ 82627C9
BattleFrontier_Lounge3_Text_ChallengeBattlePalaceDouble:: @ 82627C9
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be challenging the BATTLE\l"
.string "PALACE's DOUBLE BATTLE HALLS.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_262876:: @ 8262876
BattleFrontier_Lounge3_Text_ChallengeBattleArena:: @ 8262876
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be entering the BATTLE\l"
.string "ARENA's Set KO Tourney.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_26291A:: @ 826291A
BattleFrontier_Lounge3_Text_ChallengeBattlePike:: @ 826291A
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be entering the BATTLE PIKE's\l"
.string "Battle Choice.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_2629BC:: @ 82629BC
BattleFrontier_Lounge3_Text_ChallengeBattlePyramid:: @ 82629BC
.string "What I'm looking for is a TRAINER who's\n"
.string "going to be entering the BATTLE\l"
.string "PYRAMID's Battle Quest.\p"
.string "But so far, I haven't seen a TRAINER\n"
.string "that has that winning quality.$"
BattleFrontier_Lounge3_Text_262A60:: @ 8262A60
BattleFrontier_Lounge3_Text_HowAboutEnteringEventForMe:: @ 8262A60
.string "I'll see to it that you benefit, too.\n"
.string "So how about it?\l"
.string "How about entering that event for me?$"
BattleFrontier_Lounge3_Text_262ABD:: @ 8262ABD
BattleFrontier_Lounge3_Text_SpotMeSomeBattlePoints:: @ 8262ABD
.string "All right, that's perfect.\n"
.string "So, uh… How about spotting me some\l"
.string "of your Battle Points?\p"
.string "Trust me, I'll show you my gratitude\n"
.string "afterward.$"
BattleFrontier_Lounge3_Text_262B42:: @ 8262B42
BattleFrontier_Lounge3_Text_HowMuchCanYouSpot:: @ 8262B42
.string "Great, great!\n"
.string "So, how much can you spot me?$"
BattleFrontier_Lounge3_Text_262B6E:: @ 8262B6E
BattleFrontier_Lounge3_Text_YouDontHaveEnoughPoints:: @ 8262B6E
.string "Oh, no, no, no!\n"
.string "You don't have enough Battle Points!\p"
.string "I wish you wouldn't monkey around and\n"
.string "waste everyone's time!$"
BattleFrontier_Lounge3_Text_262BE0:: @ 8262BE0
BattleFrontier_Lounge3_Text_ThanksOffYouGo:: @ 8262BE0
.string "Heheh! Thanks much!\n"
.string "So, off you go!$"
BattleFrontier_Lounge3_Text_262C04:: @ 8262C04
BattleFrontier_Lounge3_Text_GetToBattleTowerSingle:: @ 8262C04
.string "Get to the BATTLE TOWER's\n"
.string "SINGLE BATTLE ROOMS pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_262C90:: @ 8262C90
BattleFrontier_Lounge3_Text_GetToBattleTowerDouble:: @ 8262C90
.string "Get to the BATTLE TOWER's\n"
.string "DOUBLE BATTLE ROOMS pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_262D1C:: @ 8262D1C
BattleFrontier_Lounge3_Text_GetToBattleTowerMulti:: @ 8262D1C
.string "Get to the BATTLE TOWER's\n"
.string "MULTI BATTLE ROOMS pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_262DA7:: @ 8262DA7
BattleFrontier_Lounge3_Text_GetToBattleDomeSingle:: @ 8262DA7
.string "Get to the BATTLE DOME's\n"
.string "SINGLE BATTLE Tourney pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_262E34:: @ 8262E34
BattleFrontier_Lounge3_Text_GetToBattleDomeDouble:: @ 8262E34
.string "Get to the BATTLE DOME's\n"
.string "DOUBLE BATTLE Tourney pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_262EC1:: @ 8262EC1
BattleFrontier_Lounge3_Text_GetToBattleFactorySingle:: @ 8262EC1
.string "Get to the BATTLE FACTORY's\n"
.string "Battle Swap Single Tourney pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_262F56:: @ 8262F56
BattleFrontier_Lounge3_Text_GetToBattleFactoryDouble:: @ 8262F56
.string "Get to the BATTLE FACTORY's\n"
.string "Battle Swap Double Tourney pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_262FEB:: @ 8262FEB
BattleFrontier_Lounge3_Text_GetToBattlePalaceSingle:: @ 8262FEB
.string "Get to the BATTLE PALACE's\n"
.string "SINGLE BATTLE HALLS pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_263078:: @ 8263078
BattleFrontier_Lounge3_Text_GetToBattlePalaceDouble:: @ 8263078
.string "Get to the BATTLE PALACE's\n"
.string "DOUBLE BATTLE HALLS pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_263105:: @ 8263105
BattleFrontier_Lounge3_Text_GetToBattleArena:: @ 8263105
.string "Get to the BATTLE ARENA's\n"
.string "Set KO Tourney pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_26318C:: @ 826318C
BattleFrontier_Lounge3_Text_GetToBattlePike:: @ 826318C
.string "Get to the BATTLE PIKE's\n"
.string "Battle Choice pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_263211:: @ 8263211
BattleFrontier_Lounge3_Text_GetToBattlePyramid:: @ 8263211
.string "Get to the BATTLE PYRAMID's\n"
.string "Battle Quest pronto!\p"
.string "It's a must-win situation!\n"
.string "Don't blow your chance!\l"
.string "Both of our futures depend on you!$"
BattleFrontier_Lounge3_Text_263298:: @ 8263298
BattleFrontier_Lounge3_Text_NiceTryCantReturnPoints:: @ 8263298
.string "Oh, it's you…\n"
.string "Nice try…\p"
.string "I hate to break it to you, but I can't\n"
@@ -430,7 +434,7 @@ BattleFrontier_Lounge3_Text_263298:: @ 8263298
.string "I guess we'll have to let it motivate\n"
.string "us to try harder next time!$"
BattleFrontier_Lounge3_Text_263334:: @ 8263334
BattleFrontier_Lounge3_Text_HelloChampHeresYourPoints:: @ 8263334
.string "Oh, yes!\n"
.string "Hello there, champ!\p"
.string "I knew you could!\n"
@@ -439,36 +443,36 @@ BattleFrontier_Lounge3_Text_263334:: @ 8263334
.string "I'll return your Battle Points and,\n"
.string "of course, a little extra from me!$"
BattleFrontier_Lounge3_Text_2633D4:: @ 82633D4
BattleFrontier_Lounge3_Text_ObtainedBattlePoints:: @ 82633D4
.string "{PLAYER} obtained\n"
.string "{STR_VAR_1} Battle Points.$"
BattleFrontier_Lounge3_Text_2633F2:: @ 82633F2
BattleFrontier_Lounge3_Text_ThinkOfMeForAnotherChallenge:: @ 82633F2
.string "If you're up for another challenge,\n"
.string "please do think of me!$"
BattleFrontier_Lounge3_Text_26342D:: @ 826342D
BattleFrontier_Lounge3_Text_NotInterested:: @ 826342D
.string "Not interested?! You shouldn't be\n"
.string "so afraid to take a chance!$"
BattleFrontier_Lounge3_Text_26346B:: @ 826346B
BattleFrontier_Lounge3_Text_Oh:: @ 826346B
.string "Oh…$"
BattleFrontier_Lounge3_Text_26346F:: @ 826346F
BattleFrontier_Lounge3_Text_BackedWrongTrainer:: @ 826346F
.string "I backed the wrong TRAINER again!\p"
.string "Maybe I should be battling normally\n"
.string "like everyone else…$"
BattleFrontier_Lounge3_Text_2634C9:: @ 82634C9
BattleFrontier_Lounge3_Text_TrainerGoodButRattled:: @ 82634C9
.string "That TRAINER…\p"
.string "He's good, but he gets rattled too\n"
.string "easily to survive the BATTLE DOME…$"
BattleFrontier_Lounge3_Text_26351D:: @ 826351D
BattleFrontier_Lounge3_Text_KnowWinnerWhenISeeOne:: @ 826351D
.string "Giggle!\n"
.string "I know a winner when I see one!$"
BattleFrontier_Lounge3_Text_263545:: @ 8263545
BattleFrontier_Lounge3_Text_ShouldBeTakingChallenges:: @ 8263545
.string "Those TRAINERS…\n"
.string "What are they doing?\l"
.string "They should be taking challenges.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge4_EventScript_26358D",
"script": "BattleFrontier_Lounge4_EventScript_Woman",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge4_EventScript_263596",
"script": "BattleFrontier_Lounge4_EventScript_Cook",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge4_EventScript_26359F",
"script": "BattleFrontier_Lounge4_EventScript_Man",
"flag": "0"
}
],

View File

@@ -1,27 +1,27 @@
BattleFrontier_Lounge4_MapScripts:: @ 826358C
.byte 0
BattleFrontier_Lounge4_EventScript_26358D:: @ 826358D
msgbox BattleFrontier_Lounge4_Text_2635A8, MSGBOX_NPC
BattleFrontier_Lounge4_EventScript_Woman:: @ 826358D
msgbox BattleFrontier_Lounge4_Text_WonderIfInterviewsAiring, MSGBOX_NPC
end
BattleFrontier_Lounge4_EventScript_263596:: @ 8263596
msgbox BattleFrontier_Lounge4_Text_2635EC, MSGBOX_NPC
BattleFrontier_Lounge4_EventScript_Cook:: @ 8263596
msgbox BattleFrontier_Lounge4_Text_IfIOpenedRestaurantHere, MSGBOX_NPC
end
BattleFrontier_Lounge4_EventScript_26359F:: @ 826359F
msgbox BattleFrontier_Lounge4_Text_263625, MSGBOX_NPC
BattleFrontier_Lounge4_EventScript_Man:: @ 826359F
msgbox BattleFrontier_Lounge4_Text_NeedBreatherAfterBattles, MSGBOX_NPC
end
BattleFrontier_Lounge4_Text_2635A8: @ 82635A8
BattleFrontier_Lounge4_Text_WonderIfInterviewsAiring: @ 82635A8
.string "I wonder if they'll be airing interviews\n"
.string "with tough TRAINERS today?$"
BattleFrontier_Lounge4_Text_2635EC: @ 82635EC
BattleFrontier_Lounge4_Text_IfIOpenedRestaurantHere: @ 82635EC
.string "If I opened a restaurant here,\n"
.string "it'd make money for sure.$"
BattleFrontier_Lounge4_Text_263625: @ 8263625
BattleFrontier_Lounge4_Text_NeedBreatherAfterBattles: @ 8263625
.string "Whew…\p"
.string "I need to take a breather after\n"
.string "some intense battles…\p"

View File

@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge5_EventScript_264617",
"script": "BattleFrontier_Lounge5_EventScript_Gentleman",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge5_EventScript_264620",
"script": "BattleFrontier_Lounge5_EventScript_BlackBelt",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge5_EventScript_264629",
"script": "BattleFrontier_Lounge5_EventScript_LittleBoy",
"flag": "0"
}
],

View File

@@ -32,16 +32,16 @@ BattleFrontier_Lounge5_EventScript_NatureGirlNoneShown:: @ 826460D
release
end
BattleFrontier_Lounge5_EventScript_264617:: @ 8264617
msgbox BattleFrontier_Lounge5_Text_264F22, MSGBOX_NPC
BattleFrontier_Lounge5_EventScript_Gentleman:: @ 8264617
msgbox BattleFrontier_Lounge5_Text_LadyClaimsSheUnderstandsPokemon, MSGBOX_NPC
end
BattleFrontier_Lounge5_EventScript_264620:: @ 8264620
msgbox BattleFrontier_Lounge5_Text_264F64, MSGBOX_NPC
BattleFrontier_Lounge5_EventScript_BlackBelt:: @ 8264620
msgbox BattleFrontier_Lounge5_Text_GirlSayingSomethingProfound, MSGBOX_NPC
end
BattleFrontier_Lounge5_EventScript_264629:: @ 8264629
msgbox BattleFrontier_Lounge5_Text_264FAB, MSGBOX_NPC
BattleFrontier_Lounge5_EventScript_LittleBoy:: @ 8264629
msgbox BattleFrontier_Lounge5_Text_GirlPlaysAtRedHouseALot, MSGBOX_NPC
end
BattleFrontier_Lounge5_Text_NatureGirlGreeting:: @ 8264632
@@ -190,16 +190,16 @@ BattleFrontier_Lounge5_Text_NatureGirlEgg:: @ 8264EEE
.string "That's silly! An EGG is asleep!\n"
.string "I can't talk to it!$"
BattleFrontier_Lounge5_Text_264F22:: @ 8264F22
BattleFrontier_Lounge5_Text_LadyClaimsSheUnderstandsPokemon:: @ 8264F22
.string "How charming!\n"
.string "That little lady claims she can\l"
.string "understand POKéMON!$"
BattleFrontier_Lounge5_Text_264F64:: @ 8264F64
BattleFrontier_Lounge5_Text_GirlSayingSomethingProfound:: @ 8264F64
.string "I have this feeling that the little girl\n"
.string "is saying something profound.$"
BattleFrontier_Lounge5_Text_264FAB:: @ 8264FAB
BattleFrontier_Lounge5_Text_GirlPlaysAtRedHouseALot:: @ 8264FAB
.string "I know something!\p"
.string "That little girl plays at the red house\n"
.string "a lot!$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge6_EventScript_264FED",
"script": "BattleFrontier_Lounge6_EventScript_Trader",
"flag": "0"
}
],

View File

@@ -1,54 +1,54 @@
BattleFrontier_Lounge6_MapScripts:: @ 8264FEC
.byte 0
BattleFrontier_Lounge6_EventScript_264FED:: @ 8264FED
BattleFrontier_Lounge6_EventScript_Trader:: @ 8264FED
lock
faceplayer
goto_if_set FLAG_BATTLE_FRONTIER_TRADE_DONE, BattleFrontier_Lounge6_EventScript_265083
goto_if_set FLAG_BATTLE_FRONTIER_TRADE_DONE, BattleFrontier_Lounge6_EventScript_TradeCompleted
setvar VAR_0x8008, INGAME_TRADE_MEOWTH
copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_0x8009, VAR_RESULT
msgbox BattleFrontier_Lounge6_Text_26508D, MSGBOX_YESNO
msgbox BattleFrontier_Lounge6_Text_WouldYouLikeToTrade, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_Lounge6_EventScript_26506B
goto_if_eq BattleFrontier_Lounge6_EventScript_DeclineTrade
special ChoosePartyMon
waitstate
copyvar VAR_0x800A, VAR_0x8004
compare VAR_0x8004, 255
goto_if_eq BattleFrontier_Lounge6_EventScript_26506B
goto_if_eq BattleFrontier_Lounge6_EventScript_DeclineTrade
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, GetTradeSpecies
copyvar VAR_0x800B, VAR_RESULT
compare VAR_RESULT, VAR_0x8009
goto_if_ne BattleFrontier_Lounge6_EventScript_265075
goto_if_ne BattleFrontier_Lounge6_EventScript_NotRequestedMon
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
special CreateInGameTradePokemon
special DoInGameTradeScene
waitstate
msgbox BattleFrontier_Lounge6_Text_265128, MSGBOX_DEFAULT
msgbox BattleFrontier_Lounge6_Text_PromiseIllBeGoodToIt, MSGBOX_DEFAULT
setflag FLAG_BATTLE_FRONTIER_TRADE_DONE
release
end
BattleFrontier_Lounge6_EventScript_26506B:: @ 826506B
msgbox BattleFrontier_Lounge6_Text_2651CB, MSGBOX_DEFAULT
BattleFrontier_Lounge6_EventScript_DeclineTrade:: @ 826506B
msgbox BattleFrontier_Lounge6_Text_WellThatsFineToo, MSGBOX_DEFAULT
release
end
BattleFrontier_Lounge6_EventScript_265075:: @ 8265075
BattleFrontier_Lounge6_EventScript_NotRequestedMon:: @ 8265075
bufferspeciesname 0, VAR_0x8009
msgbox BattleFrontier_Lounge6_Text_26518D, MSGBOX_DEFAULT
msgbox BattleFrontier_Lounge6_Text_DontTradeForAnythingButMon, MSGBOX_DEFAULT
release
end
BattleFrontier_Lounge6_EventScript_265083:: @ 8265083
msgbox BattleFrontier_Lounge6_Text_26520E, MSGBOX_DEFAULT
BattleFrontier_Lounge6_EventScript_TradeCompleted:: @ 8265083
msgbox BattleFrontier_Lounge6_Text_SkittySoMuchCuterThanImagined, MSGBOX_DEFAULT
release
end
BattleFrontier_Lounge6_Text_26508D: @ 826508D
BattleFrontier_Lounge6_Text_WouldYouLikeToTrade: @ 826508D
.string "My POKéMON is a {STR_VAR_2}.\n"
.string "Do you know it?\l"
.string "It's quite cute and rather nice.\p"
@@ -57,24 +57,24 @@ BattleFrontier_Lounge6_Text_26508D: @ 826508D
.string "Would you like to trade me a {STR_VAR_1}\n"
.string "for my {STR_VAR_2}?$"
BattleFrontier_Lounge6_Text_265128: @ 8265128
BattleFrontier_Lounge6_Text_PromiseIllBeGoodToIt: @ 8265128
.string "Oh, it's adorable!\n"
.string "Thank you!\l"
.string "I promise I'll be good to it!\p"
.string "Oh! I hope you'll be good to\n"
.string "my {STR_VAR_2}, too!$"
BattleFrontier_Lounge6_Text_26518D: @ 826518D
BattleFrontier_Lounge6_Text_DontTradeForAnythingButMon: @ 826518D
.string "Oh, I'm sorry!\n"
.string "I don't intend to trade for anything\l"
.string "but a {STR_VAR_1}.$"
BattleFrontier_Lounge6_Text_2651CB: @ 82651CB
BattleFrontier_Lounge6_Text_WellThatsFineToo: @ 82651CB
.string "Oh, you won't?\n"
.string "Well, that's fine, too.\l"
.string "Please come visit us again.$"
BattleFrontier_Lounge6_Text_26520E: @ 826520E
BattleFrontier_Lounge6_Text_SkittySoMuchCuterThanImagined: @ 826520E
.string "Giggle!\n"
.string "A SKITTY is so much cuter than I had\l"
.string "imagined. I'm delighted!$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge7_EventScript_2656DB",
"script": "BattleFrontier_Lounge7_EventScript_Sailor",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge7_EventScript_265255",
"script": "BattleFrontier_Lounge7_EventScript_LeftMoveTutor",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge7_EventScript_265445",
"script": "BattleFrontier_Lounge7_EventScript_RightMoveTutor",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge7_EventScript_2656E4",
"script": "BattleFrontier_Lounge7_EventScript_Gentleman",
"flag": "0"
}
],

View File

@@ -1,23 +1,23 @@
BattleFrontier_Lounge7_MapScripts:: @ 8265254
.byte 0
BattleFrontier_Lounge7_EventScript_265255:: @ 8265255
BattleFrontier_Lounge7_EventScript_LeftMoveTutor:: @ 8265255
lock
faceplayer
setvar VAR_TEMP_C, 9
goto_if_set FLAG_MET_FRONTIER_BEAUTY_MOVE_TUTOR, BattleFrontier_Lounge7_EventScript_265276
msgbox BattleFrontier_Lounge7_Text_2656ED, MSGBOX_DEFAULT
setvar VAR_TEMP_C, SCROLL_MULTI_BF_MOVE_TUTOR_1
goto_if_set FLAG_MET_FRONTIER_BEAUTY_MOVE_TUTOR, BattleFrontier_Lounge7_EventScript_AlreadyMetLeftTutor
msgbox BattleFrontier_Lounge7_Text_LeftTutorIntro, MSGBOX_DEFAULT
setflag FLAG_MET_FRONTIER_BEAUTY_MOVE_TUTOR
goto BattleFrontier_Lounge7_EventScript_265284
goto BattleFrontier_Lounge7_EventScript_ChooseLeftTutorMove
end
BattleFrontier_Lounge7_EventScript_265276:: @ 8265276
msgbox BattleFrontier_Lounge7_Text_2658AB, MSGBOX_DEFAULT
goto BattleFrontier_Lounge7_EventScript_265284
BattleFrontier_Lounge7_EventScript_AlreadyMetLeftTutor:: @ 8265276
msgbox BattleFrontier_Lounge7_Text_LeftTutorWelcomeBack, MSGBOX_DEFAULT
goto BattleFrontier_Lounge7_EventScript_ChooseLeftTutorMove
end
BattleFrontier_Lounge7_EventScript_265284:: @ 8265284
message BattleFrontier_Lounge7_Text_2658EF
BattleFrontier_Lounge7_EventScript_ChooseLeftTutorMove:: @ 8265284
message BattleFrontier_Lounge7_Text_TeachWhichMove
waitmessage
special ShowBattlePointsWindow
setvar VAR_TEMP_E, 0
@@ -27,22 +27,22 @@ BattleFrontier_Lounge7_EventScript_265284:: @ 8265284
waitstate
copyvar VAR_TEMP_D, VAR_RESULT
switch VAR_RESULT
case 0, BattleFrontier_Lounge7_EventScript_2653D7
case 1, BattleFrontier_Lounge7_EventScript_2653E2
case 2, BattleFrontier_Lounge7_EventScript_2653ED
case 3, BattleFrontier_Lounge7_EventScript_2653F8
case 4, BattleFrontier_Lounge7_EventScript_265403
case 5, BattleFrontier_Lounge7_EventScript_26540E
case 6, BattleFrontier_Lounge7_EventScript_265419
case 7, BattleFrontier_Lounge7_EventScript_265424
case 8, BattleFrontier_Lounge7_EventScript_26542F
case 9, BattleFrontier_Lounge7_EventScript_26543A
case 10, BattleFrontier_Lounge7_EventScript_265635
case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_265635
case 0, BattleFrontier_Lounge7_EventScript_Softboiled
case 1, BattleFrontier_Lounge7_EventScript_SeismicToss
case 2, BattleFrontier_Lounge7_EventScript_DreamEater
case 3, BattleFrontier_Lounge7_EventScript_MegaPunch
case 4, BattleFrontier_Lounge7_EventScript_MegaKick
case 5, BattleFrontier_Lounge7_EventScript_BodySlam
case 6, BattleFrontier_Lounge7_EventScript_RockSlide
case 7, BattleFrontier_Lounge7_EventScript_Counter
case 8, BattleFrontier_Lounge7_EventScript_ThunderWave
case 9, BattleFrontier_Lounge7_EventScript_SwordsDance
case 10, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
end
BattleFrontier_Lounge7_EventScript_26532F:: @ 826532F
message BattleFrontier_Lounge7_Text_2658EF
BattleFrontier_Lounge7_EventScript_ChooseNewLeftTutorMove:: @ 826532F
message BattleFrontier_Lounge7_Text_TeachWhichMove
waitmessage
setvar VAR_TEMP_E, 0
setvar VAR_0x8004, SCROLL_MULTI_BF_MOVE_TUTOR_1
@@ -51,87 +51,87 @@ BattleFrontier_Lounge7_EventScript_26532F:: @ 826532F
waitstate
copyvar VAR_TEMP_D, VAR_RESULT
switch VAR_RESULT
case 0, BattleFrontier_Lounge7_EventScript_2653D7
case 1, BattleFrontier_Lounge7_EventScript_2653E2
case 2, BattleFrontier_Lounge7_EventScript_2653ED
case 3, BattleFrontier_Lounge7_EventScript_2653F8
case 4, BattleFrontier_Lounge7_EventScript_265403
case 5, BattleFrontier_Lounge7_EventScript_26540E
case 6, BattleFrontier_Lounge7_EventScript_265419
case 7, BattleFrontier_Lounge7_EventScript_265424
case 8, BattleFrontier_Lounge7_EventScript_26542F
case 9, BattleFrontier_Lounge7_EventScript_26543A
case 10, BattleFrontier_Lounge7_EventScript_265635
case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_265635
case 0, BattleFrontier_Lounge7_EventScript_Softboiled
case 1, BattleFrontier_Lounge7_EventScript_SeismicToss
case 2, BattleFrontier_Lounge7_EventScript_DreamEater
case 3, BattleFrontier_Lounge7_EventScript_MegaPunch
case 4, BattleFrontier_Lounge7_EventScript_MegaKick
case 5, BattleFrontier_Lounge7_EventScript_BodySlam
case 6, BattleFrontier_Lounge7_EventScript_RockSlide
case 7, BattleFrontier_Lounge7_EventScript_Counter
case 8, BattleFrontier_Lounge7_EventScript_ThunderWave
case 9, BattleFrontier_Lounge7_EventScript_SwordsDance
case 10, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
end
BattleFrontier_Lounge7_EventScript_2653D7:: @ 82653D7
BattleFrontier_Lounge7_EventScript_Softboiled:: @ 82653D7
setvar VAR_0x8008, 16
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_2653E2:: @ 82653E2
BattleFrontier_Lounge7_EventScript_SeismicToss:: @ 82653E2
setvar VAR_0x8008, 24
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_2653ED:: @ 82653ED
BattleFrontier_Lounge7_EventScript_DreamEater:: @ 82653ED
setvar VAR_0x8008, 24
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_2653F8:: @ 82653F8
BattleFrontier_Lounge7_EventScript_MegaPunch:: @ 82653F8
setvar VAR_0x8008, 24
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_265403:: @ 8265403
BattleFrontier_Lounge7_EventScript_MegaKick:: @ 8265403
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_26540E:: @ 826540E
BattleFrontier_Lounge7_EventScript_BodySlam:: @ 826540E
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_265419:: @ 8265419
BattleFrontier_Lounge7_EventScript_RockSlide:: @ 8265419
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_265424:: @ 8265424
BattleFrontier_Lounge7_EventScript_Counter:: @ 8265424
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_26542F:: @ 826542F
BattleFrontier_Lounge7_EventScript_ThunderWave:: @ 826542F
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_26543A:: @ 826543A
BattleFrontier_Lounge7_EventScript_SwordsDance:: @ 826543A
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_265445:: @ 8265445
BattleFrontier_Lounge7_EventScript_RightMoveTutor:: @ 8265445
lock
faceplayer
setvar VAR_TEMP_C, 10
goto_if_set FLAG_MET_FRONTIER_SWIMMER_MOVE_TUTOR, BattleFrontier_Lounge7_EventScript_265466
msgbox BattleFrontier_Lounge7_Text_265A6C, MSGBOX_DEFAULT
setvar VAR_TEMP_C, SCROLL_MULTI_BF_MOVE_TUTOR_2
goto_if_set FLAG_MET_FRONTIER_SWIMMER_MOVE_TUTOR, BattleFrontier_Lounge7_EventScript_AlreadyMetRightTutor
msgbox BattleFrontier_Lounge7_Text_RightTutorIntro, MSGBOX_DEFAULT
setflag FLAG_MET_FRONTIER_SWIMMER_MOVE_TUTOR
goto BattleFrontier_Lounge7_EventScript_265474
goto BattleFrontier_Lounge7_EventScript_ChooseRightTutorMove
end
BattleFrontier_Lounge7_EventScript_265466:: @ 8265466
msgbox BattleFrontier_Lounge7_Text_265C2C, MSGBOX_DEFAULT
goto BattleFrontier_Lounge7_EventScript_265474
BattleFrontier_Lounge7_EventScript_AlreadyMetRightTutor:: @ 8265466
msgbox BattleFrontier_Lounge7_Text_RightTutorWelcomeBack, MSGBOX_DEFAULT
goto BattleFrontier_Lounge7_EventScript_ChooseRightTutorMove
end
BattleFrontier_Lounge7_EventScript_265474:: @ 8265474
message BattleFrontier_Lounge7_Text_2658EF
BattleFrontier_Lounge7_EventScript_ChooseRightTutorMove:: @ 8265474
message BattleFrontier_Lounge7_Text_TeachWhichMove
waitmessage
special ShowBattlePointsWindow
setvar VAR_TEMP_E, 1
@@ -141,22 +141,22 @@ BattleFrontier_Lounge7_EventScript_265474:: @ 8265474
waitstate
copyvar VAR_TEMP_D, VAR_RESULT
switch VAR_RESULT
case 0, BattleFrontier_Lounge7_EventScript_2655C7
case 1, BattleFrontier_Lounge7_EventScript_2655D2
case 2, BattleFrontier_Lounge7_EventScript_2655DD
case 3, BattleFrontier_Lounge7_EventScript_2655E8
case 4, BattleFrontier_Lounge7_EventScript_2655F3
case 5, BattleFrontier_Lounge7_EventScript_2655FE
case 6, BattleFrontier_Lounge7_EventScript_265609
case 7, BattleFrontier_Lounge7_EventScript_265614
case 8, BattleFrontier_Lounge7_EventScript_26561F
case 9, BattleFrontier_Lounge7_EventScript_26562A
case 10, BattleFrontier_Lounge7_EventScript_265635
case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_265635
case 0, BattleFrontier_Lounge7_EventScript_DefenseCurl
case 1, BattleFrontier_Lounge7_EventScript_Snore
case 2, BattleFrontier_Lounge7_EventScript_MudSlap
case 3, BattleFrontier_Lounge7_EventScript_Swift
case 4, BattleFrontier_Lounge7_EventScript_IcyWind
case 5, BattleFrontier_Lounge7_EventScript_Endure
case 6, BattleFrontier_Lounge7_EventScript_PsychUp
case 7, BattleFrontier_Lounge7_EventScript_IcePunch
case 8, BattleFrontier_Lounge7_EventScript_ThunderPunch
case 9, BattleFrontier_Lounge7_EventScript_FirePunch
case 10, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
end
BattleFrontier_Lounge7_EventScript_26551F:: @ 826551F
message BattleFrontier_Lounge7_Text_2658EF
BattleFrontier_Lounge7_EventScript_ChooseNewRightTutorMove:: @ 826551F
message BattleFrontier_Lounge7_Text_TeachWhichMove
waitmessage
setvar VAR_TEMP_E, 1
setvar VAR_0x8004, SCROLL_MULTI_BF_MOVE_TUTOR_2
@@ -165,131 +165,133 @@ BattleFrontier_Lounge7_EventScript_26551F:: @ 826551F
waitstate
copyvar VAR_TEMP_D, VAR_RESULT
switch VAR_RESULT
case 0, BattleFrontier_Lounge7_EventScript_2655C7
case 1, BattleFrontier_Lounge7_EventScript_2655D2
case 2, BattleFrontier_Lounge7_EventScript_2655DD
case 3, BattleFrontier_Lounge7_EventScript_2655E8
case 4, BattleFrontier_Lounge7_EventScript_2655F3
case 5, BattleFrontier_Lounge7_EventScript_2655FE
case 6, BattleFrontier_Lounge7_EventScript_265609
case 7, BattleFrontier_Lounge7_EventScript_265614
case 8, BattleFrontier_Lounge7_EventScript_26561F
case 9, BattleFrontier_Lounge7_EventScript_26562A
case 10, BattleFrontier_Lounge7_EventScript_265635
case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_265635
case 0, BattleFrontier_Lounge7_EventScript_DefenseCurl
case 1, BattleFrontier_Lounge7_EventScript_Snore
case 2, BattleFrontier_Lounge7_EventScript_MudSlap
case 3, BattleFrontier_Lounge7_EventScript_Swift
case 4, BattleFrontier_Lounge7_EventScript_IcyWind
case 5, BattleFrontier_Lounge7_EventScript_Endure
case 6, BattleFrontier_Lounge7_EventScript_PsychUp
case 7, BattleFrontier_Lounge7_EventScript_IcePunch
case 8, BattleFrontier_Lounge7_EventScript_ThunderPunch
case 9, BattleFrontier_Lounge7_EventScript_FirePunch
case 10, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
end
BattleFrontier_Lounge7_EventScript_2655C7:: @ 82655C7
BattleFrontier_Lounge7_EventScript_DefenseCurl:: @ 82655C7
setvar VAR_0x8008, 16
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_2655D2:: @ 82655D2
BattleFrontier_Lounge7_EventScript_Snore:: @ 82655D2
setvar VAR_0x8008, 24
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_2655DD:: @ 82655DD
BattleFrontier_Lounge7_EventScript_MudSlap:: @ 82655DD
setvar VAR_0x8008, 24
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_2655E8:: @ 82655E8
BattleFrontier_Lounge7_EventScript_Swift:: @ 82655E8
setvar VAR_0x8008, 24
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_2655F3:: @ 82655F3
BattleFrontier_Lounge7_EventScript_IcyWind:: @ 82655F3
setvar VAR_0x8008, 24
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_2655FE:: @ 82655FE
BattleFrontier_Lounge7_EventScript_Endure:: @ 82655FE
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_265609:: @ 8265609
BattleFrontier_Lounge7_EventScript_PsychUp:: @ 8265609
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_265614:: @ 8265614
BattleFrontier_Lounge7_EventScript_IcePunch:: @ 8265614
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_26561F:: @ 826561F
BattleFrontier_Lounge7_EventScript_ThunderPunch:: @ 826561F
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_26562A:: @ 826562A
BattleFrontier_Lounge7_EventScript_FirePunch:: @ 826562A
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_26564F
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_265635:: @ 8265635
BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect:: @ 8265635
special CloseBattleFrontierTutorWindow
special CloseBattlePointsWindow
msgbox BattleFrontier_Lounge7_Text_265A0E, MSGBOX_DEFAULT
msgbox BattleFrontier_Lounge7_Text_YouDontWantTo, MSGBOX_DEFAULT
release
end
BattleFrontier_Lounge7_EventScript_265645:: @ 8265645
msgbox BattleFrontier_Lounge7_Text_265A0E, MSGBOX_DEFAULT
BattleFrontier_Lounge7_EventScript_CancelChooseMon:: @ 8265645
msgbox BattleFrontier_Lounge7_Text_YouDontWantTo, MSGBOX_DEFAULT
release
end
@ VAR_0x8004 here is used to determine which move name to buffer
@ VAR_0x8005 here is used to determine which move tutor was spoken to
BattleFrontier_Lounge7_EventScript_26564F:: @ 826564F
@ VAR_0x8008 is the price
@ VAR_TEMP_C is the scroll multichoice ID
@ VAR_TEMP_D is the move selection
@ VAR_TEMP_E is which move tutor was spoken to
BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection:: @ 826564F
copyvar VAR_0x8004, VAR_TEMP_D
copyvar VAR_0x8005, VAR_TEMP_E
special BufferBattleFrontierTutorMoveName
buffernumberstring 1, VAR_0x8008
copyvar VAR_0x8004, VAR_TEMP_C
msgbox BattleFrontier_Lounge7_Text_265921, MSGBOX_YESNO
msgbox BattleFrontier_Lounge7_Text_MoveWillBeXBattlePoints, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_Lounge7_EventScript_2656CA
goto_if_eq BattleFrontier_Lounge7_EventScript_ChooseNewMove
specialvar VAR_TEMP_1, GetFrontierBattlePoints
compare VAR_TEMP_1, VAR_0x8008
goto_if_ge BattleFrontier_Lounge7_EventScript_265696
msgbox BattleFrontier_Lounge7_Text_265997, MSGBOX_DEFAULT
goto BattleFrontier_Lounge7_EventScript_2656CA
goto_if_ge BattleFrontier_Lounge7_EventScript_TeachTutorMove
msgbox BattleFrontier_Lounge7_Text_HaventGotEnoughPoints, MSGBOX_DEFAULT
goto BattleFrontier_Lounge7_EventScript_ChooseNewMove
end
BattleFrontier_Lounge7_EventScript_265696:: @ 8265696
msgbox BattleFrontier_Lounge7_Text_26595A, MSGBOX_DEFAULT
BattleFrontier_Lounge7_EventScript_TeachTutorMove:: @ 8265696
msgbox BattleFrontier_Lounge7_Text_TeachMoveToWhichMon, MSGBOX_DEFAULT
special GetBattleFrontierTutorMoveIndex
fadescreen 1
special CloseBattlePointsWindow
special CloseBattleFrontierTutorWindow
special ChooseMonForMoveTutor
waitstate
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_Lounge7_EventScript_265645
msgbox BattleFrontier_Lounge7_Text_2659C7, MSGBOX_DEFAULT
compare VAR_RESULT, FALSE
goto_if_eq BattleFrontier_Lounge7_EventScript_CancelChooseMon
msgbox BattleFrontier_Lounge7_Text_IllTakeBattlePoints, MSGBOX_DEFAULT
copyvar VAR_0x8004, VAR_0x8008
special TakeFrontierBattlePoints
release
end
BattleFrontier_Lounge7_EventScript_2656CA:: @ 82656CA
BattleFrontier_Lounge7_EventScript_ChooseNewMove:: @ 82656CA
compare VAR_TEMP_E, 0
goto_if_eq BattleFrontier_Lounge7_EventScript_26532F
goto BattleFrontier_Lounge7_EventScript_26551F
goto_if_eq BattleFrontier_Lounge7_EventScript_ChooseNewLeftTutorMove
goto BattleFrontier_Lounge7_EventScript_ChooseNewRightTutorMove
end
BattleFrontier_Lounge7_EventScript_2656DB:: @ 82656DB
msgbox BattleFrontier_Lounge7_Text_265C6F, MSGBOX_NPC
BattleFrontier_Lounge7_EventScript_Sailor:: @ 82656DB
msgbox BattleFrontier_Lounge7_Text_ThinkLadiesDontGetAlong, MSGBOX_NPC
end
BattleFrontier_Lounge7_EventScript_2656E4:: @ 82656E4
msgbox BattleFrontier_Lounge7_Text_265D17, MSGBOX_NPC
BattleFrontier_Lounge7_EventScript_Gentleman:: @ 82656E4
msgbox BattleFrontier_Lounge7_Text_LadiesWereStrongAndBeautiful, MSGBOX_NPC
end
BattleFrontier_Lounge7_Text_2656ED: @ 82656ED
BattleFrontier_Lounge7_Text_LeftTutorIntro: @ 82656ED
.string "Buhahaha!\p"
.string "You couldn't tell it from looking now,\n"
.string "but I used to be one tough TRAINER.\p"
@@ -307,38 +309,38 @@ BattleFrontier_Lounge7_Text_2656ED: @ 82656ED
.string "How about paying for the moves I teach\l"
.string "with a wee bit of Battle Points?$"
BattleFrontier_Lounge7_Text_2658AB: @ 82658AB
BattleFrontier_Lounge7_Text_LeftTutorWelcomeBack: @ 82658AB
.string "Buhahaha!\p"
.string "Are you back to learn special and\n"
.string "yet cute POKéMON moves?$"
BattleFrontier_Lounge7_Text_2658EF: @ 82658EF
BattleFrontier_Lounge7_Text_TeachWhichMove: @ 82658EF
.string "Fine, fine, look here!\n"
.string "Which move should I teach?$"
BattleFrontier_Lounge7_Text_265921: @ 8265921
BattleFrontier_Lounge7_Text_MoveWillBeXBattlePoints: @ 8265921
.string "The move {STR_VAR_1}, is it?\n"
.string "That will be {STR_VAR_2} Battle Points, okay?$"
BattleFrontier_Lounge7_Text_26595A: @ 826595A
BattleFrontier_Lounge7_Text_TeachMoveToWhichMon: @ 826595A
.string "Fine, fine, now pick the POKéMON\n"
.string "I should teach the move to.$"
BattleFrontier_Lounge7_Text_265997: @ 8265997
BattleFrontier_Lounge7_Text_HaventGotEnoughPoints: @ 8265997
.string "What the…\n"
.string "You haven't got enough Battle Points!$"
BattleFrontier_Lounge7_Text_2659C7: @ 82659C7
BattleFrontier_Lounge7_Text_IllTakeBattlePoints: @ 82659C7
.string "Do you see how skilled I am now?\n"
.string "I'll take your Battle Points, thanks!$"
BattleFrontier_Lounge7_Text_265A0E: @ 8265A0E
BattleFrontier_Lounge7_Text_YouDontWantTo: @ 8265A0E
.string "What's that?\n"
.string "You don't want to…\p"
.string "If you want to see how skilled I am,\n"
.string "you come see me anytime!$"
BattleFrontier_Lounge7_Text_265A6C: @ 8265A6C
BattleFrontier_Lounge7_Text_RightTutorIntro: @ 8265A6C
.string "Ihihihi!\p"
.string "I know it's hard to see now, but I used\n"
.string "to be one fantastic TRAINER.\p"
@@ -356,19 +358,19 @@ BattleFrontier_Lounge7_Text_265A6C: @ 8265A6C
.string "How about paying for the moves I teach\l"
.string "with a wee bit of Battle Points?$"
BattleFrontier_Lounge7_Text_265C2C: @ 8265C2C
BattleFrontier_Lounge7_Text_RightTutorWelcomeBack: @ 8265C2C
.string "Ihihihi!\p"
.string "Have you come to learn hard and\n"
.string "yet pretty POKéMON moves?$"
BattleFrontier_Lounge7_Text_265C6F: @ 8265C6F
BattleFrontier_Lounge7_Text_ThinkLadiesDontGetAlong: @ 8265C6F
.string "Those ladies, the way they bad-mouth\n"
.string "each other, you probably think that\l"
.string "they don't get along.\p"
.string "But if that were true, they wouldn't\n"
.string "stay out here together, would they?$"
BattleFrontier_Lounge7_Text_265D17: @ 8265D17
BattleFrontier_Lounge7_Text_LadiesWereStrongAndBeautiful: @ 8265D17
.string "When I was just a wee YOUNGSTER,\n"
.string "those ladies were strong and beautiful.\p"
.string "They were idols among us TRAINERS.\p"
@@ -380,102 +382,102 @@ BattleFrontier_Lounge7_Text_265D17: @ 8265D17
.string "but feel this…\p"
.string "Time is so cruel…$"
BattleFrontier_Lounge7_Text_265E30:: @ 8265E30
BattleFrontier_Lounge7_Text_SoftboiledDesc:: @ 8265E30
.string "Recovers up to\n"
.string "half the user's\n"
.string "maximum HP.$"
BattleFrontier_Lounge7_Text_265E5B:: @ 8265E5B
BattleFrontier_Lounge7_Text_SeismicTossDesc:: @ 8265E5B
.string "Inflicts damage\n"
.string "identical to the\n"
.string "user's level.$"
BattleFrontier_Lounge7_Text_265E8A:: @ 8265E8A
BattleFrontier_Lounge7_Text_DreamEaterDesc:: @ 8265E8A
.string "Recovers half the\n"
.string "damage inflicted\n"
.string "on a sleeping foe.$"
BattleFrontier_Lounge7_Text_265EC0:: @ 8265EC0
BattleFrontier_Lounge7_Text_MegaPunchDesc:: @ 8265EC0
.string "A strong punch\n"
.string "thrown with\n"
.string "incredible power.$"
BattleFrontier_Lounge7_Text_265EED:: @ 8265EED
BattleFrontier_Lounge7_Text_MegaKickDesc:: @ 8265EED
.string "An extremely\n"
.string "powerful kick with\n"
.string "intense force.$"
BattleFrontier_Lounge7_Text_265F1C:: @ 8265F1C
BattleFrontier_Lounge7_Text_BodySlamDesc:: @ 8265F1C
.string "A full-body slam\n"
.string "that may cause\n"
.string "paralysis.$"
BattleFrontier_Lounge7_Text_265F47:: @ 8265F47
BattleFrontier_Lounge7_Text_RockSlideDesc:: @ 8265F47
.string "Large boulders\n"
.string "are hurled. May\n"
.string "cause flinching.$"
BattleFrontier_Lounge7_Text_265F77:: @ 8265F77
BattleFrontier_Lounge7_Text_CounterDesc:: @ 8265F77
.string "Retaliates any\n"
.string "physical hit with\n"
.string "double the power.$"
BattleFrontier_Lounge7_Text_265FAA:: @ 8265FAA
BattleFrontier_Lounge7_Text_ThunderWaveDesc:: @ 8265FAA
.string "A weak jolt of\n"
.string "electricity that\n"
.string "paralyzes the foe.$"
BattleFrontier_Lounge7_Text_265FDD:: @ 8265FDD
BattleFrontier_Lounge7_Text_SwordsDanceDesc:: @ 8265FDD
.string "A fighting dance\n"
.string "that sharply\n"
.string "raises ATTACK.$"
BattleFrontier_Lounge7_Text_26600A:: @ 826600A
BattleFrontier_Lounge7_Text_DefenseCurlDesc:: @ 826600A
.string "Curls up to con-\n"
.string "ceal weak spots\n"
.string "and raise DEFENSE.$"
BattleFrontier_Lounge7_Text_26603E:: @ 826603E
BattleFrontier_Lounge7_Text_SnoreDesc:: @ 826603E
.string "A loud attack\n"
.string "that can be used\n"
.string "only while asleep.$"
BattleFrontier_Lounge7_Text_266070:: @ 8266070
BattleFrontier_Lounge7_Text_MudSlapDesc:: @ 8266070
.string "Hurls mud in the\n"
.string "foe's face to re-\n"
.string "duce its accuracy.$"
BattleFrontier_Lounge7_Text_2660A6:: @ 82660A6
BattleFrontier_Lounge7_Text_SwiftDesc:: @ 82660A6
.string "Sprays star-\n"
.string "shaped rays\n"
.string "that never miss.$"
BattleFrontier_Lounge7_Text_2660D0:: @ 82660D0
BattleFrontier_Lounge7_Text_IcyWindDesc:: @ 82660D0
.string "A chilling attack\n"
.string "that lowers the\n"
.string "foe's SPEED.$"
BattleFrontier_Lounge7_Text_2660FF:: @ 82660FF
BattleFrontier_Lounge7_Text_EndureDesc:: @ 82660FF
.string "Endures any at-\n"
.string "tack for 1 turn,\n"
.string "leaving 1HP.$"
BattleFrontier_Lounge7_Text_26612D:: @ 826612D
BattleFrontier_Lounge7_Text_PsychUpDesc:: @ 826612D
.string "Copies the foe's\n"
.string "effect(s) and\n"
.string "gives to the user.$"
BattleFrontier_Lounge7_Text_26615F:: @ 826615F
BattleFrontier_Lounge7_Text_IcePunchDesc:: @ 826615F
.string "An icy punch\n"
.string "that may\n"
.string "freeze the foe.$"
BattleFrontier_Lounge7_Text_266185:: @ 8266185
BattleFrontier_Lounge7_Text_ThunderPunchDesc:: @ 8266185
.string "An electrified\n"
.string "punch that may\n"
.string "paralyze the foe.$"
BattleFrontier_Lounge7_Text_2661B5:: @ 82661B5
BattleFrontier_Lounge7_Text_FirePunchDesc:: @ 82661B5
.string "A fiery punch\n"
.string "that may burn\n"
.string "the foe.$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge8_EventScript_2676DC",
"script": "BattleFrontier_Lounge8_EventScript_NinjaBoy",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge8_EventScript_2676CA",
"script": "BattleFrontier_Lounge8_EventScript_Man",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_Lounge8_EventScript_2676D3",
"script": "BattleFrontier_Lounge8_EventScript_Woman",
"flag": "0"
}
],

View File

@@ -1,19 +1,19 @@
BattleFrontier_Lounge8_MapScripts:: @ 82676C9
.byte 0
BattleFrontier_Lounge8_EventScript_2676CA:: @ 82676CA
msgbox BattleFrontier_Lounge8_Text_2676E5, MSGBOX_NPC
BattleFrontier_Lounge8_EventScript_Man:: @ 82676CA
msgbox BattleFrontier_Lounge8_Text_WhatATrainerNeeds, MSGBOX_NPC
end
BattleFrontier_Lounge8_EventScript_2676D3:: @ 82676D3
msgbox BattleFrontier_Lounge8_Text_26779C, MSGBOX_NPC
BattleFrontier_Lounge8_EventScript_Woman:: @ 82676D3
msgbox BattleFrontier_Lounge8_Text_KnowAboutFrontierBrains, MSGBOX_NPC
end
BattleFrontier_Lounge8_EventScript_2676DC:: @ 82676DC
msgbox BattleFrontier_Lounge8_Text_26782C, MSGBOX_NPC
BattleFrontier_Lounge8_EventScript_NinjaBoy:: @ 82676DC
msgbox BattleFrontier_Lounge8_Text_ToldMeIHaveTalentForBattling, MSGBOX_NPC
end
BattleFrontier_Lounge8_Text_2676E5: @ 82676E5
BattleFrontier_Lounge8_Text_WhatATrainerNeeds: @ 82676E5
.string "What a TRAINER needs…\p"
.string "Knowledge…\n"
.string "Strategy…\l"
@@ -27,14 +27,14 @@ BattleFrontier_Lounge8_Text_2676E5: @ 82676E5
.string "Huh? POKéMON?\n"
.string "What's that?$"
BattleFrontier_Lounge8_Text_26779C: @ 826779C
BattleFrontier_Lounge8_Text_KnowAboutFrontierBrains: @ 826779C
.string "Do you know about the FRONTIER\n"
.string "BRAINS?\p"
.string "That's what SCOTT calls the seven\n"
.string "special TRAINERS that run the seven\l"
.string "facilities in the BATTLE FRONTIER.$"
BattleFrontier_Lounge8_Text_26782C: @ 826782C
BattleFrontier_Lounge8_Text_ToldMeIHaveTalentForBattling: @ 826782C
.string "At the BATTLE TOWER, an older girl\n"
.string "told me that I have a lot of talent\l"
.string "for battling!\p"

View File

@@ -30,7 +30,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242C67",
"script": "BattleFrontier_OutsideEast_EventScript_NinjaBoy",
"flag": "0"
},
{
@@ -43,7 +43,7 @@
"movement_range_y": 3,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242C70",
"script": "BattleFrontier_OutsideEast_EventScript_Man1",
"flag": "0"
},
{
@@ -56,7 +56,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242C79",
"script": "BattleFrontier_OutsideEast_EventScript_Hiker",
"flag": "0"
},
{
@@ -69,7 +69,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242C82",
"script": "BattleFrontier_OutsideEast_EventScript_HexManiac",
"flag": "0"
},
{
@@ -82,7 +82,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242C8B",
"script": "BattleFrontier_OutsideEast_EventScript_BlackBelt1",
"flag": "0"
},
{
@@ -95,7 +95,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242C94",
"script": "BattleFrontier_OutsideEast_EventScript_Cook",
"flag": "0"
},
{
@@ -108,7 +108,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242CBB",
"script": "BattleFrontier_OutsideEast_EventScript_ExpertF",
"flag": "0"
},
{
@@ -121,7 +121,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242CE1",
"script": "BattleFrontier_OutsideEast_EventScript_TriathleteM",
"flag": "0"
},
{
@@ -134,7 +134,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242CB2",
"script": "BattleFrontier_OutsideEast_EventScript_RichBoy",
"flag": "0"
},
{
@@ -147,7 +147,7 @@
"movement_range_y": 6,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242CC4",
"script": "BattleFrontier_OutsideEast_EventScript_TriathleteF",
"flag": "0"
},
{
@@ -160,7 +160,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242CCD",
"script": "BattleFrontier_OutsideEast_EventScript_Twin",
"flag": "0"
},
{
@@ -173,7 +173,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242CD6",
"script": "BattleFrontier_OutsideEast_EventScript_Man2",
"flag": "0"
},
{
@@ -186,7 +186,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242C9F",
"script": "BattleFrontier_OutsideEast_EventScript_Zigzagoon",
"flag": "0"
},
{
@@ -212,7 +212,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242D79",
"script": "BattleFrontier_OutsideEast_EventScript_Maniac1",
"flag": "0"
},
{
@@ -225,7 +225,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242D82",
"script": "BattleFrontier_OutsideEast_EventScript_Girl",
"flag": "0"
},
{
@@ -238,7 +238,7 @@
"movement_range_y": 6,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242D8B",
"script": "BattleFrontier_OutsideEast_EventScript_PsychicM",
"flag": "0"
},
{
@@ -251,7 +251,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242D94",
"script": "BattleFrontier_OutsideEast_EventScript_Man3",
"flag": "0"
},
{
@@ -264,7 +264,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242D9D",
"script": "BattleFrontier_OutsideEast_EventScript_Woman1",
"flag": "0"
},
{
@@ -277,7 +277,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242DA6",
"script": "BattleFrontier_OutsideEast_EventScript_Woman2",
"flag": "0"
},
{
@@ -290,7 +290,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242DAF",
"script": "BattleFrontier_OutsideEast_EventScript_BlackBelt2",
"flag": "0"
},
{
@@ -303,7 +303,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242DB8",
"script": "BattleFrontier_OutsideEast_EventScript_Maniac2",
"flag": "0"
},
{
@@ -316,7 +316,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242DC3",
"script": "BattleFrontier_OutsideEast_EventScript_Woman3",
"flag": "0"
},
{
@@ -329,7 +329,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242DE9",
"script": "BattleFrontier_OutsideEast_EventScript_OldWoman",
"flag": "0"
},
{
@@ -342,7 +342,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242DE0",
"script": "BattleFrontier_OutsideEast_EventScript_Gentleman",
"flag": "0"
},
{
@@ -355,7 +355,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideEast_EventScript_242E08",
"script": "BattleFrontier_OutsideEast_EventScript_Camper",
"flag": "0"
}
],
@@ -406,7 +406,7 @@
"x": 10,
"y": 28,
"elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_POINT_EXCHANGE_SERVICE_CORNER",
"dest_map": "MAP_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER",
"dest_warp_id": 0
},
{
@@ -467,7 +467,7 @@
"y": 17,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_OutsideEast_EventScript_242C43"
"script": "BattleFrontier_OutsideEast_EventScript_BattleTowerSign"
},
{
"type": "sign",
@@ -475,7 +475,7 @@
"y": 56,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_OutsideEast_EventScript_242C4C"
"script": "BattleFrontier_OutsideEast_EventScript_BattlePalaceSign"
},
{
"type": "sign",
@@ -483,7 +483,7 @@
"y": 34,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_OutsideEast_EventScript_242C55"
"script": "BattleFrontier_OutsideEast_EventScript_BattleArenaSign"
},
{
"type": "sign",
@@ -491,7 +491,7 @@
"y": 15,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_OutsideEast_EventScript_242C5E"
"script": "BattleFrontier_OutsideEast_EventScript_BattlePyramidSign"
},
{
"type": "sign",
@@ -499,7 +499,7 @@
"y": 29,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_OutsideEast_EventScript_242DD7"
"script": "BattleFrontier_OutsideEast_EventScript_ExchangeCornerSign"
},
{
"type": "sign",
@@ -507,7 +507,7 @@
"y": 13,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_OutsideEast_EventScript_242DCE"
"script": "BattleFrontier_OutsideEast_EventScript_RankingHallSign"
},
{
"type": "sign",

View File

@@ -1,105 +1,105 @@
BattleFrontier_OutsideEast_MapScripts:: @ 8242C04
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_OutsideEast_MapScript1_242C0F
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_OutsideEast_MapScript1_242C2D
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_OutsideEast_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_OutsideEast_OnTransition
.byte 0
BattleFrontier_OutsideEast_MapScript1_242C0F: @ 8242C0F
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, BattleFrontier_OutsideEast_EventScript_242C19
BattleFrontier_OutsideEast_OnResume: @ 8242C0F
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, BattleFrontier_OutsideEast_EventScript_TryRemoveSudowoodo
end
BattleFrontier_OutsideEast_EventScript_242C19:: @ 8242C19
BattleFrontier_OutsideEast_EventScript_TryRemoveSudowoodo:: @ 8242C19
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn
removeobject VAR_LAST_TALKED
return
BattleFrontier_OutsideEast_MapScript1_242C2D: @ 8242C2D
BattleFrontier_OutsideEast_OnTransition: @ 8242C2D
setvar VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0
setflag FLAG_HIDE_BATTLE_TOWER_REPORTER
call_if_unset FLAG_DEFEATED_SUDOWOODO, BattleFrontier_OutsideEast_EventScript_242C3F
call_if_unset FLAG_DEFEATED_SUDOWOODO, BattleFrontier_OutsideEast_EventScript_ShowSudowoodo
end
BattleFrontier_OutsideEast_EventScript_242C3F:: @ 8242C3F
BattleFrontier_OutsideEast_EventScript_ShowSudowoodo:: @ 8242C3F
clearflag FLAG_HIDE_BATTLE_FRONTIER_SUDOWOODO
return
BattleFrontier_OutsideEast_EventScript_242C43:: @ 8242C43
msgbox BattleFrontier_OutsideEast_Text_242E11, MSGBOX_SIGN
BattleFrontier_OutsideEast_EventScript_BattleTowerSign:: @ 8242C43
msgbox BattleFrontier_OutsideEast_Text_BattleTowerSign, MSGBOX_SIGN
end
BattleFrontier_OutsideEast_EventScript_242C4C:: @ 8242C4C
msgbox BattleFrontier_OutsideEast_Text_242E58, MSGBOX_SIGN
BattleFrontier_OutsideEast_EventScript_BattlePalaceSign:: @ 8242C4C
msgbox BattleFrontier_OutsideEast_Text_BattlePalaceSign, MSGBOX_SIGN
end
BattleFrontier_OutsideEast_EventScript_242C55:: @ 8242C55
msgbox BattleFrontier_OutsideEast_Text_242E96, MSGBOX_SIGN
BattleFrontier_OutsideEast_EventScript_BattleArenaSign:: @ 8242C55
msgbox BattleFrontier_OutsideEast_Text_BattleArenaSign, MSGBOX_SIGN
end
BattleFrontier_OutsideEast_EventScript_242C5E:: @ 8242C5E
msgbox BattleFrontier_OutsideEast_Text_242ECF, MSGBOX_SIGN
BattleFrontier_OutsideEast_EventScript_BattlePyramidSign:: @ 8242C5E
msgbox BattleFrontier_OutsideEast_Text_BattlePyramidSign, MSGBOX_SIGN
end
BattleFrontier_OutsideEast_EventScript_242C67:: @ 8242C67
msgbox BattleFrontier_OutsideEast_Text_242F8C, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_NinjaBoy:: @ 8242C67
msgbox BattleFrontier_OutsideEast_Text_BattleTowerFeelsSpecial, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242C70:: @ 8242C70
msgbox BattleFrontier_OutsideEast_Text_242FDC, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_Man1:: @ 8242C70
msgbox BattleFrontier_OutsideEast_Text_ConquerLeagueAndFrontier, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242C79:: @ 8242C79
msgbox BattleFrontier_OutsideEast_Text_24308C, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_Hiker:: @ 8242C79
msgbox BattleFrontier_OutsideEast_Text_PyramidTooHarsh, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242C82:: @ 8242C82
msgbox BattleFrontier_OutsideEast_Text_243106, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_HexManiac:: @ 8242C82
msgbox BattleFrontier_OutsideEast_Text_ThriveInDarkness, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242C8B:: @ 8242C8B
msgbox BattleFrontier_OutsideEast_Text_2431A5, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_BlackBelt1:: @ 8242C8B
msgbox BattleFrontier_OutsideEast_Text_PutTogetherUltimateTeam, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242C94:: @ 8242C94
BattleFrontier_OutsideEast_EventScript_Cook:: @ 8242C94
lock
msgbox BattleFrontier_OutsideEast_Text_2432DD, MSGBOX_DEFAULT
msgbox BattleFrontier_OutsideEast_Text_BelieveInYouBuddy, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideEast_EventScript_242C9F:: @ 8242C9F
BattleFrontier_OutsideEast_EventScript_Zigzagoon:: @ 8242C9F
lock
faceplayer
waitse
playmoncry SPECIES_ZIGZAGOON, 0
msgbox BattleFrontier_OutsideEast_Text_24334B, MSGBOX_DEFAULT
msgbox BattleFrontier_OutsideEast_Text_ZigzagoonLooksVacant, MSGBOX_DEFAULT
waitmoncry
release
end
BattleFrontier_OutsideEast_EventScript_242CB2:: @ 8242CB2
msgbox BattleFrontier_OutsideEast_Text_243363, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_RichBoy:: @ 8242CB2
msgbox BattleFrontier_OutsideEast_Text_PeopleCallMeBusybody, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242CBB:: @ 8242CBB
msgbox BattleFrontier_OutsideEast_Text_243425, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_ExpertF:: @ 8242CBB
msgbox BattleFrontier_OutsideEast_Text_OnceBeatGymLeader, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242CC4:: @ 8242CC4
msgbox BattleFrontier_OutsideEast_Text_2434A0, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_TriathleteF:: @ 8242CC4
msgbox BattleFrontier_OutsideEast_Text_FastOnBikeAndBattles, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242CCD:: @ 8242CCD
msgbox BattleFrontier_OutsideEast_Text_243504, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_Twin:: @ 8242CCD
msgbox BattleFrontier_OutsideEast_Text_BetterThanDaddyAtPokemon, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242CD6:: @ 8242CD6
BattleFrontier_OutsideEast_EventScript_Man2:: @ 8242CD6
lock
msgbox BattleFrontier_OutsideEast_Text_243529, MSGBOX_DEFAULT
msgbox BattleFrontier_OutsideEast_Text_GoRackUpSomeWinsForDaddy, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideEast_EventScript_242CE1:: @ 8242CE1
msgbox BattleFrontier_OutsideEast_Text_243230, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_TriathleteM:: @ 8242CE1
msgbox BattleFrontier_OutsideEast_Text_DidScottBringYouHere, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_Sudowoodo:: @ 8242CEA
@@ -134,16 +134,16 @@ BattleFrontier_OutsideEast_EventScript_WaterSudowoodo:: @ 8242CFC
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq BattleFrontier_OutsideEast_EventScript_RemoveSudowoodo
goto_if_eq BattleFrontier_OutsideEast_EventScript_DefeatedSudowoodo
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq BattleFrontier_OutsideEast_EventScript_RemoveSudowoodo
goto_if_eq BattleFrontier_OutsideEast_EventScript_DefeatedSudowoodo
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq BattleFrontier_OutsideEast_EventScript_RemoveSudowoodo
goto_if_eq BattleFrontier_OutsideEast_EventScript_DefeatedSudowoodo
setflag FLAG_DEFEATED_SUDOWOODO
release
end
BattleFrontier_OutsideEast_EventScript_RemoveSudowoodo:: @ 8242D60
BattleFrontier_OutsideEast_EventScript_DefeatedSudowoodo:: @ 8242D60
setflag FLAG_DEFEATED_SUDOWOODO
goto Common_EventScript_RemoveStaticPokemon
end
@@ -166,107 +166,107 @@ BattleFrontier_OutsideEast_Movement_SudowoodoShake: @ 8242D69
face_down
step_end
BattleFrontier_OutsideEast_EventScript_242D79:: @ 8242D79
msgbox BattleFrontier_OutsideEast_Text_243598, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_Maniac1:: @ 8242D79
msgbox BattleFrontier_OutsideEast_Text_HeardPrettyGirlAtBattleArena, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242D82:: @ 8242D82
msgbox BattleFrontier_OutsideEast_Text_243668, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_Girl:: @ 8242D82
msgbox BattleFrontier_OutsideEast_Text_SometimesImportantOldManInThere, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242D8B:: @ 8242D8B
msgbox BattleFrontier_OutsideEast_Text_2436F2, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_PsychicM:: @ 8242D8B
msgbox BattleFrontier_OutsideEast_Text_LegendOfBattlePyramid, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242D94:: @ 8242D94
msgbox BattleFrontier_OutsideEast_Text_243809, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_Man3:: @ 8242D94
msgbox BattleFrontier_OutsideEast_Text_GotWipedOut, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242D9D:: @ 8242D9D
msgbox BattleFrontier_OutsideEast_Text_243895, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_Woman1:: @ 8242D9D
msgbox BattleFrontier_OutsideEast_Text_ToughTrainerInBattleTower, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242DA6:: @ 8242DA6
msgbox BattleFrontier_OutsideEast_Text_243943, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_Woman2:: @ 8242DA6
msgbox BattleFrontier_OutsideEast_Text_EnoughBattlePointsForDoll, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242DAF:: @ 8242DAF
msgbox BattleFrontier_OutsideEast_Text_2439A0, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_BlackBelt2:: @ 8242DAF
msgbox BattleFrontier_OutsideEast_Text_LikeToHaveNameRecordedHere, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242DB8:: @ 8242DB8
BattleFrontier_OutsideEast_EventScript_Maniac2:: @ 8242DB8
lock
msgbox BattleFrontier_OutsideEast_Text_243A2B, MSGBOX_DEFAULT
msgbox BattleFrontier_OutsideEast_Text_CanDoAnythingWithYou, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideEast_EventScript_242DC3:: @ 8242DC3
BattleFrontier_OutsideEast_EventScript_Woman3:: @ 8242DC3
lock
msgbox BattleFrontier_OutsideEast_Text_243A53, MSGBOX_DEFAULT
msgbox BattleFrontier_OutsideEast_Text_PowerOfOurLoveWillOvercome, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideEast_EventScript_242DCE:: @ 8242DCE
msgbox BattleFrontier_OutsideEast_Text_242F0D, MSGBOX_SIGN
BattleFrontier_OutsideEast_EventScript_RankingHallSign:: @ 8242DCE
msgbox BattleFrontier_OutsideEast_Text_RankingHallSign, MSGBOX_SIGN
end
BattleFrontier_OutsideEast_EventScript_242DD7:: @ 8242DD7
msgbox BattleFrontier_OutsideEast_Text_242F4A, MSGBOX_SIGN
BattleFrontier_OutsideEast_EventScript_ExchangeCornerSign:: @ 8242DD7
msgbox BattleFrontier_OutsideEast_Text_ExchangeCornerSign, MSGBOX_SIGN
end
BattleFrontier_OutsideEast_EventScript_242DE0:: @ 8242DE0
msgbox BattleFrontier_OutsideEast_Text_243B68, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_Gentleman:: @ 8242DE0
msgbox BattleFrontier_OutsideEast_Text_FrontierNotExclusivelyForToughTrainers, MSGBOX_NPC
end
BattleFrontier_OutsideEast_EventScript_242DE9:: @ 8242DE9
BattleFrontier_OutsideEast_EventScript_OldWoman:: @ 8242DE9
lock
faceplayer
goto_if_set FLAG_DEFEATED_SUDOWOODO, BattleFrontier_OutsideEast_EventScript_242DFE
msgbox BattleFrontier_OutsideEast_Text_243C2C, MSGBOX_DEFAULT
goto_if_set FLAG_DEFEATED_SUDOWOODO, BattleFrontier_OutsideEast_EventScript_OldWomanSudowoodoGone
msgbox BattleFrontier_OutsideEast_Text_OddTreeHereSeemsToWiggle, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideEast_EventScript_242DFE:: @ 8242DFE
msgbox BattleFrontier_OutsideEast_Text_243CA3, MSGBOX_DEFAULT
BattleFrontier_OutsideEast_EventScript_OldWomanSudowoodoGone:: @ 8242DFE
msgbox BattleFrontier_OutsideEast_Text_OnceAnOddTreePastHere, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideEast_EventScript_242E08:: @ 8242E08
msgbox BattleFrontier_OutsideEast_Text_243D0B, MSGBOX_NPC
BattleFrontier_OutsideEast_EventScript_Camper:: @ 8242E08
msgbox BattleFrontier_OutsideEast_Text_StickyMonWithLongTail, MSGBOX_NPC
end
BattleFrontier_OutsideEast_Text_242E11: @ 8242E11
BattleFrontier_OutsideEast_Text_BattleTowerSign: @ 8242E11
.string "This is the BATTLE TOWER!\n"
.string "Keep the win streak as the toughest\l"
.string "TRAINER!$"
BattleFrontier_OutsideEast_Text_242E58: @ 8242E58
BattleFrontier_OutsideEast_Text_BattlePalaceSign: @ 8242E58
.string "This is the BATTLE PALACE!\n"
.string "Keep your eyes on POKéMON battles!$"
BattleFrontier_OutsideEast_Text_242E96: @ 8242E96
BattleFrontier_OutsideEast_Text_BattleArenaSign: @ 8242E96
.string "This is the BATTLE ARENA!\n"
.string "Let the toughest teams gather!$"
BattleFrontier_OutsideEast_Text_242ECF: @ 8242ECF
BattleFrontier_OutsideEast_Text_BattlePyramidSign: @ 8242ECF
.string "This is the BATTLE PYRAMID!\n"
.string "Advance through the Battle Quest!$"
BattleFrontier_OutsideEast_Text_242F0D: @ 8242F0D
BattleFrontier_OutsideEast_Text_RankingHallSign: @ 8242F0D
.string "BATTLE FRONTIER RANKING HALL\n"
.string "Set your sights on new records!$"
BattleFrontier_OutsideEast_Text_242F4A: @ 8242F4A
BattleFrontier_OutsideEast_Text_ExchangeCornerSign: @ 8242F4A
.string "BATTLE POINT EXCHANGE SERVICE CORNER\n"
.string "Exchange your Battle Points!$"
BattleFrontier_OutsideEast_Text_242F8C: @ 8242F8C
BattleFrontier_OutsideEast_Text_BattleTowerFeelsSpecial: @ 8242F8C
.string "Wow!\n"
.string "It's huge!\p"
.string "The BATTLE TOWER feels special.\n"
.string "It's different from the others.$"
BattleFrontier_OutsideEast_Text_242FDC: @ 8242FDC
BattleFrontier_OutsideEast_Text_ConquerLeagueAndFrontier: @ 8242FDC
.string "My grand ambition is to conquer both\n"
.string "the BATTLE FRONTIER and the POKéMON\l"
.string "LEAGUE.\p"
@@ -274,26 +274,26 @@ BattleFrontier_OutsideEast_Text_242FDC: @ 8242FDC
.string "I… I'm going to ask MIMI next door\n"
.string "if she will be friends with me!$"
BattleFrontier_OutsideEast_Text_24308C: @ 824308C
BattleFrontier_OutsideEast_Text_PyramidTooHarsh: @ 824308C
.string "The BATTLE PYRAMID's too harsh!\n"
.string "I just can't make it to the top!\p"
.string "Since I'm out of options, maybe I can\n"
.string "climb the outside…$"
BattleFrontier_OutsideEast_Text_243106: @ 8243106
BattleFrontier_OutsideEast_Text_ThriveInDarkness: @ 8243106
.string "I thrive in darkness…\n"
.string "Yes… What is worthy of me?\l"
.string "None other than the BATTLE PYRAMID…\p"
.string "What say you to wandering in darkness\n"
.string "and in utter and total desperation?$"
BattleFrontier_OutsideEast_Text_2431A5: @ 82431A5
BattleFrontier_OutsideEast_Text_PutTogetherUltimateTeam: @ 82431A5
.string "I didn't sleep for a week, but then\n"
.string "I put together the ultimate team!\p"
.string "I can't see myself losing, no joke.\n"
.string "We're storming the BATTLE ARENA!$"
BattleFrontier_OutsideEast_Text_243230: @ 8243230
BattleFrontier_OutsideEast_Text_DidScottBringYouHere: @ 8243230
.string "Did SCOTT bring you here, too?\n"
.string "What is it with that guy?\p"
.string "It sounds like he really does know\n"
@@ -301,16 +301,16 @@ BattleFrontier_OutsideEast_Text_243230: @ 8243230
.string "I've never seen him battling in person\n"
.string "ever.$"
BattleFrontier_OutsideEast_Text_2432DD: @ 82432DD
BattleFrontier_OutsideEast_Text_BelieveInYouBuddy: @ 82432DD
.string "ZIGG!\n"
.string "I believe in you, little buddy!\p"
.string "I'll make my little ZIGG any favorite\n"
.string "tasty treats you like if you win!$"
BattleFrontier_OutsideEast_Text_24334B: @ 824334B
BattleFrontier_OutsideEast_Text_ZigzagoonLooksVacant: @ 824334B
.string "ZIGZAGOON looks vacant…$"
BattleFrontier_OutsideEast_Text_243363: @ 8243363
BattleFrontier_OutsideEast_Text_PeopleCallMeBusybody: @ 8243363
.string "People call me a busybody,\n"
.string "but I can't help it.\p"
.string "Your hat's on crooked!\n"
@@ -319,29 +319,29 @@ BattleFrontier_OutsideEast_Text_243363: @ 8243363
.string "I don't know if I can stand to just\n"
.string "watch at the BATTLE PALACE…$"
BattleFrontier_OutsideEast_Text_243425: @ 8243425
BattleFrontier_OutsideEast_Text_OnceBeatGymLeader: @ 8243425
.string "I may not look that impressive now,\n"
.string "but I once beat a GYM LEADER.\p"
.string "Who knows, maybe I should give it\n"
.string "another shot at glory.$"
BattleFrontier_OutsideEast_Text_2434A0: @ 82434A0
BattleFrontier_OutsideEast_Text_FastOnBikeAndBattles: @ 82434A0
.string "I'm fast on my BIKE, and that goes for\n"
.string "the way I battle, too.\p"
.string "I win matches in the blink of\n"
.string "an eye!$"
BattleFrontier_OutsideEast_Text_243504: @ 8243504
BattleFrontier_OutsideEast_Text_BetterThanDaddyAtPokemon: @ 8243504
.string "I'm better than my daddy\n"
.string "at POKéMON.$"
BattleFrontier_OutsideEast_Text_243529: @ 8243529
BattleFrontier_OutsideEast_Text_GoRackUpSomeWinsForDaddy: @ 8243529
.string "Go on, my baby sweetie!\n"
.string "Go rack up some wins for Daddy!\p"
.string "You're just like your mother,\n"
.string "so you'll be dominating!$"
BattleFrontier_OutsideEast_Text_243598: @ 8243598
BattleFrontier_OutsideEast_Text_HeardPrettyGirlAtBattleArena: @ 8243598
.string "It wasn't easy getting here,\n"
.string "but I'd heard about this knockout\l"
.string "pretty girl at the BATTLE ARENA.\p"
@@ -350,13 +350,13 @@ BattleFrontier_OutsideEast_Text_243598: @ 8243598
.string "A whole teeming mob of sweaty,\n"
.string "stinky, and primitive martial artists!$"
BattleFrontier_OutsideEast_Text_243668: @ 8243668
BattleFrontier_OutsideEast_Text_SometimesImportantOldManInThere: @ 8243668
.string "I sometimes see this really important-\n"
.string "looking old man going in there.\p"
.string "He has these really awesome POKéMON.\n"
.string "He seems really nice, though.$"
BattleFrontier_OutsideEast_Text_2436F2: @ 82436F2
BattleFrontier_OutsideEast_Text_LegendOfBattlePyramid: @ 82436F2
.string "Do you know it?\n"
.string "The legend of the BATTLE PYRAMID?\p"
.string "When there comes a confident TRAINER\n"
@@ -368,7 +368,7 @@ BattleFrontier_OutsideEast_Text_2436F2: @ 82436F2
.string "What's it supposed to mean?\n"
.string "That, my friend, I can't say!$"
BattleFrontier_OutsideEast_Text_243809: @ 8243809
BattleFrontier_OutsideEast_Text_GotWipedOut: @ 8243809
.string "Man! Oh man!\n"
.string "I've never lost once before!\p"
.string "But I got wiped out with no saving\n"
@@ -376,7 +376,7 @@ BattleFrontier_OutsideEast_Text_243809: @ 8243809
.string "And then I'm told I don't have any\n"
.string "talent?! Man!$"
BattleFrontier_OutsideEast_Text_243895: @ 8243895
BattleFrontier_OutsideEast_Text_ToughTrainerInBattleTower: @ 8243895
.string "This guy ran into a horribly tough\n"
.string "TRAINER while he was on the BATTLE\l"
.string "TOWER challenge.\p"
@@ -384,23 +384,23 @@ BattleFrontier_OutsideEast_Text_243895: @ 8243895
.string "You need to be cautious if you ever\n"
.string "decide to go to the BATTLE TOWER.$"
BattleFrontier_OutsideEast_Text_243943: @ 8243943
BattleFrontier_OutsideEast_Text_EnoughBattlePointsForDoll: @ 8243943
.string "Yes!\n"
.string "I've finally got enough Battle Points!\p"
.string "I guess I'll trade for another giant\n"
.string "plush DOLL!$"
BattleFrontier_OutsideEast_Text_2439A0: @ 82439A0
BattleFrontier_OutsideEast_Text_LikeToHaveNameRecordedHere: @ 82439A0
.string "Oh, yeah, okay!\n"
.string "So this is the RANKING HALL!\p"
.string "I'd like to go down in history as\n"
.string "a super champ and have my name\l"
.string "recorded here for posterity.$"
BattleFrontier_OutsideEast_Text_243A2B: @ 8243A2B
BattleFrontier_OutsideEast_Text_CanDoAnythingWithYou: @ 8243A2B
.string "With you by my side, I can do anything.$"
BattleFrontier_OutsideEast_Text_243A53: @ 8243A53
BattleFrontier_OutsideEast_Text_PowerOfOurLoveWillOvercome: @ 8243A53
.string "Ooh, darling, you are so wonderful!\p"
.string "Ooh, I just can't wait anymore!\p"
.string "Let's go to a MULTI BATTLE ROOM\n"
@@ -411,7 +411,7 @@ BattleFrontier_OutsideEast_Text_243A53: @ 8243A53
.string "Why, before us, darling, everything\n"
.string "will topple like dominoes!$"
BattleFrontier_OutsideEast_Text_243B68: @ 8243B68
BattleFrontier_OutsideEast_Text_FrontierNotExclusivelyForToughTrainers: @ 8243B68
.string "The BATTLE FRONTIER isn't exclusively\n"
.string "for tough TRAINERS.\p"
.string "Many people with special abilities\n"
@@ -420,19 +420,19 @@ BattleFrontier_OutsideEast_Text_243B68: @ 8243B68
.string "He may have built this place to serve\n"
.string "a bigger objective…$"
BattleFrontier_OutsideEast_Text_243C2C: @ 8243C2C
BattleFrontier_OutsideEast_Text_OddTreeHereSeemsToWiggle: @ 8243C2C
.string "Excuse me, young one.\n"
.string "Have you good eyesight?\p"
.string "There is an odd tree past here, and to\n"
.string "my tired eyes it seems to wiggle.$"
BattleFrontier_OutsideEast_Text_243CA3: @ 8243CA3
BattleFrontier_OutsideEast_Text_OnceAnOddTreePastHere: @ 8243CA3
.string "Excuse me, young one.\n"
.string "Have you a good memory?\p"
.string "I have this feeling there once was\n"
.string "an odd tree past here.$"
BattleFrontier_OutsideEast_Text_243D0B: @ 8243D0B
BattleFrontier_OutsideEast_Text_StickyMonWithLongTail: @ 8243D0B
.string "I…\n"
.string "I saw it!\p"
.string "There was a sticky sort of a POKéMON\n"

View File

@@ -30,7 +30,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D50F",
"script": "BattleFrontier_OutsideWest_EventScript_Boy1",
"flag": "0"
},
{
@@ -56,7 +56,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D3F0",
"script": "BattleFrontier_OutsideWest_EventScript_FerryAttendant",
"flag": "0"
},
{
@@ -69,7 +69,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D68B",
"script": "BattleFrontier_OutsideWest_EventScript_ExpertM",
"flag": "0"
},
{
@@ -82,7 +82,7 @@
"movement_range_y": 3,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D52D",
"script": "BattleFrontier_OutsideWest_EventScript_Man1",
"flag": "0"
},
{
@@ -95,7 +95,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D69D",
"script": "BattleFrontier_OutsideWest_EventScript_Woman1",
"flag": "0"
},
{
@@ -108,7 +108,7 @@
"movement_range_y": 3,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D6A6",
"script": "BattleFrontier_OutsideWest_EventScript_FatMan1",
"flag": "0"
},
{
@@ -121,7 +121,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D679",
"script": "BattleFrontier_OutsideWest_EventScript_Gentleman",
"flag": "0"
},
{
@@ -134,7 +134,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D536",
"script": "BattleFrontier_OutsideWest_EventScript_Maniac1",
"flag": "0"
},
{
@@ -147,7 +147,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D53D",
"script": "BattleFrontier_OutsideWest_EventScript_Maniac2",
"flag": "0"
},
{
@@ -160,7 +160,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D694",
"script": "BattleFrontier_OutsideWest_EventScript_Man2",
"flag": "0"
},
{
@@ -173,7 +173,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D5C6",
"script": "BattleFrontier_OutsideWest_EventScript_Girl",
"flag": "0"
},
{
@@ -186,7 +186,7 @@
"movement_range_y": 3,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D635",
"script": "BattleFrontier_OutsideWest_EventScript_Woman2",
"flag": "0"
},
{
@@ -199,7 +199,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D57F",
"script": "BattleFrontier_OutsideWest_EventScript_Camper",
"flag": "0"
},
{
@@ -212,7 +212,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D682",
"script": "BattleFrontier_OutsideWest_EventScript_Lass",
"flag": "0"
},
{
@@ -225,7 +225,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_249E19",
"script": "BattleFrontier_OutsideWest_EventScript_Man3",
"flag": "0"
},
{
@@ -238,7 +238,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D667",
"script": "BattleFrontier_OutsideWest_EventScript_Fisherman1",
"flag": "0"
},
{
@@ -251,7 +251,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D518",
"script": "BattleFrontier_OutsideWest_EventScript_Fisherman2",
"flag": "0"
},
{
@@ -264,7 +264,7 @@
"movement_range_y": 3,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D6AF",
"script": "BattleFrontier_OutsideWest_EventScript_FatMan2",
"flag": "0"
},
{
@@ -277,7 +277,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D6B8",
"script": "BattleFrontier_OutsideWest_EventScript_Woman3",
"flag": "0"
},
{
@@ -290,7 +290,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D6C3",
"script": "BattleFrontier_OutsideWest_EventScript_Boy2",
"flag": "0"
},
{
@@ -303,7 +303,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D6CE",
"script": "BattleFrontier_OutsideWest_EventScript_OldMan",
"flag": "0"
},
{
@@ -316,7 +316,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D6D7",
"script": "BattleFrontier_OutsideWest_EventScript_Man4",
"flag": "0"
},
{
@@ -329,7 +329,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_OutsideWest_EventScript_23D6EE",
"script": "BattleFrontier_OutsideWest_EventScript_PokefanF",
"flag": "0"
}
],
@@ -420,7 +420,7 @@
"y": 18,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_OutsideWest_EventScript_23D4E2"
"script": "BattleFrontier_OutsideWest_EventScript_BattleDomeSign"
},
{
"type": "sign",
@@ -428,7 +428,7 @@
"y": 30,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_OutsideWest_EventScript_23D4F4"
"script": "BattleFrontier_OutsideWest_EventScript_BattlePikeSign"
},
{
"type": "sign",
@@ -436,7 +436,7 @@
"y": 43,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_OutsideWest_EventScript_23D4EB"
"script": "BattleFrontier_OutsideWest_EventScript_BattleFactorySign"
},
{
"type": "sign",

View File

@@ -1,67 +1,67 @@
BattleFrontier_OutsideWest_MapScripts:: @ 823D3E1
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_OutsideWest_MapScript1_23D3E7
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_OutsideWest_OnTransition
.byte 0
BattleFrontier_OutsideWest_MapScript1_23D3E7: @ 823D3E7
BattleFrontier_OutsideWest_OnTransition: @ 823D3E7
setvar VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0
setflag FLAG_HIDE_BATTLE_TOWER_REPORTER
end
BattleFrontier_OutsideWest_EventScript_23D3F0:: @ 823D3F0
BattleFrontier_OutsideWest_EventScript_FerryAttendant:: @ 823D3F0
lock
faceplayer
msgbox BattleFrontier_OutsideWest_Text_23D808, MSGBOX_DEFAULT
msgbox BattleFrontier_OutsideWest_Text_MayISeeYourTicket, MSGBOX_DEFAULT
checkitem ITEM_SS_TICKET, 1
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_OutsideWest_EventScript_23D44E
message BattleFrontier_OutsideWest_Text_23D89D
compare VAR_RESULT, FALSE
goto_if_eq BattleFrontier_OutsideWest_EventScript_NoSSTicket
message BattleFrontier_OutsideWest_Text_WhereWouldYouLikeToGo
waitmessage
goto BattleFrontier_OutsideWest_EventScript_23D416
goto BattleFrontier_OutsideWest_EventScript_ChooseFerryDestination
end
BattleFrontier_OutsideWest_EventScript_23D416:: @ 823D416
BattleFrontier_OutsideWest_EventScript_ChooseFerryDestination:: @ 823D416
multichoicedefault 18, 6, MULTI_SSTIDAL_BATTLE_FRONTIER, 2, 0
switch VAR_RESULT
case 0, BattleFrontier_OutsideWest_EventScript_23D458
case 1, BattleFrontier_OutsideWest_EventScript_23D483
case 2, BattleFrontier_OutsideWest_EventScript_23D4D8
case MULTI_B_PRESSED, BattleFrontier_OutsideWest_EventScript_23D4D8
case 0, BattleFrontier_OutsideWest_EventScript_FerryToSlateport
case 1, BattleFrontier_OutsideWest_EventScript_FerryToLilycove
case 2, BattleFrontier_OutsideWest_EventScript_CancelFerrySelect
case MULTI_B_PRESSED, BattleFrontier_OutsideWest_EventScript_CancelFerrySelect
end
BattleFrontier_OutsideWest_EventScript_23D44E:: @ 823D44E
msgbox BattleFrontier_OutsideWest_Text_23D842, MSGBOX_DEFAULT
BattleFrontier_OutsideWest_EventScript_NoSSTicket:: @ 823D44E
msgbox BattleFrontier_OutsideWest_Text_MustHaveTicketToBoard, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideWest_EventScript_23D458:: @ 823D458
msgbox BattleFrontier_OutsideWest_Text_23D8F2, MSGBOX_YESNO
BattleFrontier_OutsideWest_EventScript_FerryToSlateport:: @ 823D458
msgbox BattleFrontier_OutsideWest_Text_SlateportItIs, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_OutsideWest_EventScript_23D4AE
msgbox BattleFrontier_OutsideWest_Text_23D94B, MSGBOX_DEFAULT
call BattleFrontier_OutsideWest_EventScript_23D4BA
goto_if_eq BattleFrontier_OutsideWest_EventScript_ChooseNewFerryDestination
msgbox BattleFrontier_OutsideWest_Text_PleaseBoardFerry, MSGBOX_DEFAULT
call BattleFrontier_OutsideWest_EventScript_BoardFerry
warp MAP_SLATEPORT_CITY_HARBOR, 255, 8, 11
waitstate
release
end
BattleFrontier_OutsideWest_EventScript_23D483:: @ 823D483
msgbox BattleFrontier_OutsideWest_Text_23D90E, MSGBOX_YESNO
BattleFrontier_OutsideWest_EventScript_FerryToLilycove:: @ 823D483
msgbox BattleFrontier_OutsideWest_Text_LilycoveItIs, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_OutsideWest_EventScript_23D4AE
msgbox BattleFrontier_OutsideWest_Text_23D94B, MSGBOX_DEFAULT
call BattleFrontier_OutsideWest_EventScript_23D4BA
goto_if_eq BattleFrontier_OutsideWest_EventScript_ChooseNewFerryDestination
msgbox BattleFrontier_OutsideWest_Text_PleaseBoardFerry, MSGBOX_DEFAULT
call BattleFrontier_OutsideWest_EventScript_BoardFerry
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
waitstate
release
end
BattleFrontier_OutsideWest_EventScript_23D4AE:: @ 823D4AE
message BattleFrontier_OutsideWest_Text_23D97A
BattleFrontier_OutsideWest_EventScript_ChooseNewFerryDestination:: @ 823D4AE
message BattleFrontier_OutsideWest_Text_ThenWhereWouldYouLikeToGo
waitmessage
goto BattleFrontier_OutsideWest_EventScript_23D416
goto BattleFrontier_OutsideWest_EventScript_ChooseFerryDestination
end
BattleFrontier_OutsideWest_EventScript_23D4BA:: @ 823D4BA
BattleFrontier_OutsideWest_EventScript_BoardFerry:: @ 823D4BA
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
@@ -71,39 +71,41 @@ BattleFrontier_OutsideWest_EventScript_23D4BA:: @ 823D4BA
call Common_EventScript_FerryDepartIsland
return
BattleFrontier_OutsideWest_EventScript_23D4D8:: @ 823D4D8
msgbox BattleFrontier_OutsideWest_Text_23D929, MSGBOX_DEFAULT
BattleFrontier_OutsideWest_EventScript_CancelFerrySelect:: @ 823D4D8
msgbox BattleFrontier_OutsideWest_Text_SailWithUsAnotherTime, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideWest_EventScript_23D4E2:: @ 823D4E2
msgbox BattleFrontier_OutsideWest_Text_23D6F7, MSGBOX_SIGN
BattleFrontier_OutsideWest_EventScript_BattleDomeSign:: @ 823D4E2
msgbox BattleFrontier_OutsideWest_Text_BattleDomeSign, MSGBOX_SIGN
end
BattleFrontier_OutsideWest_EventScript_23D4EB:: @ 823D4EB
msgbox BattleFrontier_OutsideWest_Text_23D737, MSGBOX_SIGN
BattleFrontier_OutsideWest_EventScript_BattleFactorySign:: @ 823D4EB
msgbox BattleFrontier_OutsideWest_Text_BattleFactorySign, MSGBOX_SIGN
end
BattleFrontier_OutsideWest_EventScript_23D4F4:: @ 823D4F4
msgbox BattleFrontier_OutsideWest_Text_23D772, MSGBOX_SIGN
BattleFrontier_OutsideWest_EventScript_BattlePikeSign:: @ 823D4F4
msgbox BattleFrontier_OutsideWest_Text_BattlePikeSign, MSGBOX_SIGN
end
BattleFrontier_OutsideWest_EventScript_23D4FD:: @ 823D4FD
msgbox BattleFrontier_OutsideWest_Text_23D7A6, MSGBOX_NPC
@ Unused. Of note, Battle Tower is in the East section in the final release
BattleFrontier_OutsideWest_EventScript_UnusedNPC1:: @ 823D4FD
msgbox BattleFrontier_OutsideWest_Text_ThisIsBattleTower, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_23D506:: @ 823D4FD
msgbox BattleFrontier_OutsideWest_Text_23D9DD, MSGBOX_NPC
@ Unused
BattleFrontier_OutsideWest_EventScript_UnusedNPC2:: @ 823D4FD
msgbox BattleFrontier_OutsideWest_Text_CantFindBattleTower, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_23D50F:: @ 823D50F
msgbox BattleFrontier_OutsideWest_Text_23D99C, MSGBOX_NPC
BattleFrontier_OutsideWest_EventScript_Boy1:: @ 823D50F
msgbox BattleFrontier_OutsideWest_Text_BestOutOfAllMyFriends, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_23D518:: @ 823D518
BattleFrontier_OutsideWest_EventScript_Fisherman2:: @ 823D518
lock
faceplayer
message BattleFrontier_OutsideWest_Text_23DA60
message BattleFrontier_OutsideWest_Text_GotSeasickOnWayHere
waitmessage
applymovement 18, Common_Movement_FaceAwayPlayer
waitmovement 0
@@ -111,27 +113,27 @@ BattleFrontier_OutsideWest_EventScript_23D518:: @ 823D518
release
end
BattleFrontier_OutsideWest_EventScript_23D52D:: @ 823D52D
msgbox BattleFrontier_OutsideWest_Text_23DABF, MSGBOX_NPC
BattleFrontier_OutsideWest_EventScript_Man1:: @ 823D52D
msgbox BattleFrontier_OutsideWest_Text_OnlyToughTrainersBroughtHere, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_23D536:: @ 823D536
BattleFrontier_OutsideWest_EventScript_Maniac1:: @ 823D536
lock
goto BattleFrontier_OutsideWest_EventScript_23D544
goto BattleFrontier_OutsideWest_EventScript_FactoryChallengersTalk
end
BattleFrontier_OutsideWest_EventScript_23D53D:: @ 823D53D
BattleFrontier_OutsideWest_EventScript_Maniac2:: @ 823D53D
lock
goto BattleFrontier_OutsideWest_EventScript_23D544
goto BattleFrontier_OutsideWest_EventScript_FactoryChallengersTalk
end
BattleFrontier_OutsideWest_EventScript_23D544:: @ 823D544
BattleFrontier_OutsideWest_EventScript_FactoryChallengersTalk:: @ 823D544
applymovement 9, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
msgbox BattleFrontier_OutsideWest_Text_23DB7D, MSGBOX_DEFAULT
msgbox BattleFrontier_OutsideWest_Text_SureWeCanChallengeWithNoMons, MSGBOX_DEFAULT
applymovement 10, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
msgbox BattleFrontier_OutsideWest_Text_23DBCE, MSGBOX_DEFAULT
msgbox BattleFrontier_OutsideWest_Text_BigGuySaidIllLendYouMons, MSGBOX_DEFAULT
closemessage
delay 25
applymovement 9, Common_Movement_WalkInPlaceFastestUp
@@ -140,239 +142,240 @@ BattleFrontier_OutsideWest_EventScript_23D544:: @ 823D544
release
end
BattleFrontier_OutsideWest_EventScript_23D57F:: @ 823D57F
BattleFrontier_OutsideWest_EventScript_Camper:: @ 823D57F
lock
faceplayer
delay 20
compare VAR_FACING, DIR_NORTH
call_if_eq BattleFrontier_OutsideWest_EventScript_23D5BA
call_if_eq BattleFrontier_OutsideWest_EventScript_CamperFaceFactory
compare VAR_FACING, DIR_SOUTH
call_if_eq BattleFrontier_OutsideWest_EventScript_23D5C5
call_if_eq BattleFrontier_OutsideWest_EventScript_CamperAlreadyFacingFactory
compare VAR_FACING, DIR_WEST
call_if_eq BattleFrontier_OutsideWest_EventScript_23D5BA
call_if_eq BattleFrontier_OutsideWest_EventScript_CamperFaceFactory
compare VAR_FACING, DIR_EAST
call_if_eq BattleFrontier_OutsideWest_EventScript_23D5BA
msgbox BattleFrontier_OutsideWest_Text_23DC36, MSGBOX_DEFAULT
call_if_eq BattleFrontier_OutsideWest_EventScript_CamperFaceFactory
msgbox BattleFrontier_OutsideWest_Text_WhosRaisingThoseRentalMons, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideWest_EventScript_23D5BA:: @ 823D5BA
BattleFrontier_OutsideWest_EventScript_CamperFaceFactory:: @ 823D5BA
applymovement 14, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
return
BattleFrontier_OutsideWest_EventScript_23D5C5:: @ 823D5C5
BattleFrontier_OutsideWest_EventScript_CamperAlreadyFacingFactory:: @ 823D5C5
return
BattleFrontier_OutsideWest_EventScript_23D5C6:: @ 823D5C6
BattleFrontier_OutsideWest_EventScript_Girl:: @ 823D5C6
lock
faceplayer
message BattleFrontier_OutsideWest_Text_23DCB0
message BattleFrontier_OutsideWest_Text_ScaredOfPikeBecauseSeviper
waitmessage
compare VAR_FACING, DIR_NORTH
call_if_eq BattleFrontier_OutsideWest_EventScript_23D5FD
call_if_eq BattleFrontier_OutsideWest_EventScript_GirlShudderNorth
compare VAR_FACING, DIR_SOUTH
call_if_eq BattleFrontier_OutsideWest_EventScript_23D608
call_if_eq BattleFrontier_OutsideWest_EventScript_GirlShudderSouth
compare VAR_FACING, DIR_WEST
call_if_eq BattleFrontier_OutsideWest_EventScript_23D613
call_if_eq BattleFrontier_OutsideWest_EventScript_GirlShudderWest
compare VAR_FACING, DIR_EAST
call_if_eq BattleFrontier_OutsideWest_EventScript_23D61E
call_if_eq BattleFrontier_OutsideWest_EventScript_GirlShudderEast
waitbuttonpress
release
end
BattleFrontier_OutsideWest_EventScript_23D5FD:: @ 823D5FD
applymovement 12, BattleFrontier_OutsideWest_Movement_23D629
BattleFrontier_OutsideWest_EventScript_GirlShudderNorth:: @ 823D5FD
applymovement 12, BattleFrontier_OutsideWest_Movement_GirlShudderNorth
waitmovement 0
return
BattleFrontier_OutsideWest_EventScript_23D608:: @ 823D608
applymovement 12, BattleFrontier_OutsideWest_Movement_23D62C
BattleFrontier_OutsideWest_EventScript_GirlShudderSouth:: @ 823D608
applymovement 12, BattleFrontier_OutsideWest_Movement_GirlShudderSouth
waitmovement 0
return
BattleFrontier_OutsideWest_EventScript_23D613:: @ 823D613
applymovement 12, BattleFrontier_OutsideWest_Movement_23D62F
BattleFrontier_OutsideWest_EventScript_GirlShudderWest:: @ 823D613
applymovement 12, BattleFrontier_OutsideWest_Movement_GirlShudderWest
waitmovement 0
return
BattleFrontier_OutsideWest_EventScript_23D61E:: @ 823D61E
applymovement 12, BattleFrontier_OutsideWest_Movement_23D632
BattleFrontier_OutsideWest_EventScript_GirlShudderEast:: @ 823D61E
applymovement 12, BattleFrontier_OutsideWest_Movement_GirlShudderEast
waitmovement 0
return
BattleFrontier_OutsideWest_Movement_23D629: @ 823D629
BattleFrontier_OutsideWest_Movement_GirlShudderNorth: @ 823D629
walk_in_place_fastest_down
walk_in_place_fastest_down
step_end
BattleFrontier_OutsideWest_Movement_23D62C: @ 823D62C
BattleFrontier_OutsideWest_Movement_GirlShudderSouth: @ 823D62C
walk_in_place_fastest_up
walk_in_place_fastest_up
step_end
BattleFrontier_OutsideWest_Movement_23D62F: @ 823D62F
BattleFrontier_OutsideWest_Movement_GirlShudderWest: @ 823D62F
walk_in_place_fastest_right
walk_in_place_fastest_right
step_end
BattleFrontier_OutsideWest_Movement_23D632: @ 823D632
BattleFrontier_OutsideWest_Movement_GirlShudderEast: @ 823D632
walk_in_place_fastest_left
walk_in_place_fastest_left
step_end
BattleFrontier_OutsideWest_EventScript_23D635:: @ 823D635
BattleFrontier_OutsideWest_EventScript_Woman2:: @ 823D635
lock
faceplayer
msgbox BattleFrontier_OutsideWest_Text_23DD3B, MSGBOX_DEFAULT
msgbox BattleFrontier_OutsideWest_Text_LetsPlayRockPaperScissors, MSGBOX_DEFAULT
random 2
compare VAR_RESULT, 1
goto_if_eq BattleFrontier_OutsideWest_EventScript_23D653
goto BattleFrontier_OutsideWest_EventScript_23D65D
goto_if_eq BattleFrontier_OutsideWest_EventScript_WomanWonRockPaperScissors
goto BattleFrontier_OutsideWest_EventScript_WomanLostRockPaperScissors
end
BattleFrontier_OutsideWest_EventScript_23D653:: @ 823D653
msgbox BattleFrontier_OutsideWest_Text_23DD7A, MSGBOX_DEFAULT
BattleFrontier_OutsideWest_EventScript_WomanWonRockPaperScissors:: @ 823D653
msgbox BattleFrontier_OutsideWest_Text_WonIllTakePikeChallenge, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideWest_EventScript_23D65D:: @ 823D65D
msgbox BattleFrontier_OutsideWest_Text_23DDAD, MSGBOX_DEFAULT
BattleFrontier_OutsideWest_EventScript_WomanLostRockPaperScissors:: @ 823D65D
msgbox BattleFrontier_OutsideWest_Text_LostIllPutOffPikeChallenge, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideWest_EventScript_23D667:: @ 823D667
msgbox BattleFrontier_OutsideWest_Text_23DE15, MSGBOX_NPC
BattleFrontier_OutsideWest_EventScript_Fisherman1:: @ 823D667
msgbox BattleFrontier_OutsideWest_Text_ChooseFishingOverBattling, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_23D670:: @ 823D670
msgbox BattleFrontier_OutsideWest_Text_23DF7D, MSGBOX_NPC
@ Unused
BattleFrontier_OutsideWest_EventScript_UnusedNPC3:: @ 823D670
msgbox BattleFrontier_OutsideWest_Text_DomeIsHereGrandpa, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_23D679:: @ 823D679
msgbox BattleFrontier_OutsideWest_Text_23DEFD, MSGBOX_NPC
BattleFrontier_OutsideWest_EventScript_Gentleman:: @ 823D679
msgbox BattleFrontier_OutsideWest_Text_YoureOffToChallengeDome, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_23D682:: @ 823D682
msgbox BattleFrontier_OutsideWest_Text_23DEB4, MSGBOX_NPC
BattleFrontier_OutsideWest_EventScript_Lass:: @ 823D682
msgbox BattleFrontier_OutsideWest_Text_KeepBattlingUntilIGetSymbol, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_23D68B:: @ 823D68B
msgbox BattleFrontier_OutsideWest_Text_23DFBF, MSGBOX_NPC
BattleFrontier_OutsideWest_EventScript_ExpertM:: @ 823D68B
msgbox BattleFrontier_OutsideWest_Text_WontLetGentlemenBeatMe, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_23D694:: @ 823D694
msgbox BattleFrontier_OutsideWest_Text_23E01E, MSGBOX_NPC
BattleFrontier_OutsideWest_EventScript_Man2:: @ 823D694
msgbox BattleFrontier_OutsideWest_Text_NothingHereNotLongAgo, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_23D69D:: @ 823D69D
msgbox BattleFrontier_OutsideWest_Text_23E09F, MSGBOX_NPC
BattleFrontier_OutsideWest_EventScript_Woman1:: @ 823D69D
msgbox BattleFrontier_OutsideWest_Text_FinallyArrivedAtFrontier, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_23D6A6:: @ 823D6A6
msgbox BattleFrontier_OutsideWest_Text_23E102, MSGBOX_NPC
BattleFrontier_OutsideWest_EventScript_FatMan1:: @ 823D6A6
msgbox BattleFrontier_OutsideWest_Text_SquareFilledWithToughPeople, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_23D6AF:: @ 823D6AF
msgbox BattleFrontier_OutsideWest_Text_23E154, MSGBOX_NPC
BattleFrontier_OutsideWest_EventScript_FatMan2:: @ 823D6AF
msgbox BattleFrontier_OutsideWest_Text_MetOlderGirlAtPike, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_23D6B8:: @ 823D6B8
BattleFrontier_OutsideWest_EventScript_Woman3:: @ 823D6B8
lock
msgbox BattleFrontier_OutsideWest_Text_23E273, MSGBOX_DEFAULT
msgbox BattleFrontier_OutsideWest_Text_LastTimeOurEyesMet, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideWest_EventScript_23D6C3:: @ 823D6C3
BattleFrontier_OutsideWest_EventScript_Boy2:: @ 823D6C3
lock
msgbox BattleFrontier_OutsideWest_Text_23E2E9, MSGBOX_DEFAULT
msgbox BattleFrontier_OutsideWest_Text_DomeAceLookedBecauseOfMyCheering, MSGBOX_DEFAULT
release
end
BattleFrontier_OutsideWest_EventScript_23D6CE:: @ 823D6CE
msgbox BattleFrontier_OutsideWest_Text_23E37E, MSGBOX_NPC
BattleFrontier_OutsideWest_EventScript_OldMan:: @ 823D6CE
msgbox BattleFrontier_OutsideWest_Text_DomeAceIsMine, MSGBOX_NPC
end
BattleFrontier_OutsideWest_EventScript_23D6D7:: @ 823D6D7
BattleFrontier_OutsideWest_EventScript_Man4:: @ 823D6D7
lock
faceplayer
msgbox BattleFrontier_OutsideWest_Text_23E410, MSGBOX_DEFAULT
msgbox BattleFrontier_OutsideWest_Text_FansOverThereUsedToBeTrainers, MSGBOX_DEFAULT
closemessage
applymovement 23, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
BattleFrontier_OutsideWest_EventScript_23D6EE:: @ 823D6EE
msgbox BattleFrontier_OutsideWest_Text_23E5A5, MSGBOX_NPC
BattleFrontier_OutsideWest_EventScript_PokefanF:: @ 823D6EE
msgbox BattleFrontier_OutsideWest_Text_MonWithLongTailInFrontier, MSGBOX_NPC
end
BattleFrontier_OutsideWest_Text_23D6F7: @ 823D6F7
BattleFrontier_OutsideWest_Text_BattleDomeSign: @ 823D6F7
.string "This is the BATTLE DOME!\n"
.string "Your path to the invincible superstar!$"
BattleFrontier_OutsideWest_Text_23D737: @ 823D737
BattleFrontier_OutsideWest_Text_BattleFactorySign: @ 823D737
.string "This is the BATTLE FACTORY!\n"
.string "Seek out the toughest POKéMON!$"
BattleFrontier_OutsideWest_Text_23D772: @ 823D772
BattleFrontier_OutsideWest_Text_BattlePikeSign: @ 823D772
.string "This is the BATTLE PIKE!\n"
.string "Choose one of three paths!$"
BattleFrontier_OutsideWest_Text_23D7A6: @ 823D7A6
BattleFrontier_OutsideWest_Text_ThisIsBattleTower: @ 823D7A6
.string "This is the BATTLE TOWER.\p"
.string "TRAINERS bring their best-raised\n"
.string "POKéMON for elimination-style matches.$"
BattleFrontier_OutsideWest_Text_23D808: @ 823D808
BattleFrontier_OutsideWest_Text_MayISeeYourTicket: @ 823D808
.string "Hello, are you here for the ferry?\n"
.string "May I see your TICKET?$"
BattleFrontier_OutsideWest_Text_23D842: @ 823D842
BattleFrontier_OutsideWest_Text_MustHaveTicketToBoard: @ 823D842
.string "{PLAYER} doesn't have the TICKET…\p"
.string "I'm terribly sorry.\p"
.string "You must have a TICKET to board\n"
.string "the ferry.$"
BattleFrontier_OutsideWest_Text_23D89D: @ 823D89D
BattleFrontier_OutsideWest_Text_WhereWouldYouLikeToGo: @ 823D89D
.string "{PLAYER} flashed the TICKET.\p"
.string "Perfect! That's all you need!\p"
.string "And where would you like to go?$"
BattleFrontier_OutsideWest_Text_23D8F2: @ 823D8F2
BattleFrontier_OutsideWest_Text_SlateportItIs: @ 823D8F2
.string "SLATEPORT CITY it is, then!$"
BattleFrontier_OutsideWest_Text_23D90E: @ 823D90E
BattleFrontier_OutsideWest_Text_LilycoveItIs: @ 823D90E
.string "LILYCOVE CITY it is, then!$"
BattleFrontier_OutsideWest_Text_23D929: @ 823D929
BattleFrontier_OutsideWest_Text_SailWithUsAnotherTime: @ 823D929
.string "Please sail with us another time!$"
BattleFrontier_OutsideWest_Text_23D94B: @ 823D94B
BattleFrontier_OutsideWest_Text_PleaseBoardFerry: @ 823D94B
.string "Please board the ferry and wait for\n"
.string "departure.$"
BattleFrontier_OutsideWest_Text_23D97A: @ 823D97A
BattleFrontier_OutsideWest_Text_ThenWhereWouldYouLikeToGo: @ 823D97A
.string "Then, where would you like to go?$"
BattleFrontier_OutsideWest_Text_23D99C: @ 823D99C
BattleFrontier_OutsideWest_Text_BestOutOfAllMyFriends: @ 823D99C
.string "I'm the best out of all my friends.\n"
.string "But here…\l"
.string "I've been useless!$"
BattleFrontier_OutsideWest_Text_23D9DD: @ 823D9DD
BattleFrontier_OutsideWest_Text_CantFindBattleTower: @ 823D9DD
.string "I want to go to the BATTLE TOWER,\n"
.string "but I can't find it even though I have\l"
.string "a map of the BATTLE FRONTIER.\p"
.string "This place is just too big!$"
BattleFrontier_OutsideWest_Text_23DA60: @ 823DA60
BattleFrontier_OutsideWest_Text_GotSeasickOnWayHere: @ 823DA60
.string "I wanted to take a challenge as soon\n"
.string "as I arrived here.\p"
.string "But on the way, I got seasick…\n"
.string "Urrrrp…$"
BattleFrontier_OutsideWest_Text_23DABF: @ 823DABF
BattleFrontier_OutsideWest_Text_OnlyToughTrainersBroughtHere: @ 823DABF
.string "It's not as if just anyone can come\n"
.string "here, you know?\p"
.string "Only those TRAINERS who've been\n"
@@ -380,94 +383,94 @@ BattleFrontier_OutsideWest_Text_23DABF: @ 823DABF
.string "That's why many TRAINERS don't even\n"
.string "know about the BATTLE FRONTIER.$"
BattleFrontier_OutsideWest_Text_23DB7D: @ 823DB7D
BattleFrontier_OutsideWest_Text_SureWeCanChallengeWithNoMons: @ 823DB7D
.string "Hey, bro…\p"
.string "Are you sure we can make challenges\n"
.string "even if we don't have any POKéMON?$"
BattleFrontier_OutsideWest_Text_23DBCE: @ 823DBCE
BattleFrontier_OutsideWest_Text_BigGuySaidIllLendYouMons: @ 823DBCE
.string "Uh…\n"
.string "I'm sure it'll be okay.\p"
.string "I think…\p"
.string "But remember that big scary guy?\n"
.string "He said, “I'll lend you POKéMON!”$"
BattleFrontier_OutsideWest_Text_23DC36: @ 823DC36
BattleFrontier_OutsideWest_Text_WhosRaisingThoseRentalMons: @ 823DC36
.string "That's the BATTLE FACTORY.\n"
.string "You can rent strong POKéMON there.\p"
.string "But it makes me wonder.\n"
.string "Who's raising those rental POKéMON?$"
BattleFrontier_OutsideWest_Text_23DCB0: @ 823DCB0
BattleFrontier_OutsideWest_Text_ScaredOfPikeBecauseSeviper: @ 823DCB0
.string "I'm scared of going into the BATTLE\n"
.string "PIKE because of SEVIPER…\p"
.string "B-but I came all the way here, so I will\n"
.string "try to conquer everything!\l"
.string "…Shudder…$"
BattleFrontier_OutsideWest_Text_23DD3B: @ 823DD3B
BattleFrontier_OutsideWest_Text_LetsPlayRockPaperScissors: @ 823DD3B
.string "Let's play rock, paper, scissors!\n"
.string "One, two, three!\p"
.string "… … … … … …$"
BattleFrontier_OutsideWest_Text_23DD7A: @ 823DD7A
BattleFrontier_OutsideWest_Text_WonIllTakePikeChallenge: @ 823DD7A
.string "Yay! I won!\n"
.string "I will take the BATTLE PIKE challenge!$"
BattleFrontier_OutsideWest_Text_23DDAD: @ 823DDAD
BattleFrontier_OutsideWest_Text_LostIllPutOffPikeChallenge: @ 823DDAD
.string "Oh, no…\n"
.string "I lost.\p"
.string "I guess I'm not very lucky today.\n"
.string "I'll put off my BATTLE PIKE challenge\l"
.string "until tomorrow.$"
BattleFrontier_OutsideWest_Text_23DE15: @ 823DE15
BattleFrontier_OutsideWest_Text_ChooseFishingOverBattling: @ 823DE15
.string "I believe I'm the only person here who,\n"
.string "for some unknown reason, would choose\l"
.string "fishing over battling.\p"
.string "Huh? You can't catch anything here?\n"
.string "That's disappointing…$"
BattleFrontier_OutsideWest_Text_23DEB4: @ 823DEB4
BattleFrontier_OutsideWest_Text_KeepBattlingUntilIGetSymbol: @ 823DEB4
.string "Today, I'm going to keep battling, no\n"
.string "matter what, until I get a Symbol.$"
BattleFrontier_OutsideWest_Text_23DEFD: @ 823DEFD
BattleFrontier_OutsideWest_Text_YoureOffToChallengeDome: @ 823DEFD
.string "Oh? You're off to challenge\n"
.string "the BATTLE DOME?\p"
.string "I'll wish you the best of luck.\n"
.string "Let us both win our way up and meet\l"
.string "in challenges.$"
BattleFrontier_OutsideWest_Text_23DF7D: @ 823DF7D
BattleFrontier_OutsideWest_Text_DomeIsHereGrandpa: @ 823DF7D
.string "Grandpa, over here!\n"
.string "The BATTLE DOME is here!\l"
.string "Go get 'em, Grandpa!$"
BattleFrontier_OutsideWest_Text_23DFBF: @ 823DFBF
BattleFrontier_OutsideWest_Text_WontLetGentlemenBeatMe: @ 823DFBF
.string "Ah, so this here is the BATTLE DOME?\n"
.string "I won't let GENTLEMEN beat me!\p"
.string "But where is the entrance?$"
BattleFrontier_OutsideWest_Text_23E01E: @ 823E01E
BattleFrontier_OutsideWest_Text_NothingHereNotLongAgo: @ 823E01E
.string "There used to be nothing here not all\n"
.string "that long ago.\p"
.string "But, now look at this place! Amazing!\n"
.string "I'll bring my mother out to see this.$"
BattleFrontier_OutsideWest_Text_23E09F: @ 823E09F
BattleFrontier_OutsideWest_Text_FinallyArrivedAtFrontier: @ 823E09F
.string "I've finally arrived at the BATTLE\n"
.string "FRONTIER!\p"
.string "I'm sure to grab attention with\n"
.string "my looks and ability!$"
BattleFrontier_OutsideWest_Text_23E102: @ 823E102
BattleFrontier_OutsideWest_Text_SquareFilledWithToughPeople: @ 823E102
.string "Munch, munch…\p"
.string "It looks like this square's filled with\n"
.string "tough people.\p"
.string "Munch, munch…$"
BattleFrontier_OutsideWest_Text_23E154: @ 823E154
BattleFrontier_OutsideWest_Text_MetOlderGirlAtPike: @ 823E154
.string "Crunch, munch…\p"
.string "A while back, I met this older girl\n"
.string "at the BATTLE PIKE.\p"
@@ -480,13 +483,13 @@ BattleFrontier_OutsideWest_Text_23E154: @ 823E154
.string "scary experience, sure enough.\p"
.string "Crunch, munch…$"
BattleFrontier_OutsideWest_Text_23E273: @ 823E273
BattleFrontier_OutsideWest_Text_LastTimeOurEyesMet: @ 823E273
.string "Huh? Will you listen to yourself?\n"
.string "That's nothing!\p"
.string "Why, the last time I cheered for him,\n"
.string "our eyes met and sparks flew!$"
BattleFrontier_OutsideWest_Text_23E2E9: @ 823E2E9
BattleFrontier_OutsideWest_Text_DomeAceLookedBecauseOfMyCheering: @ 823E2E9
.string "Whaaaaaat?!\n"
.string "Pfft!\p"
.string "That only happened because\n"
@@ -494,7 +497,7 @@ BattleFrontier_OutsideWest_Text_23E2E9: @ 823E2E9
.string "The DOME ACE only looked our way\n"
.string "because my cheering was so loud!$"
BattleFrontier_OutsideWest_Text_23E37E: @ 823E37E
BattleFrontier_OutsideWest_Text_DomeAceIsMine: @ 823E37E
.string "Oh, shush!\n"
.string "Keep that racket down!\p"
.string "You fair-weather fans should stick\n"
@@ -502,7 +505,7 @@ BattleFrontier_OutsideWest_Text_23E37E: @ 823E37E
.string "The DOME ACE is mine!\n"
.string "The only idol for me!$"
BattleFrontier_OutsideWest_Text_23E410: @ 823E410
BattleFrontier_OutsideWest_Text_FansOverThereUsedToBeTrainers: @ 823E410
.string "Those people squabbling over there…\p"
.string "It's hard to believe, but they once\n"
.string "were TRAINERS, and good ones, too.\p"
@@ -516,7 +519,7 @@ BattleFrontier_OutsideWest_Text_23E410: @ 823E410
.string "They go cheer for their idol at the\l"
.string "BATTLE DOME every day now.$"
BattleFrontier_OutsideWest_Text_23E5A5: @ 823E5A5
BattleFrontier_OutsideWest_Text_MonWithLongTailInFrontier: @ 823E5A5
.string "I heard a rumor that someone saw\n"
.string "a POKéMON with an unusually long tail\l"
.string "somewhere in the BATTLE FRONTIER.\p"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_RankingHall_EventScript_25E52F",
"script": "BattleFrontier_RankingHall_EventScript_Attendant",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_RankingHall_EventScript_25E54A",
"script": "BattleFrontier_RankingHall_EventScript_NinjaBoy",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_RankingHall_EventScript_25E573",
"script": "BattleFrontier_RankingHall_EventScript_Boy",
"flag": "0"
}
],
@@ -78,7 +78,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_25E4AA"
"script": "BattleFrontier_RankingHall_EventScript_TowerSinglesRecords"
},
{
"type": "sign",
@@ -86,7 +86,7 @@
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_25E4B6"
"script": "BattleFrontier_RankingHall_EventScript_TowerDoublesRecords"
},
{
"type": "sign",
@@ -94,7 +94,7 @@
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_25E4C2"
"script": "BattleFrontier_RankingHall_EventScript_TowerMultisRecords"
},
{
"type": "sign",
@@ -102,7 +102,7 @@
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_25E4CE"
"script": "BattleFrontier_RankingHall_EventScript_TowerLinkRecords"
},
{
"type": "sign",
@@ -110,7 +110,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_25E4DA"
"script": "BattleFrontier_RankingHall_EventScript_ArenaRecords"
},
{
"type": "sign",
@@ -118,7 +118,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_25E4E6"
"script": "BattleFrontier_RankingHall_EventScript_PalaceRecords"
},
{
"type": "sign",
@@ -126,7 +126,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_25E4F2"
"script": "BattleFrontier_RankingHall_EventScript_FactoryRecords"
},
{
"type": "sign",
@@ -134,7 +134,7 @@
"y": 7,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_25E4FE"
"script": "BattleFrontier_RankingHall_EventScript_DomeRecords"
},
{
"type": "sign",
@@ -142,7 +142,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_25E50A"
"script": "BattleFrontier_RankingHall_EventScript_PikeRecords"
},
{
"type": "sign",
@@ -150,7 +150,7 @@
"y": 7,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "BattleFrontier_RankingHall_EventScript_25E516"
"script": "BattleFrontier_RankingHall_EventScript_PyramidRecords"
},
{
"type": "sign",
@@ -158,7 +158,7 @@
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_RankingHall_EventScript_25E538"
"script": "BattleFrontier_RankingHall_EventScript_DomePikeFactoryRecordsSign"
},
{
"type": "sign",
@@ -166,7 +166,7 @@
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "BattleFrontier_RankingHall_EventScript_25E541"
"script": "BattleFrontier_RankingHall_EventScript_PalaceArenaPyramidRecordsSIgn"
}
]
}

View File

@@ -1,67 +1,67 @@
BattleFrontier_RankingHall_MapScripts:: @ 825E4A9
.byte 0
BattleFrontier_RankingHall_EventScript_25E4AA:: @ 825E4AA
BattleFrontier_RankingHall_EventScript_TowerSinglesRecords:: @ 825E4AA
lockall
setvar VAR_0x8005, 0
goto BattleFrontier_RankingHall_EventScript_25E522
setvar VAR_0x8005, RANKING_HALL_BATTLE_TOWER_SINGLES
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_25E4B6:: @ 825E4B6
BattleFrontier_RankingHall_EventScript_TowerDoublesRecords:: @ 825E4B6
lockall
setvar VAR_0x8005, 1
goto BattleFrontier_RankingHall_EventScript_25E522
setvar VAR_0x8005, RANKING_HALL_BATTLE_TOWER_DOUBLES
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_25E4C2:: @ 825E4C2
BattleFrontier_RankingHall_EventScript_TowerMultisRecords:: @ 825E4C2
lockall
setvar VAR_0x8005, 2
goto BattleFrontier_RankingHall_EventScript_25E522
setvar VAR_0x8005, RANKING_HALL_BATTLE_TOWER_MULTIS
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_25E4CE:: @ 825E4CE
BattleFrontier_RankingHall_EventScript_TowerLinkRecords:: @ 825E4CE
lockall
setvar VAR_0x8005, 9
goto BattleFrontier_RankingHall_EventScript_25E522
setvar VAR_0x8005, RANKING_HALL_BATTLE_TOWER_LINK
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_25E4DA:: @ 825E4DA
BattleFrontier_RankingHall_EventScript_ArenaRecords:: @ 825E4DA
lockall
setvar VAR_0x8005, 5
goto BattleFrontier_RankingHall_EventScript_25E522
setvar VAR_0x8005, RANKING_HALL_BATTLE_ARENA
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_25E4E6:: @ 825E4E6
BattleFrontier_RankingHall_EventScript_PalaceRecords:: @ 825E4E6
lockall
setvar VAR_0x8005, 4
goto BattleFrontier_RankingHall_EventScript_25E522
setvar VAR_0x8005, RANKING_HALL_BATTLE_PALACE
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_25E4F2:: @ 825E4F2
BattleFrontier_RankingHall_EventScript_FactoryRecords:: @ 825E4F2
lockall
setvar VAR_0x8005, 6
goto BattleFrontier_RankingHall_EventScript_25E522
setvar VAR_0x8005, RANKING_HALL_BATTLE_FACTORY
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_25E4FE:: @ 825E4FE
BattleFrontier_RankingHall_EventScript_DomeRecords:: @ 825E4FE
lockall
setvar VAR_0x8005, 3
goto BattleFrontier_RankingHall_EventScript_25E522
setvar VAR_0x8005, RANKING_HALL_BATTLE_DOME
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_25E50A:: @ 825E50A
BattleFrontier_RankingHall_EventScript_PikeRecords:: @ 825E50A
lockall
setvar VAR_0x8005, 7
goto BattleFrontier_RankingHall_EventScript_25E522
setvar VAR_0x8005, RANKING_HALL_BATTLE_PIKE
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_25E516:: @ 825E516
BattleFrontier_RankingHall_EventScript_PyramidRecords:: @ 825E516
lockall
setvar VAR_0x8005, 8
goto BattleFrontier_RankingHall_EventScript_25E522
setvar VAR_0x8005, RANKING_HALL_BATTLE_PYRAMID
goto BattleFrontier_RankingHall_EventScript_ShowRecords
end
BattleFrontier_RankingHall_EventScript_25E522:: @ 825E522
BattleFrontier_RankingHall_EventScript_ShowRecords:: @ 825E522
special ShowRankingHallRecordsWindow
waitbuttonpress
special ScrollRankingHallRecordsWindow
@@ -70,64 +70,64 @@ BattleFrontier_RankingHall_EventScript_25E522:: @ 825E522
releaseall
end
BattleFrontier_RankingHall_EventScript_25E52F:: @ 825E52F
msgbox BattleFrontier_RankingHall_Text_25E57C, MSGBOX_NPC
BattleFrontier_RankingHall_EventScript_Attendant:: @ 825E52F
msgbox BattleFrontier_RankingHall_Text_ExplainRankingHall, MSGBOX_NPC
end
BattleFrontier_RankingHall_EventScript_25E538:: @ 825E538
msgbox BattleFrontier_RankingHall_Text_25E5F9, MSGBOX_SIGN
BattleFrontier_RankingHall_EventScript_DomePikeFactoryRecordsSign:: @ 825E538
msgbox BattleFrontier_RankingHall_Text_DomePikeFactoryRecords, MSGBOX_SIGN
end
BattleFrontier_RankingHall_EventScript_25E541:: @ 825E541
msgbox BattleFrontier_RankingHall_Text_25E62E, MSGBOX_SIGN
BattleFrontier_RankingHall_EventScript_PalaceArenaPyramidRecordsSIgn:: @ 825E541
msgbox BattleFrontier_RankingHall_Text_PalaceArenaPyramidRecords, MSGBOX_SIGN
end
BattleFrontier_RankingHall_EventScript_25E54A:: @ 825E54A
BattleFrontier_RankingHall_EventScript_NinjaBoy:: @ 825E54A
lock
faceplayer
msgbox BattleFrontier_RankingHall_Text_25E666, MSGBOX_YESNO
msgbox BattleFrontier_RankingHall_Text_IsYourNameOnThisList, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq BattleFrontier_RankingHall_EventScript_25E569
msgbox BattleFrontier_RankingHall_Text_25E6B6, MSGBOX_DEFAULT
goto_if_eq BattleFrontier_RankingHall_EventScript_NinjaBoyNameOnList
msgbox BattleFrontier_RankingHall_Text_WorkHarderIfYouSawFriendsName, MSGBOX_DEFAULT
release
end
BattleFrontier_RankingHall_EventScript_25E569:: @ 825E569
msgbox BattleFrontier_RankingHall_Text_25E685, MSGBOX_DEFAULT
BattleFrontier_RankingHall_EventScript_NinjaBoyNameOnList:: @ 825E569
msgbox BattleFrontier_RankingHall_Text_WowThatsSuper, MSGBOX_DEFAULT
release
end
BattleFrontier_RankingHall_EventScript_25E573:: @ 825E573
msgbox BattleFrontier_RankingHall_Text_25E715, MSGBOX_NPC
BattleFrontier_RankingHall_EventScript_Boy:: @ 825E573
msgbox BattleFrontier_RankingHall_Text_MyNamesNotUpThere, MSGBOX_NPC
end
BattleFrontier_RankingHall_Text_25E57C: @ 825E57C
BattleFrontier_RankingHall_Text_ExplainRankingHall: @ 825E57C
.string "This is the RANKING HALL.\p"
.string "This is where we recognize the immortal\n"
.string "TRAINERS who left great records in\l"
.string "BATTLE FRONTIER events.$"
BattleFrontier_RankingHall_Text_25E5F9: @ 825E5F9
BattleFrontier_RankingHall_Text_DomePikeFactoryRecords: @ 825E5F9
.string "BATTLE DOME, BATTLE PIKE,\n"
.string "and BATTLE FACTORY Records$"
BattleFrontier_RankingHall_Text_25E62E: @ 825E62E
BattleFrontier_RankingHall_Text_PalaceArenaPyramidRecords: @ 825E62E
.string "BATTLE PALACE, BATTLE ARENA,\n"
.string "and BATTLE PYRAMID Records$"
BattleFrontier_RankingHall_Text_25E666: @ 825E666
BattleFrontier_RankingHall_Text_IsYourNameOnThisList: @ 825E666
.string "Hi, is your name on this list?$"
BattleFrontier_RankingHall_Text_25E685: @ 825E685
BattleFrontier_RankingHall_Text_WowThatsSuper: @ 825E685
.string "Wow, that's super!\n"
.string "I'll have to try harder, too!$"
BattleFrontier_RankingHall_Text_25E6B6: @ 825E6B6
BattleFrontier_RankingHall_Text_WorkHarderIfYouSawFriendsName: @ 825E6B6
.string "Oh, is that right?\p"
.string "If you saw your friend's name up here,\n"
.string "I bet it would make you work harder!$"
BattleFrontier_RankingHall_Text_25E715: @ 825E715
BattleFrontier_RankingHall_Text_MyNamesNotUpThere: @ 825E715
.string "Hmm…\n"
.string "My name's not up there…\p"
.string "Well, it's only natural since I haven't\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_ReceptionGate_EventScript_2662FC",
"script": "BattleFrontier_ReceptionGate_EventScript_Greeter",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_ReceptionGate_EventScript_266310",
"script": "BattleFrontier_ReceptionGate_EventScript_FacilityGuide",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_ReceptionGate_EventScript_266436",
"script": "BattleFrontier_ReceptionGate_EventScript_RulesGuide",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_ReceptionGate_EventScript_2664F4",
"script": "BattleFrontier_ReceptionGate_EventScript_FrontierPassGuide",
"flag": "0"
}
],

View File

@@ -1,5 +1,5 @@
BattleFrontier_ReceptionGate_MapScripts:: @ 82661DA
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_ReceptionGate_MapScript2_2661E9
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_ReceptionGate_OnFrame
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_ReceptionGate_OnTransition
.byte 0
@@ -7,11 +7,11 @@ BattleFrontier_ReceptionGate_OnTransition: @ 82661E5
setflag FLAG_LANDMARK_BATTLE_FRONTIER
end
BattleFrontier_ReceptionGate_MapScript2_2661E9: @ 82661E9
map_script_2 VAR_HAS_ENTERED_BATTLE_FRONTIER, 0, BattleFrontier_ReceptionGate_EventScript_2661F3
BattleFrontier_ReceptionGate_OnFrame: @ 82661E9
map_script_2 VAR_HAS_ENTERED_BATTLE_FRONTIER, 0, BattleFrontier_ReceptionGate_EventScript_FirstTimeEntering
.2byte 0
BattleFrontier_ReceptionGate_EventScript_2661F3:: @ 82661F3
BattleFrontier_ReceptionGate_EventScript_FirstTimeEntering:: @ 82661F3
lockall
setvar VAR_HAS_ENTERED_BATTLE_FRONTIER, 1
playse SE_PIN
@@ -19,24 +19,24 @@ BattleFrontier_ReceptionGate_EventScript_2661F3:: @ 82661F3
waitmovement 0
applymovement 1, Common_Movement_Delay48
waitmovement 0
msgbox BattleFrontier_ReceptionGate_Text_266580, MSGBOX_DEFAULT
msgbox BattleFrontier_ReceptionGate_Text_FirstTimeHereThisWay, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_ReceptionGate_Movement_2662D2
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_ReceptionGate_Movement_PlayerApproachCounter
waitmovement 0
goto BattleFrontier_ReceptionGate_EventScript_266229
goto BattleFrontier_ReceptionGate_EventScript_ScottScene
end
BattleFrontier_ReceptionGate_EventScript_266229:: @ 8266229
msgbox BattleFrontier_ReceptionGate_Text_2665B2, MSGBOX_DEFAULT
msgbox BattleFrontier_ReceptionGate_Text_2665F7, MSGBOX_DEFAULT
BattleFrontier_ReceptionGate_EventScript_ScottScene:: @ 8266229
msgbox BattleFrontier_ReceptionGate_Text_WelcomeToBattleFrontier, MSGBOX_DEFAULT
msgbox BattleFrontier_ReceptionGate_Text_IssueFrontierPass, MSGBOX_DEFAULT
playfanfare MUS_FANFA4
message BattleFrontier_ReceptionGate_Text_266676
message BattleFrontier_ReceptionGate_Text_ObtainedFrontierPass
waitfanfare
waitmessage
msgbox BattleFrontier_ReceptionGate_Text_266695, MSGBOX_DEFAULT
msgbox BattleFrontier_ReceptionGate_Text_PlacedTrainerCardInFrontierPass, MSGBOX_DEFAULT
setflag FLAG_SYS_FRONTIER_PASS
msgbox BattleFrontier_ReceptionGate_Text_2666C6, MSGBOX_DEFAULT
msgbox BattleFrontier_ReceptionGate_Text_266703, MSGBOX_DEFAULT
msgbox BattleFrontier_ReceptionGate_Text_EnjoyBattleFrontier, MSGBOX_DEFAULT
msgbox BattleFrontier_ReceptionGate_Text_IfItIsntPlayerYouCame, MSGBOX_DEFAULT
closemessage
applymovement 1, Common_Movement_WalkInPlaceFastestUp
applymovement 2, Common_Movement_WalkInPlaceFastestUp
@@ -47,29 +47,29 @@ BattleFrontier_ReceptionGate_EventScript_266229:: @ 8266229
applymovement 2, Common_Movement_ExclamationMark
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_ExclamationMark
waitmovement 0
msgbox BattleFrontier_ReceptionGate_Text_266733, MSGBOX_DEFAULT
msgbox BattleFrontier_ReceptionGate_Text_OhMrScottGoodDay, MSGBOX_DEFAULT
closemessage
applymovement 1, BattleFrontier_ReceptionGate_Movement_2662F0
applymovement 2, BattleFrontier_ReceptionGate_Movement_2662F6
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_ReceptionGate_Movement_2662D7
applymovement 4, BattleFrontier_ReceptionGate_Movement_2662E0
applymovement 1, BattleFrontier_ReceptionGate_Movement_GreeterFaceScott
applymovement 2, BattleFrontier_ReceptionGate_Movement_FacilityGuideFaceScott
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_ReceptionGate_Movement_PlayerFaceScott
applymovement 4, BattleFrontier_ReceptionGate_Movement_ScottEnter
waitmovement 0
msgbox BattleFrontier_ReceptionGate_Text_266764, MSGBOX_DEFAULT
msgbox BattleFrontier_ReceptionGate_Text_ScottGreatToSeeYouHere, MSGBOX_DEFAULT
closemessage
applymovement 4, BattleFrontier_ReceptionGate_Movement_2662E8
applymovement 4, BattleFrontier_ReceptionGate_Movement_ScottExit
waitmovement 0
removeobject 4
releaseall
end
BattleFrontier_ReceptionGate_Movement_2662D2: @ 82662D2
BattleFrontier_ReceptionGate_Movement_PlayerApproachCounter: @ 82662D2
walk_up
walk_up
walk_left
walk_left
step_end
BattleFrontier_ReceptionGate_Movement_2662D7: @ 82662D7
BattleFrontier_ReceptionGate_Movement_PlayerFaceScott: @ 82662D7
delay_16
delay_16
delay_16
@@ -77,12 +77,13 @@ BattleFrontier_ReceptionGate_Movement_2662D7: @ 82662D7
walk_in_place_fastest_right
step_end
BattleFrontier_ReceptionGate_Movement_2662DD: @ 82662DD
@ Unused
BattleFrontier_ReceptionGate_Movement_WalkDown: @ 82662DD
walk_down
walk_down
step_end
BattleFrontier_ReceptionGate_Movement_2662E0: @ 82662E0
BattleFrontier_ReceptionGate_Movement_ScottEnter: @ 82662E0
walk_down
walk_down
walk_down
@@ -92,7 +93,7 @@ BattleFrontier_ReceptionGate_Movement_2662E0: @ 82662E0
walk_left
step_end
BattleFrontier_ReceptionGate_Movement_2662E8: @ 82662E8
BattleFrontier_ReceptionGate_Movement_ScottExit: @ 82662E8
walk_right
walk_up
walk_up
@@ -102,7 +103,7 @@ BattleFrontier_ReceptionGate_Movement_2662E8: @ 82662E8
walk_up
step_end
BattleFrontier_ReceptionGate_Movement_2662F0: @ 82662F0
BattleFrontier_ReceptionGate_Movement_GreeterFaceScott: @ 82662F0
delay_16
delay_16
delay_16
@@ -110,7 +111,7 @@ BattleFrontier_ReceptionGate_Movement_2662F0: @ 82662F0
walk_in_place_fastest_right
step_end
BattleFrontier_ReceptionGate_Movement_2662F6: @ 82662F6
BattleFrontier_ReceptionGate_Movement_FacilityGuideFaceScott: @ 82662F6
delay_16
delay_16
delay_16
@@ -118,217 +119,217 @@ BattleFrontier_ReceptionGate_Movement_2662F6: @ 82662F6
walk_in_place_fastest_left
step_end
BattleFrontier_ReceptionGate_EventScript_2662FC:: @ 82662FC
BattleFrontier_ReceptionGate_EventScript_Greeter:: @ 82662FC
lock
faceplayer
msgbox BattleFrontier_ReceptionGate_Text_2665B2, MSGBOX_DEFAULT
msgbox BattleFrontier_ReceptionGate_Text_2666C6, MSGBOX_DEFAULT
msgbox BattleFrontier_ReceptionGate_Text_WelcomeToBattleFrontier, MSGBOX_DEFAULT
msgbox BattleFrontier_ReceptionGate_Text_EnjoyBattleFrontier, MSGBOX_DEFAULT
release
end
BattleFrontier_ReceptionGate_EventScript_266310:: @ 8266310
BattleFrontier_ReceptionGate_EventScript_FacilityGuide:: @ 8266310
lock
faceplayer
msgbox BattleFrontier_ReceptionGate_Text_266857, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266320
msgbox BattleFrontier_ReceptionGate_Text_YourGuideToFacilities, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_266320:: @ 8266320
message BattleFrontier_ReceptionGate_Text_26689D
BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout:: @ 8266320
message BattleFrontier_ReceptionGate_Text_LearnAboutWhich2
waitmessage
setvar VAR_0x8004, SCROLL_MULTI_BF_RECEPTIONIST
special ShowScrollableMultichoice
waitstate
switch VAR_RESULT
case 0, BattleFrontier_ReceptionGate_EventScript_2663AE
case 1, BattleFrontier_ReceptionGate_EventScript_2663BC
case 2, BattleFrontier_ReceptionGate_EventScript_2663CA
case 3, BattleFrontier_ReceptionGate_EventScript_2663D8
case 4, BattleFrontier_ReceptionGate_EventScript_2663E6
case 5, BattleFrontier_ReceptionGate_EventScript_2663F4
case 6, BattleFrontier_ReceptionGate_EventScript_266402
case 7, BattleFrontier_ReceptionGate_EventScript_266410
case 8, BattleFrontier_ReceptionGate_EventScript_26641E
case 9, BattleFrontier_ReceptionGate_EventScript_26642C
case MULTI_B_PRESSED, BattleFrontier_ReceptionGate_EventScript_26642C
case 0, BattleFrontier_ReceptionGate_EventScript_BattleTower
case 1, BattleFrontier_ReceptionGate_EventScript_BattleDome
case 2, BattleFrontier_ReceptionGate_EventScript_BattlePalace
case 3, BattleFrontier_ReceptionGate_EventScript_BattleArena
case 4, BattleFrontier_ReceptionGate_EventScript_BattleFactory
case 5, BattleFrontier_ReceptionGate_EventScript_BattlePike
case 6, BattleFrontier_ReceptionGate_EventScript_BattlePyramid
case 7, BattleFrontier_ReceptionGate_EventScript_RankingHall
case 8, BattleFrontier_ReceptionGate_EventScript_ExchangeCorner
case 9, BattleFrontier_ReceptionGate_EventScript_ExitFacilityGuide
case MULTI_B_PRESSED, BattleFrontier_ReceptionGate_EventScript_ExitFacilityGuide
end
BattleFrontier_ReceptionGate_EventScript_2663AE:: @ 82663AE
msgbox BattleFrontier_ReceptionGate_Text_2668C2, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266320
BattleFrontier_ReceptionGate_EventScript_BattleTower:: @ 82663AE
msgbox BattleFrontier_ReceptionGate_Text_BattleTowerInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_2663BC:: @ 82663BC
msgbox BattleFrontier_ReceptionGate_Text_26696F, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266320
BattleFrontier_ReceptionGate_EventScript_BattleDome:: @ 82663BC
msgbox BattleFrontier_ReceptionGate_Text_BattleDomeInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_2663CA:: @ 82663CA
msgbox BattleFrontier_ReceptionGate_Text_266A34, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266320
BattleFrontier_ReceptionGate_EventScript_BattlePalace:: @ 82663CA
msgbox BattleFrontier_ReceptionGate_Text_BattlePalaceInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_2663D8:: @ 82663D8
msgbox BattleFrontier_ReceptionGate_Text_266AC2, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266320
BattleFrontier_ReceptionGate_EventScript_BattleArena:: @ 82663D8
msgbox BattleFrontier_ReceptionGate_Text_BattleArenaInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_2663E6:: @ 82663E6
msgbox BattleFrontier_ReceptionGate_Text_266B5D, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266320
BattleFrontier_ReceptionGate_EventScript_BattleFactory:: @ 82663E6
msgbox BattleFrontier_ReceptionGate_Text_BattleFactoryInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_2663F4:: @ 82663F4
msgbox BattleFrontier_ReceptionGate_Text_266C24, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266320
BattleFrontier_ReceptionGate_EventScript_BattlePike:: @ 82663F4
msgbox BattleFrontier_ReceptionGate_Text_BattlePikeInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_266402:: @ 8266402
msgbox BattleFrontier_ReceptionGate_Text_266CBB, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266320
BattleFrontier_ReceptionGate_EventScript_BattlePyramid:: @ 8266402
msgbox BattleFrontier_ReceptionGate_Text_BattlePyramidInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_266410:: @ 8266410
msgbox BattleFrontier_ReceptionGate_Text_266D1C, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266320
BattleFrontier_ReceptionGate_EventScript_RankingHall:: @ 8266410
msgbox BattleFrontier_ReceptionGate_Text_RankingHallInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_26641E:: @ 826641E
msgbox BattleFrontier_ReceptionGate_Text_266DCB, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266320
BattleFrontier_ReceptionGate_EventScript_ExchangeCorner:: @ 826641E
msgbox BattleFrontier_ReceptionGate_Text_ExchangeCornerInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseFacilityToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_26642C:: @ 826642C
msgbox BattleFrontier_ReceptionGate_Text_2666C6, MSGBOX_DEFAULT
BattleFrontier_ReceptionGate_EventScript_ExitFacilityGuide:: @ 826642C
msgbox BattleFrontier_ReceptionGate_Text_EnjoyBattleFrontier, MSGBOX_DEFAULT
release
end
BattleFrontier_ReceptionGate_EventScript_266436:: @ 8266436
BattleFrontier_ReceptionGate_EventScript_RulesGuide:: @ 8266436
lock
faceplayer
msgbox BattleFrontier_ReceptionGate_Text_266E66, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266446
msgbox BattleFrontier_ReceptionGate_Text_YourGuideToRules, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseRuleToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_266446:: @ 8266446
message BattleFrontier_ReceptionGate_Text_266EE0
BattleFrontier_ReceptionGate_EventScript_ChooseRuleToLearnAbout:: @ 8266446
message BattleFrontier_ReceptionGate_Text_LearnAboutWhat
waitmessage
multichoice 15, 0, MULTI_FRONTIER_RULES, 0
switch VAR_RESULT
case 0, BattleFrontier_ReceptionGate_EventScript_2664A4
case 1, BattleFrontier_ReceptionGate_EventScript_2664B2
case 2, BattleFrontier_ReceptionGate_EventScript_2664C0
case 3, BattleFrontier_ReceptionGate_EventScript_2664CE
case 4, BattleFrontier_ReceptionGate_EventScript_2664DC
case 5, BattleFrontier_ReceptionGate_EventScript_2664EA
case MULTI_B_PRESSED, BattleFrontier_ReceptionGate_EventScript_2664EA
case 0, BattleFrontier_ReceptionGate_EventScript_LevelMode
case 1, BattleFrontier_ReceptionGate_EventScript_Level50
case 2, BattleFrontier_ReceptionGate_EventScript_OpenLevel
case 3, BattleFrontier_ReceptionGate_EventScript_MonEntry
case 4, BattleFrontier_ReceptionGate_EventScript_HoldItems
case 5, BattleFrontier_ReceptionGate_EventScript_ExitRulesGuide
case MULTI_B_PRESSED, BattleFrontier_ReceptionGate_EventScript_ExitRulesGuide
end
BattleFrontier_ReceptionGate_EventScript_2664A4:: @ 82664A4
msgbox BattleFrontier_ReceptionGate_Text_266F04, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266446
BattleFrontier_ReceptionGate_EventScript_LevelMode:: @ 82664A4
msgbox BattleFrontier_ReceptionGate_Text_LevelModeInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseRuleToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_2664B2:: @ 82664B2
msgbox BattleFrontier_ReceptionGate_Text_266F69, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266446
BattleFrontier_ReceptionGate_EventScript_Level50:: @ 82664B2
msgbox BattleFrontier_ReceptionGate_Text_Level50Info, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseRuleToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_2664C0:: @ 82664C0
msgbox BattleFrontier_ReceptionGate_Text_267080, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266446
BattleFrontier_ReceptionGate_EventScript_OpenLevel:: @ 82664C0
msgbox BattleFrontier_ReceptionGate_Text_OpenLevelInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseRuleToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_2664CE:: @ 82664CE
msgbox BattleFrontier_ReceptionGate_Text_26716A, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266446
BattleFrontier_ReceptionGate_EventScript_MonEntry:: @ 82664CE
msgbox BattleFrontier_ReceptionGate_Text_MonEntryInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseRuleToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_2664DC:: @ 82664DC
msgbox BattleFrontier_ReceptionGate_Text_267298, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266446
BattleFrontier_ReceptionGate_EventScript_HoldItems:: @ 82664DC
msgbox BattleFrontier_ReceptionGate_Text_HoldItemsInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseRuleToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_2664EA:: @ 82664EA
msgbox BattleFrontier_ReceptionGate_Text_2666C6, MSGBOX_DEFAULT
BattleFrontier_ReceptionGate_EventScript_ExitRulesGuide:: @ 82664EA
msgbox BattleFrontier_ReceptionGate_Text_EnjoyBattleFrontier, MSGBOX_DEFAULT
release
end
BattleFrontier_ReceptionGate_EventScript_2664F4:: @ 82664F4
BattleFrontier_ReceptionGate_EventScript_FrontierPassGuide:: @ 82664F4
lock
faceplayer
msgbox BattleFrontier_ReceptionGate_Text_267357, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266504
msgbox BattleFrontier_ReceptionGate_Text_YourGuideToFrontierPass, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseFrontierPassInfoToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_266504:: @ 8266504
message BattleFrontier_ReceptionGate_Text_26737C
BattleFrontier_ReceptionGate_EventScript_ChooseFrontierPassInfoToLearnAbout:: @ 8266504
message BattleFrontier_ReceptionGate_Text_LearnAboutWhich1
waitmessage
multichoice 16, 4, MULTI_FRONTIER_PASS_INFO, 0
switch VAR_RESULT
case 0, BattleFrontier_ReceptionGate_EventScript_26654C
case 1, BattleFrontier_ReceptionGate_EventScript_26655A
case 2, BattleFrontier_ReceptionGate_EventScript_266568
case 3, BattleFrontier_ReceptionGate_EventScript_266576
case MULTI_B_PRESSED, BattleFrontier_ReceptionGate_EventScript_266576
case 0, BattleFrontier_ReceptionGate_EventScript_Symbols
case 1, BattleFrontier_ReceptionGate_EventScript_RecordBattle
case 2, BattleFrontier_ReceptionGate_EventScript_BattlePoints
case 3, BattleFrontier_ReceptionGate_EventScript_ExitFrontierPassGuide
case MULTI_B_PRESSED, BattleFrontier_ReceptionGate_EventScript_ExitFrontierPassGuide
end
BattleFrontier_ReceptionGate_EventScript_26654C:: @ 826654C
msgbox BattleFrontier_ReceptionGate_Text_2673A1, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266504
BattleFrontier_ReceptionGate_EventScript_Symbols:: @ 826654C
msgbox BattleFrontier_ReceptionGate_Text_SymbolsInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseFrontierPassInfoToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_26655A:: @ 826655A
msgbox BattleFrontier_ReceptionGate_Text_2674F3, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266504
BattleFrontier_ReceptionGate_EventScript_RecordBattle:: @ 826655A
msgbox BattleFrontier_ReceptionGate_Text_RecordedBattleInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseFrontierPassInfoToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_266568:: @ 8266568
msgbox BattleFrontier_ReceptionGate_Text_26761C, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_266504
BattleFrontier_ReceptionGate_EventScript_BattlePoints:: @ 8266568
msgbox BattleFrontier_ReceptionGate_Text_BattlePointsInfo, MSGBOX_DEFAULT
goto BattleFrontier_ReceptionGate_EventScript_ChooseFrontierPassInfoToLearnAbout
end
BattleFrontier_ReceptionGate_EventScript_266576:: @ 8266576
msgbox BattleFrontier_ReceptionGate_Text_2666C6, MSGBOX_DEFAULT
BattleFrontier_ReceptionGate_EventScript_ExitFrontierPassGuide:: @ 8266576
msgbox BattleFrontier_ReceptionGate_Text_EnjoyBattleFrontier, MSGBOX_DEFAULT
release
end
BattleFrontier_ReceptionGate_Text_266580: @ 8266580
BattleFrontier_ReceptionGate_Text_FirstTimeHereThisWay: @ 8266580
.string "Is it your first time here?\n"
.string "Please step this way!$"
BattleFrontier_ReceptionGate_Text_2665B2: @ 82665B2
BattleFrontier_ReceptionGate_Text_WelcomeToBattleFrontier: @ 82665B2
.string "The front lines of POKéMON battling!\n"
.string "Welcome to the BATTLE FRONTIER!$"
BattleFrontier_ReceptionGate_Text_2665F7: @ 82665F7
BattleFrontier_ReceptionGate_Text_IssueFrontierPass: @ 82665F7
.string "For a first-time visitor, we issue\n"
.string "the FRONTIER PASS.\p"
.string "It's for use at all the facilities\n"
.string "in the BATTLE FRONTIER.\p"
.string "Here you are!$"
BattleFrontier_ReceptionGate_Text_266676: @ 8266676
BattleFrontier_ReceptionGate_Text_ObtainedFrontierPass: @ 8266676
.string "{PLAYER} obtained\n"
.string "the FRONTIER PASS.$"
BattleFrontier_ReceptionGate_Text_266695: @ 8266695
BattleFrontier_ReceptionGate_Text_PlacedTrainerCardInFrontierPass: @ 8266695
.string "{PLAYER} placed the TRAINER CARD\n"
.string "in the FRONTIER PASS.$"
BattleFrontier_ReceptionGate_Text_2666C6: @ 82666C6
BattleFrontier_ReceptionGate_Text_EnjoyBattleFrontier: @ 82666C6
.string "We hope you enjoy all that the BATTLE\n"
.string "FRONTIER has to offer!$"
BattleFrontier_ReceptionGate_Text_266703: @ 8266703
BattleFrontier_ReceptionGate_Text_IfItIsntPlayerYouCame: @ 8266703
.string "???: Well, if it isn't {PLAYER}{KUN}!\n"
.string "You came out here!$"
BattleFrontier_ReceptionGate_Text_266733: @ 8266733
BattleFrontier_ReceptionGate_Text_OhMrScottGoodDay: @ 8266733
.string "GUIDE: Oh! MR. SCOTT, sir!\n"
.string "Good day to you, sir!$"
BattleFrontier_ReceptionGate_Text_266764: @ 8266764
BattleFrontier_ReceptionGate_Text_ScottGreatToSeeYouHere: @ 8266764
.string "SCOTT: It's great to see you here,\n"
.string "it really is!\p"
.string "I hope you'll take your time and\n"
@@ -338,21 +339,21 @@ BattleFrontier_ReceptionGate_Text_266764: @ 8266764
.string "I also have my quarters here, so feel\n"
.string "free to visit if you have time.$"
BattleFrontier_ReceptionGate_Text_266857: @ 8266857
BattleFrontier_ReceptionGate_Text_YourGuideToFacilities: @ 8266857
.string "I'm your guide to the various facilities\n"
.string "here in the BATTLE FRONTIER.$"
BattleFrontier_ReceptionGate_Text_26689D: @ 826689D
BattleFrontier_ReceptionGate_Text_LearnAboutWhich2: @ 826689D
.string "Which would you like to learn about?$"
BattleFrontier_ReceptionGate_Text_2668C2: @ 82668C2
BattleFrontier_ReceptionGate_Text_BattleTowerInfo: @ 82668C2
.string "It is the gigantic tower considered\n"
.string "to be the BATTLE FRONTIER's symbol.\p"
.string "There are four kinds of BATTLE ROOMS\n"
.string "in the tower for SINGLE, DOUBLE, MULTI,\l"
.string "and LINK MULTI BATTLES.$"
BattleFrontier_ReceptionGate_Text_26696F: @ 826696F
BattleFrontier_ReceptionGate_Text_BattleDomeInfo: @ 826696F
.string "The BATTLE DOME is the large building\n"
.string "shaped like a huge egg.\p"
.string "Events named Battle Tourneys are held\n"
@@ -361,20 +362,20 @@ BattleFrontier_ReceptionGate_Text_26696F: @ 826696F
.string "two courses--for SINGLE and DOUBLE\l"
.string "BATTLES.$"
BattleFrontier_ReceptionGate_Text_266A34: @ 8266A34
BattleFrontier_ReceptionGate_Text_BattlePalaceInfo: @ 8266A34
.string "The BATTLE PALACE is the red building\n"
.string "on the right of the BATTLE FRONTIER.\p"
.string "There are two kinds of BATTLE HALLS\n"
.string "for SINGLE and DOUBLE BATTLES.$"
BattleFrontier_ReceptionGate_Text_266AC2: @ 8266AC2
BattleFrontier_ReceptionGate_Text_BattleArenaInfo: @ 8266AC2
.string "The BATTLE ARENA is the dojo-like\n"
.string "building at the center-right of\l"
.string "the BATTLE FRONTIER.\p"
.string "An event called the Set KO Tourney\n"
.string "takes place at the BATTLE ARENA.$"
BattleFrontier_ReceptionGate_Text_266B5D: @ 8266B5D
BattleFrontier_ReceptionGate_Text_BattleFactoryInfo: @ 8266B5D
.string "The BATTLE FACTORY is the large\n"
.string "building that is the closest to us.\p"
.string "An event called the Battle Swap\n"
@@ -383,20 +384,20 @@ BattleFrontier_ReceptionGate_Text_266B5D: @ 8266B5D
.string "two courses for SINGLE and DOUBLE\l"
.string "BATTLES.$"
BattleFrontier_ReceptionGate_Text_266C24: @ 8266C24
BattleFrontier_ReceptionGate_Text_BattlePikeInfo: @ 8266C24
.string "The BATTLE PIKE is the building shaped\n"
.string "like a POKéMON at the center-left of\l"
.string "the BATTLE FRONTIER.\p"
.string "An event called the Battle Choice\n"
.string "is conducted there.$"
BattleFrontier_ReceptionGate_Text_266CBB: @ 8266CBB
BattleFrontier_ReceptionGate_Text_BattlePyramidInfo: @ 8266CBB
.string "The BATTLE PYRAMID is the enormous\n"
.string "pyramid.\p"
.string "An event called the Battle Quest\n"
.string "is conducted there.$"
BattleFrontier_ReceptionGate_Text_266D1C: @ 8266D1C
BattleFrontier_ReceptionGate_Text_RankingHallInfo: @ 8266D1C
.string "The RANKING HALL is located near\n"
.string "the BATTLE TOWER.\p"
.string "There, you may see the most fantastic\n"
@@ -404,28 +405,28 @@ BattleFrontier_ReceptionGate_Text_266D1C: @ 8266D1C
.string "took on the many challenges of\l"
.string "the BATTLE FRONTIER.$"
BattleFrontier_ReceptionGate_Text_266DCB: @ 8266DCB
BattleFrontier_ReceptionGate_Text_ExchangeCornerInfo: @ 8266DCB
.string "The EXCHANGE SERVICE CORNER is near\n"
.string "the BATTLE TOWER.\p"
.string "The Battle Points you have earned in\n"
.string "the BATTLE FRONTIER may be exchanged\l"
.string "for fabulous prizes there.$"
BattleFrontier_ReceptionGate_Text_266E66: @ 8266E66
BattleFrontier_ReceptionGate_Text_YourGuideToRules: @ 8266E66
.string "I'm your guide to the basic rules that\n"
.string "are common to all the challenges\l"
.string "offered by the facilities in the BATTLE\l"
.string "FRONTIER.$"
BattleFrontier_ReceptionGate_Text_266EE0: @ 8266EE0
BattleFrontier_ReceptionGate_Text_LearnAboutWhat: @ 8266EE0
.string "What would you like to learn about?$"
BattleFrontier_ReceptionGate_Text_266F04: @ 8266F04
BattleFrontier_ReceptionGate_Text_LevelModeInfo: @ 8266F04
.string "All the challenges at the BATTLE\n"
.string "FRONTIER's facilities come in\l"
.string "two courses--Level 50 and Open Level.$"
BattleFrontier_ReceptionGate_Text_266F69: @ 8266F69
BattleFrontier_ReceptionGate_Text_Level50Info: @ 8266F69
.string "The Level 50 course is open to POKéMON\n"
.string "up to and including Level 50.\p"
.string "Please keep in mind, however, that\n"
@@ -436,7 +437,7 @@ BattleFrontier_ReceptionGate_Text_266F69: @ 8266F69
.string "To begin, we hope you will challenge\n"
.string "this course.$"
BattleFrontier_ReceptionGate_Text_267080: @ 8267080
BattleFrontier_ReceptionGate_Text_OpenLevelInfo: @ 8267080
.string "The Open Level course places no limit\n"
.string "on the levels of POKéMON entering\l"
.string "challenges.\p"
@@ -446,7 +447,7 @@ BattleFrontier_ReceptionGate_Text_267080: @ 8267080
.string "However, no TRAINER you face will\n"
.string "have any POKéMON below Level 60.$"
BattleFrontier_ReceptionGate_Text_26716A: @ 826716A
BattleFrontier_ReceptionGate_Text_MonEntryInfo: @ 826716A
.string "Virtually any kind of POKéMON may take\n"
.string "on the challenges at all facilities.\p"
.string "EGGS and certain kinds of POKéMON,\n"
@@ -457,7 +458,7 @@ BattleFrontier_ReceptionGate_Text_26716A: @ 826716A
.string "of the same kind of POKéMON are not\l"
.string "permitted.$"
BattleFrontier_ReceptionGate_Text_267298: @ 8267298
BattleFrontier_ReceptionGate_Text_HoldItemsInfo: @ 8267298
.string "When entering a challenge at a BATTLE\n"
.string "FRONTIER facility, POKéMON may not\l"
.string "be holding the same kind of item.\p"
@@ -465,13 +466,13 @@ BattleFrontier_ReceptionGate_Text_267298: @ 8267298
.string "entering a challenge are holding\l"
.string "different items.$"
BattleFrontier_ReceptionGate_Text_267357: @ 8267357
BattleFrontier_ReceptionGate_Text_YourGuideToFrontierPass: @ 8267357
.string "I'm your guide to the FRONTIER PASS.$"
BattleFrontier_ReceptionGate_Text_26737C: @ 826737C
BattleFrontier_ReceptionGate_Text_LearnAboutWhich1: @ 826737C
.string "Which would you like to learn about?$"
BattleFrontier_ReceptionGate_Text_2673A1: @ 82673A1
BattleFrontier_ReceptionGate_Text_SymbolsInfo: @ 82673A1
.string "There are seven facilities at\n"
.string "the BATTLE FRONTIER.\p"
.string "TRAINERS who gain recognition for\n"
@@ -483,7 +484,7 @@ BattleFrontier_ReceptionGate_Text_2673A1: @ 82673A1
.string "It's certainly not easy to win symbols.\n"
.string "I wish you the best of luck!$"
BattleFrontier_ReceptionGate_Text_2674F3: @ 82674F3
BattleFrontier_ReceptionGate_Text_RecordedBattleInfo: @ 82674F3
.string "It is possible to record one battle\n"
.string "on your FRONTIER PASS.\p"
.string "You may record a battle you had with\n"
@@ -495,7 +496,7 @@ BattleFrontier_ReceptionGate_Text_2674F3: @ 82674F3
.string "You may choose to record your match\n"
.string "at the end of a battle.$"
BattleFrontier_ReceptionGate_Text_26761C: @ 826761C
BattleFrontier_ReceptionGate_Text_BattlePointsInfo: @ 826761C
.string "Battle Points are rewards given to\n"
.string "TRAINERS who battled outstandingly\l"
.string "at the BATTLE FRONTIER.\p"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleFrontier_ScottsHouse_EventScript_2636A8",
"script": "BattleFrontier_ScottsHouse_EventScript_Scott",
"flag": "0"
}
],

View File

@@ -1,252 +1,232 @@
BattleFrontier_ScottsHouse_MapScripts:: @ 82636A7
.byte 0
BattleFrontier_ScottsHouse_EventScript_2636A8:: @ 82636A8
BattleFrontier_ScottsHouse_EventScript_Scott:: @ 82636A8
lock
faceplayer
goto_if_set FLAG_TEMP_4, BattleFrontier_ScottsHouse_EventScript_2637DA
goto_if_set FLAG_TEMP_3, BattleFrontier_ScottsHouse_EventScript_2638AA
goto_if_set FLAG_TEMP_2, BattleFrontier_ScottsHouse_EventScript_263939
goto BattleFrontier_ScottsHouse_EventScript_2636CB
goto_if_set FLAG_TEMP_4, BattleFrontier_ScottsHouse_EventScript_GivenBerry
goto_if_set FLAG_TEMP_3, BattleFrontier_ScottsHouse_EventScript_GivenShield
goto_if_set FLAG_TEMP_2, BattleFrontier_ScottsHouse_EventScript_GivenBattlePoints
goto BattleFrontier_ScottsHouse_EventScript_CheckGiveItems
end
BattleFrontier_ScottsHouse_EventScript_2636CB:: @ 82636CB
goto_if_unset FLAG_SCOTT_GIVES_BATTLE_POINTS, BattleFrontier_ScottsHouse_EventScript_263943
goto_if_unset FLAG_COLLECTED_ALL_SILVER_SYMBOLS, BattleFrontier_ScottsHouse_EventScript_263704
goto_if_unset FLAG_RECEIVED_STARF_BERRY_FROM_SCOTT, BattleFrontier_ScottsHouse_EventScript_26376A
goto BattleFrontier_ScottsHouse_EventScript_2636EC
BattleFrontier_ScottsHouse_EventScript_CheckGiveItems:: @ 82636CB
goto_if_unset FLAG_SCOTT_GIVES_BATTLE_POINTS, BattleFrontier_ScottsHouse_EventScript_WelcomeToFrontier
goto_if_unset FLAG_COLLECTED_ALL_SILVER_SYMBOLS, BattleFrontier_ScottsHouse_EventScript_CheckSilverSymbols
goto_if_unset FLAG_COLLECTED_ALL_GOLD_SYMBOLS, BattleFrontier_ScottsHouse_EventScript_CheckGoldSymbols
goto BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
end
BattleFrontier_ScottsHouse_EventScript_2636EC:: @ 82636EC
goto_if_unset FLAG_RECEIVED_SILVER_SHIELD, BattleFrontier_ScottsHouse_EventScript_26381B
goto_if_unset FLAG_RECEIVED_GOLD_SHIELD, BattleFrontier_ScottsHouse_EventScript_2638B4
goto BattleFrontier_ScottsHouse_EventScript_2637E4
BattleFrontier_ScottsHouse_EventScript_CheckGiveShield:: @ 82636EC
goto_if_unset FLAG_RECEIVED_SILVER_SHIELD, BattleFrontier_ScottsHouse_EventScript_CheckGiveSilverShield
goto_if_unset FLAG_RECEIVED_GOLD_SHIELD, BattleFrontier_ScottsHouse_EventScript_CheckGiveGoldShield
goto BattleFrontier_ScottsHouse_EventScript_RandomComment
end
BattleFrontier_ScottsHouse_EventScript_263704:: @ 8263704
goto_if_unset FLAG_SYS_TOWER_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_DOME_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_PALACE_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_ARENA_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_FACTORY_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_PIKE_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_PYRAMID_SILVER, BattleFrontier_ScottsHouse_EventScript_2636EC
msgbox BattleFrontier_ScottsHouse_Text_2640BC, MSGBOX_DEFAULT
BattleFrontier_ScottsHouse_EventScript_CheckSilverSymbols:: @ 8263704
goto_if_unset FLAG_SYS_TOWER_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
goto_if_unset FLAG_SYS_DOME_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
goto_if_unset FLAG_SYS_PALACE_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
goto_if_unset FLAG_SYS_ARENA_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
goto_if_unset FLAG_SYS_FACTORY_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
goto_if_unset FLAG_SYS_PIKE_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
goto_if_unset FLAG_SYS_PYRAMID_SILVER, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
msgbox BattleFrontier_ScottsHouse_Text_YouveCollectedAllSilverSymbols, MSGBOX_DEFAULT
giveitem_std ITEM_LANSAT_BERRY
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_ScottsHouse_EventScript_2637D0
compare VAR_RESULT, FALSE
goto_if_eq BattleFrontier_ScottsHouse_EventScript_BerryPocketFull
setflag FLAG_COLLECTED_ALL_SILVER_SYMBOLS
setflag FLAG_TEMP_4
release
end
BattleFrontier_ScottsHouse_EventScript_26376A:: @ 826376A
goto_if_unset FLAG_SYS_TOWER_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_DOME_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_PALACE_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_ARENA_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_FACTORY_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_PIKE_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
goto_if_unset FLAG_SYS_PYRAMID_GOLD, BattleFrontier_ScottsHouse_EventScript_2636EC
msgbox BattleFrontier_ScottsHouse_Text_264216, MSGBOX_DEFAULT
BattleFrontier_ScottsHouse_EventScript_CheckGoldSymbols:: @ 826376A
goto_if_unset FLAG_SYS_TOWER_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
goto_if_unset FLAG_SYS_DOME_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
goto_if_unset FLAG_SYS_PALACE_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
goto_if_unset FLAG_SYS_ARENA_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
goto_if_unset FLAG_SYS_FACTORY_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
goto_if_unset FLAG_SYS_PIKE_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
goto_if_unset FLAG_SYS_PYRAMID_GOLD, BattleFrontier_ScottsHouse_EventScript_CheckGiveShield
msgbox BattleFrontier_ScottsHouse_Text_YouveCollectedAllGoldSymbols, MSGBOX_DEFAULT
giveitem_std ITEM_STARF_BERRY
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_ScottsHouse_EventScript_2637D0
setflag FLAG_RECEIVED_STARF_BERRY_FROM_SCOTT
compare VAR_RESULT, FALSE
goto_if_eq BattleFrontier_ScottsHouse_EventScript_BerryPocketFull
setflag FLAG_COLLECTED_ALL_GOLD_SYMBOLS
setflag FLAG_TEMP_4
release
end
BattleFrontier_ScottsHouse_EventScript_2637D0:: @ 82637D0
msgbox BattleFrontier_ScottsHouse_Text_2643EB, MSGBOX_DEFAULT
BattleFrontier_ScottsHouse_EventScript_BerryPocketFull:: @ 82637D0
msgbox BattleFrontier_ScottsHouse_Text_BerryPocketStuffed, MSGBOX_DEFAULT
release
end
BattleFrontier_ScottsHouse_EventScript_2637DA:: @ 82637DA
msgbox BattleFrontier_ScottsHouse_Text_264373, MSGBOX_DEFAULT
BattleFrontier_ScottsHouse_EventScript_GivenBerry:: @ 82637DA
msgbox BattleFrontier_ScottsHouse_Text_SoGladIBroughtYouHere, MSGBOX_DEFAULT
release
end
BattleFrontier_ScottsHouse_EventScript_2637E4:: @ 82637E4
BattleFrontier_ScottsHouse_EventScript_RandomComment:: @ 82637E4
random 3
compare VAR_RESULT, 1
goto_if_eq BattleFrontier_ScottsHouse_EventScript_263807
goto_if_eq BattleFrontier_ScottsHouse_EventScript_FrontierBrainComment
compare VAR_RESULT, 2
goto_if_eq BattleFrontier_ScottsHouse_EventScript_263811
msgbox BattleFrontier_ScottsHouse_Text_263DDD, MSGBOX_DEFAULT
goto_if_eq BattleFrontier_ScottsHouse_EventScript_ArtisanCaveComment
msgbox BattleFrontier_ScottsHouse_Text_WhyIGoSeekingTrainers, MSGBOX_DEFAULT
release
end
BattleFrontier_ScottsHouse_EventScript_263807:: @ 8263807
msgbox BattleFrontier_ScottsHouse_Text_263F12, MSGBOX_DEFAULT
BattleFrontier_ScottsHouse_EventScript_FrontierBrainComment:: @ 8263807
msgbox BattleFrontier_ScottsHouse_Text_HaveYouMetFrontierBrain, MSGBOX_DEFAULT
release
end
BattleFrontier_ScottsHouse_EventScript_263811:: @ 8263811
msgbox BattleFrontier_ScottsHouse_Text_263FFE, MSGBOX_DEFAULT
BattleFrontier_ScottsHouse_EventScript_ArtisanCaveComment:: @ 8263811
msgbox BattleFrontier_ScottsHouse_Text_MayFindWildMonsInFrontier, MSGBOX_DEFAULT
release
end
BattleFrontier_ScottsHouse_EventScript_26381B:: @ 826381B
BattleFrontier_ScottsHouse_EventScript_CheckGiveSilverShield:: @ 826381B
setvar VAR_FRONTIER_BATTLE_MODE, 0
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_8161F74
frontier_setlvlmode FRONTIER_LVL_50
battletower_getstreak
compare VAR_RESULT, 50
goto_if_ge BattleFrontier_ScottsHouse_EventScript_26387A
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_8161F74
goto_if_ge BattleFrontier_ScottsHouse_EventScript_GiveSilverShield
frontier_setlvlmode FRONTIER_LVL_OPEN
battletower_getstreak
compare VAR_RESULT, 50
goto_if_ge BattleFrontier_ScottsHouse_EventScript_26387A
goto BattleFrontier_ScottsHouse_EventScript_2637E4
goto_if_ge BattleFrontier_ScottsHouse_EventScript_GiveSilverShield
goto BattleFrontier_ScottsHouse_EventScript_RandomComment
end
BattleFrontier_ScottsHouse_EventScript_26387A:: @ 826387A
msgbox BattleFrontier_ScottsHouse_Text_264412, MSGBOX_DEFAULT
BattleFrontier_ScottsHouse_EventScript_GiveSilverShield:: @ 826387A
msgbox BattleFrontier_ScottsHouse_Text_Beat50TrainersInARow, MSGBOX_DEFAULT
givedecoration_std DECOR_SILVER_SHIELD
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_ScottsHouse_EventScript_2638A0
compare VAR_RESULT, FALSE
goto_if_eq BattleFrontier_ScottsHouse_EventScript_NoRoomForShield
setflag FLAG_RECEIVED_SILVER_SHIELD
setflag FLAG_TEMP_3
goto BattleFrontier_ScottsHouse_EventScript_2638AA
goto BattleFrontier_ScottsHouse_EventScript_GivenShield
end
BattleFrontier_ScottsHouse_EventScript_2638A0:: @ 82638A0
msgbox BattleFrontier_ScottsHouse_Text_264583, MSGBOX_DEFAULT
BattleFrontier_ScottsHouse_EventScript_NoRoomForShield:: @ 82638A0
msgbox BattleFrontier_ScottsHouse_Text_ComeBackForThisLater, MSGBOX_DEFAULT
release
end
BattleFrontier_ScottsHouse_EventScript_2638AA:: @ 82638AA
msgbox BattleFrontier_ScottsHouse_Text_264546, MSGBOX_DEFAULT
BattleFrontier_ScottsHouse_EventScript_GivenShield:: @ 82638AA
msgbox BattleFrontier_ScottsHouse_Text_ExpectingToHearEvenGreaterThings, MSGBOX_DEFAULT
release
end
BattleFrontier_ScottsHouse_EventScript_2638B4:: @ 82638B4
BattleFrontier_ScottsHouse_EventScript_CheckGiveGoldShield:: @ 82638B4
setvar VAR_FRONTIER_BATTLE_MODE, 0
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_8161F74
frontier_setlvlmode FRONTIER_LVL_50
battletower_getstreak
compare VAR_RESULT, 100
goto_if_ge BattleFrontier_ScottsHouse_EventScript_263913
setvar VAR_0x8004, 2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
setvar VAR_0x8004, 1
setvar VAR_0x8005, 1
special sub_8161F74
goto_if_ge BattleFrontier_ScottsHouse_EventScript_GiveGoldShield
frontier_setlvlmode FRONTIER_LVL_OPEN
battletower_getstreak
compare VAR_RESULT, 100
goto_if_ge BattleFrontier_ScottsHouse_EventScript_263913
goto BattleFrontier_ScottsHouse_EventScript_2637E4
goto_if_ge BattleFrontier_ScottsHouse_EventScript_GiveGoldShield
goto BattleFrontier_ScottsHouse_EventScript_RandomComment
end
BattleFrontier_ScottsHouse_EventScript_263913:: @ 8263913
msgbox BattleFrontier_ScottsHouse_Text_26449F, MSGBOX_DEFAULT
BattleFrontier_ScottsHouse_EventScript_GiveGoldShield:: @ 8263913
msgbox BattleFrontier_ScottsHouse_Text_Beat100TrainersInARow, MSGBOX_DEFAULT
givedecoration_std DECOR_GOLD_SHIELD
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_ScottsHouse_EventScript_2638A0
compare VAR_RESULT, FALSE
goto_if_eq BattleFrontier_ScottsHouse_EventScript_NoRoomForShield
setflag FLAG_RECEIVED_GOLD_SHIELD
setflag FLAG_TEMP_3
goto BattleFrontier_ScottsHouse_EventScript_2638AA
goto BattleFrontier_ScottsHouse_EventScript_GivenShield
end
BattleFrontier_ScottsHouse_EventScript_263939:: @ 8263939
msgbox BattleFrontier_ScottsHouse_Text_263DB8, MSGBOX_DEFAULT
BattleFrontier_ScottsHouse_EventScript_GivenBattlePoints:: @ 8263939
msgbox BattleFrontier_ScottsHouse_Text_ExpectingGreatThings, MSGBOX_DEFAULT
release
end
BattleFrontier_ScottsHouse_EventScript_263943:: @ 8263943
msgbox BattleFrontier_ScottsHouse_Text_263A3F, MSGBOX_DEFAULT
BattleFrontier_ScottsHouse_EventScript_WelcomeToFrontier:: @ 8263943
msgbox BattleFrontier_ScottsHouse_Text_WelcomeToBattleFrontier, MSGBOX_DEFAULT
closemessage
delay 30
compare VAR_FACING, DIR_NORTH
call_if_eq BattleFrontier_ScottsHouse_EventScript_263A13
call_if_eq BattleFrontier_ScottsHouse_EventScript_ScottFaceAwayNorth
compare VAR_FACING, DIR_SOUTH
call_if_eq BattleFrontier_ScottsHouse_EventScript_263A1E
call_if_eq BattleFrontier_ScottsHouse_EventScript_ScottFaceAwaySouth
compare VAR_FACING, DIR_EAST
call_if_eq BattleFrontier_ScottsHouse_EventScript_263A29
call_if_eq BattleFrontier_ScottsHouse_EventScript_ScottFaceAwayEast
compare VAR_FACING, DIR_WEST
call_if_eq BattleFrontier_ScottsHouse_EventScript_263A34
msgbox BattleFrontier_ScottsHouse_Text_263B29, MSGBOX_DEFAULT
call_if_eq BattleFrontier_ScottsHouse_EventScript_ScottFaceAwayWest
msgbox BattleFrontier_ScottsHouse_Text_HowMuchEffortItTookToMakeReal, MSGBOX_DEFAULT
applymovement 1, Common_Movement_FacePlayer
waitmovement 0
msgbox BattleFrontier_ScottsHouse_Text_263BD4, MSGBOX_DEFAULT
msgbox BattleFrontier_ScottsHouse_Text_HaveThisAsMementoOfOurPathsCrossing, MSGBOX_DEFAULT
compare VAR_SCOTT_STATE, 13
goto_if_eq BattleFrontier_ScottsHouse_EventScript_2639BC
goto_if_eq BattleFrontier_ScottsHouse_EventScript_Give4BattlePoints
compare VAR_SCOTT_STATE, 9
goto_if_ge BattleFrontier_ScottsHouse_EventScript_2639CB
goto_if_ge BattleFrontier_ScottsHouse_EventScript_Give3BattlePoints
compare VAR_SCOTT_STATE, 6
goto_if_ge BattleFrontier_ScottsHouse_EventScript_2639DA
goto BattleFrontier_ScottsHouse_EventScript_2639E9
goto_if_ge BattleFrontier_ScottsHouse_EventScript_Give2BattlePoints
goto BattleFrontier_ScottsHouse_EventScript_Give1BattlePoint
end
BattleFrontier_ScottsHouse_EventScript_2639BC:: @ 82639BC
BattleFrontier_ScottsHouse_EventScript_Give4BattlePoints:: @ 82639BC
buffernumberstring 0, 4
setvar VAR_0x8004, 4
goto BattleFrontier_ScottsHouse_EventScript_2639F8
goto BattleFrontier_ScottsHouse_EventScript_GiveBattlePoints
end
BattleFrontier_ScottsHouse_EventScript_2639CB:: @ 82639CB
BattleFrontier_ScottsHouse_EventScript_Give3BattlePoints:: @ 82639CB
buffernumberstring 0, 3
setvar VAR_0x8004, 3
goto BattleFrontier_ScottsHouse_EventScript_2639F8
goto BattleFrontier_ScottsHouse_EventScript_GiveBattlePoints
end
BattleFrontier_ScottsHouse_EventScript_2639DA:: @ 82639DA
BattleFrontier_ScottsHouse_EventScript_Give2BattlePoints:: @ 82639DA
buffernumberstring 0, 2
setvar VAR_0x8004, 2
goto BattleFrontier_ScottsHouse_EventScript_2639F8
goto BattleFrontier_ScottsHouse_EventScript_GiveBattlePoints
end
BattleFrontier_ScottsHouse_EventScript_2639E9:: @ 82639E9
BattleFrontier_ScottsHouse_EventScript_Give1BattlePoint:: @ 82639E9
buffernumberstring 0, 1
setvar VAR_0x8004, 1
goto BattleFrontier_ScottsHouse_EventScript_2639F8
goto BattleFrontier_ScottsHouse_EventScript_GiveBattlePoints
end
BattleFrontier_ScottsHouse_EventScript_2639F8:: @ 82639F8
BattleFrontier_ScottsHouse_EventScript_GiveBattlePoints:: @ 82639F8
special GiveFrontierBattlePoints
msgbox BattleFrontier_ScottsHouse_Text_263CB0, 9
msgbox BattleFrontier_ScottsHouse_Text_263CD0, MSGBOX_DEFAULT
msgbox BattleFrontier_ScottsHouse_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
msgbox BattleFrontier_ScottsHouse_Text_ExplainBattlePoints, MSGBOX_DEFAULT
setflag FLAG_SCOTT_GIVES_BATTLE_POINTS
setflag FLAG_TEMP_2
release
end
BattleFrontier_ScottsHouse_EventScript_263A13:: @ 8263A13
BattleFrontier_ScottsHouse_EventScript_ScottFaceAwayNorth:: @ 8263A13
applymovement 1, Common_Movement_WalkInPlaceFastestUp
waitmovement 0
return
BattleFrontier_ScottsHouse_EventScript_263A1E:: @ 8263A1E
BattleFrontier_ScottsHouse_EventScript_ScottFaceAwaySouth:: @ 8263A1E
applymovement 1, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
return
BattleFrontier_ScottsHouse_EventScript_263A29:: @ 8263A29
BattleFrontier_ScottsHouse_EventScript_ScottFaceAwayEast:: @ 8263A29
applymovement 1, Common_Movement_WalkInPlaceFastestRight
waitmovement 0
return
BattleFrontier_ScottsHouse_EventScript_263A34:: @ 8263A34
BattleFrontier_ScottsHouse_EventScript_ScottFaceAwayWest:: @ 8263A34
applymovement 1, Common_Movement_WalkInPlaceFastestLeft
waitmovement 0
return
BattleFrontier_ScottsHouse_Text_263A3F: @ 8263A3F
BattleFrontier_ScottsHouse_Text_WelcomeToBattleFrontier: @ 8263A3F
.string "SCOTT: Well, hello and welcome!\n"
.string "Heheh… Sorry about the cramped space.\p"
.string "Anyway, {PLAYER}{KUN}, let me formally\n"
@@ -255,7 +235,7 @@ BattleFrontier_ScottsHouse_Text_263A3F: @ 8263A3F
.string "It took me years and years, but I've\l"
.string "finally given shape to my dream.$"
BattleFrontier_ScottsHouse_Text_263B29: @ 8263B29
BattleFrontier_ScottsHouse_Text_HowMuchEffortItTookToMakeReal: @ 8263B29
.string "On reflection, it was a terribly long\n"
.string "journey…\p"
.string "I left home alone on a quest to find\n"
@@ -263,7 +243,7 @@ BattleFrontier_ScottsHouse_Text_263B29: @ 8263B29
.string "No one can imagine how much effort\n"
.string "or time it took to make this real.$"
BattleFrontier_ScottsHouse_Text_263BD4: @ 8263BD4
BattleFrontier_ScottsHouse_Text_HaveThisAsMementoOfOurPathsCrossing: @ 8263BD4
.string "But that's all in the past.\n"
.string "No point dwelling on that!\p"
.string "All I want for you is to enjoy battling\n"
@@ -272,11 +252,11 @@ BattleFrontier_ScottsHouse_Text_263BD4: @ 8263BD4
.string "as a memento for all the time our\l"
.string "paths crossed on our journeys.$"
BattleFrontier_ScottsHouse_Text_263CB0: @ 8263CB0
BattleFrontier_ScottsHouse_Text_ObtainedXBattlePoints: @ 8263CB0
.string "{PLAYER} obtained\n"
.string "{STR_VAR_1} Battle Point(s).$"
BattleFrontier_ScottsHouse_Text_263CD0: @ 8263CD0
BattleFrontier_ScottsHouse_Text_ExplainBattlePoints: @ 8263CD0
.string "SCOTT: You can check your Battle\n"
.string "Points on your FRONTIER PASS.\p"
.string "The more success you have here at\n"
@@ -285,10 +265,10 @@ BattleFrontier_ScottsHouse_Text_263CD0: @ 8263CD0
.string "Use your Battle Points the way you\n"
.string "see fit, like trading them for items.$"
BattleFrontier_ScottsHouse_Text_263DB8: @ 8263DB8
BattleFrontier_ScottsHouse_Text_ExpectingGreatThings: @ 8263DB8
.string "I'm expecting great things from you!$"
BattleFrontier_ScottsHouse_Text_263DDD: @ 8263DDD
BattleFrontier_ScottsHouse_Text_WhyIGoSeekingTrainers: @ 8263DDD
.string "SCOTT: Every TRAINER is an individual.\n"
.string "They all lead lives of their own.\p"
.string "But when they're in a battle,\n"
@@ -300,7 +280,7 @@ BattleFrontier_ScottsHouse_Text_263DDD: @ 8263DDD
.string "TRAINERS who are serious about\l"
.string "battling, and invite them here.$"
BattleFrontier_ScottsHouse_Text_263F12: @ 8263F12
BattleFrontier_ScottsHouse_Text_HaveYouMetFrontierBrain: @ 8263F12
.string "SCOTT: Have you met any of\n"
.string "the FRONTIER BRAINS?\p"
.string "Better yet, have you obtained any\n"
@@ -310,7 +290,7 @@ BattleFrontier_ScottsHouse_Text_263F12: @ 8263F12
.string "But I'm sure that seeing how tough\n"
.string "you are will startle even them!$"
BattleFrontier_ScottsHouse_Text_263FFE: @ 8263FFE
BattleFrontier_ScottsHouse_Text_MayFindWildMonsInFrontier: @ 8263FFE
.string "SCOTT: You don't just train for battle,\n"
.string "right?\p"
.string "I think I remember you working on\n"
@@ -320,7 +300,7 @@ BattleFrontier_ScottsHouse_Text_263FFE: @ 8263FFE
.string "the BATTLE FRONTIER somewhere…\l"
.string "Fufufu!$"
BattleFrontier_ScottsHouse_Text_2640BC: @ 82640BC
BattleFrontier_ScottsHouse_Text_YouveCollectedAllSilverSymbols: @ 82640BC
.string "SCOTT: Are you enjoying things in\n"
.string "the BATTLE FRONTIER?\p"
.string "…Wait a second…\n"
@@ -335,7 +315,7 @@ BattleFrontier_ScottsHouse_Text_2640BC: @ 82640BC
.string "I want you to have this.\n"
.string "I'm sure you can put it to proper use.$"
BattleFrontier_ScottsHouse_Text_264216: @ 8264216
BattleFrontier_ScottsHouse_Text_YouveCollectedAllGoldSymbols: @ 8264216
.string "SCOTT: I hope you're enjoying\n"
.string "everything in the BATTLE FRONTIER.\p"
.string "…Wait a second…\n"
@@ -350,35 +330,35 @@ BattleFrontier_ScottsHouse_Text_264216: @ 8264216
.string "I think you will be able to\n"
.string "appreciate the value of my gift!$"
BattleFrontier_ScottsHouse_Text_264373: @ 8264373
BattleFrontier_ScottsHouse_Text_SoGladIBroughtYouHere: @ 8264373
.string "I must say I have the gift of knowing\n"
.string "a good TRAINER when I see one.\p"
.string "I'm so glad I had the foresight to\n"
.string "bring you here!$"
BattleFrontier_ScottsHouse_Text_2643EB: @ 82643EB
BattleFrontier_ScottsHouse_Text_BerryPocketStuffed: @ 82643EB
.string "Your BERRY POCKET seems to\n"
.string "be stuffed.$"
BattleFrontier_ScottsHouse_Text_264412: @ 8264412
BattleFrontier_ScottsHouse_Text_Beat50TrainersInARow: @ 8264412
.string "SCOTT: Oh, I heard about you!\n"
.string "How you ruled the BATTLE TOWER!\l"
.string "You beat over 50 TRAINERS in a row?\p"
.string "That's fantastic!\n"
.string "I want you to have this!$"
BattleFrontier_ScottsHouse_Text_26449F: @ 826449F
BattleFrontier_ScottsHouse_Text_Beat100TrainersInARow: @ 826449F
.string "SCOTT: Oh, my! I heard about you!\n"
.string "How you overwhelmed the BATTLE TOWER!\l"
.string "You beat over 100 TRAINERS in a row?\p"
.string "That's ridiculously spectacular!\n"
.string "You've got to have this!$"
BattleFrontier_ScottsHouse_Text_264546: @ 8264546
BattleFrontier_ScottsHouse_Text_ExpectingToHearEvenGreaterThings: @ 8264546
.string "I'll be expecting to hear even greater\n"
.string "things about you now!$"
BattleFrontier_ScottsHouse_Text_264583: @ 8264583
BattleFrontier_ScottsHouse_Text_ComeBackForThisLater: @ 8264583
.string "Oops, well, if you have too much\n"
.string "stuff, come back for this later.$"

View File

@@ -1,7 +1,7 @@
{
"id": "MAP_LINK_CONTEST_ROOM1",
"name": "LinkContestRoom1",
"layout": "LAYOUT_LINK_CONTEST_ROOM1",
"id": "MAP_CONTEST_HALL",
"name": "ContestHall",
"layout": "LAYOUT_CONTEST_HALL",
"music": "MUS_CONTEST0",
"region_map_section": "MAPSEC_DYNAMIC",
"requires_flash": false,
@@ -181,7 +181,7 @@
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_LINK_CONTEST_POKE_BALL"
"flag": "FLAG_HIDE_CONTEST_POKE_BALL"
},
{
"graphics_id": "EVENT_OBJ_GFX_VAR_3",

View File

@@ -0,0 +1,460 @@
ContestHall_MapScripts:: @ 823B781
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, ContestHall_OnWarp
map_script MAP_SCRIPT_ON_FRAME_TABLE, ContestHall_OnFrame
map_script MAP_SCRIPT_ON_TRANSITION, ContestHall_OnTransition
map_script MAP_SCRIPT_ON_RESUME, ContestHall_OnResume
map_script MAP_SCRIPT_ON_RETURN_TO_FIELD, ContestHall_OnReturn
.byte 0
ContestHall_OnReturn: @ 823B79B
special LoadLinkContestPlayerPalettes
end
ContestHall_OnTransition: @ 823B79F
call ContestHall_EventScript_ReadyContestMusic
setvar VAR_TEMP_0, 1
call ContestHall_EventScript_AddRandomAudienceMembers
end
ContestHall_EventScript_ReadyContestMusic:: @ 823B7AF
call ContestHall_EventScript_TryWaitForLink
special ScriptGetMultiplayerId
compare VAR_RESULT, 0
call_if_eq ContestHall_EventScript_SaveContestMusicPlayer1
compare VAR_RESULT, 1
call_if_eq ContestHall_EventScript_SaveContestMusicPlayer2
compare VAR_RESULT, 2
call_if_eq ContestHall_EventScript_SaveContestMusicPlayer3
compare VAR_RESULT, 3
call_if_eq ContestHall_EventScript_SaveContestMusicPlayer4
compare VAR_RESULT, 4
call_if_eq ContestHall_EventScript_SaveContestMusic
return
ContestHall_EventScript_SaveContestMusicPlayer1:: @ 823B7EF
savebgm MUS_TEST1
return
ContestHall_EventScript_SaveContestMusicPlayer2:: @ 823B7F3
savebgm MUS_TEST2
return
ContestHall_EventScript_SaveContestMusicPlayer3:: @ 823B7F7
savebgm MUS_TEST3
return
ContestHall_EventScript_SaveContestMusicPlayer4:: @ 823B7FB
savebgm MUS_TEST4
return
ContestHall_EventScript_SaveContestMusic:: @ 823B7FF
savebgm MUS_CONTEST0
return
ContestHall_OnResume: @ 823B803
compare VAR_TEMP_9, 1
call_if_eq ContestHall_EventScript_ReShowAudience
end
ContestHall_EventScript_ReShowAudience:: @ 823B80F
call ContestHall_EventScript_CreateAudience
return
ContestHall_OnFrame: @ 823B815
map_script_2 VAR_CONTEST_HALL_STATE, 1, ContestHall_EventScript_Contest
.2byte 0
ContestHall_OnWarp: @ 823B81F
map_script_2 VAR_CONTEST_HALL_STATE, 1, ContestHall_EventScript_SetContestObjects
.2byte 0
ContestHall_EventScript_Contest:: @ 823B829
call ContestHall_EventScript_DoContest
call ContestHall_EventScript_SetExitWarp
end
ContestHall_EventScript_SetContestObjects:: @ 823B834
special LoadLinkContestPlayerPalettes
hideobjectat EVENT_OBJ_ID_PLAYER, MAP_LITTLEROOT_TOWN
call ContestHall_EventScript_CreateAudience
end
@ There are 8 audience member event objects, 7 of which are given random gfx below (the 8th is the Artist)
@ The rest of the audience is created statically by ContestHall_EventScript_CreateAudience
ContestHall_EventScript_AddRandomAudienceMembers:: @ 823B842
call ContestHall_EventScript_GetRandomAudienceGfxId
call ContestHall_EventScript_SetRandomAudienceGfx
compare VAR_TEMP_0, 8
goto_if_lt ContestHall_EventScript_AddRandomAudienceMembers
return
ContestHall_EventScript_SetRandomAudienceGfx:: @ 823B858
switch VAR_TEMP_0
case 1, ContestHall_EventScript_SetRandomAudience1
case 2, ContestHall_EventScript_SetRandomAudience2
case 3, ContestHall_EventScript_SetRandomAudience3
case 4, ContestHall_EventScript_SetRandomAudience4
case 5, ContestHall_EventScript_SetRandomAudience5
case 6, ContestHall_EventScript_SetRandomAudience6
case 7, ContestHall_EventScript_SetRandomAudience7
end
ContestHall_EventScript_SetRandomAudience1:: @ 823B8AB
copyvar VAR_OBJ_GFX_ID_4, VAR_TEMP_1
addvar VAR_TEMP_0, 1
return
ContestHall_EventScript_SetRandomAudience2:: @ 823B8B6
copyvar VAR_OBJ_GFX_ID_5, VAR_TEMP_1
addvar VAR_TEMP_0, 1
return
ContestHall_EventScript_SetRandomAudience3:: @ 823B8C1
copyvar VAR_OBJ_GFX_ID_6, VAR_TEMP_1
addvar VAR_TEMP_0, 1
return
ContestHall_EventScript_SetRandomAudience4:: @ 823B8CC
copyvar VAR_OBJ_GFX_ID_7, VAR_TEMP_1
addvar VAR_TEMP_0, 1
return
ContestHall_EventScript_SetRandomAudience5:: @ 823B8D7
copyvar VAR_OBJ_GFX_ID_8, VAR_TEMP_1
addvar VAR_TEMP_0, 1
return
ContestHall_EventScript_SetRandomAudience6:: @ 823B8E2
copyvar VAR_OBJ_GFX_ID_9, VAR_TEMP_1
addvar VAR_TEMP_0, 1
return
ContestHall_EventScript_SetRandomAudience7:: @ 823B8ED
copyvar VAR_OBJ_GFX_ID_A, VAR_TEMP_1
addvar VAR_TEMP_0, 1
return
ContestHall_EventScript_GetRandomAudienceGfxId:: @ 823B8F8
setvar VAR_RESULT, 32
special ScriptRandom
addvar VAR_RESULT, 1
switch VAR_RESULT
case 1, ContestHall_EventScript_RandomAudienceNinjaBoy
case 2, ContestHall_EventScript_RandomAudienceTwin
case 3, ContestHall_EventScript_RandomAudienceBoy1
case 4, ContestHall_EventScript_RandomAudienceGirl1
case 5, ContestHall_EventScript_RandomAudienceGirl2
case 6, ContestHall_EventScript_RandomAudienceLittleBoy
case 7, ContestHall_EventScript_RandomAudienceGirl
case 8, ContestHall_EventScript_RandomAudienceBoy3
case 9, ContestHall_EventScript_RandomAudienceGirl3
case 10, ContestHall_EventScript_RandomAudienceRichBoy
case 11, ContestHall_EventScript_RandomAudienceFatMan
case 12, ContestHall_EventScript_RandomAudiencePokefanF
case 13, ContestHall_EventScript_RandomAudienceMan1
case 14, ContestHall_EventScript_RandomAudienceWoman2
case 15, ContestHall_EventScript_RandomAudienceExpertM
case 16, ContestHall_EventScript_RandomAudienceExpertF
case 17, ContestHall_EventScript_RandomAudiencePokefanM
case 18, ContestHall_EventScript_RandomAudienceWoman4
case 19, ContestHall_EventScript_RandomAudienceCook
case 20, ContestHall_EventScript_RandomAudienceLass
case 21, ContestHall_EventScript_RandomAudienceOldWoman
case 22, ContestHall_EventScript_RandomAudienceCamper
case 23, ContestHall_EventScript_RandomAudiencePicnicker
case 24, ContestHall_EventScript_RandomAudienceMan3
case 25, ContestHall_EventScript_RandomAudienceWoman5
case 26, ContestHall_EventScript_RandomAudienceYoungster
case 27, ContestHall_EventScript_RandomAudienceBugCatcher
case 28, ContestHall_EventScript_RandomAudiencePsychicM
case 29, ContestHall_EventScript_RandomAudienceSchoolKidM
case 30, ContestHall_EventScript_RandomAudienceBlackBelt
case 31, ContestHall_EventScript_RandomAudienceBeauty
case 32, ContestHall_EventScript_RandomAudienceScientist1
end
ContestHall_EventScript_RandomAudienceNinjaBoy:: @ 823BA6B
setvar VAR_TEMP_1, EVENT_OBJ_GFX_NINJA_BOY
return
ContestHall_EventScript_RandomAudienceTwin:: @ 823BA71
setvar VAR_TEMP_1, EVENT_OBJ_GFX_TWIN
return
ContestHall_EventScript_RandomAudienceBoy1:: @ 823BA77
setvar VAR_TEMP_1, EVENT_OBJ_GFX_BOY_1
return
ContestHall_EventScript_RandomAudienceGirl1:: @ 823BA7D
setvar VAR_TEMP_1, EVENT_OBJ_GFX_GIRL_1
return
ContestHall_EventScript_RandomAudienceGirl2:: @ 823BA83
setvar VAR_TEMP_1, EVENT_OBJ_GFX_GIRL_2
return
ContestHall_EventScript_RandomAudienceLittleBoy:: @ 823BA89
setvar VAR_TEMP_1, EVENT_OBJ_GFX_LITTLE_BOY
return
ContestHall_EventScript_RandomAudienceGirl:: @ 823BA8F
setvar VAR_TEMP_1, EVENT_OBJ_GFX_LITTLE_GIRL
return
ContestHall_EventScript_RandomAudienceBoy3:: @ 823BA95
setvar VAR_TEMP_1, EVENT_OBJ_GFX_BOY_3
return
ContestHall_EventScript_RandomAudienceGirl3:: @ 823BA9B
setvar VAR_TEMP_1, EVENT_OBJ_GFX_GIRL_3
return
ContestHall_EventScript_RandomAudienceRichBoy:: @ 823BAA1
setvar VAR_TEMP_1, EVENT_OBJ_GFX_RICH_BOY
return
ContestHall_EventScript_RandomAudienceFatMan:: @ 823BAA7
setvar VAR_TEMP_1, EVENT_OBJ_GFX_FAT_MAN
return
ContestHall_EventScript_RandomAudiencePokefanF:: @ 823BAAD
setvar VAR_TEMP_1, EVENT_OBJ_GFX_POKEFAN_F
return
ContestHall_EventScript_RandomAudienceMan1:: @ 823BAB3
setvar VAR_TEMP_1, EVENT_OBJ_GFX_MAN_1
return
ContestHall_EventScript_RandomAudienceWoman2:: @ 823BAB9
setvar VAR_TEMP_1, EVENT_OBJ_GFX_WOMAN_2
return
ContestHall_EventScript_RandomAudienceExpertM:: @ 823BABF
setvar VAR_TEMP_1, EVENT_OBJ_GFX_EXPERT_M
return
ContestHall_EventScript_RandomAudienceExpertF:: @ 823BAC5
setvar VAR_TEMP_1, EVENT_OBJ_GFX_EXPERT_F
return
ContestHall_EventScript_RandomAudiencePokefanM:: @ 823BACB
setvar VAR_TEMP_1, EVENT_OBJ_GFX_POKEFAN_M
return
ContestHall_EventScript_RandomAudienceWoman4:: @ 823BAD1
setvar VAR_TEMP_1, EVENT_OBJ_GFX_WOMAN_4
return
ContestHall_EventScript_RandomAudienceCook:: @ 823BAD7
setvar VAR_TEMP_1, EVENT_OBJ_GFX_COOK
return
ContestHall_EventScript_RandomAudienceLass:: @ 823BADD
setvar VAR_TEMP_1, EVENT_OBJ_GFX_LASS
return
ContestHall_EventScript_RandomAudienceOldWoman:: @ 823BAE3
setvar VAR_TEMP_1, EVENT_OBJ_GFX_OLD_WOMAN
return
ContestHall_EventScript_RandomAudienceCamper:: @ 823BAE9
setvar VAR_TEMP_1, EVENT_OBJ_GFX_CAMPER
return
ContestHall_EventScript_RandomAudiencePicnicker:: @ 823BAEF
setvar VAR_TEMP_1, EVENT_OBJ_GFX_PICNICKER
return
ContestHall_EventScript_RandomAudienceMan3:: @ 823BAF5
setvar VAR_TEMP_1, EVENT_OBJ_GFX_MAN_3
return
ContestHall_EventScript_RandomAudienceWoman5:: @ 823BAFB
setvar VAR_TEMP_1, EVENT_OBJ_GFX_WOMAN_5
return
ContestHall_EventScript_RandomAudienceYoungster:: @ 823BB01
setvar VAR_TEMP_1, EVENT_OBJ_GFX_YOUNGSTER
return
ContestHall_EventScript_RandomAudienceBugCatcher:: @ 823BB07
setvar VAR_TEMP_1, EVENT_OBJ_GFX_BUG_CATCHER
return
ContestHall_EventScript_RandomAudiencePsychicM:: @ 823BB0D
setvar VAR_TEMP_1, EVENT_OBJ_GFX_PSYCHIC_M
return
ContestHall_EventScript_RandomAudienceSchoolKidM:: @ 823BB13
setvar VAR_TEMP_1, EVENT_OBJ_GFX_SCHOOL_KID_M
return
ContestHall_EventScript_RandomAudienceBlackBelt:: @ 823BB19
setvar VAR_TEMP_1, EVENT_OBJ_GFX_BLACK_BELT
return
ContestHall_EventScript_RandomAudienceBeauty:: @ 823BB1F
setvar VAR_TEMP_1, EVENT_OBJ_GFX_BEAUTY
return
ContestHall_EventScript_RandomAudienceScientist1:: @ 823BB25
setvar VAR_TEMP_1, EVENT_OBJ_GFX_SCIENTIST_1
return
ContestHall_EventScript_CreateAudience:: @ 823BB2B
specialvar VAR_RESULT, IsWirelessContest
compare VAR_RESULT, TRUE
goto_if_eq ContestHall_EventScript_CreateWirelessContestAudience
switch VAR_CONTEST_TYPE
case CONTEST_TYPE_NPC_NORMAL, ContestHall_EventScript_CreateNormalContestAudience
case CONTEST_TYPE_NPC_SUPER, ContestHall_EventScript_CreateSuperContestAudience
case CONTEST_TYPE_NPC_HYPER, ContestHall_EventScript_CreateHyperContestAudience
case CONTEST_TYPE_NPC_MASTER, ContestHall_EventScript_CreateMasterContestAudience
case CONTEST_TYPE_LINK, ContestHall_EventScript_CreateMasterContestAudience
return
ContestHall_EventScript_CreateNormalContestAudience:: @ 823BB78
createvobject EVENT_OBJ_GFX_NINJA_BOY, 20, 3, 2, 3, DIR_SOUTH
createvobject EVENT_OBJ_GFX_SCIENTIST_1, 24, 11, 2, 3, DIR_SOUTH
return
ContestHall_EventScript_CreateSuperContestAudience:: @ 823BB8B
createvobject EVENT_OBJ_GFX_BEAUTY, 0, 2, 3, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_MAN_5, 1, 2, 4, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_HIKER, 2, 2, 7, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_SCIENTIST_1, 3, 2, 8, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_NINJA_BOY, 10, 12, 3, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_WOMAN_2, 11, 12, 4, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_WOMAN_3, 12, 12, 7, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_LITTLE_GIRL, 13, 12, 8, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_LASS, 20, 3, 2, 3, DIR_SOUTH
createvobject EVENT_OBJ_GFX_SCIENTIST_1, 24, 11, 2, 3, DIR_SOUTH
return
ContestHall_EventScript_CreateHyperContestAudience:: @ 823BBE6
createvobject EVENT_OBJ_GFX_BEAUTY, 0, 2, 3, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_MAN_5, 1, 2, 4, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_HIKER, 2, 2, 7, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_GENTLEMAN, 3, 2, 8, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_NINJA_BOY, 10, 12, 3, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_WOMAN_2, 11, 12, 4, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_WOMAN_3, 12, 12, 7, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_BEAUTY, 13, 12, 8, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_EXPERT_F, 20, 3, 2, 3, DIR_SOUTH
createvobject EVENT_OBJ_GFX_MAN_2, 20, 6, 2, 3, DIR_SOUTH
createvobject EVENT_OBJ_GFX_WOMAN_5, 20, 7, 2, 3, DIR_SOUTH
createvobject EVENT_OBJ_GFX_SCIENTIST_1, 24, 8, 2, 3, DIR_SOUTH
createvobject EVENT_OBJ_GFX_GENTLEMAN, 24, 11, 2, 3, DIR_SOUTH
createvobject EVENT_OBJ_GFX_LITTLE_BOY, 25, 3, 9, 3, DIR_NORTH
createvobject EVENT_OBJ_GFX_YOUNGSTER, 26, 4, 9, 3, DIR_NORTH
createvobject EVENT_OBJ_GFX_FAT_MAN, 27, 5, 9, 3, DIR_NORTH
createvobject EVENT_OBJ_GFX_HEX_MANIAC, 28, 9, 9, 3, DIR_NORTH
createvobject EVENT_OBJ_GFX_SCHOOL_KID_M, 29, 10, 9, 3, DIR_NORTH
createvobject EVENT_OBJ_GFX_MART_EMPLOYEE, 30, 11, 9, 3, DIR_NORTH
return
ContestHall_EventScript_CreateMasterContestAudience:: @ 823BC92
createvobject EVENT_OBJ_GFX_BEAUTY, 0, 2, 3, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_MAN_5, 1, 2, 4, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_HIKER, 2, 2, 7, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_LITTLE_GIRL, 3, 2, 8, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_MANIAC, 4, 1, 3, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_WOMAN_5, 6, 1, 5, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_WOMAN_4, 7, 1, 6, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_GENTLEMAN, 9, 1, 8, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_NINJA_BOY, 10, 12, 3, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_WOMAN_2, 11, 12, 4, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_WOMAN_3, 12, 12, 7, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_BEAUTY, 13, 12, 8, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_FISHERMAN, 14, 13, 3, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_RUNNING_TRIATHLETE_F, 15, 13, 4, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_MAN_4, 17, 13, 6, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_MART_EMPLOYEE, 18, 13, 7, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_DEVON_EMPLOYEE, 19, 13, 8, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_POKEFAN_M, 20, 3, 2, 3, DIR_SOUTH
createvobject EVENT_OBJ_GFX_CAMPER, 21, 6, 2, 3, DIR_SOUTH
createvobject EVENT_OBJ_GFX_MAN_3, 22, 7, 2, 3, DIR_SOUTH
createvobject EVENT_OBJ_GFX_SCIENTIST_1, 24, 11, 2, 3, DIR_SOUTH
createvobject EVENT_OBJ_GFX_SAILOR, 25, 3, 9, 3, DIR_NORTH
createvobject EVENT_OBJ_GFX_YOUNGSTER, 26, 4, 9, 3, DIR_NORTH
createvobject EVENT_OBJ_GFX_GENTLEMAN, 27, 5, 9, 3, DIR_NORTH
createvobject EVENT_OBJ_GFX_HEX_MANIAC, 28, 9, 9, 3, DIR_NORTH
createvobject EVENT_OBJ_GFX_SCHOOL_KID_M, 29, 10, 9, 3, DIR_NORTH
createvobject EVENT_OBJ_GFX_MART_EMPLOYEE, 30, 11, 9, 3, DIR_NORTH
return
ContestHall_EventScript_CreateWirelessContestAudience:: @ 823BD86
createvobject EVENT_OBJ_GFX_BEAUTY, 0, 2, 3, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_MAN_5, 1, 2, 4, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_HIKER, 2, 2, 7, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_LITTLE_GIRL, 3, 2, 8, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_MANIAC, 4, 1, 3, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_WOMAN_5, 6, 1, 5, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_WOMAN_4, 7, 1, 6, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_GENTLEMAN, 9, 1, 8, 3, DIR_EAST
createvobject EVENT_OBJ_GFX_NINJA_BOY, 10, 12, 3, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_WOMAN_2, 11, 12, 4, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_WOMAN_3, 12, 12, 7, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_BEAUTY, 13, 12, 8, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_FISHERMAN, 14, 13, 3, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_RUNNING_TRIATHLETE_F, 15, 13, 4, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_MAN_4, 17, 13, 6, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_MART_EMPLOYEE, 18, 13, 7, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_DEVON_EMPLOYEE, 19, 13, 8, 3, DIR_WEST
createvobject EVENT_OBJ_GFX_POKEFAN_M, 20, 3, 2, 3, DIR_SOUTH
createvobject EVENT_OBJ_GFX_CAMPER, 21, 6, 2, 3, DIR_SOUTH
createvobject EVENT_OBJ_GFX_MAN_3, 22, 7, 2, 3, DIR_SOUTH
createvobject EVENT_OBJ_GFX_SCIENTIST_1, 24, 11, 2, 3, DIR_SOUTH
return
ContestHall_EventScript_SetExitWarp:: @ 823BE44
special ClearLinkContestFlags
switch VAR_CONTEST_TYPE
case CONTEST_TYPE_NPC_NORMAL, ContestHall_EventScript_SetExitWarpNormalContest
case CONTEST_TYPE_NPC_SUPER, ContestHall_EventScript_SetExitWarpSuperContest
case CONTEST_TYPE_NPC_HYPER, ContestHall_EventScript_SetExitWarpHyperContest
case CONTEST_TYPE_NPC_MASTER, ContestHall_EventScript_SetExitWarpMasterContest
case CONTEST_TYPE_LINK, ContestHall_EventScript_SetExitWarpLinkContest
return
ContestHall_EventScript_SetExitWarpNormalContest:: @ 823BE84
warp MAP_LILYCOVE_CITY_CONTEST_LOBBY, 255, 14, 4
waitstate
end
ContestHall_EventScript_SetExitWarpSuperContest:: @ 823BE8E
warp MAP_LILYCOVE_CITY_CONTEST_LOBBY, 255, 14, 4
waitstate
end
ContestHall_EventScript_SetExitWarpHyperContest:: @ 823BE98
warp MAP_LILYCOVE_CITY_CONTEST_LOBBY, 255, 14, 4
waitstate
end
ContestHall_EventScript_SetExitWarpMasterContest:: @ 823BEA2
warp MAP_LILYCOVE_CITY_CONTEST_LOBBY, 255, 14, 4
waitstate
end
ContestHall_EventScript_SetExitWarpLinkContest:: @ 823BEAC
warp MAP_LILYCOVE_CITY_CONTEST_LOBBY, 255, 15, 4
waitstate
end
LilycoveCity_ContestLobby_EventScript_SetPlayerGfx:: @ 823BEB6
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq LilycoveCity_ContestLobby_EventScript_SetPlayerGfxBrendan
compare VAR_RESULT, FEMALE
goto_if_eq LilycoveCity_ContestLobby_EventScript_SetPlayerGfxMay
return
LilycoveCity_ContestLobby_EventScript_SetPlayerGfxBrendan:: @ 823BECE
setvar VAR_OBJ_GFX_ID_3, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
return
LilycoveCity_ContestLobby_EventScript_SetPlayerGfxMay:: @ 823BED4
setvar VAR_OBJ_GFX_ID_3, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL
return

View File

@@ -1,7 +1,7 @@
{
"id": "MAP_LINK_CONTEST_ROOM4",
"name": "LinkContestRoom4",
"layout": "LAYOUT_LINK_CONTEST_ROOM4",
"id": "MAP_CONTEST_HALL_BEAUTY",
"name": "ContestHallBeauty",
"layout": "LAYOUT_CONTEST_HALL_BEAUTY",
"music": "MUS_CONTEST0",
"region_map_section": "MAPSEC_DYNAMIC",
"requires_flash": false,
@@ -13,6 +13,6 @@
"show_map_name": false,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"shared_events_map": "LinkContestRoom1",
"shared_scripts_map": "LinkContestRoom1"
"shared_events_map": "ContestHall",
"shared_scripts_map": "ContestHall"
}

View File

@@ -1,7 +1,7 @@
{
"id": "MAP_LINK_CONTEST_ROOM2",
"name": "LinkContestRoom2",
"layout": "LAYOUT_LINK_CONTEST_ROOM2",
"id": "MAP_CONTEST_HALL_COOL",
"name": "ContestHallCool",
"layout": "LAYOUT_CONTEST_HALL_COOL",
"music": "MUS_CONTEST0",
"region_map_section": "MAPSEC_DYNAMIC",
"requires_flash": false,
@@ -13,6 +13,6 @@
"show_map_name": false,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"shared_events_map": "LinkContestRoom1",
"shared_scripts_map": "LinkContestRoom1"
"shared_events_map": "ContestHall",
"shared_scripts_map": "ContestHall"
}

View File

@@ -1,7 +1,7 @@
{
"id": "MAP_LINK_CONTEST_ROOM5",
"name": "LinkContestRoom5",
"layout": "LAYOUT_LINK_CONTEST_ROOM5",
"id": "MAP_CONTEST_HALL_CUTE",
"name": "ContestHallCute",
"layout": "LAYOUT_CONTEST_HALL_CUTE",
"music": "MUS_CONTEST0",
"region_map_section": "MAPSEC_DYNAMIC",
"requires_flash": false,
@@ -13,6 +13,6 @@
"show_map_name": false,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"shared_events_map": "LinkContestRoom1",
"shared_scripts_map": "LinkContestRoom1"
"shared_events_map": "ContestHall",
"shared_scripts_map": "ContestHall"
}

View File

@@ -1,7 +1,7 @@
{
"id": "MAP_LINK_CONTEST_ROOM3",
"name": "LinkContestRoom3",
"layout": "LAYOUT_LINK_CONTEST_ROOM3",
"id": "MAP_CONTEST_HALL_SMART",
"name": "ContestHallSmart",
"layout": "LAYOUT_CONTEST_HALL_SMART",
"music": "MUS_CONTEST0",
"region_map_section": "MAPSEC_DYNAMIC",
"requires_flash": false,
@@ -13,6 +13,6 @@
"show_map_name": false,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"shared_events_map": "LinkContestRoom1",
"shared_scripts_map": "LinkContestRoom1"
"shared_events_map": "ContestHall",
"shared_scripts_map": "ContestHall"
}

View File

@@ -0,0 +1,18 @@
{
"id": "MAP_CONTEST_HALL_TOUGH",
"name": "ContestHallTough",
"layout": "LAYOUT_CONTEST_HALL_TOUGH",
"music": "MUS_CONTEST0",
"region_map_section": "MAPSEC_DYNAMIC",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_bike": false,
"allow_escape_rope": false,
"allow_running": false,
"show_map_name": false,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"shared_events_map": "ContestHall",
"shared_scripts_map": "ContestHall"
}

View File

@@ -55,7 +55,7 @@ EverGrandeCity_DrakesRoom_EventScript_PostBattleSpeech:: @ 822871A
EverGrandeCity_DrakesRoom_EventScript_Defeated:: @ 8228724
setvar VAR_0x8004, 0
special sub_813BF7C
special Script_TryGainNewFanFromCounter
setflag FLAG_DEFEATED_ELITE_4_DRAKE
call PokemonLeague_EliteFour_SetAdvanceToNextRoomMetatiles
msgbox EverGrandeCity_DrakesRoom_Text_PostBattleSpeech, MSGBOX_DEFAULT

View File

@@ -4,7 +4,7 @@ FallarborTown_MapScripts:: @ 81EB1FA
FallarborTown_OnTransition: @ 81EB200
setflag FLAG_VISITED_FALLARBOR_TOWN
setvar VAR_LINK_CONTEST_ROOM_STATE, 0
setvar VAR_CONTEST_HALL_STATE, 0
clearflag FLAG_CONTEST_SKETCH_CREATED
end

View File

@@ -35,15 +35,15 @@ FallarborTown_BattleTentBattleRoom_EventScript_2008E7:: @ 82008E7
showobjectat 1, MAP_FALLARBOR_TOWN_BATTLE_TENT_BATTLE_ROOM
applymovement 1, FallarborTown_BattleTentBattleRoom_Movement_200B8D
waitmovement 0
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 0
goto_if_ne FallarborTown_BattleTentBattleRoom_EventScript_200B73
FallarborTown_BattleTentBattleRoom_EventScript_20090F:: @ 820090F
setvar VAR_0x8004, 3
special sub_8161F74
setvar VAR_0x8004, BATTLE_TOWER_FUNC_CHOOSE_TRAINER
special CallBattleTowerFunc
addobject 3
applymovement 3, FallarborTown_BattleTentBattleRoom_Movement_200B96
waitmovement 0
@@ -68,7 +68,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_20090F:: @ 820090F
msgbox FallarborTown_BattleTentBattleRoom_Text_257CCE, MSGBOX_DEFAULT
FallarborTown_BattleTentBattleRoom_EventScript_20097E:: @ 820097E
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 4
special CallFrontierUtilFunc
@@ -85,11 +85,11 @@ FallarborTown_BattleTentBattleRoom_EventScript_20099C:: @ 820099C
closemessage
FallarborTown_BattleTentBattleRoom_EventScript_2009B3:: @ 82009B3
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
addvar VAR_RESULT, 1
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 2
copyvar VAR_0x8006, VAR_RESULT
special CallFrontierUtilFunc
@@ -105,15 +105,15 @@ FallarborTown_BattleTentBattleRoom_EventScript_2009B3:: @ 82009B3
msgbox FallarborTown_BattleTentBattleRoom_Text_257CE9, MSGBOX_DEFAULT
special LoadPlayerParty
special SavePlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special CallFrontierUtilFunc
playfanfare MUS_ME_ASA
waitfanfare
special HealPlayerParty
FallarborTown_BattleTentBattleRoom_EventScript_200A2A:: @ 8200A2A
setvar VAR_0x8004, 1
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_1
setvar VAR_0x8005, 2
special CallFrontierUtilFunc
compare VAR_RESULT, 1
@@ -153,7 +153,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_200AD8:: @ 8200AD8
FallarborTown_BattleTentBattleRoom_EventScript_200AF3:: @ 8200AF3
delay 60
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 3
special CallFrontierUtilFunc
@@ -190,7 +190,7 @@ FallarborTown_BattleTentBattleRoom_EventScript_200B51:: @ 8200B51
playse SE_SAVE
waitse
fadescreen 1
setvar VAR_0x8004, 4
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_SOFT_RESET
special CallFrontierUtilFunc
end

View File

@@ -21,7 +21,7 @@ FallarborTown_BattleTentLobby_MapScript2_1FFE85: @ 81FFE85
.2byte 0
FallarborTown_BattleTentLobby_EventScript_1FFEAF:: @ 81FFEAF
setvar VAR_0x8004, 0
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_0
special CallFrontierUtilFunc
end
@@ -29,12 +29,12 @@ FallarborTown_BattleTentLobby_EventScript_1FFEB8:: @ 81FFEB8
lockall
msgbox FallarborTown_BattleTentLobby_Text_2C4DED, MSGBOX_DEFAULT
closemessage
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
setvar VAR_TEMP_0, 255
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -48,7 +48,7 @@ FallarborTown_BattleTentLobby_EventScript_1FFEED:: @ 81FFEED
waitmessage
setvar VAR_0x8004, 4
special sub_81B9B80
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -64,7 +64,7 @@ FallarborTown_BattleTentLobby_EventScript_1FFF27:: @ 81FFF27
special sub_81B9B80
switch VAR_RESULT
case 0, FallarborTown_BattleTentLobby_EventScript_1FFF73
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -96,7 +96,7 @@ FallarborTown_BattleTentLobby_EventScript_1FFF93:: @ 81FFF93
lockall
message FallarborTown_BattleTentLobby_Text_2C4FD7
waitmessage
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -120,7 +120,7 @@ FallarborTown_BattleTentLobby_EventScript_1FFFCD:: @ 81FFFCD
special sub_81B9B80
playse SE_SAVE
waitse
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -151,11 +151,11 @@ FallarborTown_BattleTentLobby_EventScript_20005D:: @ 820005D
setvar VAR_FRONTIER_FACILITY, 3
setvar VAR_FRONTIER_BATTLE_MODE, 0
setvar VAR_RESULT, 2
setvar VAR_0x8004, 15
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_15
special CallFrontierUtilFunc
compare VAR_0x8004, 1
goto_if_eq FallarborTown_BattleTentLobby_EventScript_200176
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 1
setvar VAR_0x8006, 2
special CallFrontierUtilFunc
@@ -175,16 +175,16 @@ FallarborTown_BattleTentLobby_EventScript_20005D:: @ 820005D
FallarborTown_BattleTentLobby_EventScript_2000E2:: @ 82000E2
setvar VAR_TEMP_0, 0
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 4
special CallFrontierUtilFunc
setvar VAR_0x8004, 0
special sub_81B9B80
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 1
special CallFrontierUtilFunc
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 3
setvar VAR_0x8006, 0
special CallFrontierUtilFunc
@@ -198,8 +198,8 @@ FallarborTown_BattleTentLobby_EventScript_2000E2:: @ 82000E2
FallarborTown_BattleTentLobby_EventScript_20013C:: @ 820013C
special SavePlayerParty
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_LOAD_SELECTED_PARTY
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special CallFrontierUtilFunc
msgbox FallarborTown_BattleTentLobby_Text_2C4DC3, MSGBOX_DEFAULT
closemessage
@@ -227,7 +227,7 @@ FallarborTown_BattleTentLobby_EventScript_20019E:: @ 820019E
goto FallarborTown_BattleTentLobby_EventScript_2001CD
FallarborTown_BattleTentLobby_EventScript_2001AB:: @ 82001AB
setvar VAR_0x8004, 2
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special CallFrontierUtilFunc

View File

@@ -43,8 +43,8 @@ FortreeCity_Gym_EventScript_WinonaDefeated:: @ 82165FD
closemessage
delay 30
setflag FLAG_ENABLE_WINONA_MATCH_CALL
setvar VAR_WINONA_CALL_STEP_COUNTER, 0
setflag FLAG_REGISTER_WINONA_POKENAV
setvar VAR_SCOTT_FORTREE_CALL_STEP_COUNTER, 0
setflag FLAG_SCOTT_CALL_FORTREE_GYM
release
end

View File

@@ -35,7 +35,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2C53",
"script": "LilycoveCity_EventScript_Sailor2",
"flag": "0"
},
{
@@ -48,7 +48,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2C2B",
"script": "LilycoveCity_EventScript_Girl",
"flag": "0"
},
{
@@ -61,7 +61,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2C22",
"script": "LilycoveCity_EventScript_Man3",
"flag": "0"
},
{
@@ -74,7 +74,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2C4A",
"script": "LilycoveCity_EventScript_RichBoy",
"flag": "0"
},
{
@@ -87,7 +87,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2C91",
"script": "LilycoveCity_EventScript_Man2",
"flag": "0"
},
{
@@ -100,7 +100,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2C72",
"script": "LilycoveCity_EventScript_Woman2",
"flag": "0"
},
{
@@ -113,7 +113,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2C9A",
"script": "LilycoveCity_EventScript_ExpertM1",
"flag": "0"
},
{
@@ -126,7 +126,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2CA3",
"script": "LilycoveCity_EventScript_ExpertF",
"flag": "0"
},
{
@@ -139,7 +139,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2CAC",
"script": "LilycoveCity_EventScript_ExpertM2",
"flag": "0"
},
{
@@ -152,7 +152,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2D7D",
"script": "LilycoveCity_EventScript_WailmerTrainerGrunt",
"flag": "FLAG_HIDE_LILYCOVE_CITY_AQUA_GRUNTS"
},
{
@@ -178,7 +178,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2DD5",
"script": "LilycoveCity_EventScript_AquaGrunt4",
"flag": "FLAG_HIDE_LILYCOVE_CITY_AQUA_GRUNTS"
},
{
@@ -191,7 +191,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2DBA",
"script": "LilycoveCity_EventScript_AquaGrunt1",
"flag": "FLAG_HIDE_LILYCOVE_CITY_AQUA_GRUNTS"
},
{
@@ -204,7 +204,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2DC3",
"script": "LilycoveCity_EventScript_AquaGrunt2",
"flag": "FLAG_HIDE_LILYCOVE_CITY_AQUA_GRUNTS"
},
{
@@ -217,7 +217,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2DCC",
"script": "LilycoveCity_EventScript_AquaGrunt3",
"flag": "FLAG_HIDE_LILYCOVE_CITY_AQUA_GRUNTS"
},
{
@@ -230,7 +230,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2BD8",
"script": "LilycoveCity_EventScript_BerryGentleman",
"flag": "0"
},
{
@@ -243,7 +243,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2DDE",
"script": "LilycoveCity_EventScript_Rival",
"flag": "FLAG_HIDE_LILYCOVE_CITY_RIVAL"
},
{
@@ -256,7 +256,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E302D",
"script": "LilycoveCity_EventScript_SchoolKidM",
"flag": "0"
},
{
@@ -269,7 +269,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2CEE",
"script": "LilycoveCity_EventScript_Woman1",
"flag": "0"
},
{
@@ -282,7 +282,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2CDD",
"script": "LilycoveCity_EventScript_Man1",
"flag": "0"
},
{
@@ -295,7 +295,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2CCB",
"script": "LilycoveCity_EventScript_Sailor1",
"flag": "0"
},
{
@@ -308,7 +308,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_EventScript_1E2CD4",
"script": "LilycoveCity_EventScript_FatMan",
"flag": "0"
}
],
@@ -420,7 +420,7 @@
"y": 7,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_EventScript_1E2D1A"
"script": "LilycoveCity_EventScript_MuseumSign"
},
{
"type": "sign",
@@ -436,7 +436,7 @@
"y": 7,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_EventScript_1E2D6B"
"script": "LilycoveCity_EventScript_DepartmentStoreSign"
},
{
"type": "sign",
@@ -452,7 +452,7 @@
"y": 15,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_EventScript_1E2CFF"
"script": "LilycoveCity_EventScript_CitySign"
},
{
"type": "sign",
@@ -460,7 +460,7 @@
"y": 24,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_EventScript_1E2D08"
"script": "LilycoveCity_EventScript_ContestHallSign"
},
{
"type": "sign",
@@ -468,7 +468,7 @@
"y": 24,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_EventScript_1E2D11"
"script": "LilycoveCity_EventScript_MotelSign"
},
{
"type": "sign",
@@ -476,7 +476,7 @@
"y": 30,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_EventScript_1E2D44"
"script": "LilycoveCity_EventScript_HarborSign"
},
{
"type": "sign",
@@ -484,7 +484,7 @@
"y": 14,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_EventScript_1E2D62"
"script": "LilycoveCity_EventScript_TrainerFanClubSign"
},
{
"type": "sign",
@@ -492,7 +492,7 @@
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_EventScript_1E2D74"
"script": "LilycoveCity_EventScript_MoveDeletersHouseSign"
},
{
"type": "hidden_item",

View File

@@ -1,21 +1,21 @@
LilycoveCity_MapScripts:: @ 81E2B3C
map_script MAP_SCRIPT_ON_TRANSITION, LilycoveCity_OnTransition
map_script MAP_SCRIPT_ON_LOAD, LilycoveCity_MapScript1_1E2B61
map_script MAP_SCRIPT_ON_LOAD, LilycoveCity_OnLoad
.byte 0
LilycoveCity_OnTransition: @ 81E2B47
setflag FLAG_VISITED_LILYCOVE_CITY
setvar VAR_LINK_CONTEST_ROOM_STATE, 0
setvar VAR_CONTEST_HALL_STATE, 0
setflag FLAG_HIDE_LILYCOVE_CONTEST_HALL_REPORTER
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetAlternatingWeather
call Common_EventScript_SetupRivalGfxId
end
LilycoveCity_MapScript1_1E2B61: @ 81E2B61
call_if_unset FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE, LilycoveCity_EventScript_1E2B6B
LilycoveCity_OnLoad: @ 81E2B61
call_if_unset FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE, LilycoveCity_EventScript_SetWailmerMetatiles
end
LilycoveCity_EventScript_1E2B6B:: @ 81E2B6B
LilycoveCity_EventScript_SetWailmerMetatiles:: @ 81E2B6B
setmetatile 76, 12, METATILE_Lilycove_Wailmer0, 1
setmetatile 77, 12, METATILE_Lilycove_Wailmer1, 1
setmetatile 76, 13, METATILE_Lilycove_Wailmer2, 1
@@ -30,362 +30,362 @@ LilycoveCity_EventScript_1E2B6B:: @ 81E2B6B
setmetatile 78, 17, METATILE_Lilycove_Wailmer3, 1
return
LilycoveCity_EventScript_1E2BD8:: @ 81E2BD8
LilycoveCity_EventScript_BerryGentleman:: @ 81E2BD8
lock
faceplayer
dotimebasedevents
goto_if_set FLAG_DAILY_LILYCOVE_RECEIVED_BERRY, LilycoveCity_EventScript_1E2C18
msgbox LilycoveCity_Text_2A7244, MSGBOX_DEFAULT
goto_if_set FLAG_DAILY_LILYCOVE_RECEIVED_BERRY, LilycoveCity_EventScript_ReceivedBerry
msgbox LilycoveCity_Text_BerrySuitsYou, MSGBOX_DEFAULT
random 10
addvar VAR_RESULT, FIRST_BERRY_INDEX
giveitem_std VAR_RESULT
compare VAR_RESULT, 0
compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_DAILY_LILYCOVE_RECEIVED_BERRY
msgbox LilycoveCity_Text_2A72E3, MSGBOX_DEFAULT
msgbox LilycoveCity_Text_BecauseYoureTrainer, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_1E2C18:: @ 81E2C18
msgbox LilycoveCity_Text_2A7321, MSGBOX_DEFAULT
LilycoveCity_EventScript_ReceivedBerry:: @ 81E2C18
msgbox LilycoveCity_Text_PokeblocksSuitPokemon, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_1E2C22:: @ 81E2C22
msgbox LilycoveCity_Text_1E3D9E, MSGBOX_NPC
LilycoveCity_EventScript_Man3:: @ 81E2C22
msgbox LilycoveCity_Text_ContestHallInTown, MSGBOX_NPC
end
LilycoveCity_EventScript_1E2C2B:: @ 81E2C2B
LilycoveCity_EventScript_Girl:: @ 81E2C2B
lock
faceplayer
goto_if_set FLAG_BADGE07_GET, LilycoveCity_EventScript_1E2C40
msgbox LilycoveCity_Text_1E3E3C, MSGBOX_DEFAULT
goto_if_set FLAG_BADGE07_GET, LilycoveCity_EventScript_GirlAquaGone
msgbox LilycoveCity_Text_StrangeCaveInCove, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_1E2C40:: @ 81E2C40
msgbox LilycoveCity_Text_1E3E7D, MSGBOX_DEFAULT
LilycoveCity_EventScript_GirlAquaGone:: @ 81E2C40
msgbox LilycoveCity_Text_GoingToMoveDeleterForHMs, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_1E2C4A:: @ 81E2C4A
msgbox LilycoveCity_Text_1E3F05, MSGBOX_NPC
LilycoveCity_EventScript_RichBoy:: @ 81E2C4A
msgbox LilycoveCity_Text_ImFromKanto, MSGBOX_NPC
end
LilycoveCity_EventScript_1E2C53:: @ 81E2C53
LilycoveCity_EventScript_Sailor2:: @ 81E2C53
lock
faceplayer
goto_if_set FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE, LilycoveCity_EventScript_1E2C68
msgbox LilycoveCity_Text_1E3FAB, MSGBOX_DEFAULT
goto_if_set FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE, LilycoveCity_EventScript_Sailor2AquaGone
msgbox LilycoveCity_Text_TeamAquaBeenTrainingWailmer, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_1E2C68:: @ 81E2C68
msgbox LilycoveCity_Text_1E4020, MSGBOX_DEFAULT
LilycoveCity_EventScript_Sailor2AquaGone:: @ 81E2C68
msgbox LilycoveCity_Text_SomeonePuntedTeamAquaOut, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_1E2C72:: @ 81E2C72
LilycoveCity_EventScript_Woman2:: @ 81E2C72
lock
faceplayer
goto_if_set FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE, LilycoveCity_EventScript_1E2C87
msgbox LilycoveCity_Text_1E40AD, MSGBOX_DEFAULT
goto_if_set FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE, LilycoveCity_EventScript_Woman2AquaGone
msgbox LilycoveCity_Text_SomeoneStoleMyPokemon, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_1E2C87:: @ 81E2C87
msgbox LilycoveCity_Text_1E4145, MSGBOX_DEFAULT
LilycoveCity_EventScript_Woman2AquaGone:: @ 81E2C87
msgbox LilycoveCity_Text_MissingPokemonCameBack, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_1E2C91:: @ 81E2C91
msgbox LilycoveCity_Text_1E417B, MSGBOX_NPC
LilycoveCity_EventScript_Man2:: @ 81E2C91
msgbox LilycoveCity_Text_ImArtDealer, MSGBOX_NPC
end
LilycoveCity_EventScript_1E2C9A:: @ 81E2C9A
msgbox LilycoveCity_Text_1E420B, MSGBOX_SIGN
LilycoveCity_EventScript_ExpertM1:: @ 81E2C9A
msgbox LilycoveCity_Text_SeaRemainsForeverYoung, MSGBOX_SIGN
end
LilycoveCity_EventScript_1E2CA3:: @ 81E2CA3
msgbox LilycoveCity_Text_1E4283, MSGBOX_SIGN
LilycoveCity_EventScript_ExpertF:: @ 81E2CA3
msgbox LilycoveCity_Text_SixtyYearsAgoHusbandProposed, MSGBOX_SIGN
end
LilycoveCity_EventScript_1E2CAC:: @ 81E2CAC
LilycoveCity_EventScript_ExpertM2:: @ 81E2CAC
lock
faceplayer
goto_if_set FLAG_BADGE07_GET, LilycoveCity_EventScript_1E2CC1
msgbox LilycoveCity_Text_1E42FC, MSGBOX_DEFAULT
goto_if_set FLAG_BADGE07_GET, LilycoveCity_EventScript_ExpertM2AquaGone
msgbox LilycoveCity_Text_TeamAquaRenovatedCavern, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_1E2CC1:: @ 81E2CC1
msgbox LilycoveCity_Text_1E43FF, MSGBOX_DEFAULT
LilycoveCity_EventScript_ExpertM2AquaGone:: @ 81E2CC1
msgbox LilycoveCity_Text_TeamAquaLotGoneForGood, MSGBOX_DEFAULT
release
end
LilycoveCity_EventScript_1E2CCB:: @ 81E2CCB
msgbox LilycoveCity_Text_1E48A5, MSGBOX_NPC
LilycoveCity_EventScript_Sailor1:: @ 81E2CCB
msgbox LilycoveCity_Text_HeardTowerCalledSkyPillar, MSGBOX_NPC
end
LilycoveCity_EventScript_1E2CD4:: @ 81E2CD4
msgbox LilycoveCity_Text_1E4902, MSGBOX_NPC
LilycoveCity_EventScript_FatMan:: @ 81E2CD4
msgbox LilycoveCity_Text_SawTallTowerOnRoute131, MSGBOX_NPC
end
LilycoveCity_EventScript_1E2CDD:: @ 81E2CDD
LilycoveCity_EventScript_Man1:: @ 81E2CDD
lockall
msgbox LilycoveCity_Text_1E494D, MSGBOX_NPC
msgbox LilycoveCity_Text_JustArrivedAndSawRarePokemon, MSGBOX_NPC
applymovement 20, Common_Movement_FaceOriginalDirection
end
LilycoveCity_EventScript_1E2CEE:: @ 81E2CEE
LilycoveCity_EventScript_Woman1:: @ 81E2CEE
lockall
msgbox LilycoveCity_Text_1E49F4, MSGBOX_NPC
msgbox LilycoveCity_Text_HoneymoonVowToSeeRarePokemon, MSGBOX_NPC
applymovement 19, Common_Movement_FaceOriginalDirection
end
LilycoveCity_EventScript_1E2CFF:: @ 81E2CFF
msgbox LilycoveCity_Text_1E448B, MSGBOX_SIGN
LilycoveCity_EventScript_CitySign:: @ 81E2CFF
msgbox LilycoveCity_Text_CitySign, MSGBOX_SIGN
end
LilycoveCity_EventScript_1E2D08:: @ 81E2D08
msgbox LilycoveCity_Text_1E44C3, MSGBOX_SIGN
LilycoveCity_EventScript_ContestHallSign:: @ 81E2D08
msgbox LilycoveCity_Text_ContestHallSign, MSGBOX_SIGN
end
LilycoveCity_EventScript_1E2D11:: @ 81E2D11
msgbox LilycoveCity_Text_1E44FC, MSGBOX_SIGN
LilycoveCity_EventScript_MotelSign:: @ 81E2D11
msgbox LilycoveCity_Text_MotelSign, MSGBOX_SIGN
end
LilycoveCity_EventScript_1E2D1A:: @ 81E2D1A
LilycoveCity_EventScript_MuseumSign:: @ 81E2D1A
lockall
specialvar VAR_0x8004, CountPlayerContestPaintings
switch VAR_0x8004
case 0, LilycoveCity_EventScript_1E2D3A
msgbox LilycoveCity_Text_1E4571, MSGBOX_DEFAULT
case 0, LilycoveCity_EventScript_MuseumSignNoPaintings
msgbox LilycoveCity_Text_MuseumSignPlayersExhibit, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_EventScript_1E2D3A:: @ 81E2D3A
msgbox LilycoveCity_Text_1E4534, MSGBOX_DEFAULT
LilycoveCity_EventScript_MuseumSignNoPaintings:: @ 81E2D3A
msgbox LilycoveCity_Text_MuseumSign, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_EventScript_1E2D44:: @ 81E2D44
LilycoveCity_EventScript_HarborSign:: @ 81E2D44
lockall
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_EventScript_1E2D58
msgbox LilycoveCity_Text_1E45A7, MSGBOX_DEFAULT
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_EventScript_HarborSignFerryReady
msgbox LilycoveCity_Text_HarborSignUnderConstruction, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_EventScript_1E2D58:: @ 81E2D58
msgbox LilycoveCity_Text_1E4624, MSGBOX_DEFAULT
LilycoveCity_EventScript_HarborSignFerryReady:: @ 81E2D58
msgbox LilycoveCity_Text_HarborSign, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_EventScript_1E2D62:: @ 81E2D62
msgbox LilycoveCity_Text_1E466E, MSGBOX_SIGN
LilycoveCity_EventScript_TrainerFanClubSign:: @ 81E2D62
msgbox LilycoveCity_Text_TrainerFanClubSign, MSGBOX_SIGN
end
LilycoveCity_EventScript_1E2D6B:: @ 81E2D6B
msgbox LilycoveCity_Text_1E46BE, MSGBOX_SIGN
LilycoveCity_EventScript_DepartmentStoreSign:: @ 81E2D6B
msgbox LilycoveCity_Text_DepartmentStoreSign, MSGBOX_SIGN
end
LilycoveCity_EventScript_1E2D74:: @ 81E2D74
msgbox LilycoveCity_Text_1E473D, MSGBOX_SIGN
LilycoveCity_EventScript_MoveDeletersHouseSign:: @ 81E2D74
msgbox LilycoveCity_Text_MoveDeletersHouseSign, MSGBOX_SIGN
end
LilycoveCity_EventScript_1E2D7D:: @ 81E2D7D
LilycoveCity_EventScript_WailmerTrainerGrunt:: @ 81E2D7D
lockall
goto_if_set FLAG_MET_WAILMER_TRAINER, LilycoveCity_EventScript_1E2DB0
msgbox LilycoveCity_Text_1E3D1F, MSGBOX_DEFAULT
goto_if_set FLAG_MET_WAILMER_TRAINER, LilycoveCity_EventScript_MetWailmerTrainer
msgbox LilycoveCity_Text_WailmerLeapOutOfWater, MSGBOX_DEFAULT
applymovement VAR_LAST_TALKED, Common_Movement_FacePlayer
waitmovement 0
msgbox LilycoveCity_Text_1E3D4A, MSGBOX_DEFAULT
msgbox LilycoveCity_Text_GetLostMessingUpTraining, MSGBOX_DEFAULT
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0
setflag FLAG_MET_WAILMER_TRAINER
releaseall
end
LilycoveCity_EventScript_1E2DB0:: @ 81E2DB0
msgbox LilycoveCity_Text_1E3D1F, MSGBOX_DEFAULT
LilycoveCity_EventScript_MetWailmerTrainer:: @ 81E2DB0
msgbox LilycoveCity_Text_WailmerLeapOutOfWater, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_EventScript_1E2DBA:: @ 81E2DBA
msgbox LilycoveCity_Text_1E3B2C, MSGBOX_NPC
LilycoveCity_EventScript_AquaGrunt1:: @ 81E2DBA
msgbox LilycoveCity_Text_MovedLootIntoHideoutToday, MSGBOX_NPC
end
LilycoveCity_EventScript_1E2DC3:: @ 81E2DC3
msgbox LilycoveCity_Text_1E3B95, MSGBOX_NPC
LilycoveCity_EventScript_AquaGrunt2:: @ 81E2DC3
msgbox LilycoveCity_Text_ChanceToDoBigThings, MSGBOX_NPC
end
LilycoveCity_EventScript_1E2DCC:: @ 81E2DCC
msgbox LilycoveCity_Text_1E3C46, MSGBOX_NPC
LilycoveCity_EventScript_AquaGrunt3:: @ 81E2DCC
msgbox LilycoveCity_Text_DontGoNearCaveInCove, MSGBOX_NPC
end
LilycoveCity_EventScript_1E2DD5:: @ 81E2DD5
msgbox LilycoveCity_Text_1E3CBE, MSGBOX_NPC
LilycoveCity_EventScript_AquaGrunt4:: @ 81E2DD5
msgbox LilycoveCity_Text_IfWorldBecomesOurs, MSGBOX_NPC
end
LilycoveCity_EventScript_1E2DDE:: @ 81E2DDE
LilycoveCity_EventScript_Rival:: @ 81E2DDE
lock
faceplayer
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq LilycoveCity_EventScript_1E2DF8
goto_if_eq LilycoveCity_EventScript_May
compare VAR_RESULT, FEMALE
goto_if_eq LilycoveCity_EventScript_1E2E6B
goto_if_eq LilycoveCity_EventScript_Brendan
end
LilycoveCity_EventScript_1E2DF8:: @ 81E2DF8
LilycoveCity_EventScript_May:: @ 81E2DF8
playbgm MUS_GIRL_SUP, 1
call_if_set FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_1E2E48
call_if_unset FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_1E2E51
call_if_set FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_MayAskToBattleAgain
call_if_unset FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_MayAskToBattle
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_EventScript_1E2E5A
msgbox LilycoveCity_Text_1E3234, MSGBOX_DEFAULT
goto_if_eq LilycoveCity_EventScript_DeclineMayBattle
msgbox LilycoveCity_Text_MayWontBeBeaten, MSGBOX_DEFAULT
switch VAR_STARTER_MON
case 0, LilycoveCity_EventScript_1E2EDE
case 1, LilycoveCity_EventScript_1E2EEE
case 2, LilycoveCity_EventScript_1E2EFE
case 0, LilycoveCity_EventScript_BattleMayTreecko
case 1, LilycoveCity_EventScript_BattleMayTorchic
case 2, LilycoveCity_EventScript_BattleMayMudkip
end
LilycoveCity_EventScript_1E2E48:: @ 81E2E48
msgbox LilycoveCity_Text_1E31F5, MSGBOX_YESNO
LilycoveCity_EventScript_MayAskToBattleAgain:: @ 81E2E48
msgbox LilycoveCity_Text_MayBattleMe, MSGBOX_YESNO
return
LilycoveCity_EventScript_1E2E51:: @ 81E2E51
msgbox LilycoveCity_Text_1E3061, MSGBOX_YESNO
LilycoveCity_EventScript_MayAskToBattle:: @ 81E2E51
msgbox LilycoveCity_Text_MayShoppingLetsBattle, MSGBOX_YESNO
return
LilycoveCity_EventScript_1E2E5A:: @ 81E2E5A
LilycoveCity_EventScript_DeclineMayBattle:: @ 81E2E5A
setflag FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE
msgbox LilycoveCity_Text_1E318D, MSGBOX_DEFAULT
msgbox LilycoveCity_Text_MayNotRaisingPokemon, MSGBOX_DEFAULT
savebgm MUS_DUMMY
fadedefaultbgm
release
end
LilycoveCity_EventScript_1E2E6B:: @ 81E2E6B
LilycoveCity_EventScript_Brendan:: @ 81E2E6B
playbgm MUS_BOY_SUP, 1
call_if_set FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_1E2EBB
call_if_unset FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_1E2EC4
call_if_set FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_BrendanAskToBattleAgain
call_if_unset FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE, LilycoveCity_EventScript_BrendanAskToBattle
compare VAR_RESULT, NO
goto_if_eq LilycoveCity_EventScript_1E2ECD
msgbox LilycoveCity_Text_1E373C, MSGBOX_DEFAULT
goto_if_eq LilycoveCity_EventScript_DeclineBrendanBattle
msgbox LilycoveCity_Text_BrendanWontBeBeaten, MSGBOX_DEFAULT
switch VAR_STARTER_MON
case 0, LilycoveCity_EventScript_1E2F0E
case 1, LilycoveCity_EventScript_1E2F1E
case 2, LilycoveCity_EventScript_1E2F2E
case 0, LilycoveCity_EventScript_BattleBrendanTreecko
case 1, LilycoveCity_EventScript_BattleBrendanTorchic
case 2, LilycoveCity_EventScript_BattleBrendanMudkip
end
LilycoveCity_EventScript_1E2EBB:: @ 81E2EBB
msgbox LilycoveCity_Text_1E36FA, MSGBOX_YESNO
LilycoveCity_EventScript_BrendanAskToBattleAgain:: @ 81E2EBB
msgbox LilycoveCity_Text_BrendanBattleMe, MSGBOX_YESNO
return
LilycoveCity_EventScript_1E2EC4:: @ 81E2EC4
msgbox LilycoveCity_Text_1E3608, MSGBOX_YESNO
LilycoveCity_EventScript_BrendanAskToBattle:: @ 81E2EC4
msgbox LilycoveCity_Text_BrendanShoppingLetsBattle, MSGBOX_YESNO
return
LilycoveCity_EventScript_1E2ECD:: @ 81E2ECD
LilycoveCity_EventScript_DeclineBrendanBattle:: @ 81E2ECD
setflag FLAG_DECLINED_RIVAL_BATTLE_LILYCOVE
msgbox LilycoveCity_Text_1E36BF, MSGBOX_DEFAULT
msgbox LilycoveCity_Text_BrendanNoConfidence, MSGBOX_DEFAULT
savebgm MUS_DUMMY
fadedefaultbgm
release
end
LilycoveCity_EventScript_1E2EDE:: @ 81E2EDE
trainerbattle_no_intro TRAINER_MAY_12, LilycoveCity_Text_1E3275
goto LilycoveCity_EventScript_1E2F3E
LilycoveCity_EventScript_BattleMayTreecko:: @ 81E2EDE
trainerbattle_no_intro TRAINER_MAY_12, LilycoveCity_Text_MayDefeat
goto LilycoveCity_EventScript_DefeatedMay
end
LilycoveCity_EventScript_1E2EEE:: @ 81E2EEE
trainerbattle_no_intro TRAINER_MAY_13, LilycoveCity_Text_1E3275
goto LilycoveCity_EventScript_1E2F3E
LilycoveCity_EventScript_BattleMayTorchic:: @ 81E2EEE
trainerbattle_no_intro TRAINER_MAY_13, LilycoveCity_Text_MayDefeat
goto LilycoveCity_EventScript_DefeatedMay
end
LilycoveCity_EventScript_1E2EFE:: @ 81E2EFE
trainerbattle_no_intro TRAINER_MAY_11, LilycoveCity_Text_1E3275
goto LilycoveCity_EventScript_1E2F3E
LilycoveCity_EventScript_BattleMayMudkip:: @ 81E2EFE
trainerbattle_no_intro TRAINER_MAY_11, LilycoveCity_Text_MayDefeat
goto LilycoveCity_EventScript_DefeatedMay
end
LilycoveCity_EventScript_1E2F0E:: @ 81E2F0E
trainerbattle_no_intro TRAINER_BRENDAN_14, LilycoveCity_Text_1E3777
goto LilycoveCity_EventScript_1E2FAA
LilycoveCity_EventScript_BattleBrendanTreecko:: @ 81E2F0E
trainerbattle_no_intro TRAINER_BRENDAN_14, LilycoveCity_Text_BrendanDefeat
goto LilycoveCity_EventScript_DefeatedBrendan
end
LilycoveCity_EventScript_1E2F1E:: @ 81E2F1E
trainerbattle_no_intro TRAINER_BRENDAN_15, LilycoveCity_Text_1E3777
goto LilycoveCity_EventScript_1E2FAA
LilycoveCity_EventScript_BattleBrendanTorchic:: @ 81E2F1E
trainerbattle_no_intro TRAINER_BRENDAN_15, LilycoveCity_Text_BrendanDefeat
goto LilycoveCity_EventScript_DefeatedBrendan
end
LilycoveCity_EventScript_1E2F2E:: @ 81E2F2E
trainerbattle_no_intro TRAINER_BRENDAN_13, LilycoveCity_Text_1E3777
goto LilycoveCity_EventScript_1E2FAA
LilycoveCity_EventScript_BattleBrendanMudkip:: @ 81E2F2E
trainerbattle_no_intro TRAINER_BRENDAN_13, LilycoveCity_Text_BrendanDefeat
goto LilycoveCity_EventScript_DefeatedBrendan
end
LilycoveCity_EventScript_1E2F3E:: @ 81E2F3E
msgbox LilycoveCity_Text_1E32FB, MSGBOX_DEFAULT
setvar VAR_RESULT, 0
call_if_set FLAG_BADGE06_GET, LilycoveCity_EventScript_1E2F76
compare VAR_RESULT, 0
call_if_eq LilycoveCity_EventScript_1E2F86
compare VAR_RESULT, 1
call_if_eq LilycoveCity_EventScript_1E2F8F
LilycoveCity_EventScript_DefeatedMay:: @ 81E2F3E
msgbox LilycoveCity_Text_MayGoingBackToLittleroot, MSGBOX_DEFAULT
setvar VAR_RESULT, FALSE
call_if_set FLAG_BADGE06_GET, LilycoveCity_EventScript_CheckFinalBadge
compare VAR_RESULT, FALSE
call_if_eq LilycoveCity_EventScript_MayCollectBadges
compare VAR_RESULT, TRUE
call_if_eq LilycoveCity_EventScript_MayPokemonLeague
clearflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_RIVAL_BEDROOM
clearflag FLAG_HIDE_LITTLEROOT_TOWN_MAYS_HOUSE_2F_PICHU_DOLL
goto LilycoveCity_EventScript_1E3006
goto LilycoveCity_EventScript_RivalFlyAway
end
LilycoveCity_EventScript_1E2F76:: @ 81E2F76
goto_if_set FLAG_BADGE08_GET, LilycoveCity_EventScript_1E2F80
LilycoveCity_EventScript_CheckFinalBadge:: @ 81E2F76
goto_if_set FLAG_BADGE08_GET, LilycoveCity_EventScript_HasFinalBadge
return
LilycoveCity_EventScript_1E2F80:: @ 81E2F80
setvar VAR_RESULT, 1
LilycoveCity_EventScript_HasFinalBadge:: @ 81E2F80
setvar VAR_RESULT, TRUE
return
LilycoveCity_EventScript_1E2F86:: @ 81E2F86
msgbox LilycoveCity_Text_1E3398, MSGBOX_DEFAULT
LilycoveCity_EventScript_MayCollectBadges:: @ 81E2F86
msgbox LilycoveCity_Text_MayYouGoingToCollectBadges, MSGBOX_DEFAULT
return
LilycoveCity_EventScript_1E2F8F:: @ 81E2F8F
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_EventScript_1E2FA1
msgbox LilycoveCity_Text_1E346D, MSGBOX_DEFAULT
LilycoveCity_EventScript_MayPokemonLeague:: @ 81E2F8F
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_EventScript_MayBattleFrontier
msgbox LilycoveCity_Text_MayYouGoingToPokemonLeague, MSGBOX_DEFAULT
return
LilycoveCity_EventScript_1E2FA1:: @ 81E2FA1
msgbox LilycoveCity_Text_1E353A, MSGBOX_DEFAULT
LilycoveCity_EventScript_MayBattleFrontier:: @ 81E2FA1
msgbox LilycoveCity_Text_MayYouGoingToBattleFrontier, MSGBOX_DEFAULT
return
LilycoveCity_EventScript_1E2FAA:: @ 81E2FAA
msgbox LilycoveCity_Text_1E37D7, MSGBOX_DEFAULT
setvar VAR_RESULT, 0
call_if_set FLAG_BADGE06_GET, LilycoveCity_EventScript_1E2F76
compare VAR_RESULT, 0
call_if_eq LilycoveCity_EventScript_1E2FE2
compare VAR_RESULT, 1
call_if_eq LilycoveCity_EventScript_1E2FEB
LilycoveCity_EventScript_DefeatedBrendan:: @ 81E2FAA
msgbox LilycoveCity_Text_BrendanGoingBackToLittleroot, MSGBOX_DEFAULT
setvar VAR_RESULT, FALSE
call_if_set FLAG_BADGE06_GET, LilycoveCity_EventScript_CheckFinalBadge
compare VAR_RESULT, FALSE
call_if_eq LilycoveCity_EventScript_BrendanCollectBadges
compare VAR_RESULT, TRUE
call_if_eq LilycoveCity_EventScript_BrendanPokemonLeague
clearflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_RIVAL_BEDROOM
clearflag FLAG_HIDE_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F_SWABLU_DOLL
goto LilycoveCity_EventScript_1E3006
goto LilycoveCity_EventScript_RivalFlyAway
end
LilycoveCity_EventScript_1E2FE2:: @ 81E2FE2
msgbox LilycoveCity_Text_1E3876, MSGBOX_DEFAULT
LilycoveCity_EventScript_BrendanCollectBadges:: @ 81E2FE2
msgbox LilycoveCity_Text_BrendanYouGoingToCollectBadges, MSGBOX_DEFAULT
return
LilycoveCity_EventScript_1E2FEB:: @ 81E2FEB
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_EventScript_1E2FFD
msgbox LilycoveCity_Text_1E390C, MSGBOX_DEFAULT
LilycoveCity_EventScript_BrendanPokemonLeague:: @ 81E2FEB
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_EventScript_BrendanBattleFrontier
msgbox LilycoveCity_Text_BrendanYouGoingToPokemonLeague, MSGBOX_DEFAULT
return
LilycoveCity_EventScript_1E2FFD:: @ 81E2FFD
msgbox LilycoveCity_Text_1E39E3, MSGBOX_DEFAULT
LilycoveCity_EventScript_BrendanBattleFrontier:: @ 81E2FFD
msgbox LilycoveCity_Text_BrendanYouGoingToBattleFrontier, MSGBOX_DEFAULT
return
LilycoveCity_EventScript_1E3006:: @ 81E3006
LilycoveCity_EventScript_RivalFlyAway:: @ 81E3006
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
@@ -401,26 +401,26 @@ LilycoveCity_EventScript_1E3006:: @ 81E3006
release
end
LilycoveCity_EventScript_1E302D:: @ 81E302D
LilycoveCity_EventScript_SchoolKidM:: @ 81E302D
lock
faceplayer
msgbox LilycoveCity_Text_1E4774, MSGBOX_YESNO
msgbox LilycoveCity_Text_DoYouKnowAboutBerryBlender, MSGBOX_YESNO
compare VAR_RESULT, YES
call_if_eq LilycoveCity_EventScript_1E304F
call_if_eq LilycoveCity_EventScript_KnowAboutBerryBlender
compare VAR_RESULT, NO
call_if_eq LilycoveCity_EventScript_1E3058
call_if_eq LilycoveCity_EventScript_DontKnowAboutBerryBlender
release
end
LilycoveCity_EventScript_1E304F:: @ 81E304F
msgbox LilycoveCity_Text_1E47A1, MSGBOX_DEFAULT
LilycoveCity_EventScript_KnowAboutBerryBlender:: @ 81E304F
msgbox LilycoveCity_Text_FasterSpinBetterPokeblocks, MSGBOX_DEFAULT
return
LilycoveCity_EventScript_1E3058:: @ 81E3058
msgbox LilycoveCity_Text_1E4824, MSGBOX_DEFAULT
LilycoveCity_EventScript_DontKnowAboutBerryBlender:: @ 81E3058
msgbox LilycoveCity_Text_ExplainBerryBlender, MSGBOX_DEFAULT
return
LilycoveCity_Text_1E3061: @ 81E3061
LilycoveCity_Text_MayShoppingLetsBattle: @ 81E3061
.string "MAY: Oh, hey?\n"
.string "{PLAYER}{KUN}, are you shopping, too?\p"
.string "I bought a whole bunch of DOLLS and\n"
@@ -433,35 +433,35 @@ LilycoveCity_Text_1E3061: @ 81E3061
.string "I'll battle with you, so you can show\n"
.string "me your POKéMON, {PLAYER}{KUN}.$"
LilycoveCity_Text_1E318D: @ 81E318D
LilycoveCity_Text_MayNotRaisingPokemon: @ 81E318D
.string "MAY: Oh, why? {PLAYER}{KUN}, haven't you\n"
.string "been raising your POKéMON?\p"
.string "That's not a very good showing as a\n"
.string "TRAINER…$"
LilycoveCity_Text_1E31F5: @ 81E31F5
LilycoveCity_Text_MayBattleMe: @ 81E31F5
.string "MAY: Come on, battle with me, so I can\n"
.string "check out your POKéMON!$"
LilycoveCity_Text_1E3234: @ 81E3234
LilycoveCity_Text_MayWontBeBeaten: @ 81E3234
.string "MAY: The POKéMON I raised won't be\n"
.string "beaten by your POKéMON, {PLAYER}{KUN}!$"
LilycoveCity_Text_1E3275: @ 81E3275
LilycoveCity_Text_MayDefeat: @ 81E3275
.string "… … … … … … … …\p"
.string "I remember the battle I had with you,\n"
.string "{PLAYER}{KUN}, on ROUTE 103.\p"
.string "That battle helped you become this\n"
.string "strong, {PLAYER}{KUN}, didn't it?$"
LilycoveCity_Text_1E32FB: @ 81E32FB
LilycoveCity_Text_MayGoingBackToLittleroot: @ 81E32FB
.string "MAY: I'm thinking of going back to\n"
.string "LITTLEROOT soon.\p"
.string "I've caught a decent group of POKéMON,\n"
.string "and my POKéDEX is coming along, so\l"
.string "I'm going home to show my dad.$"
LilycoveCity_Text_1E3398: @ 81E3398
LilycoveCity_Text_MayYouGoingToCollectBadges: @ 81E3398
.string "{PLAYER}{KUN}, what are you going to do?\p"
.string "Collect all the GYM BADGES and take\n"
.string "the POKéMON LEAGUE challenge?\p"
@@ -470,7 +470,7 @@ LilycoveCity_Text_1E3398: @ 81E3398
.string "POKéDEX. I'll complete it before you!\p"
.string "See you!$"
LilycoveCity_Text_1E346D: @ 81E346D
LilycoveCity_Text_MayYouGoingToPokemonLeague: @ 81E346D
.string "{PLAYER}{KUN}, what are you going to do?\p"
.string "Are you taking the POKéMON LEAGUE\n"
.string "challenge?\p"
@@ -480,7 +480,7 @@ LilycoveCity_Text_1E346D: @ 81E346D
.string "but I'll finish my POKéDEX before you!\p"
.string "See you!$"
LilycoveCity_Text_1E353A: @ 81E353A
LilycoveCity_Text_MayYouGoingToBattleFrontier: @ 81E353A
.string "{PLAYER}{KUN}, what are you going to do?\p"
.string "Are you taking the BATTLE FRONTIER\n"
.string "challenge?\p"
@@ -490,7 +490,7 @@ LilycoveCity_Text_1E353A: @ 81E353A
.string "but I'll finish my POKéDEX before you!\p"
.string "See you!$"
LilycoveCity_Text_1E3608: @ 81E3608
LilycoveCity_Text_BrendanShoppingLetsBattle: @ 81E3608
.string "BRENDAN: Oh, hey, it's {PLAYER}.\p"
.string "I'm running an errand for my dad.\n"
.string "No, I'm not buying any DOLLS.\p"
@@ -498,39 +498,39 @@ LilycoveCity_Text_1E3608: @ 81E3608
.string "Want to have a battle to see who's been\n"
.string "raising POKéMON better?$"
LilycoveCity_Text_1E36BF: @ 81E36BF
LilycoveCity_Text_BrendanNoConfidence: @ 81E36BF
.string "BRENDAN: Oh, what's the matter?\n"
.string "Don't have the confidence?$"
LilycoveCity_Text_1E36FA: @ 81E36FA
LilycoveCity_Text_BrendanBattleMe: @ 81E36FA
.string "BRENDAN: Want to battle to see who's\n"
.string "been raising POKéMON better?$"
LilycoveCity_Text_1E373C: @ 81E373C
LilycoveCity_Text_BrendanWontBeBeaten: @ 81E373C
.string "BRENDAN: Aww, but you know I'm not\n"
.string "going to lose to no {PLAYER}.$"
LilycoveCity_Text_1E3777: @ 81E3777
LilycoveCity_Text_BrendanDefeat: @ 81E3777
.string "Humph…\n"
.string "You've done a lot of raising.\p"
.string "That stings a bit--I had a head start\n"
.string "on you as a TRAINER…$"
LilycoveCity_Text_1E37D7: @ 81E37D7
LilycoveCity_Text_BrendanGoingBackToLittleroot: @ 81E37D7
.string "BRENDAN: I…\n"
.string "I plan on going home to LITTLEROOT.\p"
.string "You know I'm helping out my dad on his\n"
.string "POKéDEX. It's coming together pretty\l"
.string "decently, so I should go show him.$"
LilycoveCity_Text_1E3876: @ 81E3876
LilycoveCity_Text_BrendanYouGoingToCollectBadges: @ 81E3876
.string "{PLAYER}, what are you going to do?\p"
.string "Collect all the GYM BADGES and take\n"
.string "the POKéMON LEAGUE challenge?\p"
.string "Maybe I'll do that, too…\p"
.string "Well, anyway, hang in there!$"
LilycoveCity_Text_1E390C: @ 81E390C
LilycoveCity_Text_BrendanYouGoingToPokemonLeague: @ 81E390C
.string "{PLAYER}, what are you going to do?\p"
.string "Since you're that strong, are you\n"
.string "taking the POKéMON LEAGUE challenge?\p"
@@ -539,7 +539,7 @@ LilycoveCity_Text_1E390C: @ 81E390C
.string "you, {PLAYER}.\p"
.string "Well, anyway, hang in there!$"
LilycoveCity_Text_1E39E3: @ 81E39E3
LilycoveCity_Text_BrendanYouGoingToBattleFrontier: @ 81E39E3
.string "{PLAYER}, what are you going to do?\p"
.string "Are you taking the BATTLE FRONTIER\n"
.string "challenge?\p"
@@ -553,14 +553,14 @@ LilycoveCity_Text_1E39E3: @ 81E39E3
.string "FRONTIER.\p"
.string "Well, anyway, hang in there!$"
LilycoveCity_Text_1E3B2C: @ 81E3B2C
LilycoveCity_Text_MovedLootIntoHideoutToday: @ 81E3B2C
.string "Fufufu…\p"
.string "We moved more loot into our secret\n"
.string "HIDEOUT today…\p"
.string "Wh-who are you?!\n"
.string "I was just talking to myself!$"
LilycoveCity_Text_1E3B95: @ 81E3B95
LilycoveCity_Text_ChanceToDoBigThings: @ 81E3B95
.string "I'm just a GRUNT, so I don't know what\n"
.string "the BOSS is thinking…\p"
.string "But being on TEAM AQUA, I know I'll get\n"
@@ -568,44 +568,44 @@ LilycoveCity_Text_1E3B95: @ 81E3B95
.string "Wh-who are you?!\n"
.string "I was just talking to myself!$"
LilycoveCity_Text_1E3C46: @ 81E3C46
LilycoveCity_Text_DontGoNearCaveInCove: @ 81E3C46
.string "Hey, you!\p"
.string "Don't go near the cave in the cove!\p"
.string "Why? You don't need a reason why!\n"
.string "I'm an adult, so you just listen to me!$"
LilycoveCity_Text_1E3CBE: @ 81E3CBE
LilycoveCity_Text_IfWorldBecomesOurs: @ 81E3CBE
.string "If this whole wide world becomes ours,\n"
.string "TEAM AQUA's, it will be a happier\l"
.string "place for POKéMON, too.$"
LilycoveCity_Text_1E3D1F: @ 81E3D1F
LilycoveCity_Text_WailmerLeapOutOfWater: @ 81E3D1F
.string "There! WAILMER!\n"
.string "Leap out of the water now!$"
LilycoveCity_Text_1E3D4A: @ 81E3D4A
LilycoveCity_Text_GetLostMessingUpTraining: @ 81E3D4A
.string "Hunh? What do you want?\p"
.string "You're messing up our training,\n"
.string "so can you, like, get lost?$"
LilycoveCity_Text_1E3D9E: @ 81E3D9E
LilycoveCity_Text_ContestHallInTown: @ 81E3D9E
.string "There's a POKéMON CONTEST HALL\n"
.string "right in this here town. \p"
.string "That means well-raised POKéMON will\n"
.string "come from all over the country.\p"
.string "My heart swells with excitement!$"
LilycoveCity_Text_1E3E3C: @ 81E3E3C
LilycoveCity_Text_StrangeCaveInCove: @ 81E3E3C
.string "Have you seen that strange cave in\n"
.string "the cove at the edge of town?$"
LilycoveCity_Text_1E3E7D: @ 81E3E7D
LilycoveCity_Text_GoingToMoveDeleterForHMs: @ 81E3E7D
.string "I'm going to teach my POKéMON some new\n"
.string "moves for entering a CONTEST.\p"
.string "So, I'm going to see the MOVE DELETER\n"
.string "and make it forget HM moves.$"
LilycoveCity_Text_1E3F05: @ 81E3F05
LilycoveCity_Text_ImFromKanto: @ 81E3F05
.string "I came from KANTO.\p"
.string "The HOENN region is beautiful with\n"
.string "all its water and verdant nature.\p"
@@ -613,50 +613,50 @@ LilycoveCity_Text_1E3F05: @ 81E3F05
.string "Could there be rare POKéMON that live\n"
.string "only in this area?$"
LilycoveCity_Text_1E3FAB: @ 81E3FAB
LilycoveCity_Text_TeamAquaBeenTrainingWailmer: @ 81E3FAB
.string "TEAM AQUA's been training their\n"
.string "WAILMER in the cove.\p"
.string "We SAILORS can't get our boats out\n"
.string "to sea with them in the way!$"
LilycoveCity_Text_1E4020: @ 81E4020
LilycoveCity_Text_SomeonePuntedTeamAquaOut: @ 81E4020
.string "Ahoy, did you know?\p"
.string "Someone punted TEAM AQUA out of\n"
.string "the way for us!\p"
.string "That got the WAILMER out of the cove,\n"
.string "so we can get our boats out again.$"
LilycoveCity_Text_1E40AD: @ 81E40AD
LilycoveCity_Text_SomeoneStoleMyPokemon: @ 81E40AD
.string "I was taking a relaxing snooze at the\n"
.string "seaside inn to the sound of waves…\p"
.string "When someone stole my POKéMON!\p"
.string "Who's the abductor?\n"
.string "TEAM AQUA? Is it TEAM AQUA?$"
LilycoveCity_Text_1E4145: @ 81E4145
LilycoveCity_Text_MissingPokemonCameBack: @ 81E4145
.string "My missing POKéMON…\n"
.string "It came back without me noticing!$"
LilycoveCity_Text_1E417B: @ 81E417B
LilycoveCity_Text_ImArtDealer: @ 81E417B
.string "I'm an ART DEALER.\p"
.string "I am a buyer and seller of fine art,\n"
.string "especially paintings.\p"
.string "I've heard that the MUSEUM here has\n"
.string "magnificent works on exhibit…$"
LilycoveCity_Text_1E420B: @ 81E420B
LilycoveCity_Text_SeaRemainsForeverYoung: @ 81E420B
.string "Even as we grow old and wrinkled,\n"
.string "the sea remains forever young with\l"
.string "the vivid brilliance of life…\p"
.string "Fwohoho fwohohohoho…$"
LilycoveCity_Text_1E4283: @ 81E4283
LilycoveCity_Text_SixtyYearsAgoHusbandProposed: @ 81E4283
.string "It was sixty years ago that my husband\n"
.string "proposed to me here.\l"
.string "The sea remains as beautiful as ever.\p"
.string "Mufufufu mufufufufufu…$"
LilycoveCity_Text_1E42FC: @ 81E42FC
LilycoveCity_Text_TeamAquaRenovatedCavern: @ 81E42FC
.string "Hm, you know of the peculiar cavern\n"
.string "in this cove?\p"
.string "That had been a natural formation,\n"
@@ -667,92 +667,92 @@ LilycoveCity_Text_1E42FC: @ 81E42FC
.string "But what they do and what they say\n"
.string "don't match at all!$"
LilycoveCity_Text_1E43FF: @ 81E43FF
LilycoveCity_Text_TeamAquaLotGoneForGood: @ 81E43FF
.string "That cave in the cove…\p"
.string "I didn't notice it right away,\n"
.string "but it's completely empty now.\p"
.string "That TEAM AQUA lot, they must\n"
.string "have gone away for good.$"
LilycoveCity_Text_1E448B: @ 81E448B
LilycoveCity_Text_CitySign: @ 81E448B
.string "LILYCOVE CITY\p"
.string "“Where the land ends and the\n"
.string "sea begins.”$"
LilycoveCity_Text_1E44C3: @ 81E44C3
LilycoveCity_Text_ContestHallSign: @ 81E44C3
.string "POKéMON CONTEST HALL\n"
.string "“The gathering place for TRAINERS!”$"
LilycoveCity_Text_1E44FC: @ 81E44FC
LilycoveCity_Text_MotelSign: @ 81E44FC
.string "COVE LILY MOTEL\p"
.string "“Remember us as COVE LILY of\n"
.string "LILYCOVE.”$"
LilycoveCity_Text_1E4534: @ 81E4534
LilycoveCity_Text_MuseumSign: @ 81E4534
.string "LILYCOVE MUSEUM\p"
.string "“POKéMON Masterpiece Collection\n"
.string "on exhibit!”$"
LilycoveCity_Text_1E4571: @ 81E4571
LilycoveCity_Text_MuseumSignPlayersExhibit: @ 81E4571
.string "LILYCOVE MUSEUM\p"
.string "{PLAYER}'s POKéMON Collection\n"
.string "on exhibit!”$"
LilycoveCity_Text_1E45A7: @ 81E45A7
LilycoveCity_Text_HarborSignUnderConstruction: @ 81E45A7
.string "LILYCOVE CITY HARBOR\p"
.string "“The ferry S.S. TIDAL is under\n"
.string "construction in SLATEPORT CITY.\p"
.string "“Service is scheduled to begin\n"
.string "shortly.”$"
LilycoveCity_Text_1E4624: @ 81E4624
LilycoveCity_Text_HarborSign: @ 81E4624
.string "LILYCOVE CITY HARBOR\p"
.string "“Enjoy a delightful cruise on\n"
.string "the ferry S.S. TIDAL.”$"
LilycoveCity_Text_1E466E: @ 81E466E
LilycoveCity_Text_TrainerFanClubSign: @ 81E466E
.string "POKéMON TRAINER FAN CLUB\p"
.string "The names of TRAINERS are scribbled\n"
.string "all over the sign…$"
LilycoveCity_Text_1E46BE: @ 81E46BE
LilycoveCity_Text_DepartmentStoreSign: @ 81E46BE
.string "LILYCOVE DEPARTMENT STORE\p"
.string "“Overflowing with great merchandise\n"
.string "and excitement!\p"
.string "“A great place to find that something\n"
.string "you need!”$"
LilycoveCity_Text_1E473D: @ 81E473D
LilycoveCity_Text_MoveDeletersHouseSign: @ 81E473D
.string "MOVE DELETER'S HOUSE\p"
.string "“Unwanted POKéMON moves deleted.”$"
LilycoveCity_Text_1E4774: @ 81E4774
LilycoveCity_Text_DoYouKnowAboutBerryBlender: @ 81E4774
.string "Do you know about the machine\n"
.string "BERRY BLENDER?$"
LilycoveCity_Text_1E47A1: @ 81E47A1
LilycoveCity_Text_FasterSpinBetterPokeblocks: @ 81E47A1
.string "People have to work together to get it\n"
.string "to spin faster.\p"
.string "The faster you can make it spin, the\n"
.string "better {POKEBLOCK}S you can get, I've heard.$"
LilycoveCity_Text_1E4824: @ 81E4824
LilycoveCity_Text_ExplainBerryBlender: @ 81E4824
.string "It's used for making a kind of candy\n"
.string "called a {POKEBLOCK}.\p"
.string "If you give a good {POKEBLOCK} to a POKéMON,\n"
.string "its condition will improve by a lot.$"
LilycoveCity_Text_1E48A5: @ 81E48A5
LilycoveCity_Text_HeardTowerCalledSkyPillar: @ 81E48A5
.string "I heard there's a tower somewhere out\n"
.string "on the sea routes.\p"
.string "It's called the SKY PILLAR, I hear.$"
LilycoveCity_Text_1E4902: @ 81E4902
LilycoveCity_Text_SawTallTowerOnRoute131: @ 81E4902
.string "I saw this tall tower somewhere\n"
.string "around ROUTE 131.\p"
.string "Could that possibly be…?$"
LilycoveCity_Text_1E494D: @ 81E494D
LilycoveCity_Text_JustArrivedAndSawRarePokemon: @ 81E494D
.string "We just arrived here on our\n"
.string "honeymoon vacation.\p"
.string "We happened to see a DRAGON-type\n"
@@ -760,7 +760,7 @@ LilycoveCity_Text_1E494D: @ 81E494D
.string "Do cool POKéMON like that live in\n"
.string "the HOENN region?$"
LilycoveCity_Text_1E49F4: @ 81E49F4
LilycoveCity_Text_HoneymoonVowToSeeRarePokemon: @ 81E49F4
.string "On our honeymoon, we vowed to see as\n"
.string "many rare POKéMON as we can.\p"
.string "So we were delighted to see a rare\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 4,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B485",
"script": "LilycoveCity_ContestHall_EventScript_Boy1",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 3,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B48E",
"script": "LilycoveCity_ContestHall_EventScript_Boy2",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B497",
"script": "LilycoveCity_ContestHall_EventScript_Girl",
"flag": "0"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B4A9",
"script": "LilycoveCity_ContestHall_EventScript_SmartContestMC",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B4C0",
"script": "LilycoveCity_ContestHall_EventScript_SmartContestJudge",
"flag": "0"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B4D7",
"script": "LilycoveCity_ContestHall_EventScript_SmartContestant1",
"flag": "0"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B4EE",
"script": "LilycoveCity_ContestHall_EventScript_SmartContestant2",
"flag": "0"
},
{
@@ -115,7 +115,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B505",
"script": "LilycoveCity_ContestHall_EventScript_SmartContestant3",
"flag": "0"
},
{
@@ -128,7 +128,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B51C",
"script": "LilycoveCity_ContestHall_EventScript_SmartContestant4",
"flag": "0"
},
{
@@ -141,7 +141,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B533",
"script": "LilycoveCity_ContestHall_EventScript_SmartContestAudience1",
"flag": "0"
},
{
@@ -154,7 +154,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B56A",
"script": "LilycoveCity_ContestHall_EventScript_SmartContestAudience4",
"flag": "0"
},
{
@@ -167,7 +167,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B53C",
"script": "LilycoveCity_ContestHall_EventScript_SmartContestAudience2",
"flag": "0"
},
{
@@ -180,7 +180,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B581",
"script": "LilycoveCity_ContestHall_EventScript_BeautyContestMC",
"flag": "0"
},
{
@@ -193,7 +193,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B598",
"script": "LilycoveCity_ContestHall_EventScript_BeautyContestJudge",
"flag": "0"
},
{
@@ -206,7 +206,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B5AF",
"script": "LilycoveCity_ContestHall_EventScript_BeautyContestant1",
"flag": "0"
},
{
@@ -219,7 +219,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B5C6",
"script": "LilycoveCity_ContestHall_EventScript_BeautyContestant2",
"flag": "0"
},
{
@@ -232,7 +232,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B5DD",
"script": "LilycoveCity_ContestHall_EventScript_BeautyContestant3",
"flag": "0"
},
{
@@ -245,7 +245,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B5F4",
"script": "LilycoveCity_ContestHall_EventScript_BeautyContestant4",
"flag": "0"
},
{
@@ -258,7 +258,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B60B",
"script": "LilycoveCity_ContestHall_EventScript_BeautyContestAudience1",
"flag": "0"
},
{
@@ -271,7 +271,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B639",
"script": "LilycoveCity_ContestHall_EventScript_BeautyContestAudience3",
"flag": "0"
},
{
@@ -284,7 +284,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B622",
"script": "LilycoveCity_ContestHall_EventScript_BeautyContestAudience2",
"flag": "0"
},
{
@@ -297,7 +297,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B553",
"script": "LilycoveCity_ContestHall_EventScript_SmartContestAudience3",
"flag": "0"
},
{
@@ -310,7 +310,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B650",
"script": "LilycoveCity_ContestHall_EventScript_CuteContestMC",
"flag": "0"
},
{
@@ -323,7 +323,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B667",
"script": "LilycoveCity_ContestHall_EventScript_CuteContestJudge",
"flag": "0"
},
{
@@ -336,7 +336,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B67E",
"script": "LilycoveCity_ContestHall_EventScript_CuteContestant1",
"flag": "0"
},
{
@@ -349,7 +349,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B695",
"script": "LilycoveCity_ContestHall_EventScript_CuteContestant2",
"flag": "0"
},
{
@@ -362,7 +362,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B6AC",
"script": "LilycoveCity_ContestHall_EventScript_CuteContestant3",
"flag": "0"
},
{
@@ -375,7 +375,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B6C3",
"script": "LilycoveCity_ContestHall_EventScript_CuteContestant4",
"flag": "0"
},
{
@@ -388,7 +388,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B6DA",
"script": "LilycoveCity_ContestHall_EventScript_CuteContestAudience1",
"flag": "0"
},
{
@@ -401,7 +401,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B71C",
"script": "LilycoveCity_ContestHall_EventScript_CuteContestAudience3",
"flag": "0"
},
{
@@ -414,7 +414,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B705",
"script": "LilycoveCity_ContestHall_EventScript_CuteContestAudience2",
"flag": "0"
},
{
@@ -427,7 +427,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestHall_EventScript_21B4A0",
"script": "LilycoveCity_ContestHall_EventScript_Sailor",
"flag": "0"
}
],
@@ -469,7 +469,7 @@
"y": 16,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestHall_EventScript_21B733"
"script": "LilycoveCity_ContestHall_EventScript_BeautyStageSign"
},
{
"type": "sign",
@@ -477,7 +477,7 @@
"y": 28,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestHall_EventScript_21B73C"
"script": "LilycoveCity_ContestHall_EventScript_CuteStageSign"
},
{
"type": "sign",
@@ -485,7 +485,7 @@
"y": 28,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestHall_EventScript_21B745"
"script": "LilycoveCity_ContestHall_EventScript_SmartStageSign"
},
{
"type": "sign",
@@ -493,7 +493,7 @@
"y": 28,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestHall_EventScript_21B745"
"script": "LilycoveCity_ContestHall_EventScript_SmartStageSign"
},
{
"type": "sign",
@@ -501,7 +501,7 @@
"y": 16,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestHall_EventScript_21B733"
"script": "LilycoveCity_ContestHall_EventScript_BeautyStageSign"
},
{
"type": "sign",
@@ -509,7 +509,7 @@
"y": 28,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestHall_EventScript_21B73C"
"script": "LilycoveCity_ContestHall_EventScript_CuteStageSign"
}
]
}

View File

@@ -1,319 +1,319 @@
LilycoveCity_ContestHall_MapScripts:: @ 821B484
.byte 0
LilycoveCity_ContestHall_EventScript_21B485:: @ 821B485
msgbox LilycoveCity_ContestHall_Text_21B74E, MSGBOX_NPC
LilycoveCity_ContestHall_EventScript_Boy1:: @ 821B485
msgbox LilycoveCity_ContestHall_Text_TodayWonSmartnessContest, MSGBOX_NPC
end
LilycoveCity_ContestHall_EventScript_21B48E:: @ 821B48E
msgbox LilycoveCity_ContestHall_Text_21B7D7, MSGBOX_NPC
LilycoveCity_ContestHall_EventScript_Boy2:: @ 821B48E
msgbox LilycoveCity_ContestHall_Text_EnteredBunchOfContests, MSGBOX_NPC
end
LilycoveCity_ContestHall_EventScript_21B497:: @ 821B497
msgbox LilycoveCity_ContestHall_Text_21B899, MSGBOX_NPC
LilycoveCity_ContestHall_EventScript_Girl:: @ 821B497
msgbox LilycoveCity_ContestHall_Text_ManWhoWonEarlierHadPokeblocks, MSGBOX_NPC
end
LilycoveCity_ContestHall_EventScript_21B4A0:: @ 821B4A0
msgbox LilycoveCity_ContestHall_Text_21B911, MSGBOX_NPC
LilycoveCity_ContestHall_EventScript_Sailor:: @ 821B4A0
msgbox LilycoveCity_ContestHall_Text_IsntThisPlaceHumongous, MSGBOX_NPC
end
LilycoveCity_ContestHall_EventScript_21B4A9:: @ 821B4A9
LilycoveCity_ContestHall_EventScript_SmartContestMC:: @ 821B4A9
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21B977, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_GiveItBestSmartAppeal, MSGBOX_DEFAULT
closemessage
applymovement 4, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B4C0:: @ 821B4C0
LilycoveCity_ContestHall_EventScript_SmartContestJudge:: @ 821B4C0
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21B9DC, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_AreYouEnjoyingThisContest, MSGBOX_DEFAULT
closemessage
applymovement 5, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B4D7:: @ 821B4D7
LilycoveCity_ContestHall_EventScript_SmartContestant1:: @ 821B4D7
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21BA44, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_EnteredWrongContest, MSGBOX_DEFAULT
closemessage
applymovement 6, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B4EE:: @ 821B4EE
LilycoveCity_ContestHall_EventScript_SmartContestant2:: @ 821B4EE
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21BAD5, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_RaisedMonToBeSmart, MSGBOX_DEFAULT
closemessage
applymovement 7, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B505:: @ 821B505
LilycoveCity_ContestHall_EventScript_SmartContestant3:: @ 821B505
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21BB84, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_IfMonPullsSmartMoveNext, MSGBOX_DEFAULT
closemessage
applymovement 8, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B51C:: @ 821B51C
LilycoveCity_ContestHall_EventScript_SmartContestant4:: @ 821B51C
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21BBDD, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_DontAppreciateCuteLeechLife, MSGBOX_DEFAULT
closemessage
applymovement 9, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B533:: @ 821B533
msgbox LilycoveCity_ContestHall_Text_21BC65, MSGBOX_SIGN
LilycoveCity_ContestHall_EventScript_SmartContestAudience1:: @ 821B533
msgbox LilycoveCity_ContestHall_Text_YoureBeautifulGrandpa, MSGBOX_SIGN
end
LilycoveCity_ContestHall_EventScript_21B53C:: @ 821B53C
LilycoveCity_ContestHall_EventScript_SmartContestAudience2:: @ 821B53C
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21BC89, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_AllSeemToUseDifferentMoves, MSGBOX_DEFAULT
closemessage
applymovement 12, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B553:: @ 821B553
LilycoveCity_ContestHall_EventScript_SmartContestAudience3:: @ 821B553
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21BD30, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_PokemonSmarterThanTrainers, MSGBOX_DEFAULT
closemessage
applymovement 22, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B56A:: @ 821B56A
LilycoveCity_ContestHall_EventScript_SmartContestAudience4:: @ 821B56A
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21BD70, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_StillLoveSmartnessContests, MSGBOX_DEFAULT
closemessage
applymovement 11, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B581:: @ 821B581
LilycoveCity_ContestHall_EventScript_BeautyContestMC:: @ 821B581
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21BDDD, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_AreYouEnteringBeautyContest, MSGBOX_DEFAULT
closemessage
applymovement 13, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B598:: @ 821B598
LilycoveCity_ContestHall_EventScript_BeautyContestJudge:: @ 821B598
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21BE16, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_EveryPokemonPristineBeauty, MSGBOX_DEFAULT
closemessage
applymovement 14, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B5AF:: @ 821B5AF
LilycoveCity_ContestHall_EventScript_BeautyContestant1:: @ 821B5AF
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21BE77, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_EyesWillBeGluedToMyBeauty, MSGBOX_DEFAULT
closemessage
applymovement 15, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B5C6:: @ 821B5C6
LilycoveCity_ContestHall_EventScript_BeautyContestant2:: @ 821B5C6
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21BEDE, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_OverdidGrooming, MSGBOX_DEFAULT
closemessage
applymovement 16, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B5DD:: @ 821B5DD
LilycoveCity_ContestHall_EventScript_BeautyContestant3:: @ 821B5DD
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21BF6E, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_JudgeWontSeeAuroraBeam, MSGBOX_DEFAULT
closemessage
applymovement 17, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B5F4:: @ 821B5F4
LilycoveCity_ContestHall_EventScript_BeautyContestant4:: @ 821B5F4
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21BFE3, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_PokemonLooksLikeYoungerMe, MSGBOX_DEFAULT
closemessage
applymovement 18, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B60B:: @ 821B60B
LilycoveCity_ContestHall_EventScript_BeautyContestAudience1:: @ 821B60B
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21C07F, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_WinBeautyContestMakesMeHappy, MSGBOX_DEFAULT
closemessage
applymovement 19, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B622:: @ 821B622
LilycoveCity_ContestHall_EventScript_BeautyContestAudience2:: @ 821B622
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21C0D8, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_GanderAtAllThosePrettyPokemon, MSGBOX_DEFAULT
closemessage
applymovement 21, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B639:: @ 821B639
LilycoveCity_ContestHall_EventScript_BeautyContestAudience3:: @ 821B639
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21C137, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_CantWinOnBeautyAlone, MSGBOX_DEFAULT
closemessage
applymovement 20, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B650:: @ 821B650
LilycoveCity_ContestHall_EventScript_CuteContestMC:: @ 821B650
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21C1A4, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_InTheMiddleOfContest, MSGBOX_DEFAULT
closemessage
applymovement 23, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B667:: @ 821B667
LilycoveCity_ContestHall_EventScript_CuteContestJudge:: @ 821B667
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21C215, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_SuchCharmingCuteAppeals, MSGBOX_DEFAULT
closemessage
applymovement 24, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B67E:: @ 821B67E
LilycoveCity_ContestHall_EventScript_CuteContestant1:: @ 821B67E
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21C27F, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_MyAzurillWasDistracted, MSGBOX_DEFAULT
closemessage
applymovement 25, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B695:: @ 821B695
LilycoveCity_ContestHall_EventScript_CuteContestant2:: @ 821B695
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21C2BB, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_NeverWonBattleButContest, MSGBOX_DEFAULT
closemessage
applymovement 26, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B6AC:: @ 821B6AC
LilycoveCity_ContestHall_EventScript_CuteContestant3:: @ 821B6AC
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21C307, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_PetalDanceIsMarvel, MSGBOX_DEFAULT
closemessage
applymovement 27, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B6C3:: @ 821B6C3
LilycoveCity_ContestHall_EventScript_CuteContestant4:: @ 821B6C3
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21C365, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_MyMonAppealSoMuchCuter, MSGBOX_DEFAULT
closemessage
applymovement 28, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B6DA:: @ 821B6DA
LilycoveCity_ContestHall_EventScript_CuteContestAudience1:: @ 821B6DA
lockall
applymovement 29, Common_Movement_FacePlayer
waitmovement 0
msgbox LilycoveCity_ContestHall_Text_21C3F4, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_MyChildIsInContest, MSGBOX_DEFAULT
closemessage
applymovement 29, Common_Movement_FaceOriginalDirection
waitmovement 0
delay 25
msgbox LilycoveCity_ContestHall_Text_21C411, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_ComeOnDear, MSGBOX_DEFAULT
releaseall
end
LilycoveCity_ContestHall_EventScript_21B705:: @ 821B705
LilycoveCity_ContestHall_EventScript_CuteContestAudience2:: @ 821B705
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21C4B1, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_WantCuteMonOfMyOwn, MSGBOX_DEFAULT
closemessage
applymovement 31, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B71C:: @ 821B71C
LilycoveCity_ContestHall_EventScript_CuteContestAudience3:: @ 821B71C
lock
faceplayer
msgbox LilycoveCity_ContestHall_Text_21C445, MSGBOX_DEFAULT
msgbox LilycoveCity_ContestHall_Text_ThatGirlThereIsCutest, MSGBOX_DEFAULT
closemessage
applymovement 30, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
LilycoveCity_ContestHall_EventScript_21B733:: @ 821B733
msgbox LilycoveCity_ContestHall_Text_21C512, MSGBOX_SIGN
LilycoveCity_ContestHall_EventScript_BeautyStageSign:: @ 821B733
msgbox LilycoveCity_ContestHall_Text_BeautyContestStage, MSGBOX_SIGN
end
LilycoveCity_ContestHall_EventScript_21B73C:: @ 821B73C
msgbox LilycoveCity_ContestHall_Text_21C548, MSGBOX_SIGN
LilycoveCity_ContestHall_EventScript_CuteStageSign:: @ 821B73C
msgbox LilycoveCity_ContestHall_Text_CuteContestStage, MSGBOX_SIGN
end
LilycoveCity_ContestHall_EventScript_21B745:: @ 821B745
msgbox LilycoveCity_ContestHall_Text_21C57B, MSGBOX_SIGN
LilycoveCity_ContestHall_EventScript_SmartStageSign:: @ 821B745
msgbox LilycoveCity_ContestHall_Text_SmartContestStage, MSGBOX_SIGN
end
LilycoveCity_ContestHall_Text_21B74E: @ 821B74E
LilycoveCity_ContestHall_Text_TodayWonSmartnessContest: @ 821B74E
.string "This POKéMON won the BEAUTY CONTEST\n"
.string "here before.\p"
.string "Well, guess what? Today, I made it\n"
.string "win a SMARTNESS CONTEST!\p"
.string "My abilities scare even me…$"
LilycoveCity_ContestHall_Text_21B7D7: @ 821B7D7
LilycoveCity_ContestHall_Text_EnteredBunchOfContests: @ 821B7D7
.string "I've entered a bunch of CONTESTS,\n"
.string "so I'm seeing how things work.\p"
.string "If you're in a COOLNESS CONTEST,\n"
@@ -321,29 +321,29 @@ LilycoveCity_ContestHall_Text_21B7D7: @ 821B7D7
.string "But smart moves and cute moves\n"
.string "don't go over well, for instance.$"
LilycoveCity_ContestHall_Text_21B899: @ 821B899
LilycoveCity_ContestHall_Text_ManWhoWonEarlierHadPokeblocks: @ 821B899
.string "That young man who won earlier had\n"
.string "a whole bunch of different {POKEBLOCK}S.\p"
.string "Can you win if you had that many\n"
.string "of those things?$"
LilycoveCity_ContestHall_Text_21B911: @ 821B911
LilycoveCity_ContestHall_Text_IsntThisPlaceHumongous: @ 821B911
.string "Whoa, isn't this place humongous!\p"
.string "The tension in the air… It's not\n"
.string "like a CONTEST hall in the sticks.$"
LilycoveCity_ContestHall_Text_21B977: @ 821B977
LilycoveCity_ContestHall_Text_GiveItBestSmartAppeal: @ 821B977
.string "MC: Okay, SMART POKéMON and their\n"
.string "TRAINERS, are you ready?!\p"
.string "Give it your best showing!\n"
.string "Let's appeal!$"
LilycoveCity_ContestHall_Text_21B9DC: @ 821B9DC
LilycoveCity_ContestHall_Text_AreYouEnjoyingThisContest: @ 821B9DC
.string "JUDGE: Are you enjoying this CONTEST?\p"
.string "Come back with three friends, and\n"
.string "all of you may enter a CONTEST!$"
LilycoveCity_ContestHall_Text_21BA44: @ 821BA44
LilycoveCity_ContestHall_Text_EnteredWrongContest: @ 821BA44
.string "Ayayayay…\n"
.string "I entered the wrong CONTEST.\p"
.string "I entered this tough POKéMON in\n"
@@ -351,7 +351,7 @@ LilycoveCity_ContestHall_Text_21BA44: @ 821BA44
.string "Come on, wow them with a smart-looking\n"
.string "ROCK SMASH.$"
LilycoveCity_ContestHall_Text_21BAD5: @ 821BAD5
LilycoveCity_ContestHall_Text_RaisedMonToBeSmart: @ 821BAD5
.string "I've spent many a year, and all my\n"
.string "wisdom besides, raising this POKéMON\l"
.string "to be smart.\p"
@@ -359,54 +359,54 @@ LilycoveCity_ContestHall_Text_21BAD5: @ 821BAD5
.string "young pup's POKéMON.\p"
.string "My dear wife, are you seeing this?$"
LilycoveCity_ContestHall_Text_21BB84: @ 821BB84
LilycoveCity_ContestHall_Text_IfMonPullsSmartMoveNext: @ 821BB84
.string "There it is!\p"
.string "If my POKéMON pulls a smart move next,\n"
.string "the audience's excitement will peak!$"
LilycoveCity_ContestHall_Text_21BBDD: @ 821BBDD
LilycoveCity_ContestHall_Text_DontAppreciateCuteLeechLife: @ 821BBDD
.string "Oh, dear, no!\p"
.string "My darling ZUBAT's LEECH LIFE is so\n"
.string "cute I kept using it over and over!\p"
.string "But these mean people don't appreciate\n"
.string "it at all!$"
LilycoveCity_ContestHall_Text_21BC65: @ 821BC65
LilycoveCity_ContestHall_Text_YoureBeautifulGrandpa: @ 821BC65
.string "Kiyaaah! You're beautiful, Grandpa!$"
LilycoveCity_ContestHall_Text_21BC89: @ 821BC89
LilycoveCity_ContestHall_Text_AllSeemToUseDifferentMoves: @ 821BC89
.string "Even when TRAINERS enter the same\n"
.string "kind of POKéMON, they all seem to use\l"
.string "different moves for appeals.\p"
.string "It's just like the way people have\n"
.string "different styles for battling.$"
LilycoveCity_ContestHall_Text_21BD30: @ 821BD30
LilycoveCity_ContestHall_Text_PokemonSmarterThanTrainers: @ 821BD30
.string "I think the POKéMON look smarter\n"
.string "than their TRAINERS. By a lot.$"
LilycoveCity_ContestHall_Text_21BD70: @ 821BD70
LilycoveCity_ContestHall_Text_StillLoveSmartnessContests: @ 821BD70
.string "When all's said and done, I still love\n"
.string "SMARTNESS CONTESTS.\p"
.string "That intellectual green color…\n"
.string "It's so… So… Cool.$"
LilycoveCity_ContestHall_Text_21BDDD: @ 821BDDD
LilycoveCity_ContestHall_Text_AreYouEnteringBeautyContest: @ 821BDDD
.string "MC: Are you entering the BEAUTY\n"
.string "CONTEST, too? Good luck!$"
LilycoveCity_ContestHall_Text_21BE16: @ 821BE16
LilycoveCity_ContestHall_Text_EveryPokemonPristineBeauty: @ 821BE16
.string "JUDGE: Ah, every POKéMON here is\n"
.string "a model of pristine beauty!\p"
.string "Why, I almost forgot to score them!$"
LilycoveCity_ContestHall_Text_21BE77: @ 821BE77
LilycoveCity_ContestHall_Text_EyesWillBeGluedToMyBeauty: @ 821BE77
.string "A POKéMON this beautiful…\n"
.string "There isn't another one like it.\p"
.string "Everyone's eyes will be glued to\n"
.string "my beauty.$"
LilycoveCity_ContestHall_Text_21BEDE: @ 821BEDE
LilycoveCity_ContestHall_Text_OverdidGrooming: @ 821BEDE
.string "Waaaah!\p"
.string "I brushed and groomed my POKéMON\n"
.string "carefully for this CONTEST…\p"
@@ -414,96 +414,96 @@ LilycoveCity_ContestHall_Text_21BEDE: @ 821BEDE
.string "My POKéMON's coat turned all scraggly…\p"
.string "What should I do?$"
LilycoveCity_ContestHall_Text_21BF6E: @ 821BF6E
LilycoveCity_ContestHall_Text_JudgeWontSeeAuroraBeam: @ 821BF6E
.string "This AURORA BEAM is so dazzling,\n"
.string "the JUDGE won't be able to see it.\p"
.string "Uh, wait a second…\n"
.string "That'll be meaningless, then!$"
LilycoveCity_ContestHall_Text_21BFE3: @ 821BFE3
LilycoveCity_ContestHall_Text_PokemonLooksLikeYoungerMe: @ 821BFE3
.string "This pretty POKéMON looks just like\n"
.string "me when I was younger.\p"
.string "Right when I said that, my husband\n"
.string "spewed the coffee he was drinking.\p"
.string "Did I say something funny?$"
LilycoveCity_ContestHall_Text_21C07F: @ 821C07F
LilycoveCity_ContestHall_Text_WinBeautyContestMakesMeHappy: @ 821C07F
.string "You know, if I win at a BEAUTY\n"
.string "CONTEST, sure it makes me\l"
.string "happy. More than usual, anyway.$"
LilycoveCity_ContestHall_Text_21C0D8: @ 821C0D8
LilycoveCity_ContestHall_Text_GanderAtAllThosePrettyPokemon: @ 821C0D8
.string "Wahahahah!\p"
.string "Will you take a gander at all those\n"
.string "pretty POKéMON!\l"
.string "I just love this sort of glitz!$"
LilycoveCity_ContestHall_Text_21C137: @ 821C137
LilycoveCity_ContestHall_Text_CantWinOnBeautyAlone: @ 821C137
.string "You can't always win on just beauty\n"
.string "alone.\p"
.string "You have to groom your POKéMON so\n"
.string "it's nice and glossy like mine.$"
LilycoveCity_ContestHall_Text_21C1A4: @ 821C1A4
LilycoveCity_ContestHall_Text_InTheMiddleOfContest: @ 821C1A4
.string "MC: Uh-oh! Hello!\n"
.string "We're in the middle of a CONTEST!\p"
.string "Please enter at our registration\n"
.string "counter and come out, okay?$"
LilycoveCity_ContestHall_Text_21C215: @ 821C215
LilycoveCity_ContestHall_Text_SuchCharmingCuteAppeals: @ 821C215
.string "JUDGE: Oh, such charming and cute\n"
.string "appeals!\p"
.string "Oh, my goodness! What a perfectly\n"
.string "adorable WATER SPORT appeal!$"
LilycoveCity_ContestHall_Text_21C27F: @ 821C27F
LilycoveCity_ContestHall_Text_MyAzurillWasDistracted: @ 821C27F
.string "Oh, no… My sweet AZURILL was\n"
.string "distracted by another POKéMON.$"
LilycoveCity_ContestHall_Text_21C2BB: @ 821C2BB
LilycoveCity_ContestHall_Text_NeverWonBattleButContest: @ 821C2BB
.string "My POKéMON has never won in a battle,\n"
.string "but put it in a CONTEST and look out!$"
LilycoveCity_ContestHall_Text_21C307: @ 821C307
LilycoveCity_ContestHall_Text_PetalDanceIsMarvel: @ 821C307
.string "My POKéMON's PETAL DANCE is a marvel\n"
.string "of elegance.\p"
.string "I won't let anyone disturb its\n"
.string "performance.$"
LilycoveCity_ContestHall_Text_21C365: @ 821C365
LilycoveCity_ContestHall_Text_MyMonAppealSoMuchCuter: @ 821C365
.string "Everyone's POKéMON are very cute.\p"
.string "However, if my POKéMON were to make\n"
.string "a cute appeal…\p"
.string "I'm sure that it would be so much \n"
.string "cuter than the others.$"
LilycoveCity_ContestHall_Text_21C3F4: @ 821C3F4
LilycoveCity_ContestHall_Text_MyChildIsInContest: @ 821C3F4
.string "My child is in this CONTEST.$"
LilycoveCity_ContestHall_Text_21C411: @ 821C411
LilycoveCity_ContestHall_Text_ComeOnDear: @ 821C411
.string "Come on, dear. Go for it!\n"
.string "Your POKéMON is the best!$"
LilycoveCity_ContestHall_Text_21C445: @ 821C445
LilycoveCity_ContestHall_Text_ThatGirlThereIsCutest: @ 821C445
.string "I think that girl over there is\n"
.string "the cutest of the lot.\p"
.string "What's that? They're judging\n"
.string "POKéMON by their looks?$"
LilycoveCity_ContestHall_Text_21C4B1: @ 821C4B1
LilycoveCity_ContestHall_Text_WantCuteMonOfMyOwn: @ 821C4B1
.string "Ohh, seeing all these cute POKéMON,\n"
.string "they make we want to get my own!\p"
.string "I'm going to go catch some!$"
LilycoveCity_ContestHall_Text_21C512: @ 821C512
LilycoveCity_ContestHall_Text_BeautyContestStage: @ 821C512
.string "BEAUTY CONTEST STAGE\n"
.string "BE ALLURED BY BEAUTIFUL POKéMON!$"
LilycoveCity_ContestHall_Text_21C548: @ 821C548
LilycoveCity_ContestHall_Text_CuteContestStage: @ 821C548
.string "CUTENESS CONTEST STAGE\n"
.string "BE CHARMED BY CUTE POKéMON!$"
LilycoveCity_ContestHall_Text_21C57B: @ 821C57B
LilycoveCity_ContestHall_Text_SmartContestStage: @ 821C57B
.string "SMARTNESS CONTEST STAGE\n"
.string "BE IMPRESSED BY SMART POKéMON!$"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A554",
"script": "LilycoveCity_ContestLobby_EventScript_ContestReceptionist",
"flag": "0"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A806",
"script": "LilycoveCity_ContestLobby_EventScript_LinkContestReceptionist",
"flag": "0"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_293FA2",
"script": "BerryBlender_EventScript_Blender2Man",
"flag": "0"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A708",
"script": "LilycoveCity_ContestLobby_EventScript_BlackBelt",
"flag": "0"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A711",
"script": "LilycoveCity_ContestLobby_EventScript_Girl",
"flag": "0"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A71A",
"script": "LilycoveCity_ContestLobby_EventScript_Artist",
"flag": "0"
},
{
@@ -115,7 +115,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_28CA59",
"script": "LilycoveCity_ContestLobby_EventScript_Reporter",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_REPORTER"
},
{
@@ -128,7 +128,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A768",
"script": "LilycoveCity_ContestLobby_EventScript_Blender3Boy",
"flag": "0"
},
{
@@ -141,7 +141,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_293FB4",
"script": "BerryBlender_EventScript_Blender2Twin",
"flag": "0"
},
{
@@ -167,7 +167,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A72C",
"script": "LilycoveCity_ContestLobby_EventScript_Fisherman",
"flag": "0"
},
{
@@ -180,7 +180,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A723",
"script": "LilycoveCity_ContestLobby_EventScript_FatMan",
"flag": "0"
},
{
@@ -193,7 +193,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A735",
"script": "LilycoveCity_ContestLobby_EventScript_NinjaBoy",
"flag": "0"
},
{
@@ -206,7 +206,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_293FAB",
"script": "BerryBlender_EventScript_Blender3PokefanF",
"flag": "0"
},
{
@@ -219,8 +219,8 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_293FBD",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_POKEBLOCK_EXPERT"
"script": "BerryBlender_EventScript_Blender1ExpertM",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER_REPLACEMENT"
},
{
"graphics_id": "EVENT_OBJ_GFX_GIRL_1",
@@ -232,7 +232,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A771",
"script": "LilycoveCity_ContestLobby_EventScript_Blender3Girl",
"flag": "0"
},
{
@@ -245,8 +245,8 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A7B3",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER_ONLOOKERS"
"script": "LilycoveCity_ContestLobby_EventScript_BlendMasterOnlooker2",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER"
},
{
"graphics_id": "EVENT_OBJ_GFX_CAMPER",
@@ -258,8 +258,8 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A7BE",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER_ONLOOKERS"
"script": "LilycoveCity_ContestLobby_EventScript_BlendMasterOnlooker3",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER"
},
{
"graphics_id": "EVENT_OBJ_GFX_LITTLE_GIRL",
@@ -271,8 +271,8 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A7C9",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER_ONLOOKERS"
"script": "LilycoveCity_ContestLobby_EventScript_BlendMasterOnlooker4",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER"
},
{
"graphics_id": "EVENT_OBJ_GFX_SCIENTIST_2",
@@ -284,8 +284,8 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A7D9",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER_ONLOOKERS"
"script": "LilycoveCity_ContestLobby_EventScript_BlendMasterOnlooker5",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER"
},
{
"graphics_id": "EVENT_OBJ_GFX_WOMAN_1",
@@ -297,8 +297,8 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A7E9",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER_ONLOOKERS"
"script": "LilycoveCity_ContestLobby_EventScript_BlendMasterOnlooker6",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER"
},
{
"graphics_id": "EVENT_OBJ_GFX_NINJA_BOY",
@@ -310,8 +310,8 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A7A8",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER_ONLOOKERS"
"script": "LilycoveCity_ContestLobby_EventScript_BlendMasterOnlooker1",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER"
},
{
"graphics_id": "EVENT_OBJ_GFX_OLD_MAN",
@@ -323,8 +323,8 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21A798",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER_ONLOOKERS"
"script": "LilycoveCity_ContestLobby_EventScript_BlendMaster",
"flag": "FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER"
},
{
"graphics_id": "EVENT_OBJ_GFX_LITTLE_GIRL",
@@ -336,7 +336,7 @@
"movement_range_y": 2,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_ContestLobby_EventScript_21ACF1",
"script": "LilycoveCity_ContestLobby_EventScript_LittleGirl",
"flag": "0"
}
],
@@ -378,7 +378,7 @@
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "EventScript_PblockLink"
"script": "BerryBlender_EventScript_BerryBlenderLink"
},
{
"type": "sign",
@@ -386,7 +386,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestLobby_EventScript_293E1E"
"script": "BerryBlender_EventScript_BerryBlender3"
},
{
"type": "sign",
@@ -394,7 +394,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestLobby_EventScript_21A753"
"script": "LilycoveCity_ContestLobby_EventScript_ContestWinner4"
},
{
"type": "sign",
@@ -402,7 +402,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestLobby_EventScript_21A75A"
"script": "LilycoveCity_ContestLobby_EventScript_ContestWinner5"
},
{
"type": "sign",
@@ -410,7 +410,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestLobby_EventScript_21A761"
"script": "LilycoveCity_ContestLobby_EventScript_ContestWinner6"
},
{
"type": "sign",
@@ -418,7 +418,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestLobby_EventScript_21A77A"
"script": "LilycoveCity_ContestLobby_EventScript_BerryBlenderSpeedRecords"
},
{
"type": "sign",
@@ -426,7 +426,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestLobby_EventScript_21A73E"
"script": "LilycoveCity_ContestLobby_EventScript_ContestWinner1"
},
{
"type": "sign",
@@ -434,7 +434,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestLobby_EventScript_21A745"
"script": "LilycoveCity_ContestLobby_EventScript_ContestWinner2"
},
{
"type": "sign",
@@ -442,7 +442,7 @@
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestLobby_EventScript_21A74C"
"script": "LilycoveCity_ContestLobby_EventScript_ContestWinner3"
},
{
"type": "sign",
@@ -450,7 +450,7 @@
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "EventScript_Pblock1_Ask"
"script": "BerryBlender_EventScript_BerryBlender1"
},
{
"type": "sign",
@@ -458,7 +458,7 @@
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestLobby_EventScript_293D4D"
"script": "BerryBlender_EventScript_BerryBlender2"
},
{
"type": "sign",
@@ -466,7 +466,7 @@
"y": 3,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "LilycoveCity_ContestLobby_EventScript_21A784"
"script": "LilycoveCity_ContestLobby_EventScript_LinkContestResults"
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_CoveLilyMotel_1F_EventScript_218189",
"script": "LilycoveCity_CoveLilyMotel_1F_EventScript_MotelOwner",
"flag": "0"
}
],
@@ -59,7 +59,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "LilycoveCity_CoveLilyMotel_1F_EventScript_218211"
"script": "LilycoveCity_CoveLilyMotel_1F_EventScript_BlockingTV"
}
],
"bg_events": []

View File

@@ -1,43 +1,43 @@
LilycoveCity_CoveLilyMotel_1F_MapScripts:: @ 8218188
.byte 0
LilycoveCity_CoveLilyMotel_1F_EventScript_218189:: @ 8218189
LilycoveCity_CoveLilyMotel_1F_EventScript_MotelOwner:: @ 8218189
lockall
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_CoveLilyMotel_1F_EventScript_2181EA
goto_if_set FLAG_BADGE07_GET, LilycoveCity_CoveLilyMotel_1F_EventScript_2181C3
msgbox LilycoveCity_CoveLilyMotel_1F_Text_218264, MSGBOX_DEFAULT
goto_if_set FLAG_SYS_GAME_CLEAR, LilycoveCity_CoveLilyMotel_1F_EventScript_GameClear
goto_if_set FLAG_BADGE07_GET, LilycoveCity_CoveLilyMotel_1F_EventScript_AquaHideoutBusted
msgbox LilycoveCity_CoveLilyMotel_1F_Text_GuestsDoubledByMascot, MSGBOX_DEFAULT
applymovement 1, Common_Movement_FacePlayer
waitmovement 0
msgbox LilycoveCity_CoveLilyMotel_1F_Text_21831E, MSGBOX_DEFAULT
msgbox LilycoveCity_CoveLilyMotel_1F_Text_NoGuestsWithTeamAqua, MSGBOX_DEFAULT
closemessage
applymovement 1, Common_Movement_FaceOriginalDirection
waitmovement 0
releaseall
end
LilycoveCity_CoveLilyMotel_1F_EventScript_2181C3:: @ 82181C3
msgbox LilycoveCity_CoveLilyMotel_1F_Text_2183C3, MSGBOX_DEFAULT
LilycoveCity_CoveLilyMotel_1F_EventScript_AquaHideoutBusted:: @ 82181C3
msgbox LilycoveCity_CoveLilyMotel_1F_Text_MonFoundLostItem, MSGBOX_DEFAULT
applymovement 1, Common_Movement_FacePlayer
waitmovement 0
msgbox LilycoveCity_CoveLilyMotel_1F_Text_218470, MSGBOX_DEFAULT
msgbox LilycoveCity_CoveLilyMotel_1F_Text_HeardAquaHideoutBusted, MSGBOX_DEFAULT
closemessage
applymovement 1, Common_Movement_FaceOriginalDirection
waitmovement 0
releaseall
end
LilycoveCity_CoveLilyMotel_1F_EventScript_2181EA:: @ 82181EA
msgbox LilycoveCity_CoveLilyMotel_1F_Text_218544, MSGBOX_DEFAULT
LilycoveCity_CoveLilyMotel_1F_EventScript_GameClear:: @ 82181EA
msgbox LilycoveCity_CoveLilyMotel_1F_Text_HouseSittingMonCaughtBurglar, MSGBOX_DEFAULT
applymovement 1, Common_Movement_FacePlayer
waitmovement 0
msgbox LilycoveCity_CoveLilyMotel_1F_Text_2185F4, MSGBOX_DEFAULT
msgbox LilycoveCity_CoveLilyMotel_1F_Text_BetterGetWorkingOnGuestsDinner, MSGBOX_DEFAULT
closemessage
applymovement 1, Common_Movement_FaceOriginalDirection
waitmovement 0
releaseall
end
LilycoveCity_CoveLilyMotel_1F_EventScript_218211:: @ 8218211
LilycoveCity_CoveLilyMotel_1F_EventScript_BlockingTV:: @ 8218211
lockall
playse SE_PIN
applymovement 1, Common_Movement_ExclamationMark
@@ -46,34 +46,34 @@ LilycoveCity_CoveLilyMotel_1F_EventScript_218211:: @ 8218211
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
msgbox LilycoveCity_CoveLilyMotel_1F_Text_21839B, MSGBOX_DEFAULT
msgbox LilycoveCity_CoveLilyMotel_1F_Text_CantSeeTheTV, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, LilycoveCity_CoveLilyMotel_1F_Movement_218259
applymovement 1, LilycoveCity_CoveLilyMotel_1F_Movement_21825E
applymovement EVENT_OBJ_ID_PLAYER, LilycoveCity_CoveLilyMotel_1F_Movement_PlayerPushFromTV
applymovement 1, LilycoveCity_CoveLilyMotel_1F_Movement_OwnerPushPlayer
waitmovement 0
applymovement 1, LilycoveCity_CoveLilyMotel_1F_Movement_218260
applymovement 1, LilycoveCity_CoveLilyMotel_1F_Movement_OwnerReturn
waitmovement 0
release
end
LilycoveCity_CoveLilyMotel_1F_Movement_218259: @ 8218259
LilycoveCity_CoveLilyMotel_1F_Movement_PlayerPushFromTV: @ 8218259
face_right
lock_facing_direction
walk_left
unlock_facing_direction
step_end
LilycoveCity_CoveLilyMotel_1F_Movement_21825E: @ 821825E
LilycoveCity_CoveLilyMotel_1F_Movement_OwnerPushPlayer: @ 821825E
walk_up
step_end
LilycoveCity_CoveLilyMotel_1F_Movement_218260: @ 8218260
LilycoveCity_CoveLilyMotel_1F_Movement_OwnerReturn: @ 8218260
face_down
walk_down
face_up
step_end
LilycoveCity_CoveLilyMotel_1F_Text_218264: @ 8218264
LilycoveCity_CoveLilyMotel_1F_Text_GuestsDoubledByMascot: @ 8218264
.string "Hm, so they doubled the guests by\n"
.string "using POKéMON as attractions?\p"
.string "Hm, well, maybe I should make a cute\n"
@@ -81,17 +81,17 @@ LilycoveCity_CoveLilyMotel_1F_Text_218264: @ 8218264
.string "I wonder if that will attract more\n"
.string "guests to stay with us?$"
LilycoveCity_CoveLilyMotel_1F_Text_21831E: @ 821831E
LilycoveCity_CoveLilyMotel_1F_Text_NoGuestsWithTeamAqua: @ 821831E
.string "Oh, sorry, sorry!\n"
.string "I was too involved in watching TV!\p"
.string "Since that TEAM AQUA came to town,\n"
.string "the tourists have been staying away.$"
LilycoveCity_CoveLilyMotel_1F_Text_21839B: @ 821839B
LilycoveCity_CoveLilyMotel_1F_Text_CantSeeTheTV: @ 821839B
.string "Hey, down in front!\n"
.string "I can't see the TV!$"
LilycoveCity_CoveLilyMotel_1F_Text_2183C3: @ 82183C3
LilycoveCity_CoveLilyMotel_1F_Text_MonFoundLostItem: @ 82183C3
.string "Amazing! You're telling me a POKéMON\n"
.string "found someone's lost item?\p"
.string "That's something. If we had some smart\n"
@@ -99,7 +99,7 @@ LilycoveCity_CoveLilyMotel_1F_Text_2183C3: @ 82183C3
.string "We could recover anything that our\n"
.string "guests mislaid…$"
LilycoveCity_CoveLilyMotel_1F_Text_218470: @ 8218470
LilycoveCity_CoveLilyMotel_1F_Text_HeardAquaHideoutBusted: @ 8218470
.string "Oh, sorry, sorry!\n"
.string "I was too involved in watching TV!\p"
.string "I heard that someone busted\n"
@@ -109,7 +109,7 @@ LilycoveCity_CoveLilyMotel_1F_Text_218470: @ 8218470
.string "It was a company called… Uh…\n"
.string "GAME something…$"
LilycoveCity_CoveLilyMotel_1F_Text_218544: @ 8218544
LilycoveCity_CoveLilyMotel_1F_Text_HouseSittingMonCaughtBurglar: @ 8218544
.string "Amazing! A house-sitting POKéMON\n"
.string "caught a burglar?\p"
.string "That's something. If we had a tough\n"
@@ -117,7 +117,7 @@ LilycoveCity_CoveLilyMotel_1F_Text_218544: @ 8218544
.string "We would be able to provide our guests\n"
.string "with greater safety.$"
LilycoveCity_CoveLilyMotel_1F_Text_2185F4: @ 82185F4
LilycoveCity_CoveLilyMotel_1F_Text_BetterGetWorkingOnGuestsDinner: @ 82185F4
.string "Oh, sorry, sorry!\n"
.string "I was too involved in watching TV.\p"
.string "Oh, yes. A big group of guests arrived\n"

View File

@@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_2186D3",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_GameDesigner",
"flag": "FLAG_HIDE_LILCOVE_MOTEL_GAME_DESIGNERS"
},
{
@@ -37,7 +37,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_218729",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_GraphicArtist",
"flag": "FLAG_HIDE_LILCOVE_MOTEL_GAME_DESIGNERS"
},
{
@@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_218732",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_FatMan",
"flag": "FLAG_HIDE_LILCOVE_MOTEL_GAME_DESIGNERS"
},
{
@@ -63,7 +63,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_218720",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_Programmer",
"flag": "FLAG_HIDE_LILCOVE_MOTEL_GAME_DESIGNERS"
},
{
@@ -76,7 +76,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_218744",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_GameBoyKid",
"flag": "FLAG_HIDE_LILCOVE_MOTEL_GAME_DESIGNERS"
},
{
@@ -89,7 +89,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_21873B",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_Woman",
"flag": "FLAG_HIDE_LILCOVE_MOTEL_GAME_DESIGNERS"
},
{
@@ -102,7 +102,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_21874D",
"script": "LilycoveCity_CoveLilyMotel_2F_EventScript_Scott",
"flag": "FLAG_HIDE_LILCOVE_MOTEL_SCOTT"
}
],

Some files were not shown because too many files have changed in this diff Show More