Merge into master
This commit is contained in:
commit
9a2888fdbf
233 files changed
+10138
-13455
No files matched your search
@@ -31,3 +31,4 @@ build/
|
||||
porymap.project.cfg
|
||||
.vscode/
|
||||
*.a
|
||||
.fuse_hidden*
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
language: generic
|
||||
dist: trusty
|
||||
dist: bionic
|
||||
sudo: false
|
||||
env:
|
||||
global:
|
||||
|
||||
-5515
File diff suppressed because it is too large.
Load diff
@@ -1,5 +1,3 @@
|
||||
@ TODO: Add explanatory comments to macros
|
||||
|
||||
@ Initialize the Battle Factory challenge
|
||||
.macro factory_init
|
||||
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_INIT
|
||||
@@ -34,68 +32,68 @@
|
||||
special CallBattleFactoryFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Select the initial rental mons for the challenge
|
||||
.macro factory_rentmons
|
||||
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_SELECT_RENT_MONS
|
||||
special CallBattleFactoryFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Select a mon to swap for from the previously defeated team
|
||||
.macro factory_swapmons
|
||||
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_SWAP_RENT_MONS
|
||||
special CallBattleFactoryFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Allows FACTORY_DATA_WIN_STREAK_SWAPS to be incremented once
|
||||
.macro factory_setswapped
|
||||
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_SET_SWAPPED
|
||||
special CallBattleFactoryFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Update gEnemyParty with the next set of rental mons
|
||||
.macro factory_setopponentmons
|
||||
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_SET_OPPONENT_MONS
|
||||
special CallBattleFactoryFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Populate gPlayerParty and gEnemyParty with the rental mons. Only needed when resuming a challenge, otherwise only factory_setopponentmons and factory_rentmons/factory_swapmons are needed
|
||||
.macro factory_setparties arg:req
|
||||
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_SET_PARTIES
|
||||
setvar VAR_0x8005, \arg
|
||||
special CallBattleFactoryFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Set the object event gfx for the opponent trainer
|
||||
.macro factory_setopponentgfx
|
||||
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_SET_OPPONENT_GFX
|
||||
special CallBattleFactoryFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Generate the mons for the opponents team
|
||||
.macro factory_generateopponentmons
|
||||
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_GENERATE_OPPONENT_MONS
|
||||
special CallBattleFactoryFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Generate the random 6 mons to choose from for the initial rental
|
||||
.macro factory_generaterentalmons
|
||||
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_GENERATE_RENTAL_MONS
|
||||
special CallBattleFactoryFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Return the pokemon type most common in the opponents team, or NUMBER_OF_MON_TYPES if there is no standout type
|
||||
.macro factory_getopponentmontype
|
||||
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_GET_OPPONENT_MON_TYPE
|
||||
special CallBattleFactoryFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Return the FACTORY_STYLE_* dependent on what types of moves the opponents team has, or FACTORY_NUM_STYLES if multiple styles tie for the same amount of moves
|
||||
.macro factory_getopponentstyle
|
||||
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_GET_OPPONENT_STYLE
|
||||
special CallBattleFactoryFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Restore the held items for the players party to what they were pre-battle
|
||||
.macro factory_resethelditems
|
||||
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_RESET_HELD_ITEMS
|
||||
special CallBattleFactoryFunction
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
@ TODO: Add explanatory comments to macros
|
||||
|
||||
@
|
||||
@ Set sRoomType to the next PIKE_ROOM_* id
|
||||
.macro pike_setnextroom
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_ROOM_TYPE
|
||||
special CallBattlePikeFunction
|
||||
@@ -25,19 +23,19 @@
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ TRUE if the next room is the last (15th) room, FALSE otherwise
|
||||
.macro pike_isfinalroom
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_IS_FINAL_ROOM
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Set the object event gfx for the room being entered
|
||||
.macro pike_setroomobjects
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_ROOM_OBJECTS
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Get the current room type (sRoomType)
|
||||
.macro pike_getroomtype
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_TYPE
|
||||
special CallBattlePikeFunction
|
||||
@@ -62,33 +60,33 @@
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Returns the PIKE_STATUS_* to be afflicted for the status room
|
||||
.macro pike_getstatus
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_STATUS
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Returns the PIKE_STATUSMON_* that attacks the player for the status room
|
||||
.macro pike_getstatusmon
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_STATUS_MON
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Randomly heals either one or two party mons and returns the number of mons healed
|
||||
.macro pike_healonetwomons
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_HEAL_ONE_TWO_MONS
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Buffers a message for the lone NPC in the NPC room to gStringVar4
|
||||
.macro pike_getnpcmsg
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_BUFFER_NPC_MSG
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
.macro pike_fadescreen
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_STATUS_SCREEN_FADE
|
||||
@ Flashes the screen 3 times for when the Dusclops/Kirlia attacks the player
|
||||
.macro pike_flashscreen
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_STATUS_SCREEN_FLASH
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@@ -98,31 +96,31 @@
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@ TRUE if its the Pike Queens room
|
||||
@ Set which room to give a hint about. TRUE if its the Pike Queens room next
|
||||
.macro pike_sethintroom
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_HINT_ROOM
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Get PIKE_ROOM_(LEFT/CENTER/RIGHT) for which room to give a hint about
|
||||
.macro pike_gethintroomid
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_HINT_ROOM_ID
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Get the PIKE_HINT_* to give about the next room
|
||||
.macro pike_gethint
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_ROOM_TYPE_HINT
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Reset the frontier trainer ids for the start of the challenge
|
||||
.macro pike_cleartrainerids
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_CLEAR_TRAINER_IDS
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Buffer the opponents battle intro speech to gStringVar4. \trainer 0 for Trainer A, 1 for Trainer B
|
||||
.macro pike_gettrainerintro trainer:req
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_GET_TRAINER_INTRO
|
||||
setvar VAR_0x8005, \trainer
|
||||
@@ -135,32 +133,32 @@
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Heal 0-2 party mons depending on which room was chosen for the Pike Queen battle. Return the number healed
|
||||
.macro pike_prequeenheal
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_HEAL_MONS_BEFORE_QUEEN
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ When \set is TRUE, prevent healing rooms from appearing (for 1st room or when party is full health). \set FALSE to re-enable healing rooms
|
||||
.macro pike_nohealing set:req
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SET_HEAL_ROOMS_DISABLED
|
||||
setvar VAR_0x8005, \set
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ TRUE if the party is full health (full HP, PP, and no status), FALSE otherwise
|
||||
.macro pike_ispartyfullhealth
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_IS_PARTY_FULL_HEALTH
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Save the party held items in pikeHeldItemsBackup
|
||||
.macro pike_savehelditems
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_SAVE_HELD_ITEMS
|
||||
special CallBattlePikeFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Restore the party held items from pikeHeldItemsBackup
|
||||
.macro pike_resethelditems
|
||||
setvar VAR_0x8004, BATTLE_PIKE_FUNC_RESET_HELD_ITEMS
|
||||
special CallBattlePikeFunction
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
@ TODO: Add explanatory comments to macros
|
||||
|
||||
@ Initialize the Battle Pyramid challenge
|
||||
.macro pyramid_init
|
||||
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_INIT
|
||||
@@ -28,37 +26,43 @@
|
||||
special CallBattlePyramidFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Set the prize item to give from one of two lists of possible prizes, depending on streak.
|
||||
.macro pyramid_setprize
|
||||
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SET_PRIZE
|
||||
special CallBattlePyramidFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Unused. Give the set prize item to the player. TRUE if room in Bag for prize, FALSE otherwise
|
||||
.macro pyramid_giveprize
|
||||
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_GIVE_PRIZE
|
||||
special CallBattlePyramidFunction
|
||||
.endm
|
||||
|
||||
@ Set the random values for the floor (used to determine object positions, e.g.), and clear trainer flags
|
||||
.macro pyramid_seedfloor
|
||||
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SEED_FLOOR
|
||||
special CallBattlePyramidFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Set the item to pick up depending on the random seed and quantity (always 1) to the arguments for STD_FIND_ITEM
|
||||
.macro pyramid_setitem
|
||||
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SET_ITEM
|
||||
special CallBattlePyramidFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Hide the picked-up item (technically it moves the item far offscreen)
|
||||
.macro pyramid_hideitem
|
||||
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_HIDE_ITEM
|
||||
special CallBattlePyramidFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
.macro pyramid_inittrainers
|
||||
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_INIT_TRAINERS
|
||||
@ Set the facility trainers to gBattleFrontierTrainers
|
||||
.macro pyramid_settrainers
|
||||
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SET_TRAINERS
|
||||
special CallBattlePyramidFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Show the post-battle hint text
|
||||
.macro pyramid_showhint
|
||||
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SHOW_HINT_TEXT
|
||||
special CallBattlePyramidFunction
|
||||
@@ -70,28 +74,31 @@
|
||||
special CallBattlePyramidFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
.macro pyramid_updatelight radius:req, mode:req
|
||||
@ Update the light around the player. 2 different modes, for setting or incrementing light. See PYRAMID_LIGHT_*
|
||||
.macro pyramid_updatelight radius:req, mode:req, sound=0xFFFF
|
||||
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_UPDATE_LIGHT
|
||||
setvar VAR_0x8005, \radius
|
||||
setvar VAR_0x8006, \mode
|
||||
.if \sound != 0xFFFF
|
||||
setvar VAR_0x8007, \sound
|
||||
.endif
|
||||
special CallBattlePyramidFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Reset the held items to what they were at the start of the challenge
|
||||
.macro pyramid_clearhelditems
|
||||
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_CLEAR_HELD_ITEMS
|
||||
special CallBattlePyramidFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
@ Set the palette depending on current floor number
|
||||
.macro pyramid_setfloorpal
|
||||
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SET_FLOOR_PALETTE
|
||||
special CallBattlePyramidFunction
|
||||
.endm
|
||||
|
||||
@
|
||||
.macro pyramid_healparty
|
||||
@ Reset sketched moves and update the party order in the saveblock
|
||||
.macro pyramid_resetparty
|
||||
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_RESTORE_PARTY
|
||||
special CallBattlePyramidFunction
|
||||
.endm
|
||||
+34
-30
@@ -233,14 +233,12 @@
|
||||
.endm
|
||||
|
||||
@ Generic compare macro which attempts to deduce argument types based on their values
|
||||
@ Any values between 0x4000 to 0x4FFF and 0x8000 to 0x8FFF are considered event variable identifiers
|
||||
.macro compare arg1:req, arg2:req
|
||||
.if ((\arg1 >> 12) == 4 || (\arg1 >> 12) == 8) && ((\arg2 >> 12) == 4 || (\arg2 >> 12) == 8)
|
||||
compare_var_to_var \arg1, \arg2
|
||||
.elseif ((\arg1 >> 12) == 4 || (\arg1 >> 12) == 8) && (\arg2 >= 0 && \arg2 <= 0xFFFF)
|
||||
compare_var_to_value \arg1, \arg2
|
||||
@ Any values between 0x4000 to 0x40FF and 0x8000 to 0x8015 are considered event variable identifiers
|
||||
.macro compare var:req, arg:req
|
||||
.if ((\arg >= VARS_START && \arg <= VARS_END) || (\arg >= SPECIAL_VARS_START && \arg <= SPECIAL_VARS_END))
|
||||
compare_var_to_var \var, \arg
|
||||
.else
|
||||
.error "Invalid arguments for 'compare'"
|
||||
compare_var_to_value \var, \arg
|
||||
.endif
|
||||
.endm
|
||||
|
||||
@@ -465,12 +463,12 @@
|
||||
.2byte \Y
|
||||
.endm
|
||||
|
||||
@ Retrieves the number of Pokemon in the player's party, and stores that number in variable 0x800D (LASTRESULT).
|
||||
@ Retrieves the number of Pokemon in the player's party, and stores that number in VAR_RESULT.
|
||||
.macro getpartysize
|
||||
.byte 0x43
|
||||
.endm
|
||||
|
||||
@ Attempts to add quantity of item index to the player's Bag. If the player has enough room, the item will be added and variable 0x800D (LASTRESULT) will be set to 0x0001; otherwise, LASTRESULT is set to 0x0000.
|
||||
@ Attempts to add quantity of item index to the player's Bag. If the player has enough room, the item will be added and VAR_RESULT will be set to TRUE; otherwise, VAR_RESULT is set to FALSE.
|
||||
.macro giveitem index:req, quantity:req
|
||||
.byte 0x44
|
||||
.2byte \index
|
||||
@@ -484,21 +482,21 @@
|
||||
.2byte \quantity
|
||||
.endm
|
||||
|
||||
@ Checks if the player has enough space in their Bag to hold quantity more of item index. Sets variable 0x800D (LASTRESULT) to 0x0001 if there is room, or 0x0000 is there is no room.
|
||||
@ Checks if the player has enough space in their Bag to hold quantity more of item index. Sets VAR_RESULT to TRUE if there is room, or FALSE is there is no room.
|
||||
.macro checkitemspace index:req, quantity:req
|
||||
.byte 0x46
|
||||
.2byte \index
|
||||
.2byte \quantity
|
||||
.endm
|
||||
|
||||
@ Checks if the player has quantity or more of item index in their Bag. Sets variable 0x800D (LASTRESULT) to 0x0001 if the player has enough of the item, or 0x0000 if they have fewer than quantity of the item.
|
||||
@ Checks if the player has quantity or more of item index in their Bag. Sets VAR_RESULT to TRUE if the player has enough of the item, or FALSE if they have fewer than quantity of the item.
|
||||
.macro checkitem index:req, quantity:req
|
||||
.byte 0x47
|
||||
.2byte \index
|
||||
.2byte \quantity
|
||||
.endm
|
||||
|
||||
@ Checks which Bag pocket the specified (index) item belongs in, and writes the value to variable 0x800D (LASTRESULT). This script is used to show the name of the proper Bag pocket when the player receives an item via callstd (simplified to giveitem in XSE).
|
||||
@ Checks which Bag pocket the specified item belongs in, and writes the pocket value (POCKET_*) to VAR_RESULT. This script is used to show the name of the proper Bag pocket when the player receives an item via callstd (simplified to giveitem in XSE).
|
||||
.macro checkitemtype index:req
|
||||
.byte 0x48
|
||||
.2byte \index
|
||||
@@ -536,7 +534,7 @@
|
||||
.2byte \decoration
|
||||
.endm
|
||||
|
||||
@ Checks if the player has enough space in their PC to hold decoration. Sets variable 0x800D (LASTRESULT) to 0x0001 if there is room, or 0x0000 is there is no room. In FireRed, this command is a nop. (The argument is read, but not used for anything.)
|
||||
@ Checks if the player has enough space in their PC to hold decoration. Sets VAR_RESULT to TRUE if there is room, or FALSE is there is no room. In FireRed, this command is a nop. (The argument is read, but not used for anything.)
|
||||
.macro checkdecorspace decoration:req
|
||||
.byte 0x4e
|
||||
.2byte \decoration
|
||||
@@ -818,7 +816,7 @@
|
||||
.byte 0x6d
|
||||
.endm
|
||||
|
||||
@ Displays a YES/NO multichoice box at the specified coordinates, and blocks script execution until the user makes a selection. Their selection is stored in variable 0x800D (LASTRESULT); 0x0000 for "NO" or if the user pressed B, and 0x0001 for "YES".
|
||||
@ Displays a YES/NO multichoice box at the specified coordinates, and blocks script execution until the user makes a selection. Their selection is stored in VAR_RESULT as NO (0) or YES (1). Pressing B is equivalent to answering NO
|
||||
.macro yesnobox x:req, y:req
|
||||
.byte 0x6e
|
||||
.byte \x
|
||||
@@ -925,7 +923,7 @@
|
||||
.2byte \move
|
||||
.endm
|
||||
|
||||
@ Checks if at least one Pokemon in the player's party knows the specified (index) attack. If so, variable 0x800D (LASTRESULT) is set to the (zero-indexed) slot number of the first Pokemon that knows the move. If not, LASTRESULT is set to 0x0006. Variable 0x8004 is also set to this Pokemon's species.
|
||||
@ Checks if at least one Pokemon in the player's party knows the specified (index) attack. If so, VAR_RESULT is set to the (zero-indexed) slot number of the first Pokemon that knows the move. If not, VAR_RESULT is set to PARTY_SIZE. VAR_0x8004 is also set to this Pokemon's species.
|
||||
.macro checkpartymove index:req
|
||||
.byte 0x7c
|
||||
.2byte \index
|
||||
@@ -1045,7 +1043,7 @@
|
||||
.byte 0x8e
|
||||
.endm
|
||||
|
||||
@ Stores a random integer between 0 and limit in variable 0x800D (LASTRESULT).
|
||||
@ Stores a random integer between 0 and limit in VAR_RESULT.
|
||||
.macro random limit:req
|
||||
.byte 0x8f
|
||||
.2byte \limit
|
||||
@@ -1065,7 +1063,7 @@
|
||||
.byte \check
|
||||
.endm
|
||||
|
||||
@ If check is 0x00, this command will check if the player has value or more money; script variable 0x800D (LASTRESULT) is set to 0x0001 if the player has enough money, or 0x0000 if the do not.
|
||||
@ If check is 0x00, this command will check if the player has money >= value; VAR_RESULT is set to TRUE if the player has enough money, or FALSE if they do not.
|
||||
.macro checkmoney value:req, check:req
|
||||
.byte 0x92
|
||||
.4byte \value
|
||||
@@ -1101,16 +1099,16 @@
|
||||
.2byte \index
|
||||
.endm
|
||||
|
||||
@ Fades the screen to and from black and white. Mode 0x00 fades from black, mode 0x01 fades out to black, mode 0x2 fades in from white, and mode 0x3 fades out to white.
|
||||
.macro fadescreen effect:req
|
||||
@ Fades the screen to and from black and white. Modes are FADE_(TO/FROM)_(WHITE/BLACK)
|
||||
.macro fadescreen mode:req
|
||||
.byte 0x97
|
||||
.byte \effect
|
||||
.byte \mode
|
||||
.endm
|
||||
|
||||
@ Fades the screen to and from black and white. Mode 0x00 fades from black, mode 0x01 fades out to black, mode 0x2 fades in from white, and mode 0x3 fades out to white. Other modes may exist.
|
||||
.macro fadescreenspeed effect:req, speed:req
|
||||
@ Fades the screen to and from black and white. Modes are FADE_(TO/FROM)_(WHITE/BLACK)
|
||||
.macro fadescreenspeed mode:req, speed:req
|
||||
.byte 0x98
|
||||
.byte \effect
|
||||
.byte \mode
|
||||
.byte \speed
|
||||
.endm
|
||||
|
||||
@@ -1154,7 +1152,7 @@
|
||||
.2byte \heallocation
|
||||
.endm
|
||||
|
||||
@ Checks the player's gender. If male, then 0x0000 is stored in variable 0x800D (LASTRESULT). If female, then 0x0001 is stored in LASTRESULT.
|
||||
@ Checks the player's gender. If male, then MALE (0) is stored in VAR_RESULT. If female, then FEMALE (1) is stored in VAR_RESULT.
|
||||
.macro checkplayergender
|
||||
.byte 0xa0
|
||||
.endm
|
||||
@@ -1437,7 +1435,7 @@
|
||||
.2byte \slot
|
||||
.endm
|
||||
|
||||
@ Checks if the Pokemon in the specified slot of the player's party is obedient. If the Pokemon is disobedient, 0x0001 is written to script variable 0x800D (LASTRESULT). If the Pokemon is obedient (or if the specified slot is empty or invalid), 0x0000 is written.
|
||||
@ Checks if the Pokemon in the specified slot of the player's party is obedient. If the Pokemon is disobedient, VAR_RESULT is TRUE. If the Pokemon is obedient (or if the specified slot is empty or invalid), VAR_RESULT is FALSE.
|
||||
.macro checkmonobedience slot:req
|
||||
.byte 0xce
|
||||
.2byte \slot
|
||||
@@ -1517,9 +1515,9 @@
|
||||
.4byte \pointer
|
||||
.endm
|
||||
|
||||
.macro fadescreenswapbuffers byte:req
|
||||
.macro fadescreenswapbuffers mode:req
|
||||
.byte 0xdc
|
||||
.byte \byte
|
||||
.byte \mode
|
||||
.endm
|
||||
|
||||
.macro buffertrainerclassname out:req, class:req
|
||||
@@ -1539,7 +1537,7 @@
|
||||
.4byte \pointer
|
||||
.endm
|
||||
|
||||
.macro warp8 map:req, byte:req, word1:req, word2:req
|
||||
.macro warpsootopolislegend map:req, byte:req, word1:req, word2:req
|
||||
.byte 0xe0
|
||||
map \map
|
||||
.byte \byte
|
||||
@@ -1665,10 +1663,16 @@
|
||||
callstd \type
|
||||
.endm
|
||||
|
||||
.macro giveitem_std item:req, amount=1, function=0
|
||||
.macro giveitem_std item:req, amount=1
|
||||
setorcopyvar VAR_0x8000, \item
|
||||
setorcopyvar VAR_0x8001, \amount
|
||||
callstd \function
|
||||
callstd STD_OBTAIN_ITEM
|
||||
.endm
|
||||
|
||||
.macro finditem_std item:req, amount=1
|
||||
setorcopyvar VAR_0x8000, \item
|
||||
setorcopyvar VAR_0x8001, \amount
|
||||
callstd STD_FIND_ITEM
|
||||
.endm
|
||||
|
||||
.macro givedecoration_std decoration:req
|
||||
|
||||
+11
-11
@@ -47,21 +47,21 @@ gUnknown_082F32CC:: @ 82F32CC struct BgTemplate? not sure
|
||||
.byte 0xb3, 0x30, 0x00, 0x00
|
||||
|
||||
.align 2
|
||||
gUnknown_082F32D8:: @ 82F32D8
|
||||
.byte 0x01, 0x02, 0x03
|
||||
sBerryCrushTextColors1:: @ 82F32D8
|
||||
.byte 0x01, 0x02, 0x03 @ TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY, TEXT_COLOR_LIGHT_GREY
|
||||
|
||||
gUnknown_082F32DB:: @ 82F32DB
|
||||
.byte 0x00, 0x01, 0x02
|
||||
sBerryCrushTextColors2:: @ 82F32DB
|
||||
.byte 0x00, 0x01, 0x02 @ TEXT_COLOR_TRANSPARENT, TEXT_COLOR_WHITE, TEXT_COLOR_DARK_GREY
|
||||
|
||||
gUnknown_082F32DE:: @ 82F32DE
|
||||
.byte 0x00, 0x03, 0x04
|
||||
sBerryCrushTextColors3:: @ 82F32DE
|
||||
.byte 0x00, 0x03, 0x04 @ TEXT_COLOR_TRANSPARENT, TEXT_COLOR_LIGHT_GREY, TEXT_COLOR_RED
|
||||
|
||||
gUnknown_082F32E1:: @ 82F32E1
|
||||
.byte 0x01, 0x08, 0x09
|
||||
.byte 0x01, 0x06, 0x07
|
||||
sBerryCrushTextColorTable:: @ 82F32E1
|
||||
.byte 0x01, 0x08, 0x09 @ TEXT_COLOR_WHITE, TEXT_COLOR_BLUE, TEXT_COLOR_LIGHT_BLUE
|
||||
.byte 0x01, 0x06, 0x07 @ TEXT_COLOR_WHITE, TEXT_COLOR_GREEN, TEXT_COLOR_LIGHT_GREEN
|
||||
|
||||
gUnknown_082F32E7:: @ 82F32E7
|
||||
.byte 0x01, 0x04, 0x05
|
||||
sBerryCrushTextColors4:: @ 82F32E7
|
||||
.byte 0x01, 0x04, 0x05 @ TEXT_COLOR_WHITE, TEXT_COLOR_RED, TEXT_COLOR_LIGHT_RED
|
||||
|
||||
.align 2
|
||||
gUnknown_082F32EC:: @ 82F32EC
|
||||
|
||||
@@ -83,6 +83,6 @@ gUnknown_0858D8E0:: @ 858D8E0
|
||||
obj_tiles gMiscBlank_Gfx, 0x0200, 0x56ce
|
||||
|
||||
.align 2
|
||||
gUnknown_0858D8E8:: @ 858D8E8
|
||||
.byte 0x01, 0x0f, 0x0e, 0x00
|
||||
sContestLinkTextColors:: @ 858D8E8
|
||||
.byte 0x01, 0x0f, 0x0e, 0x00 @ TEXT_COLOR_WHITE, TEXT_DYNAMIC_COLOR_6, TEXT_DYNAMIC_COLOR_5
|
||||
|
||||
+22
-21
@@ -24,6 +24,7 @@
|
||||
#include "constants/field_poison.h"
|
||||
#include "constants/field_specials.h"
|
||||
#include "constants/field_tasks.h"
|
||||
#include "constants/field_weather.h"
|
||||
#include "constants/flags.h"
|
||||
#include "constants/frontier_util.h"
|
||||
#include "constants/game_stat.h"
|
||||
@@ -86,16 +87,16 @@ gSpecialVars:: @ 81DBA0C
|
||||
.include "data/specials.inc"
|
||||
|
||||
gStdScripts:: @ 81DC2A0
|
||||
.4byte Std_ObtainItem
|
||||
.4byte Std_FindItem
|
||||
.4byte Std_MsgboxNPC
|
||||
.4byte Std_MsgboxSign
|
||||
.4byte Std_MsgboxDefault
|
||||
.4byte Std_MsgboxYesNo
|
||||
.4byte Std_MsgboxAutoclose
|
||||
.4byte Std_ObtainDecoration
|
||||
.4byte Std_RegisteredInMatchCall
|
||||
.4byte Std_MsgboxGetPoints
|
||||
.4byte Std_ObtainItem @ STD_OBTAIN_ITEM
|
||||
.4byte Std_FindItem @ STD_FIND_ITEM
|
||||
.4byte Std_MsgboxNPC @ MSGBOX_NPC
|
||||
.4byte Std_MsgboxSign @ MSGBOX_SIGN
|
||||
.4byte Std_MsgboxDefault @ MSGBOX_DEFAULT
|
||||
.4byte Std_MsgboxYesNo @ MSGBOX_YESNO
|
||||
.4byte Std_MsgboxAutoclose @ MSGBOX_AUTOCLOSE
|
||||
.4byte Std_ObtainDecoration @ STD_OBTAIN_DECORATION
|
||||
.4byte Std_RegisteredInMatchCall @ STD_REGISTER_MATCH_CALL
|
||||
.4byte Std_MsgboxGetPoints @ MSGBOX_GETPOINTS
|
||||
.4byte Std_10
|
||||
gStdScripts_End:: @ 81DC2CC
|
||||
|
||||
@@ -483,7 +484,7 @@ gStdScripts_End:: @ 81DC2CC
|
||||
.include "data/maps/BattleFrontier_BattlePalaceCorridor/scripts.inc"
|
||||
.include "data/maps/BattleFrontier_BattlePalaceBattleRoom/scripts.inc"
|
||||
.include "data/maps/BattleFrontier_BattlePyramidLobby/scripts.inc"
|
||||
.include "data/maps/BattleFrontier_BattlePyramidEmptySquare/scripts.inc"
|
||||
.include "data/maps/BattleFrontier_BattlePyramidFloor/scripts.inc"
|
||||
.include "data/maps/BattleFrontier_BattlePyramidTop/scripts.inc"
|
||||
.include "data/maps/BattleFrontier_BattleArenaLobby/scripts.inc"
|
||||
.include "data/maps/BattleFrontier_BattleArenaCorridor/scripts.inc"
|
||||
@@ -720,9 +721,9 @@ Common_EventScript_ShowPokemonCenterSign:: @ 8271E73
|
||||
end
|
||||
|
||||
Common_ShowEasyChatScreen:: @ 8271E7C
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special ShowEasyChatScreen
|
||||
fadescreen 0
|
||||
fadescreen FADE_FROM_BLACK
|
||||
return
|
||||
|
||||
Common_EventScript_ReadyPetalburgGymForBattle:: @ 8271E84
|
||||
@@ -773,17 +774,17 @@ Common_EventScript_PlayGymBadgeFanfare:: @ 827207E
|
||||
return
|
||||
|
||||
Common_EventScript_OutOfCenterPartyHeal:: @ 8272083
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
playfanfare MUS_ME_ASA
|
||||
waitfanfare
|
||||
special HealPlayerParty
|
||||
fadescreen 0
|
||||
fadescreen FADE_FROM_BLACK
|
||||
return
|
||||
|
||||
EventScript_RegionMap:: @ 827208F
|
||||
lockall
|
||||
msgbox Common_Text_LookCloserAtMap, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special FieldShowRegionMap
|
||||
waitstate
|
||||
releaseall
|
||||
@@ -868,7 +869,7 @@ Common_EventScript_FerryDepartIsland:: @ 8272250
|
||||
.include "data/scripts/kecleon.inc"
|
||||
|
||||
Common_EventScript_NameReceivedPartyMon:: @ 82723DD
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special ChangePokemonNickname
|
||||
waitstate
|
||||
return
|
||||
@@ -1045,16 +1046,16 @@ Common_EventScript_DirectCornerAttendant:: @ 8273767
|
||||
end
|
||||
|
||||
Common_EventScript_RemoveStaticPokemon:: @ 827376D
|
||||
fadescreenswapbuffers 1
|
||||
fadescreenswapbuffers FADE_TO_BLACK
|
||||
removeobject VAR_LAST_TALKED
|
||||
fadescreenswapbuffers 0
|
||||
fadescreenswapbuffers FADE_FROM_BLACK
|
||||
release
|
||||
end
|
||||
|
||||
Common_EventScript_LegendaryFlewAway:: @ 8273776
|
||||
fadescreenswapbuffers 1
|
||||
fadescreenswapbuffers FADE_TO_BLACK
|
||||
removeobject VAR_LAST_TALKED
|
||||
fadescreenswapbuffers 0
|
||||
fadescreenswapbuffers FADE_FROM_BLACK
|
||||
bufferspeciesname 0, VAR_0x8004
|
||||
msgbox gText_LegendaryFlewAway, MSGBOX_DEFAULT
|
||||
release
|
||||
|
||||
File renamed without changes.
File renamed without changes.
@@ -3602,14 +3602,14 @@
|
||||
"blockdata_filepath": "data/layouts/BattleFrontier_BattlePyramidLobby/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_BATTLE_FRONTIER_BATTLE_PYRAMID_EMPTY_SQUARE",
|
||||
"name": "BattleFrontier_BattlePyramidEmptySquare_Layout",
|
||||
"id": "LAYOUT_BATTLE_FRONTIER_BATTLE_PYRAMID_FLOOR",
|
||||
"name": "BattleFrontier_BattlePyramidFloor_Layout",
|
||||
"width": 8,
|
||||
"height": 8,
|
||||
"primary_tileset": "gTileset_Building",
|
||||
"secondary_tileset": "gTileset_BattlePyramid",
|
||||
"border_filepath": "data/layouts/BattleFrontier_BattlePyramidEmptySquare/border.bin",
|
||||
"blockdata_filepath": "data/layouts/BattleFrontier_BattlePyramidEmptySquare/map.bin"
|
||||
"border_filepath": "data/layouts/BattleFrontier_BattlePyramidFloor/border.bin",
|
||||
"blockdata_filepath": "data/layouts/BattleFrontier_BattlePyramidFloor/map.bin"
|
||||
},
|
||||
{
|
||||
"id": "LAYOUT_BATTLE_PYRAMID_SQUARE01",
|
||||
|
||||
@@ -145,7 +145,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent:: @ 82576B0
|
||||
call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor7thOpponent
|
||||
call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ProceedChallengeNoRecord
|
||||
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponentNoRecord
|
||||
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge
|
||||
@@ -154,7 +154,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent:: @ 82576B0
|
||||
case 3, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
|
||||
|
||||
BattleFrontier_BattleArenaBattleRoom_EventScript_ProceedChallengeNoRecord:: @ 8257768
|
||||
BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponentNoRecord:: @ 8257768
|
||||
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge
|
||||
@@ -240,7 +240,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_PauseChallenge:: @ 825789A
|
||||
arena_save CHALLENGE_STATUS_PAUSED
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
frontier_reset
|
||||
end
|
||||
|
||||
@@ -254,7 +254,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon:: @ 82578D4
|
||||
waitmessage
|
||||
call BattleFrontier_BattleArenaBattleRoom_EventScript_23E8E0
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ProceedChallengeGretaNoRecord
|
||||
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoonNoRecord
|
||||
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta
|
||||
@@ -263,7 +263,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon:: @ 82578D4
|
||||
case 3, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon
|
||||
|
||||
BattleFrontier_BattleArenaBattleRoom_EventScript_ProceedChallengeGretaNoRecord:: @ 825792B
|
||||
BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoonNoRecord:: @ 825792B
|
||||
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta
|
||||
|
||||
@@ -133,7 +133,7 @@ BattleFrontier_BattleArenaLobby_EventScript_TryEnterChallenge:: @ 8255E47
|
||||
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMons
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
|
||||
msgbox BattleFrontier_BattleArenaLobby_Text_SelectThreeMons, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
call BattleFrontier_EventScript_GetLvlMode
|
||||
copyvar VAR_0x8004, VAR_RESULT
|
||||
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
BattleFrontier_BattleDomeLobby_MapScripts:: @ 82497E2
|
||||
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattleDomeLobby_MapScript1_2497F2
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleDomeLobby_MapScript2_24980F
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleDomeLobby_MapScript2_2497FB
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleDomeLobby_OnWarp
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattleDomeLobby_MapScript1_2497F2: @ 82497F2
|
||||
dome_21
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomeLobby_MapScript2_2497FB: @ 82497FB
|
||||
BattleFrontier_BattlePyramidLobby_MapScript2_2497FB: @ 82497FB
|
||||
BattleFrontier_BattleDomeLobby_OnWarp: @ 82497FB
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleDomeLobby_EventScript_249805
|
||||
.2byte 0
|
||||
|
||||
@@ -167,7 +166,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249ABF:: @ 8249ABF
|
||||
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_249C15
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
|
||||
msgbox BattleFrontier_BattleDomeLobby_Text_24A26E, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
call BattleFrontier_EventScript_GetLvlMode
|
||||
copyvar VAR_0x8004, VAR_RESULT
|
||||
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
|
||||
@@ -368,7 +367,7 @@ BattleFrontier_BattleDomeLobby_EventScript_249D84:: @ 8249D84
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249DDB
|
||||
compare VAR_RESULT, 3
|
||||
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_249DE4
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
dome_showresultstree
|
||||
waitstate
|
||||
end
|
||||
@@ -541,11 +540,12 @@ BattleFrontier_BattleDomeLobby_Text_24A51D: @ 824A51D
|
||||
.string "Here is your prize for your Battle\n"
|
||||
.string "Tournament victory.$"
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_24A554: @ 824A554
|
||||
BattleFrontier_BattleDomeLobby_Text_ReceivedPrize: @ 824A554
|
||||
.string "{PLAYER} received the prize\n"
|
||||
.string "{STR_VAR_1}.$"
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_24A56E: @ 824A56E
|
||||
@ Unused
|
||||
BattleFrontier_BattleDomeLobby_Text_BagFullMakeRoom: @ 824A56E
|
||||
.string "Oh, your BAG appears to be full.\p"
|
||||
.string "Please make room in your BAG, then come\n"
|
||||
.string "see me.$"
|
||||
|
||||
@@ -91,20 +91,20 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3BB:: @ 824B3BB
|
||||
dome_save CHALLENGE_STATUS_PAUSED
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
frontier_reset
|
||||
end
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3DD:: @ 824B3DD
|
||||
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_24B9B5, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
dome_showopponentinfo
|
||||
waitstate
|
||||
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
|
||||
BattleFrontier_BattleDomePreBattleRoom_EventScript_24B3F5:: @ 824B3F5
|
||||
call BattleFrontier_BattleDomePreBattleRoom_EventScript_24B40A
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
dome_showtourneytree
|
||||
waitstate
|
||||
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
@@ -138,7 +138,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B46D:: @ 824B46D
|
||||
message BattleFrontier_BattleDomePreBattleRoom_Text_24B70C
|
||||
waitmessage
|
||||
waitbuttonpress
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
call BattleFrontier_EventScript_GetLvlMode
|
||||
copyvar VAR_0x8004, VAR_RESULT
|
||||
setvar VAR_0x8005, 2 @ 2 of the 3 party mons are selected for battle
|
||||
@@ -227,7 +227,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_24B5C7:: @ 824B5C7
|
||||
waitfanfare
|
||||
special HealPlayerParty
|
||||
call BattleFrontier_BattleDomePreBattleRoom_EventScript_24B600
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
dome_showstatictourneytree
|
||||
waitstate
|
||||
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_24B24F
|
||||
|
||||
@@ -1,81 +1,82 @@
|
||||
BattleFrontier_BattleFactoryBattleRoom_MapScripts:: @ 825ADAB
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattleFactoryBattleRoom_MapScript1_25ADBB
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleFactoryBattleRoom_MapScript2_25AE00
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleFactoryBattleRoom_MapScript2_25AE31
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattleFactoryBattleRoom_OnTransition
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleFactoryBattleRoom_OnWarp
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleFactoryBattleRoom_OnFrame
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_MapScript1_25ADBB: @ 825ADBB
|
||||
@ On this map the player (OBJ_EVENT_ID_PLAYER) is hidden
|
||||
@ The player is represented instead by object event 8, which has the gfx id VAR_OBJ_GFX_ID_F
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_OnTransition: @ 825ADBB
|
||||
frontier_settrainers
|
||||
checkplayergender
|
||||
compare VAR_RESULT, MALE
|
||||
call_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE25
|
||||
call_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_SetPlayerGfxMale
|
||||
compare VAR_RESULT, FEMALE
|
||||
call_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE2B
|
||||
call_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_SetPlayerGfxFemale
|
||||
frontier_getbrainstatus
|
||||
copyvar VAR_TEMP_F, VAR_RESULT
|
||||
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
|
||||
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25ADF3
|
||||
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_SetUpFactoryHeadObj
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25ADF3:: @ 825ADF3
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_SetUpFactoryHeadObj:: @ 825ADF3
|
||||
call BattleFrontier_EventScript_SetBrainObjectGfx
|
||||
setobjectxyperm 2, 7, 9
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_MapScript2_25AE00: @ 825AE00
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE0A
|
||||
BattleFrontier_BattleFactoryBattleRoom_OnWarp: @ 825AE00
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleFactoryBattleRoom_EventScript_HideObjects
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE0A:: @ 825AE0A
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_HideObjects:: @ 825AE0A
|
||||
setvar VAR_TEMP_1, 1
|
||||
hideobjectat EVENT_OBJ_ID_PLAYER, MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM
|
||||
compare VAR_TEMP_F, 0
|
||||
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE24
|
||||
compare VAR_TEMP_F, FRONTIER_BRAIN_NOT_READY
|
||||
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_EndHideObjects
|
||||
hideobjectat 2, MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE24:: @ 825AE24
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_EndHideObjects:: @ 825AE24
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE25:: @ 825AE25
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_SetPlayerGfxMale:: @ 825AE25
|
||||
setvar VAR_OBJ_GFX_ID_F, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE2B:: @ 825AE2B
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_SetPlayerGfxFemale:: @ 825AE2B
|
||||
setvar VAR_OBJ_GFX_ID_F, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_MapScript2_25AE31: @ 825AE31
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE67
|
||||
BattleFrontier_BattleFactoryBattleRoom_OnFrame: @ 825AE31
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleFactoryBattleRoom_EventScript_EnterRoom
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE3B:: @ 825AE3B
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B1E2, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_EnterRoomFactoryHeadBattle:: @ 825AE3B
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_GetAMoveOn, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement 2, BattleFrontier_BattleFactoryBattleRoom_Movement_25B18B
|
||||
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
|
||||
applymovement 2, BattleFrontier_BattleFactoryBattleRoom_Movement_NolandMoveToBattle
|
||||
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerEnterRoom
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerEnterRoom
|
||||
waitmovement 0
|
||||
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B1B4
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7
|
||||
call BattleFrontier_BattleFactoryBattleRoom_EventScript_ScientistsFaceBattle
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleOpponent
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE67:: @ 825AE67
|
||||
compare VAR_TEMP_F, 0
|
||||
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25AE3B
|
||||
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_EnterRoom:: @ 825AE67
|
||||
compare VAR_TEMP_F, FRONTIER_BRAIN_NOT_READY
|
||||
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_EnterRoomFactoryHeadBattle
|
||||
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerEnterRoom
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerEnterRoom
|
||||
waitmovement 0
|
||||
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B1B4
|
||||
call BattleFrontier_BattleFactoryBattleRoom_EventScript_ScientistsFaceBattle
|
||||
factory_setopponentgfx
|
||||
removeobject 2
|
||||
setobjectxyperm 2, 7, 1
|
||||
addobject 2
|
||||
applymovement 2, BattleFrontier_BattleFactoryBattleRoom_Movement_25B184
|
||||
applymovement 2, BattleFrontier_BattleFactoryBattleRoom_Movement_OpponentEnter
|
||||
waitmovement 0
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7:: @ 825AEA7
|
||||
compare VAR_TEMP_F, 0
|
||||
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleOpponent:: @ 825AEA7
|
||||
compare VAR_TEMP_F, FRONTIER_BRAIN_NOT_READY
|
||||
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNoland
|
||||
palace_getopponentintro
|
||||
lockall
|
||||
msgbox gStringVar4, MSGBOX_DEFAULT
|
||||
@@ -88,98 +89,96 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEA7:: @ 825AEA7
|
||||
special DoSpecialTrainerBattle
|
||||
waitstate
|
||||
switch VAR_RESULT
|
||||
case 1, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF0F
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8:: @ 825AEF8
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25AEF8:: @ 825AEF8
|
||||
case 1, BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedOpponent
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyLost:: @ 825AEF8
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25B190
|
||||
@ goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B190
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobby
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF0F:: @ 825AF0F
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedOpponent:: @ 825AF0F
|
||||
factory_get FACTORY_DATA_WIN_STREAK_SWAPS
|
||||
compare VAR_RESULT, MAX_STREAK
|
||||
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E
|
||||
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_IncrementWinStreak
|
||||
addvar VAR_RESULT, 1
|
||||
setorcopyvar VAR_0x8006, VAR_RESULT
|
||||
factory_set FACTORY_DATA_WIN_STREAK_SWAPS @ uses VAR_0x8006 above
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E:: @ 825AF3E
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_IncrementWinStreak:: @ 825AF3E
|
||||
call BattleFrontier_EventScript_IncrementWinStreak
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF43:: @ 825AF43
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_IncrementBattleNum:: @ 825AF43
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
addvar VAR_RESULT, 1
|
||||
frontier_set FRONTIER_DATA_BATTLE_NUM, VAR_RESULT
|
||||
switch VAR_RESULT
|
||||
case 7, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF85
|
||||
case 7, BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyWon
|
||||
setvar VAR_0x8006, 1
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM, 255, 8, 8
|
||||
waitstate
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF85:: @ 825AF85
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyWon:: @ 825AF85
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25B190
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobby
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF9C:: @ 825AF9C
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNoland:: @ 825AF9C
|
||||
switch VAR_TEMP_F
|
||||
case FRONTIER_BRAIN_GOLD, BattleFrontier_BattleFactoryBattleRoom_EventScript_25B051
|
||||
case FRONTIER_BRAIN_STREAK, BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF
|
||||
case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E
|
||||
case FRONTIER_BRAIN_GOLD, BattleFrontier_BattleFactoryBattleRoom_EventScript_IntroNolandGold
|
||||
case FRONTIER_BRAIN_STREAK, BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNolandSilver
|
||||
case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNolandGold
|
||||
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B1FB, MSGBOX_DEFAULT
|
||||
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNolandSilver
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_NolandImFactoryHead, MSGBOX_DEFAULT
|
||||
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25AFEF:: @ 825AFEF
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B3F1, MSGBOX_DEFAULT
|
||||
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNolandSilver:: @ 825AFEF
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_ShakeOutKnowledgeBringItOn, MSGBOX_DEFAULT
|
||||
call BattleFrontier_BattleFactoryBattleRoom_EventScript_DoNolandBattle
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8
|
||||
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNolandSilver
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyLost
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B00C:: @ 825B00C
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNolandSilver:: @ 825B00C
|
||||
frontier_getsymbols
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B42D, MSGBOX_DEFAULT
|
||||
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNoland
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_NolandLetsSeeFrontierPass, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B182
|
||||
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerApproachNoland
|
||||
waitmovement 0
|
||||
playfanfare MUS_ME_SYMBOLGET
|
||||
message BattleFrontier_BattleFactoryBattleRoom_Text_25B460
|
||||
message BattleFrontier_BattleFactoryBattleRoom_Text_ReceivedKnowledgeSymbol
|
||||
waitmessage
|
||||
waitfanfare
|
||||
frontier_givesymbol
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B498, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_NextTimeNoHoldsBarred, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNoland
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B051:: @ 825B051
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_IntroNolandGold:: @ 825B051
|
||||
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B517, MSGBOX_DEFAULT
|
||||
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNolandGold
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_HarderLookThanLastTime, MSGBOX_DEFAULT
|
||||
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B07E:: @ 825B07E
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5CF, MSGBOX_DEFAULT
|
||||
call BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNolandGold:: @ 825B07E
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_AllRightBringItOn, MSGBOX_DEFAULT
|
||||
call BattleFrontier_BattleFactoryBattleRoom_EventScript_DoNolandBattle
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AEF8
|
||||
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNolandGold
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyLost
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B09B:: @ 825B09B
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNolandGold:: @ 825B09B
|
||||
frontier_getsymbols
|
||||
compare VAR_RESULT, 2
|
||||
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B5E7, MSGBOX_DEFAULT
|
||||
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNoland
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_OutOfMyLeagueLetsSeePass, MSGBOX_DEFAULT
|
||||
waitmessage
|
||||
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_25B182
|
||||
applymovement 8, BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerApproachNoland
|
||||
waitmovement 0
|
||||
playfanfare MUS_ME_SYMBOLGET
|
||||
message BattleFrontier_BattleFactoryBattleRoom_Text_25B640
|
||||
message BattleFrontier_BattleFactoryBattleRoom_Text_KnowledgeSymbolTookGoldenShine
|
||||
waitmessage
|
||||
waitfanfare
|
||||
frontier_givesymbol
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_25B66D, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105
|
||||
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_LastTimeILoseToYou, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNoland
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0:: @ 825B0E0
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_DoNolandBattle:: @ 825B0E0
|
||||
closemessage
|
||||
frontier_set FRONTIER_DATA_6, 0
|
||||
special HealPlayerParty
|
||||
@@ -189,24 +188,24 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B0E0:: @ 825B0E0
|
||||
waitstate
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B105:: @ 825B105
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNoland:: @ 825B105
|
||||
factory_get FACTORY_DATA_WIN_STREAK_SWAPS
|
||||
compare VAR_RESULT, MAX_STREAK
|
||||
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF3E
|
||||
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_IncrementWinStreak
|
||||
addvar VAR_RESULT, 1
|
||||
setorcopyvar VAR_0x8006, VAR_RESULT
|
||||
factory_set FACTORY_DATA_WIN_STREAK_SWAPS @ uses VAR_0x8006 above
|
||||
factory_get FACTORY_DATA_WIN_STREAK
|
||||
compare VAR_RESULT, MAX_STREAK
|
||||
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF43
|
||||
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_IncrementBattleNum
|
||||
addvar VAR_RESULT, 1
|
||||
factory_set FACTORY_DATA_WIN_STREAK, VAR_RESULT
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
addvar VAR_RESULT, 1
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_25AF85
|
||||
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyWon
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B: @ 825B17B
|
||||
BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerEnterRoom: @ 825B17B
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
@@ -215,11 +214,11 @@ BattleFrontier_BattleFactoryBattleRoom_Movement_25B17B: @ 825B17B
|
||||
face_right
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_Movement_25B182: @ 825B182
|
||||
BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerApproachNoland: @ 825B182
|
||||
walk_right
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_Movement_25B184: @ 825B184
|
||||
BattleFrontier_BattleFactoryBattleRoom_Movement_OpponentEnter: @ 825B184
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
@@ -228,28 +227,27 @@ BattleFrontier_BattleFactoryBattleRoom_Movement_25B184: @ 825B184
|
||||
face_left
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_Movement_25B18B: @ 825B18B
|
||||
BattleFrontier_BattleFactoryBattleRoom_Movement_NolandMoveToBattle: @ 825B18B
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
face_left
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B190:: @ 825B190
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B190:: @ 825B190
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobby:: @ 825B190
|
||||
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
|
||||
compare VAR_RESULT, FRONTIER_MODE_DOUBLES
|
||||
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B1AA
|
||||
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyDoubles
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 255, 4, 8
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25B1AA:: @ 825B1AA
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyDoubles:: @ 825B1AA
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 255, 14, 8
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_25B1B4:: @ 825B1B4
|
||||
BattleFrontier_BattleFactoryBattleRoom_EventScript_ScientistsFaceBattle:: @ 825B1B4
|
||||
applymovement 1, Common_Movement_WalkInPlaceFastestRight
|
||||
applymovement 3, Common_Movement_WalkInPlaceFastestRight
|
||||
applymovement 4, Common_Movement_WalkInPlaceFastestRight
|
||||
@@ -259,11 +257,11 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_25B1B4:: @ 825B1B4
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_25B1E2: @ 825B1E2
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_GetAMoveOn: @ 825B1E2
|
||||
.string "Hey, hey!\n"
|
||||
.string "Get a move on!$"
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_25B1FB: @ 825B1FB
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_NolandImFactoryHead: @ 825B1FB
|
||||
.string "Hey, my name's NOLAND!\n"
|
||||
.string "I'm basically in charge of this place,\l"
|
||||
.string "which is why I'm the FACTORY HEAD!\p"
|
||||
@@ -280,26 +278,26 @@ BattleFrontier_BattleFactoryBattleRoom_Text_25B1FB: @ 825B1FB
|
||||
.string "conditions as you.\p"
|
||||
.string "I'll be using rental POKéMON, too!$"
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_25B3F1: @ 825B3F1
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_ShakeOutKnowledgeBringItOn: @ 825B3F1
|
||||
.string "Shake out every last bit of your\n"
|
||||
.string "knowledge and bring it on!$"
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_25B42D: @ 825B42D
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_NolandLetsSeeFrontierPass: @ 825B42D
|
||||
.string "NOLAND: Smart going!\n"
|
||||
.string "Let's see your FRONTIER PASS.$"
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_25B460: @ 825B460
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_ReceivedKnowledgeSymbol: @ 825B460
|
||||
.string "The Knowledge Symbol was embossed\n"
|
||||
.string "on the FRONTIER PASS!$"
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_25B498: @ 825B498
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_NextTimeNoHoldsBarred: @ 825B498
|
||||
.string "Heh…\n"
|
||||
.string "You're a pretty bright spark…\p"
|
||||
.string "Next time, I'll come after you hard.\n"
|
||||
.string "No holds barred, understand?\p"
|
||||
.string "You keep up your studies!$"
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_25B517: @ 825B517
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_HarderLookThanLastTime: @ 825B517
|
||||
.string "NOLAND: Hey, hey! How's it going?\n"
|
||||
.string "You keeping up with your studies?\p"
|
||||
.string "…Oh?\p"
|
||||
@@ -308,21 +306,21 @@ BattleFrontier_BattleFactoryBattleRoom_Text_25B517: @ 825B517
|
||||
.string "Now, this should be fun!\n"
|
||||
.string "I'm getting excited, hey!$"
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_25B5CF: @ 825B5CF
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_AllRightBringItOn: @ 825B5CF
|
||||
.string "All right!\n"
|
||||
.string "Bring it on!$"
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_25B5E7: @ 825B5E7
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_OutOfMyLeagueLetsSeePass: @ 825B5E7
|
||||
.string "NOLAND: What the…\n"
|
||||
.string "You're getting out of my league!\p"
|
||||
.string "Sheesh!\n"
|
||||
.string "Let's see that FRONTIER PASS!$"
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_25B640: @ 825B640
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_KnowledgeSymbolTookGoldenShine: @ 825B640
|
||||
.string "The Knowledge Symbol took on\n"
|
||||
.string "a golden shine!$"
|
||||
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_25B66D: @ 825B66D
|
||||
BattleFrontier_BattleFactoryBattleRoom_Text_LastTimeILoseToYou: @ 825B66D
|
||||
.string "Pfft, man!\p"
|
||||
.string "That's absolutely the last time\n"
|
||||
.string "I lose to you!\p"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_2585CB",
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_SinglesAttendant",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -37,7 +37,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_258813",
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_Woman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -50,7 +50,7 @@
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_25881C",
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_Camper",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -63,7 +63,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_258825",
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_Picnicker",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -76,7 +76,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_258830",
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_FatMan",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -89,7 +89,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_2585DD",
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_DoublesAttendant",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -117,7 +117,7 @@
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_2587E1"
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_ShowSinglesResults"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -125,7 +125,7 @@
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_2587FA"
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_ShowDoublesResults"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -133,7 +133,7 @@
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_258839"
|
||||
"script": "BattleFrontier_BattleFactoryLobby_EventScript_RulesBoard"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,32 +1,32 @@
|
||||
BattleFrontier_BattleFactoryLobby_MapScripts:: @ 82583E8
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleFactoryLobby_MapScript2_258407
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleFactoryLobby_MapScript2_2583F3
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleFactoryLobby_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleFactoryLobby_OnWarp
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_MapScript2_2583F3: @ 82583F3
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleFactoryLobby_EventScript_2583FD
|
||||
BattleFrontier_BattleFactoryLobby_OnWarp: @ 82583F3
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleFactoryLobby_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2583FD:: @ 82583FD
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_TurnPlayerNorth:: @ 82583FD
|
||||
setvar VAR_TEMP_1, 1
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_MapScript2_258407: @ 8258407
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleFactoryLobby_EventScript_258431
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattleFactoryLobby_EventScript_25843A
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattleFactoryLobby_EventScript_258592
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattleFactoryLobby_EventScript_25849B
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattleFactoryLobby_EventScript_258506
|
||||
BattleFrontier_BattleFactoryLobby_OnFrame: @ 8258407
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleFactoryLobby_EventScript_GetChallengeStatus
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattleFactoryLobby_EventScript_QuitWithoutSaving
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattleFactoryLobby_EventScript_ResumeChallenge
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattleFactoryLobby_EventScript_WonChallenge
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattleFactoryLobby_EventScript_LostChallenge
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_258431:: @ 8258431
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_GetChallengeStatus:: @ 8258431
|
||||
frontier_getstatus
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_25843A:: @ 825843A
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_QuitWithoutSaving:: @ 825843A
|
||||
lockall
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_258ECA, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_DidntSaveBeforeQuitting, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
factory_setswapped
|
||||
factory_set FACTORY_DATA_WIN_STREAK_SWAPS, 0
|
||||
@@ -37,36 +37,35 @@ BattleFrontier_BattleFactoryLobby_EventScript_25843A:: @ 825843A
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_25849B:: @ 825849B
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_WonChallenge:: @ 825849B
|
||||
lockall
|
||||
frontier_isbrain
|
||||
compare VAR_RESULT, TRUE
|
||||
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2584BD
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_258D93, MSGBOX_DEFAULT
|
||||
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_DefeatedFactoryHead
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_CongratsSevenWins, MSGBOX_DEFAULT
|
||||
waitmessage
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_2584C6
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_GiveBattlePoints
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2584BD:: @ 82584BD
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_25926A, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_DefeatedFactoryHead:: @ 82584BD
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_CongratsForDefeatingHead, MSGBOX_DEFAULT
|
||||
waitmessage
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2584C6:: @ 82584C6
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_2592BD, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_GiveBattlePoints:: @ 82584C6
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_AwardBattlePoints, MSGBOX_DEFAULT
|
||||
frontier_givepoints
|
||||
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
|
||||
message BattleFrontier_BattleFactoryLobby_Text_259323
|
||||
message BattleFrontier_BattleFactoryLobby_Text_ExchangeMonsAndSave
|
||||
waitmessage
|
||||
frontier_checkairshow
|
||||
special LoadPlayerParty
|
||||
factory_save 0
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_25853B
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_AskRecordBattle
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_258506:: @ 8258506
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_LostChallenge:: @ 8258506
|
||||
lockall
|
||||
message BattleFrontier_BattleFactoryLobby_Text_258CC7
|
||||
message BattleFrontier_BattleFactoryLobby_Text_ReturnMonsSaveResults
|
||||
waitmessage
|
||||
frontier_checkairshow
|
||||
special LoadPlayerParty
|
||||
@@ -75,30 +74,30 @@ BattleFrontier_BattleFactoryLobby_EventScript_258506:: @ 8258506
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_25853B:: @ 825853B
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_AskRecordBattle:: @ 825853B
|
||||
call BattleFrontier_BattleFactoryLobby_EventScript_23E8E0
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_258582
|
||||
message BattleFrontier_BattleFactoryLobby_Text_259388
|
||||
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle
|
||||
message BattleFrontier_BattleFactoryLobby_Text_RecordLastMatch
|
||||
waitmessage
|
||||
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
|
||||
switch VAR_RESULT
|
||||
case 1, BattleFrontier_BattleFactoryLobby_EventScript_258582
|
||||
case 0, BattleFrontier_BattleFactoryLobby_EventScript_25857D
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_258582
|
||||
case 1, BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle
|
||||
case 0, BattleFrontier_BattleFactoryLobby_EventScript_RecordBattle
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_25857D:: @ 825857D
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_RecordBattle:: @ 825857D
|
||||
call BattleFrontier_EventScript_SaveBattle
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_258582:: @ 8258582
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_258BC5, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle:: @ 8258582
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_LookForwardToNextVisit, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_258592:: @ 8258592
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_ResumeChallenge:: @ 8258592
|
||||
lockall
|
||||
message BattleFrontier_BattleFactoryLobby_Text_258E77
|
||||
message BattleFrontier_BattleFactoryLobby_Text_WaitingForYouToResume
|
||||
waitmessage
|
||||
factory_save CHALLENGE_STATUS_SAVING
|
||||
playse SE_SAVE
|
||||
@@ -106,57 +105,56 @@ BattleFrontier_BattleFactoryLobby_EventScript_258592:: @ 8258592
|
||||
frontier_set FRONTIER_DATA_PAUSED, FALSE
|
||||
setvar VAR_TEMP_0, 255
|
||||
setvar VAR_0x8006, 2
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_25871A
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_EnterChallenge
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2585CB:: @ 82585CB
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_SinglesAttendant:: @ 82585CB
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_FACTORY
|
||||
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_2585ED
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_Attendant
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2585DD:: @ 82585DD
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_DoublesAttendant:: @ 82585DD
|
||||
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_FACTORY
|
||||
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_2585ED
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_Attendant
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2585ED:: @ 82585ED
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_Attendant:: @ 82585ED
|
||||
special SavePlayerParty
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587B1
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForSingleBattle
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587BA
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_258606:: @ 8258606
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForDoubleBattle
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_AskTakeChallenge:: @ 8258606
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587C3
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_TakeSinglesChallenge
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587C9
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_TakeDoublesChallenge
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_CHALLENGEINFO, 0
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleFactoryLobby_EventScript_258653
|
||||
case 1, BattleFrontier_BattleFactoryLobby_EventScript_258768
|
||||
case 2, BattleFrontier_BattleFactoryLobby_EventScript_25879D
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_25879D
|
||||
case 0, BattleFrontier_BattleFactoryLobby_EventScript_TryEnterChallenge
|
||||
case 1, BattleFrontier_BattleFactoryLobby_EventScript_ExplainChallenge
|
||||
case 2, BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_258653:: @ 8258653
|
||||
message BattleFrontier_BattleFactoryLobby_Text_258BE9
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_TryEnterChallenge:: @ 8258653
|
||||
message BattleFrontier_BattleFactoryLobby_Text_WhichLevelMode
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_LEVEL_MODE, 0
|
||||
switch VAR_RESULT
|
||||
case FRONTIER_LVL_TENT, BattleFrontier_BattleFactoryLobby_EventScript_25879D
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_25879D
|
||||
case FRONTIER_LVL_TENT, BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_258C27, MSGBOX_YESNO
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_OkayToSaveBeforeChallenge, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, BattleFrontier_BattleFactoryLobby_EventScript_25879A
|
||||
case YES, BattleFrontier_BattleFactoryLobby_EventScript_2586B9
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_25879A
|
||||
case NO, BattleFrontier_BattleFactoryLobby_EventScript_LoadPartyAndCancelChallenge
|
||||
case YES, BattleFrontier_BattleFactoryLobby_EventScript_SaveBeforeChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_LoadPartyAndCancelChallenge
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2586B9:: @ 82586B9
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_SaveBeforeChallenge:: @ 82586B9
|
||||
setvar VAR_TEMP_0, 0
|
||||
factory_init
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_SAVING
|
||||
@@ -167,90 +165,89 @@ BattleFrontier_BattleFactoryLobby_EventScript_2586B9:: @ 82586B9
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_258783
|
||||
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_CancelChallengeSaveFailed
|
||||
setvar VAR_0x8006, 0
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_25871A:: @ 825871A
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_EnterChallenge:: @ 825871A
|
||||
special SavePlayerParty
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_258CB1, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_StepThisWay, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_25875C
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_TalkedToSinglesAttendant
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_258762
|
||||
applymovement VAR_LAST_TALKED, BattleFrontier_BattleFactoryLobby_Movement_2587A7
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryLobby_Movement_2587AC
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_TalkedToDoublesAttendant
|
||||
applymovement VAR_LAST_TALKED, BattleFrontier_BattleFactoryLobby_Movement_AttendantEnterDoor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryLobby_Movement_PlayerEnterDoor
|
||||
waitmovement 0
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM, 255, 8, 13
|
||||
setvar VAR_TEMP_0, 0
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_25875C:: @ 825875C
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_TalkedToSinglesAttendant:: @ 825875C
|
||||
setvar VAR_LAST_TALKED, 1
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_258762:: @ 8258762
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_TalkedToDoublesAttendant:: @ 8258762
|
||||
setvar VAR_LAST_TALKED, 6
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_258768:: @ 8258768
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_ExplainChallenge:: @ 8258768
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587CF
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_ExplainSinglesChallenge
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_2587D8
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_258606
|
||||
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_ExplainDoublesChallenge
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_AskTakeChallenge
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_258783:: @ 8258783
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_CancelChallengeSaveFailed:: @ 8258783
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_25879D
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_25879A:: @ 825879A
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_LoadPartyAndCancelChallenge:: @ 825879A
|
||||
special LoadPlayerParty
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_25879D:: @ 825879D
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_258BC5, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge:: @ 825879D
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_LookForwardToNextVisit, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Movement_2587A7: @ 82587A7
|
||||
BattleFrontier_BattleFactoryLobby_Movement_AttendantEnterDoor: @ 82587A7
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Movement_2587AC: @ 82587AC
|
||||
BattleFrontier_BattleFactoryLobby_Movement_PlayerEnterDoor: @ 82587AC
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2587B1:: @ 82587B1
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_2588EE, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForSingleBattle:: @ 82587B1
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_WelcomeForSingleBattle, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2587BA:: @ 82587BA
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_258F93, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForDoubleBattle:: @ 82587BA
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_WelcomeForDoubleBattle, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2587C3:: @ 82587C3
|
||||
message BattleFrontier_BattleFactoryLobby_Text_25897A
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_TakeSinglesChallenge:: @ 82587C3
|
||||
message BattleFrontier_BattleFactoryLobby_Text_TakeSinglesChallenge
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2587C9:: @ 82587C9
|
||||
message BattleFrontier_BattleFactoryLobby_Text_25901F
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_TakeDoublesChallenge:: @ 82587C9
|
||||
message BattleFrontier_BattleFactoryLobby_Text_TakeDoublesChallenge
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2587CF:: @ 82587CF
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_2589B3, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_ExplainSinglesChallenge:: @ 82587CF
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSinglesChallenge, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2587D8:: @ 82587D8
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_259058, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_ExplainDoublesChallenge:: @ 82587D8
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainDoublesChallenge, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2587E1:: @ 82587E1
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_ShowSinglesResults:: @ 82587E1
|
||||
lockall
|
||||
frontier_results FRONTIER_FACILITY_FACTORY, FRONTIER_MODE_SINGLES
|
||||
waitbuttonpress
|
||||
@@ -258,7 +255,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_2587E1:: @ 82587E1
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2587FA:: @ 82587FA
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_ShowDoublesResults:: @ 82587FA
|
||||
lockall
|
||||
frontier_results FRONTIER_FACILITY_FACTORY, FRONTIER_MODE_DOUBLES
|
||||
waitbuttonpress
|
||||
@@ -266,85 +263,85 @@ BattleFrontier_BattleFactoryLobby_EventScript_2587FA:: @ 82587FA
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_258813:: @ 8258813
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_2593D7, MSGBOX_NPC
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_Woman:: @ 8258813
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_NeedKnowledgeOfMonsMoves, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_25881C:: @ 825881C
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_2594E5, MSGBOX_NPC
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_Camper:: @ 825881C
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_SwappedForWeakMon, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_258825:: @ 8258825
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_Picnicker:: @ 8258825
|
||||
lock
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_259547, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_NeedToCheckOpponentsMons, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_258830:: @ 8258830
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_2595C4, MSGBOX_NPC
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_FatMan:: @ 8258830
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_CantFigureOutStaffHints, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_258839:: @ 8258839
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_RulesBoard:: @ 8258839
|
||||
lockall
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_259721, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_258848
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_RulesAreListed, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_258848:: @ 8258848
|
||||
message BattleFrontier_BattleFactoryLobby_Text_259743
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard:: @ 8258848
|
||||
message BattleFrontier_BattleFactoryLobby_Text_ReadWhichHeading
|
||||
waitmessage
|
||||
multichoice 17, 0, MULTI_BATTLE_FACTORY_RULES, 0
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleFactoryLobby_EventScript_2588A6
|
||||
case 1, BattleFrontier_BattleFactoryLobby_EventScript_2588B4
|
||||
case 2, BattleFrontier_BattleFactoryLobby_EventScript_2588C2
|
||||
case 3, BattleFrontier_BattleFactoryLobby_EventScript_2588D0
|
||||
case 4, BattleFrontier_BattleFactoryLobby_EventScript_2588DE
|
||||
case 5, BattleFrontier_BattleFactoryLobby_EventScript_2588EC
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_2588EC
|
||||
case 0, BattleFrontier_BattleFactoryLobby_EventScript_RulesBasics
|
||||
case 1, BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapPartner
|
||||
case 2, BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapNumber
|
||||
case 3, BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapNotes
|
||||
case 4, BattleFrontier_BattleFactoryLobby_EventScript_RulesOpenLv
|
||||
case 5, BattleFrontier_BattleFactoryLobby_EventScript_ExitRules
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_ExitRules
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2588A6:: @ 82588A6
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_259766, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_258848
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_RulesBasics:: @ 82588A6
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainBasicRules, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2588B4:: @ 82588B4
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_2597FB, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_258848
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapPartner:: @ 82588B4
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSwapPartnerRules, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2588C2:: @ 82588C2
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_25987E, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_258848
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapNumber:: @ 82588C2
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNumberRules, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2588D0:: @ 82588D0
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_259920, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_258848
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapNotes:: @ 82588D0
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNotesRules, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2588DE:: @ 82588DE
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_259A5E, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_258848
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_RulesOpenLv:: @ 82588DE
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainOpenLvRules, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_2588EC:: @ 82588EC
|
||||
BattleFrontier_BattleFactoryLobby_EventScript_ExitRules:: @ 82588EC
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_2588EE: @ 82588EE
|
||||
BattleFrontier_BattleFactoryLobby_Text_WelcomeForSingleBattle: @ 82588EE
|
||||
.string "Where the intelligence of TRAINERS\n"
|
||||
.string "is put to the test!\p"
|
||||
.string "Welcome to the BATTLE FACTORY!\p"
|
||||
.string "I am your guide to the Battle Swap\n"
|
||||
.string "Single Tournament.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_25897A: @ 825897A
|
||||
BattleFrontier_BattleFactoryLobby_Text_TakeSinglesChallenge: @ 825897A
|
||||
.string "Would you like to take the Battle\n"
|
||||
.string "Swap Single challenge?$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_2589B3: @ 82589B3
|
||||
BattleFrontier_BattleFactoryLobby_Text_ExplainSinglesChallenge: @ 82589B3
|
||||
.string "The Battle Swap Single Tournament\n"
|
||||
.string "is a SINGLE BATTLE competition using\l"
|
||||
.string "only rental POKéMON.\p"
|
||||
@@ -362,79 +359,85 @@ BattleFrontier_BattleFactoryLobby_Text_2589B3: @ 82589B3
|
||||
.string "If you don't save, you will be\n"
|
||||
.string "disqualified from your challenge.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_258BC5: @ 8258BC5
|
||||
BattleFrontier_BattleFactoryLobby_Text_LookForwardToNextVisit: @ 8258BC5
|
||||
.string "We look forward to your next visit.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_258BE9: @ 8258BE9
|
||||
BattleFrontier_BattleFactoryLobby_Text_WhichLevelMode: @ 8258BE9
|
||||
.string "Which level do you wish to challenge?\n"
|
||||
.string "Level 50 or Open Level?$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_258C27: @ 8258C27
|
||||
BattleFrontier_BattleFactoryLobby_Text_OkayToSaveBeforeChallenge: @ 8258C27
|
||||
.string "Before you begin your challenge,\n"
|
||||
.string "I need to save the game. Is that okay?$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_258C6F: @ 8258C6F
|
||||
@ Unused
|
||||
BattleFrontier_BattleFactoryLobby_Text_WillHoldMonsForSafekeeping: @ 8258C6F
|
||||
.string "Okay, I will hold your POKéMON for\n"
|
||||
.string "safekeeping while you compete.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_258CB1: @ 8258CB1
|
||||
BattleFrontier_BattleFactoryLobby_Text_StepThisWay: @ 8258CB1
|
||||
.string "Please step this way.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_258CC7: @ 8258CC7
|
||||
BattleFrontier_BattleFactoryLobby_Text_ReturnMonsSaveResults: @ 8258CC7
|
||||
.string "Thank you for participating!\p"
|
||||
.string "I will return your POKéMON in exchange\n"
|
||||
.string "for our rental POKéMON.\p"
|
||||
.string "I must also save the event results.\n"
|
||||
.string "Please wait.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_258D54: @ 8258D54
|
||||
@ Unused
|
||||
BattleFrontier_BattleFactoryLobby_Text_ReturnMons: @ 8258D54
|
||||
.string "I will return your POKéMON in exchange\n"
|
||||
.string "for our rental POKéMON.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_258D93: @ 8258D93
|
||||
BattleFrontier_BattleFactoryLobby_Text_CongratsSevenWins: @ 8258D93
|
||||
.string "Congratulations! You've won seven\n"
|
||||
.string "straight Battle Swap matches!$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_258DD3: @ 8258DD3
|
||||
@ Unused
|
||||
BattleFrontier_BattleFactoryLobby_Text_AwardBattlePointsForStreak: @ 8258DD3
|
||||
.string "In recognition of your 7-win streak,\n"
|
||||
.string "we award you these Battle Point(s).$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_258E1C: @ 8258E1C
|
||||
@ Unused
|
||||
BattleFrontier_BattleFactoryLobby_Text_MaxBattlePoints: @ 8258E1C
|
||||
.string "Oh, oh, oh!\p"
|
||||
.string "Your Battle Points are maxed.\p"
|
||||
.string "Please come back after using\n"
|
||||
.string "some Battle Points.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_258E77: @ 8258E77
|
||||
BattleFrontier_BattleFactoryLobby_Text_WaitingForYouToResume: @ 8258E77
|
||||
.string "We've been waiting for you!\p"
|
||||
.string "Before we resume your challenge,\n"
|
||||
.string "I must save the game.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_258ECA: @ 8258ECA
|
||||
BattleFrontier_BattleFactoryLobby_Text_DidntSaveBeforeQuitting: @ 8258ECA
|
||||
.string "I'm sorry to say this, but you didn't\n"
|
||||
.string "save before you quit playing last time.\p"
|
||||
.string "As a result, you have been disqualified\n"
|
||||
.string "from your challenge.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_258F55: @ 8258F55
|
||||
@ Unused
|
||||
BattleFrontier_BattleFactoryLobby_Text_WellReturnMons: @ 8258F55
|
||||
.string "We'll return your personal POKéMON.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_258F79: @ 8258F79
|
||||
@ Unused
|
||||
BattleFrontier_BattleFactoryLobby_Text_ReceivedPrizeItem: @ 8258F79
|
||||
.string "{PLAYER} received the prize\n"
|
||||
.string "{STR_VAR_1}.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_258F93: @ 8258F93
|
||||
BattleFrontier_BattleFactoryLobby_Text_WelcomeForDoubleBattle: @ 8258F93
|
||||
.string "Where the intelligence of TRAINERS\n"
|
||||
.string "is put to the test!\p"
|
||||
.string "Welcome to the BATTLE FACTORY!\p"
|
||||
.string "I am your guide to the Battle Swap\n"
|
||||
.string "Double Tournament.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_25901F: @ 825901F
|
||||
BattleFrontier_BattleFactoryLobby_Text_TakeDoublesChallenge: @ 825901F
|
||||
.string "Would you like to take the Battle\n"
|
||||
.string "Swap Double challenge?$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_259058: @ 8259058
|
||||
BattleFrontier_BattleFactoryLobby_Text_ExplainDoublesChallenge: @ 8259058
|
||||
.string "The Battle Swap Double Tournament\n"
|
||||
.string "is a DOUBLE BATTLE competition using\l"
|
||||
.string "only rental POKéMON.\p"
|
||||
@@ -452,28 +455,28 @@ BattleFrontier_BattleFactoryLobby_Text_259058: @ 8259058
|
||||
.string "If you don't save before interrupting,\n"
|
||||
.string "you will be disqualified.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_25926A: @ 825926A
|
||||
BattleFrontier_BattleFactoryLobby_Text_CongratsForDefeatingHead: @ 825926A
|
||||
.string "Congratulations for defeating\n"
|
||||
.string "the FACTORY HEAD and winning\l"
|
||||
.string "seven matches in a row!$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_2592BD: @ 82592BD
|
||||
BattleFrontier_BattleFactoryLobby_Text_AwardBattlePoints: @ 82592BD
|
||||
.string "In recognition of your wealth of\n"
|
||||
.string "knowledge and keen intelligence,\l"
|
||||
.string "we award you these Battle Point(s).$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_259323: @ 8259323
|
||||
BattleFrontier_BattleFactoryLobby_Text_ExchangeMonsAndSave: @ 8259323
|
||||
.string "Let me exchange your POKéMON\n"
|
||||
.string "for our rental POKéMON.\p"
|
||||
.string "I need to save the battle data,\n"
|
||||
.string "so please wait.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_259388: @ 8259388
|
||||
BattleFrontier_BattleFactoryLobby_Text_RecordLastMatch: @ 8259388
|
||||
.string "Would you like to record your last\n"
|
||||
.string "BATTLE FACTORY match on your\l"
|
||||
.string "FRONTIER PASS?$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_2593D7: @ 82593D7
|
||||
BattleFrontier_BattleFactoryLobby_Text_NeedKnowledgeOfMonsMoves: @ 82593D7
|
||||
.string "Hi!\n"
|
||||
.string "You, there!\p"
|
||||
.string "Are you thinking that the events here\n"
|
||||
@@ -485,25 +488,26 @@ BattleFrontier_BattleFactoryLobby_Text_2593D7: @ 82593D7
|
||||
.string "about POKéMON and their moves,\l"
|
||||
.string "it will be tough to keep winning.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_2594E5: @ 82594E5
|
||||
BattleFrontier_BattleFactoryLobby_Text_SwappedForWeakMon: @ 82594E5
|
||||
.string "I swapped for a weak POKéMON…\n"
|
||||
.string "I thought it was a good kind to have…\p"
|
||||
.string "They wiped the floor with us…$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_259547: @ 8259547
|
||||
BattleFrontier_BattleFactoryLobby_Text_NeedToCheckOpponentsMons: @ 8259547
|
||||
.string "Things haven't been going my way\n"
|
||||
.string "at all.\p"
|
||||
.string "You need to check your opponent's\n"
|
||||
.string "POKéMON during battle to see if\l"
|
||||
.string "they're any good.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_2595C4: @ 82595C4
|
||||
BattleFrontier_BattleFactoryLobby_Text_CantFigureOutStaffHints: @ 82595C4
|
||||
.string "You know how the staff here give you\n"
|
||||
.string "a few hints about your next opponent?\p"
|
||||
.string "Well, I'm a full-grown man, but I have\n"
|
||||
.string "trouble figuring out their hints.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_259658: @ 8259658
|
||||
@ Unused
|
||||
BattleFrontier_BattleFactoryLobby_Text_RentalMonsAreVaried: @ 8259658
|
||||
.string "Like, I'm really tough, but I get bored\n"
|
||||
.string "really easily, so I just kept swapping\l"
|
||||
.string "and battling over and over.\p"
|
||||
@@ -511,35 +515,33 @@ BattleFrontier_BattleFactoryLobby_Text_259658: @ 8259658
|
||||
.string "Battle Swap events, I noticed they\l"
|
||||
.string "varied the rental POKéMON.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_259721: @ 8259721
|
||||
SlateportCity_BattleTentLobby_Text_259721: @ 8259721
|
||||
BattleFrontier_BattleFactoryLobby_Text_RulesAreListed: @ 8259721
|
||||
.string "The Battle Swap rules are listed.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_259743: @ 8259743
|
||||
SlateportCity_BattleTentLobby_Text_259743: @ 8259743
|
||||
BattleFrontier_BattleFactoryLobby_Text_ReadWhichHeading: @ 8259743
|
||||
.string "Which heading do you want to read?$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_259766: @ 8259766
|
||||
BattleFrontier_BattleFactoryLobby_Text_ExplainBasicRules: @ 8259766
|
||||
.string "In a Battle Swap event, you may use\n"
|
||||
.string "only three POKéMON.\p"
|
||||
.string "Whether you are renting or swapping,\n"
|
||||
.string "your team may not have two or more\l"
|
||||
.string "of the same POKéMON.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_2597FB: @ 82597FB
|
||||
BattleFrontier_BattleFactoryLobby_Text_ExplainSwapPartnerRules: @ 82597FB
|
||||
.string "You may swap POKéMON only with\n"
|
||||
.string "the TRAINER you have just defeated.\p"
|
||||
.string "You may swap for only those POKéMON\n"
|
||||
.string "used by the beaten TRAINER.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_25987E: @ 825987E
|
||||
BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNumberRules: @ 825987E
|
||||
.string "After every battle you win, you may\n"
|
||||
.string "swap for one of your defeated\l"
|
||||
.string "opponent's POKéMON.\p"
|
||||
.string "You will not be able to swap POKéMON\n"
|
||||
.string "with the seventh TRAINER in the event.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_259920: @ 8259920
|
||||
BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNotesRules: @ 8259920
|
||||
.string "There are two key points to be aware\n"
|
||||
.string "of when swapping POKéMON.\p"
|
||||
.string "First, when swapping, you can't check\n"
|
||||
@@ -551,7 +553,7 @@ BattleFrontier_BattleFactoryLobby_Text_259920: @ 8259920
|
||||
.string "This sequence remains unchanged\n"
|
||||
.string "even when swaps are made.$"
|
||||
|
||||
BattleFrontier_BattleFactoryLobby_Text_259A5E: @ 8259A5E
|
||||
BattleFrontier_BattleFactoryLobby_Text_ExplainOpenLvRules: @ 8259A5E
|
||||
.string "In the Open Level, the rental POKéMON\n"
|
||||
.string "and the opposing TRAINERS' POKéMON\l"
|
||||
.string "are all Level 100.$"
|
||||
@@ -1,436 +1,434 @@
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_MapScripts:: @ 8259ABA
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AEF
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AC5
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleFactoryPreBattleRoom_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleFactoryPreBattleRoom_OnWarp
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AC5: @ 8259AC5
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259ACF
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_OnWarp: @ 8259AC5
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SetUpObjects
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259ACF:: @ 8259ACF
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SetUpObjects:: @ 8259ACF
|
||||
setvar VAR_TEMP_1, 1
|
||||
compare VAR_0x8006, 1
|
||||
goto_if_ne BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AEA
|
||||
goto_if_ne BattleFrontier_BattleFactoryPreBattleRoom_EventScript_TurnPlayerNorth
|
||||
setobjectxy 1, 8, 7
|
||||
turnobject 1, DIR_SOUTH
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AEA:: @ 8259AEA
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_TurnPlayerNorth:: @ 8259AEA
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AEF: @ 8259AEF
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AF9
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_OnFrame: @ 8259AEF
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterRoom
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AF9:: @ 8259AF9
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterRoom:: @ 8259AF9
|
||||
compare VAR_0x8006, 1
|
||||
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5
|
||||
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReturnToRoomFromBattle
|
||||
setvar VAR_TEMP_0, 1
|
||||
applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1AC
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A19A
|
||||
applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantEnterRoom
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerEnterRoom
|
||||
waitmovement 0
|
||||
compare VAR_0x8006, 2
|
||||
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E69
|
||||
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ResumeChallenge
|
||||
factory_generaterentalmons
|
||||
factory_generateopponentmons
|
||||
factory_getopponentmontype
|
||||
setorcopyvar VAR_0x8005, VAR_RESULT
|
||||
factory_getopponentstyle
|
||||
setorcopyvar VAR_0x8006, VAR_RESULT
|
||||
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E93
|
||||
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A004
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A1C8, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentType
|
||||
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentStyle
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_HoldMonsChooseFromSelection, MSGBOX_DEFAULT
|
||||
fadescreen FADE_TO_BLACK
|
||||
factory_setswapped
|
||||
factory_rentmons
|
||||
waitstate
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74:: @ 8259B74
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB96, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom:: @ 8259B74
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_RightThisWay, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
call BattleFrontier_EventScript_GetLvlMode
|
||||
compare VAR_RESULT, FRONTIER_LVL_50
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A17C
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLv50
|
||||
compare VAR_RESULT, FRONTIER_LVL_OPEN
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A18B
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLvOpen
|
||||
waitmovement 0
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM, 255, 6, 11
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5:: @ 8259BA5
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReturnToRoomFromBattle:: @ 8259BA5
|
||||
factory_setopponentmons
|
||||
factory_resethelditems
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A22D, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_LetUsRestoreMons, MSGBOX_DEFAULT
|
||||
playfanfare MUS_ME_ASA
|
||||
waitfanfare
|
||||
special HealPlayerParty
|
||||
frontier_getbrainstatus
|
||||
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
|
||||
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26
|
||||
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForRegularOpponent
|
||||
playse SE_TOREEYE
|
||||
waitse
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC15, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_WaitFewMoments, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1BF
|
||||
applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantMoveToReceiveCall
|
||||
waitmovement 0
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC58, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_UnderstoodSirWillDo, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1C3
|
||||
applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantReturnToPlayer
|
||||
waitmovement 0
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC89, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_MessageFromHeadComeRightNow, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
delay 16
|
||||
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9
|
||||
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13:: @ 8259C13
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent:: @ 8259C13
|
||||
frontier_getbrainstatus
|
||||
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
|
||||
goto_if_ne BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26:: @ 8259C26
|
||||
goto_if_ne BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForRegularOpponent:: @ 8259C26
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
compare VAR_RESULT, 1
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E1D
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor2ndOpponent
|
||||
compare VAR_RESULT, 2
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E24
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor3rdOpponent
|
||||
compare VAR_RESULT, 3
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E2B
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor4thOpponent
|
||||
compare VAR_RESULT, 4
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E32
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor5thOpponent
|
||||
compare VAR_RESULT, 5
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E39
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor6thOpponent
|
||||
compare VAR_RESULT, 6
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E40
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor7thOpponent
|
||||
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CC6
|
||||
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponentNoRecord
|
||||
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D98
|
||||
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CFC
|
||||
case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D38
|
||||
case 3, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D66
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
|
||||
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapMon
|
||||
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRecordBattle
|
||||
case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskPauseChallenge
|
||||
case 3, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CC6:: @ 8259CC6
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponentNoRecord:: @ 8259CC6
|
||||
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D98
|
||||
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D38
|
||||
case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D66
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
|
||||
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapMon
|
||||
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskPauseChallenge
|
||||
case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CFC:: @ 8259CFC
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_25ABD2
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRecordBattle:: @ 8259CFC
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_RecordLatestBattle
|
||||
waitmessage
|
||||
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
|
||||
switch VAR_RESULT
|
||||
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
|
||||
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D2E
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
|
||||
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
||||
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_RecordBattle
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D2E:: @ 8259D2E
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_RecordBattle:: @ 8259D2E
|
||||
call BattleFrontier_EventScript_SaveBattle
|
||||
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
|
||||
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D38:: @ 8259D38
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A350, MSGBOX_YESNO
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskPauseChallenge:: @ 8259D38
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_SaveAndQuitGame, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
|
||||
case YES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E47
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
|
||||
case NO, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
||||
case YES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_PauseChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D66:: @ 8259D66
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_25A37A
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge:: @ 8259D66
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_RetireFromChallenge
|
||||
waitmessage
|
||||
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
|
||||
switch VAR_RESULT
|
||||
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
|
||||
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25AEF8
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
|
||||
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
||||
case 0, BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyLost
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D98:: @ 8259D98
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapMon:: @ 8259D98
|
||||
factory_generateopponentmons
|
||||
factory_getopponentmontype
|
||||
setorcopyvar VAR_0x8005, VAR_RESULT
|
||||
factory_getopponentstyle
|
||||
setorcopyvar VAR_0x8006, VAR_RESULT
|
||||
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E93
|
||||
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A004
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB2E, MSGBOX_YESNO
|
||||
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentType
|
||||
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentStyle
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_LikeToSwapMon, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
|
||||
case YES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259DF2
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
|
||||
case NO, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
|
||||
case YES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SwapMons
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259DF2:: @ 8259DF2
|
||||
fadescreen 1
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SwapMons:: @ 8259DF2
|
||||
fadescreen FADE_TO_BLACK
|
||||
factory_swapmons
|
||||
waitstate
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
|
||||
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
|
||||
factory_setswapped
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB6C, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_YourSwapIsComplete, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E1D:: @ 8259E1D
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_25A263
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor2ndOpponent:: @ 8259E1D
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor2ndOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E24:: @ 8259E24
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_25A289
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor3rdOpponent:: @ 8259E24
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor3rdOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E2B:: @ 8259E2B
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_25A2AF
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor4thOpponent:: @ 8259E2B
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor4thOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E32:: @ 8259E32
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_25A2D5
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor5thOpponent:: @ 8259E32
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor5thOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E39:: @ 8259E39
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_25A2FB
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor6thOpponent:: @ 8259E39
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor6thOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E40:: @ 8259E40
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_25A321
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor7thOpponent:: @ 8259E40
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor7thOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E47:: @ 8259E47
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_25ABAE
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_PauseChallenge:: @ 8259E47
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_SavingDataPleaseWait
|
||||
waitmessage
|
||||
factory_save CHALLENGE_STATUS_PAUSED
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
frontier_reset
|
||||
end
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E69:: @ 8259E69
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ResumeChallenge:: @ 8259E69
|
||||
special SavePlayerParty
|
||||
factory_setparties 0
|
||||
frontier_set FRONTIER_DATA_6, 1
|
||||
special CalculatePlayerPartyCount
|
||||
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
|
||||
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E93:: @ 8259E93
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A3B4, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentType:: @ 8259E93
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_InvestigatedUpcomingOpponent, MSGBOX_DEFAULT
|
||||
compare VAR_0x8005, TYPE_NORMAL
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F62
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesNormal
|
||||
compare VAR_0x8005, TYPE_FIGHTING
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F6B
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFighting
|
||||
compare VAR_0x8005, TYPE_FLYING
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F74
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFlying
|
||||
compare VAR_0x8005, TYPE_POISON
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F7D
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPoison
|
||||
compare VAR_0x8005, TYPE_GROUND
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F86
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGround
|
||||
compare VAR_0x8005, TYPE_ROCK
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F8F
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesRock
|
||||
compare VAR_0x8005, TYPE_BUG
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F98
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesBug
|
||||
compare VAR_0x8005, TYPE_GHOST
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FA1
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGhost
|
||||
compare VAR_0x8005, TYPE_STEEL
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FAA
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesSteel
|
||||
compare VAR_0x8005, TYPE_FIRE
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FB3
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFire
|
||||
compare VAR_0x8005, TYPE_WATER
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FBC
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesWater
|
||||
compare VAR_0x8005, TYPE_GRASS
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FC5
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGrass
|
||||
compare VAR_0x8005, TYPE_ELECTRIC
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FCE
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesElectric
|
||||
compare VAR_0x8005, TYPE_PSYCHIC
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FD7
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPsychic
|
||||
compare VAR_0x8005, TYPE_ICE
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE0
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesIce
|
||||
compare VAR_0x8005, TYPE_DRAGON
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE9
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDragon
|
||||
compare VAR_0x8005, TYPE_DARK
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FF2
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDark
|
||||
compare VAR_0x8005, NUMBER_OF_MON_TYPES
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FFB
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentHasNoMostCommonType
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F62:: @ 8259F62
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A3F8, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesNormal:: @ 8259F62
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInNormalType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F6B:: @ 8259F6B
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A597, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFighting:: @ 8259F6B
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFightingType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F74:: @ 8259F74
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A66B, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFlying:: @ 8259F74
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFlyingType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F7D:: @ 8259F7D
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A5DF, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPoison:: @ 8259F7D
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInPoisonType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F86:: @ 8259F86
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A625, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGround:: @ 8259F86
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGroundType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F8F:: @ 8259F8F
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A73B, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesRock:: @ 8259F8F
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInRockType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F98:: @ 8259F98
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A6F8, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesBug:: @ 8259F98
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInBugType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FA1:: @ 8259FA1
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A77F, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGhost:: @ 8259FA1
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGhostType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FAA:: @ 8259FAA
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A84E, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesSteel:: @ 8259FAA
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInSteelType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FB3:: @ 8259FB3
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A43E, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFire:: @ 8259FB3
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFireType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FBC:: @ 8259FBC
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A482, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesWater:: @ 8259FBC
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInWaterType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FC5:: @ 8259FC5
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A50F, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGrass:: @ 8259FC5
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGrassType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FCE:: @ 8259FCE
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A4C7, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesElectric:: @ 8259FCE
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInElectricType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FD7:: @ 8259FD7
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A6B1, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPsychic:: @ 8259FD7
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInPsychicType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE0:: @ 8259FE0
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A554, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesIce:: @ 8259FE0
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInIceType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE9:: @ 8259FE9
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A7C4, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDragon:: @ 8259FE9
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDragonType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FF2:: @ 8259FF2
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A80A, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDark:: @ 8259FF2
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDarkType, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FFB:: @ 8259FFB
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A893, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentHasNoMostCommonType:: @ 8259FFB
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerHasNoClearFavorite, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A004:: @ 825A004
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentStyle:: @ 825A004
|
||||
compare VAR_0x8006, FACTORY_STYLE_NONE
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A068
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleUnrestrained
|
||||
compare VAR_0x8006, FACTORY_STYLE_PREPARATION
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A071
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleTotalPreparation
|
||||
compare VAR_0x8006, FACTORY_STYLE_SLOW_STEADY
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A07A
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleSlowAndSteady
|
||||
compare VAR_0x8006, FACTORY_STYLE_ENDURANCE
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A083
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleEndurance
|
||||
compare VAR_0x8006, FACTORY_STYLE_HIGH_RISK
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A08C
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleHighRisk
|
||||
compare VAR_0x8006, FACTORY_STYLE_WEAKENING
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A095
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleWeakenFoe
|
||||
compare VAR_0x8006, FACTORY_STYLE_UNPREDICTABLE
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A09E
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleImpossibleToPredict
|
||||
compare VAR_0x8006, FACTORY_STYLE_WEATHER
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0A7
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleDependsOnFlow
|
||||
compare VAR_0x8006, FACTORY_NUM_STYLES
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B0
|
||||
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleFlexible
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A068:: @ 825A068
|
||||
msgbox Text_StyleUnrestrained, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleUnrestrained:: @ 825A068
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleUnrestrained, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A071:: @ 825A071
|
||||
msgbox Text_StyleTotalPreparation, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleTotalPreparation:: @ 825A071
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleTotalPreparation, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A07A:: @ 825A07A
|
||||
msgbox Text_StyleSlowAndSteady, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleSlowAndSteady:: @ 825A07A
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleSlowAndSteady, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A083:: @ 825A083
|
||||
msgbox Text_StyleEndurance, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleEndurance:: @ 825A083
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleEndurance, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A08C:: @ 825A08C
|
||||
msgbox Text_StyleHighRisk, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleHighRisk:: @ 825A08C
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleHighRisk, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A095:: @ 825A095
|
||||
msgbox Text_StyleWeakenFoe, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleWeakenFoe:: @ 825A095
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleWeakenFoe, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A09E:: @ 825A09E
|
||||
msgbox Text_StyleImpossibleToPredict, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleImpossibleToPredict:: @ 825A09E
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleImpossibleToPredict, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0A7:: @ 825A0A7
|
||||
msgbox Text_StyleDependsOnFlow, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleDependsOnFlow:: @ 825A0A7
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleDependsOnFlow, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B0:: @ 825A0B0
|
||||
msgbox Text_StyleFlexible, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleFlexible:: @ 825A0B0
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleFlexible, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9:: @ 825A0B9
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_25AD20
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead:: @ 825A0B9
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_PreparedToFaceHead
|
||||
waitmessage
|
||||
call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A110
|
||||
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHeadNoRecord
|
||||
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A146
|
||||
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CFC
|
||||
case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D38
|
||||
case 3, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D66
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9
|
||||
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapBeforeHead
|
||||
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRecordBattle
|
||||
case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskPauseChallenge
|
||||
case 3, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A110:: @ 825A110
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHeadNoRecord:: @ 825A110
|
||||
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A146
|
||||
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D38
|
||||
case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D66
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9
|
||||
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapBeforeHead
|
||||
case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskPauseChallenge
|
||||
case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A146:: @ 825A146
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AD61, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB2E, MSGBOX_YESNO
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapBeforeHead:: @ 825A146
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_CantTellAnythingAboutHead, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_LikeToSwapMon, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
|
||||
case YES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259DF2
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
|
||||
case NO, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
|
||||
case YES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SwapMons
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A17C:: @ 825A17C
|
||||
applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1B3
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1A0
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLv50:: @ 825A17C
|
||||
applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLv50
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLv50
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A18B:: @ 825A18B
|
||||
applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1B9
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1A6
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLvOpen:: @ 825A18B
|
||||
applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLvOpen
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLvOpen
|
||||
return
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A19A: @ 825A19A
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerEnterRoom: @ 825A19A
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
@@ -438,7 +436,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A19A: @ 825A19A
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1A0: @ 825A1A0
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLv50: @ 825A1A0
|
||||
walk_up
|
||||
walk_left
|
||||
walk_left
|
||||
@@ -446,7 +444,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1A0: @ 825A1A0
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1A6: @ 825A1A6
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLvOpen: @ 825A1A6
|
||||
walk_up
|
||||
walk_right
|
||||
walk_right
|
||||
@@ -454,7 +452,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1A6: @ 825A1A6
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1AC: @ 825A1AC
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantEnterRoom: @ 825A1AC
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
@@ -463,7 +461,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1AC: @ 825A1AC
|
||||
face_down
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1B3: @ 825A1B3
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLv50: @ 825A1B3
|
||||
walk_left
|
||||
walk_left
|
||||
walk_up
|
||||
@@ -471,7 +469,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1B3: @ 825A1B3
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1B9: @ 825A1B9
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLvOpen: @ 825A1B9
|
||||
walk_right
|
||||
walk_right
|
||||
walk_up
|
||||
@@ -479,211 +477,201 @@ BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1B9: @ 825A1B9
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1BF: @ 825A1BF
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantMoveToReceiveCall: @ 825A1BF
|
||||
walk_left
|
||||
walk_left
|
||||
walk_left
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1C3: @ 825A1C3
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantReturnToPlayer: @ 825A1C3
|
||||
walk_right
|
||||
walk_right
|
||||
walk_right
|
||||
face_down
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A1C8: @ 825A1C8
|
||||
SlateportCity_BattleTentCorridor_Text_25A1C8: @ 825A1C8
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_HoldMonsChooseFromSelection: @ 825A1C8
|
||||
.string "First, we will hold your POKéMON for\n"
|
||||
.string "safekeeping.\p"
|
||||
.string "You may then choose from our\n"
|
||||
.string "selection of POKéMON.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A22D: @ 825A22D
|
||||
SlateportCity_BattleTentCorridor_Text_25A22D: @ 825A22D
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_LetUsRestoreMons: @ 825A22D
|
||||
.string "Thank you for competing!\n"
|
||||
.string "Let us restore your POKéMON!$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A263: @ 825A263
|
||||
SlateportCity_BattleTentCorridor_Text_25A263: @ 825A263
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor2ndOpponent: @ 825A263
|
||||
.string "The 2nd match is next!\n"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A289: @ 825A289
|
||||
SlateportCity_BattleTentCorridor_Text_25A289: @ 825A289
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor3rdOpponent: @ 825A289
|
||||
.string "The 3rd match is next!\n"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A2AF: @ 825A2AF
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor4thOpponent: @ 825A2AF
|
||||
.string "The 4th match is next!\n"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A2D5: @ 825A2D5
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor5thOpponent: @ 825A2D5
|
||||
.string "The 5th match is next!\n"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A2FB: @ 825A2FB
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor6thOpponent: @ 825A2FB
|
||||
.string "The 6th match is next!\n"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A321: @ 825A321
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor7thOpponent: @ 825A321
|
||||
.string "Finally, the 7th match is next!\n"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A350: @ 825A350
|
||||
SlateportCity_BattleTentCorridor_Text_25A350: @ 825A350
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_SaveAndQuitGame: @ 825A350
|
||||
.string "Would you like to save and quit\n"
|
||||
.string "the game?$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A37A: @ 825A37A
|
||||
SlateportCity_BattleTentCorridor_Text_25A37A: @ 825A37A
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_RetireFromChallenge: @ 825A37A
|
||||
.string "Would you like to retire from your\n"
|
||||
.string "Battle Swap challenge?$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A3B4: @ 825A3B4
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_InvestigatedUpcomingOpponent: @ 825A3B4
|
||||
.string "I've conducted a little investigation\n"
|
||||
.string "about your upcoming opponent.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A3F8: @ 825A3F8
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInNormalType: @ 825A3F8
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the NORMAL type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A43E: @ 825A43E
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFireType: @ 825A43E
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the FIRE type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A482: @ 825A482
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInWaterType: @ 825A482
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the WATER type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A4C7: @ 825A4C7
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInElectricType: @ 825A4C7
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the ELECTRIC type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A50F: @ 825A50F
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGrassType: @ 825A50F
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the GRASS type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A554: @ 825A554
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInIceType: @ 825A554
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the ICE type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A597: @ 825A597
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFightingType: @ 825A597
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the FIGHTING type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A5DF: @ 825A5DF
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInPoisonType: @ 825A5DF
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the POISON type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A625: @ 825A625
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGroundType: @ 825A625
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the GROUND type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A66B: @ 825A66B
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFlyingType: @ 825A66B
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the FLYING type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A6B1: @ 825A6B1
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInPsychicType: @ 825A6B1
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the PSYCHIC type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A6F8: @ 825A6F8
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInBugType: @ 825A6F8
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the BUG type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A73B: @ 825A73B
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInRockType: @ 825A73B
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the ROCK type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A77F: @ 825A77F
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGhostType: @ 825A77F
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the GHOST type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A7C4: @ 825A7C4
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDragonType: @ 825A7C4
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the DRAGON type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A80A: @ 825A80A
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDarkType: @ 825A80A
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the DARK type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A84E: @ 825A84E
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInSteelType: @ 825A84E
|
||||
.string "The TRAINER is apparently skilled\n"
|
||||
.string "in the handling of the STEEL type.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25A893: @ 825A893
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerHasNoClearFavorite: @ 825A893
|
||||
.string "The TRAINER appears to have no clear\n"
|
||||
.string "favorites when it comes to type.$"
|
||||
|
||||
Text_StyleSlowAndSteady: @ 825A8D9
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleSlowAndSteady: @ 825A8D9
|
||||
.string "The favorite battle style appears to\n"
|
||||
.string "be slow and steady.$"
|
||||
|
||||
Text_StyleEndurance: @ 825A912
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleEndurance: @ 825A912
|
||||
.string "The favorite battle style appears to\n"
|
||||
.string "be one of endurance.$"
|
||||
|
||||
Text_StyleHighRisk: @ 825A94C
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleHighRisk: @ 825A94C
|
||||
.string "The favorite battle style appears to\n"
|
||||
.string "be high risk, high return.$"
|
||||
|
||||
Text_StyleDependsOnFlow: @ 825A98C
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleDependsOnFlow: @ 825A98C
|
||||
.string "The favorite battle style appears to\n"
|
||||
.string "depend on the battle's flow.$"
|
||||
|
||||
Text_StyleTotalPreparation: @ 825A9CE
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleTotalPreparation: @ 825A9CE
|
||||
.string "The favorite battle style appears to\n"
|
||||
.string "be one based on total preparation.$"
|
||||
|
||||
Text_StyleWeakenFoe: @ 825AA16
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleWeakenFoe: @ 825AA16
|
||||
.string "The favorite battle style appears\n"
|
||||
.string "to be weakening the foe to start.$"
|
||||
|
||||
Text_StyleFlexible: @ 825AA5A
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleFlexible: @ 825AA5A
|
||||
.string "The favorite battle style appears to\n"
|
||||
.string "be flexibly adaptable to the situation.$"
|
||||
|
||||
Text_StyleImpossibleToPredict: @ 825AAA7
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleImpossibleToPredict: @ 825AAA7
|
||||
.string "The favorite battle style appears to\n"
|
||||
.string "be impossible to predict.$"
|
||||
|
||||
Text_StyleUnrestrained: @ 825AAE6
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleUnrestrained: @ 825AAE6
|
||||
.string "The favorite battle style appears to\n"
|
||||
.string "be free-spirited and unrestrained.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB2E: @ 825AB2E
|
||||
SlateportCity_BattleTentCorridor_Text_25AB2E: @ 825AB2E
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_LikeToSwapMon: @ 825AB2E
|
||||
.string "Before starting the battle, would you\n"
|
||||
.string "like to swap a POKéMON?$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB6C: @ 825AB6C
|
||||
SlateportCity_BattleTentCorridor_Text_25AB6C: @ 825AB6C
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_YourSwapIsComplete: @ 825AB6C
|
||||
.string "Thank you!\n"
|
||||
.string "Your POKéMON swap is complete.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB96: @ 825AB96
|
||||
SlateportCity_BattleTentCorridor_Text_25AB96: @ 825AB96
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_RightThisWay: @ 825AB96
|
||||
.string "Right this way, please!$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25ABAE: @ 825ABAE
|
||||
SlateportCity_BattleTentCorridor_Text_25ABAE: @ 825ABAE
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_SavingDataPleaseWait: @ 825ABAE
|
||||
.string "I am saving your data.\n"
|
||||
.string "Please wait.$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25ABD2: @ 825ABD2
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_RecordLatestBattle: @ 825ABD2
|
||||
.string "Would you like to record your latest\n"
|
||||
.string "battle on your FRONTIER PASS?$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC15: @ 825AC15
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_WaitFewMoments: @ 825AC15
|
||||
.string "Excuse me! Excuse me, please!\n"
|
||||
.string "May I get you to wait a few moments?$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC58: @ 825AC58
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_UnderstoodSirWillDo: @ 825AC58
|
||||
.string "…Uh-huh? What?! …Whoa!\n"
|
||||
.string "Understood, sir! Will do!$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC89: @ 825AC89
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_MessageFromHeadComeRightNow: @ 825AC89
|
||||
.string "Oh, my…\n"
|
||||
.string "Sorry to keep you waiting!\p"
|
||||
.string "I have a message from this facility's\n"
|
||||
@@ -691,10 +679,10 @@ BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC89: @ 825AC89
|
||||
.string "He says, “We're going to do it!\n"
|
||||
.string "Come here right now!”$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25AD20: @ 825AD20
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_PreparedToFaceHead: @ 825AD20
|
||||
.string "The FACTORY HEAD is demanding you.\n"
|
||||
.string "Are you prepared to face him?$"
|
||||
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_25AD61: @ 825AD61
|
||||
BattleFrontier_BattleFactoryPreBattleRoom_Text_CantTellAnythingAboutHead: @ 825AD61
|
||||
.string "I'm terribly sorry, but I can't tell you\n"
|
||||
.string "anything about the FACTORY HEAD.$"
|
||||
@@ -1,245 +1,246 @@
|
||||
BattleFrontier_BattlePalaceBattleRoom_MapScripts:: @ 824F815
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattlePalaceBattleRoom_MapScript1_24F825
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceBattleRoom_MapScript2_24F861
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePalaceBattleRoom_MapScript2_24FE34
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattlePalaceBattleRoom_OnTransition
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceBattleRoom_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePalaceBattleRoom_OnWarp
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_MapScript1_24F825: @ 824F825
|
||||
@ On this map the player (OBJ_EVENT_ID_PLAYER) is hidden
|
||||
@ The player is represented instead by object event 1, which has the gfx id VAR_OBJ_GFX_ID_0
|
||||
@ The opponent is represented by object event 2, which has the gfx id VAR_OBJ_GFX_ID_1
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_OnTransition: @ 824F825
|
||||
frontier_settrainers
|
||||
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833
|
||||
call BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfx
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833:: @ 824F833
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfx:: @ 824F833
|
||||
checkplayergender
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxMale
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F856
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxFemale
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F84B:: @ 824F84B
|
||||
@ The opponent's gfx are set to the players by default
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxMale:: @ 824F84B
|
||||
setvar VAR_OBJ_GFX_ID_1, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
|
||||
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F856:: @ 824F856
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxFemale:: @ 824F856
|
||||
setvar VAR_OBJ_GFX_ID_1, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL
|
||||
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_MapScript2_24F861: @ 824F861
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F86B
|
||||
BattleFrontier_BattlePalaceBattleRoom_OnFrame: @ 824F861
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_EnterRoom
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F86B:: @ 824F86B
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_EnterRoom:: @ 824F86B
|
||||
showobjectat 1, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8B5
|
||||
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE9B
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_BeginChallenge
|
||||
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerReturnToChallenge
|
||||
waitmovement 0
|
||||
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC
|
||||
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown
|
||||
setvar VAR_TEMP_2, 1
|
||||
frontier_set FRONTIER_DATA_6, 1
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8B5:: @ 824F8B5
|
||||
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE92
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_BeginChallenge:: @ 824F8B5
|
||||
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerEnterRoom
|
||||
waitmovement 0
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8BF:: @ 824F8BF
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_NextOpponentEnter:: @ 824F8BF
|
||||
tower_setopponent
|
||||
addobject 2
|
||||
applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA1
|
||||
applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentEnter
|
||||
waitmovement 0
|
||||
palace_getopponentintro
|
||||
msgbox gStringVar4, MSGBOX_DEFAULT
|
||||
waitmessage
|
||||
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7
|
||||
call BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle
|
||||
switch VAR_RESULT
|
||||
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F911
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA:: @ 824F8FA
|
||||
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedOpponent
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost:: @ 824F8FA
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24FEBB
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobby
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F911:: @ 824F911
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedOpponent:: @ 824F911
|
||||
call BattleFrontier_EventScript_IncrementWinStreak
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
addvar VAR_RESULT, 1
|
||||
frontier_set FRONTIER_DATA_BATTLE_NUM, VAR_RESULT
|
||||
switch VAR_RESULT
|
||||
case 7, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
|
||||
applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA7
|
||||
case 7, BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
|
||||
applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentExit
|
||||
waitmovement 0
|
||||
removeobject 2
|
||||
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99
|
||||
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC
|
||||
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp
|
||||
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown
|
||||
waitmovement 0
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_24FF00, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_LetMeRestoreYourMons, MSGBOX_DEFAULT
|
||||
special LoadPlayerParty
|
||||
special SavePlayerParty
|
||||
frontier_setpartyorder FRONTIER_PARTY_SIZE
|
||||
playfanfare MUS_ME_ASA
|
||||
waitfanfare
|
||||
special HealPlayerParty
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A:: @ 824F98A
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent:: @ 824F98A
|
||||
frontier_getbrainstatus
|
||||
copyvar VAR_TEMP_F, VAR_RESULT
|
||||
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
|
||||
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61
|
||||
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_MavenUpNext
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
compare VAR_RESULT, 1
|
||||
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE66
|
||||
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor2ndOpponent
|
||||
compare VAR_RESULT, 2
|
||||
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE6D
|
||||
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor3rdOpponent
|
||||
compare VAR_RESULT, 3
|
||||
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE74
|
||||
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor4thOpponent
|
||||
compare VAR_RESULT, 4
|
||||
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE7B
|
||||
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor5thOpponent
|
||||
compare VAR_RESULT, 5
|
||||
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE82
|
||||
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor6thOpponent
|
||||
compare VAR_RESULT, 6
|
||||
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE89
|
||||
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor7thOpponent
|
||||
call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA42
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponentNoRecord
|
||||
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB14
|
||||
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA78
|
||||
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4
|
||||
case 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A
|
||||
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_ContinueChallenge
|
||||
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRecordBattle
|
||||
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge
|
||||
case 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA42:: @ 824FA42
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponentNoRecord:: @ 824FA42
|
||||
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB14
|
||||
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4
|
||||
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A
|
||||
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_ContinueChallenge
|
||||
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge
|
||||
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA78:: @ 824FA78
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_25009E
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRecordBattle:: @ 824FA78
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_RecordLastMatch
|
||||
waitmessage
|
||||
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
|
||||
switch VAR_RESULT
|
||||
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A
|
||||
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAAA
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A
|
||||
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
|
||||
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_RecordBattle
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAAA:: @ 824FAAA
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_RecordBattle:: @ 824FAAA
|
||||
call BattleFrontier_EventScript_SaveBattle
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4:: @ 824FAB4
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250030, MSGBOX_YESNO
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge:: @ 824FAB4
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SaveAndQuitGame, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A
|
||||
case YES, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB3F
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A
|
||||
case NO, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
|
||||
case YES, BattleFrontier_BattlePalaceBattleRoom_EventScript_PauseChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2:: @ 824FAE2
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_25005A
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge:: @ 824FAE2
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_WishToQuitChallenge
|
||||
waitmessage
|
||||
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
|
||||
switch VAR_RESULT
|
||||
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A
|
||||
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24F98A
|
||||
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
|
||||
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB14:: @ 824FB14
|
||||
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE97
|
||||
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE97
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_ContinueChallenge:: @ 824FB14
|
||||
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight
|
||||
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight
|
||||
closemessage
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8BF
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_NextOpponentEnter
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28:: @ 824FB28
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon:: @ 824FB28
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24FEBB
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobby
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB3F:: @ 824FB3F
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_25007E
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_PauseChallenge:: @ 824FB3F
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_SavingData
|
||||
waitmessage
|
||||
palace_save CHALLENGE_STATUS_PAUSED
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
frontier_reset
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB61:: @ 824FB61
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_MavenUpNext:: @ 824FB61
|
||||
compare VAR_TEMP_2, 1
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2500DD, MSGBOX_DEFAULT
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_ChallengingPalaceMaven, MSGBOX_DEFAULT
|
||||
setvar VAR_TEMP_2, 1
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79:: @ 824FB79
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_25014A
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven:: @ 824FB79
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_ReadyForPalaceMaven
|
||||
waitmessage
|
||||
call BattleFrontier_BattlePalaceBattleRoom_EventScript_23E8E0
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FBD0
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMavenNoRecord
|
||||
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, 1
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06
|
||||
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FA78
|
||||
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4
|
||||
case 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79
|
||||
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenser
|
||||
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRecordBattle
|
||||
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge
|
||||
case 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FBD0:: @ 824FBD0
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMavenNoRecord:: @ 824FBD0
|
||||
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06
|
||||
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAB4
|
||||
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FAE2
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB79
|
||||
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenser
|
||||
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge
|
||||
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FC06:: @ 824FC06
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenser:: @ 824FC06
|
||||
call BattleFrontier_EventScript_SetBrainObjectGfx
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25017C, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_AnnounceArrivalOfSpenser, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE97
|
||||
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE97
|
||||
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight
|
||||
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight
|
||||
setobjectxyperm 2, 15, 1
|
||||
addobject 2
|
||||
hideobjectat 2, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM
|
||||
setobjectxy 2, 13, 1
|
||||
setobjectxyperm 2, 13, 1
|
||||
applymovement 4, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEDF
|
||||
applymovement 5, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEE7
|
||||
applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEF2
|
||||
applymovement 4, BattleFrontier_BattlePalaceBattleRoom_Movement_DusclopsEnter
|
||||
applymovement 5, BattleFrontier_BattlePalaceBattleRoom_Movement_AzurillEnter
|
||||
applymovement 2, BattleFrontier_BattlePalaceBattleRoom_Movement_SpenserEnter
|
||||
waitmovement 0
|
||||
switch VAR_TEMP_F
|
||||
case FRONTIER_BRAIN_GOLD, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD3A
|
||||
case FRONTIER_BRAIN_STREAK, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA
|
||||
case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67
|
||||
case FRONTIER_BRAIN_GOLD, BattleFrontier_BattlePalaceBattleRoom_EventScript_IntroSpenserGold
|
||||
case FRONTIER_BRAIN_STREAK, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserSilver
|
||||
case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserGold
|
||||
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2501C1, MSGBOX_DEFAULT
|
||||
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserSilver
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserFirstIntro, MSGBOX_DEFAULT
|
||||
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCAA:: @ 824FCAA
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502C4, MSGBOX_DEFAULT
|
||||
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserSilver:: @ 824FCAA
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_ProveYourBondWithMons, MSGBOX_DEFAULT
|
||||
call BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserSilver
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserSilver:: @ 824FCC7
|
||||
palace_incrementstreak
|
||||
frontier_getsymbols
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2502FF, MSGBOX_DEFAULT
|
||||
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99
|
||||
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25036D, MSGBOX_DEFAULT
|
||||
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserPostSilverBattle, MSGBOX_DEFAULT
|
||||
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp
|
||||
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_LetsSeeFrontierPass, MSGBOX_DEFAULT
|
||||
playfanfare MUS_ME_SYMBOLGET
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_2503DC
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_ReceivedSpiritsSymbol
|
||||
waitmessage
|
||||
waitfanfare
|
||||
frontier_givesymbol
|
||||
@@ -248,33 +249,33 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FCC7:: @ 824FCC7
|
||||
applymovement 1, Common_Movement_WalkInPlaceFastestRight
|
||||
applymovement 3, Common_Movement_WalkInPlaceFastestRight
|
||||
waitmovement 0
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250412, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserAwaitNextTime, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD3A:: @ 824FD3A
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_IntroSpenserGold:: @ 824FD3A
|
||||
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250485, MSGBOX_DEFAULT
|
||||
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserGold
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserThisTimeWontHoldBack, MSGBOX_DEFAULT
|
||||
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD67:: @ 824FD67
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250572, MSGBOX_DEFAULT
|
||||
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserGold:: @ 824FD67
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_Kaaah, MSGBOX_DEFAULT
|
||||
call BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24F8FA
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserGold
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84:: @ 824FD84
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserGold:: @ 824FD84
|
||||
palace_incrementstreak
|
||||
frontier_getsymbols
|
||||
compare VAR_RESULT, 2
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_25057E, MSGBOX_DEFAULT
|
||||
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99
|
||||
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_250629, MSGBOX_DEFAULT
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserYourTeamIsAdmirable, MSGBOX_DEFAULT
|
||||
applymovement 1, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp
|
||||
applymovement 3, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_HurryWithFrontierPass, MSGBOX_DEFAULT
|
||||
playfanfare MUS_ME_SYMBOLGET
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_250699
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_SpiritsSymbolTookGoldenShine
|
||||
waitmessage
|
||||
waitfanfare
|
||||
frontier_givesymbol
|
||||
@@ -283,11 +284,10 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_24FD84:: @ 824FD84
|
||||
applymovement 1, Common_Movement_WalkInPlaceFastestRight
|
||||
applymovement 3, Common_Movement_WalkInPlaceFastestRight
|
||||
waitmovement 0
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_2506C4, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_24FB28
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserComeSeeMeAgain, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FDF7:: @ 824FDF7
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_24FDF7:: @ 824FDF7
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle:: @ 824FDF7
|
||||
closemessage
|
||||
setvar VAR_TEMP_2, 0
|
||||
frontier_set FRONTIER_DATA_6, 0
|
||||
@@ -301,70 +301,69 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_24FDF7:: @ 824FDF7
|
||||
frontier_resetsketch
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_MapScript2_24FE34: @ 824FE34
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE3E
|
||||
BattleFrontier_BattlePalaceBattleRoom_OnWarp: @ 824FE34
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_SetUpRoomObjects
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE3E:: @ 824FE3E
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_SetUpRoomObjects:: @ 824FE3E
|
||||
hideobjectat 1, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM
|
||||
call BattleFrontier_BattlePalaceBattleRoom_EventScript_24F833
|
||||
call BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfx
|
||||
setvar VAR_TEMP_1, 1
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE90
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceBattleRoom_Movement_SetInvisible
|
||||
removeobject 2
|
||||
applymovement 4, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE90
|
||||
applymovement 5, BattleFrontier_BattlePalaceBattleRoom_Movement_24FE90
|
||||
applymovement 4, BattleFrontier_BattlePalaceBattleRoom_Movement_SetInvisible
|
||||
applymovement 5, BattleFrontier_BattlePalaceBattleRoom_Movement_SetInvisible
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE66:: @ 824FE66
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_24FF28
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor2ndOpponent:: @ 824FE66
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor2ndOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE6D:: @ 824FE6D
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_24FF54
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor3rdOpponent:: @ 824FE6D
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor3rdOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE74:: @ 824FE74
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_24FF80
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor4thOpponent:: @ 824FE74
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor4thOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE7B:: @ 824FE7B
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_24FFAC
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor5thOpponent:: @ 824FE7B
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor5thOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE82:: @ 824FE82
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_24FFD8
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor6thOpponent:: @ 824FE82
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor6thOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FE89:: @ 824FE89
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_250004
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor7thOpponent:: @ 824FE89
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor7thOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_24FE90: @ 824FE90
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_SetInvisible: @ 824FE90
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_24FE92: @ 824FE92
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerEnterRoom: @ 824FE92
|
||||
set_visible
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_24FE97: @ 824FE97
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight: @ 824FE97
|
||||
face_right
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_24FE99: @ 824FE99
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp: @ 824FE99
|
||||
face_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_24FE9B: @ 824FE9B
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerReturnToChallenge: @ 824FE9B
|
||||
set_visible
|
||||
walk_up
|
||||
walk_up
|
||||
@@ -372,7 +371,7 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FE9B: @ 824FE9B
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA1: @ 824FEA1
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentEnter: @ 824FEA1
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
@@ -380,50 +379,50 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA1: @ 824FEA1
|
||||
face_left
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEA7: @ 824FEA7
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentExit: @ 824FEA7
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAC: @ 824FEAC
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown: @ 824FEAC
|
||||
face_down
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEAE: @ 824FEAE
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_UnusedOpponentEnter1: @ 824FEAE
|
||||
set_visible
|
||||
walk_slow_down
|
||||
walk_slow_down
|
||||
face_left
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEB3: @ 824FEB3
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_UnusedOpponentEnter2: @ 824FEB3
|
||||
set_visible
|
||||
walk_slow_down
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEB6: @ 824FEB6
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_UnusedOpponentEnter3: @ 824FEB6
|
||||
walk_slow_down
|
||||
walk_slow_down
|
||||
walk_slow_down
|
||||
face_left
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FEBB:: @ 824FEBB
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobby:: @ 824FEBB
|
||||
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
|
||||
compare VAR_RESULT, FRONTIER_MODE_DOUBLES
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_24FED5
|
||||
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyDoubles
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 5, 7
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_24FED5:: @ 824FED5
|
||||
BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyDoubles:: @ 824FED5
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 19, 7
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEDF: @ 824FEDF
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_DusclopsEnter: @ 824FEDF
|
||||
delay_16
|
||||
delay_16
|
||||
set_visible
|
||||
@@ -433,7 +432,7 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEDF: @ 824FEDF
|
||||
walk_in_place_fastest_left
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEE7: @ 824FEE7
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_AzurillEnter: @ 824FEE7
|
||||
set_visible
|
||||
walk_fast_down
|
||||
walk_fast_right
|
||||
@@ -446,7 +445,7 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEE7: @ 824FEE7
|
||||
delay_16
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_24FEF2: @ 824FEF2
|
||||
BattleFrontier_BattlePalaceBattleRoom_Movement_SpenserEnter: @ 824FEF2
|
||||
delay_16
|
||||
delay_16
|
||||
delay_16
|
||||
@@ -462,70 +461,64 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_24FEF2: @ 824FEF2
|
||||
face_left
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_24FF00: @ 824FF00
|
||||
VerdanturfTown_BattleTentBattleRoom_Text_24FF00: @ 824FF00
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_LetMeRestoreYourMons: @ 824FF00
|
||||
.string "Excellent…\n"
|
||||
.string "Let me restore your POKéMON.$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_24FF28: @ 824FF28
|
||||
VerdanturfTown_BattleTentBattleRoom_Text_24FF28: @ 824FF28
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor2ndOpponent: @ 824FF28
|
||||
.string "The 2nd opponent is next.\n"
|
||||
.string "Are you prepared?$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_24FF54: @ 824FF54
|
||||
VerdanturfTown_BattleTentBattleRoom_Text_24FF54: @ 824FF54
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor3rdOpponent: @ 824FF54
|
||||
.string "The 3rd opponent is next.\n"
|
||||
.string "Are you prepared?$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_24FF80: @ 824FF80
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor4thOpponent: @ 824FF80
|
||||
.string "The 4th opponent is next.\n"
|
||||
.string "Are you prepared?$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_24FFAC: @ 824FFAC
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor5thOpponent: @ 824FFAC
|
||||
.string "The 5th opponent is next.\n"
|
||||
.string "Are you prepared?$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_24FFD8: @ 824FFD8
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor6thOpponent: @ 824FFD8
|
||||
.string "The 6th opponent is next.\n"
|
||||
.string "Are you prepared?$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_250004: @ 8250004
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor7thOpponent: @ 8250004
|
||||
.string "The 7th opponent is next.\n"
|
||||
.string "Are you prepared?$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_250030: @ 8250030
|
||||
VerdanturfTown_BattleTentBattleRoom_Text_250030: @ 8250030
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_SaveAndQuitGame: @ 8250030
|
||||
.string "Would you like to save and quit\n"
|
||||
.string "the game?$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_25005A: @ 825005A
|
||||
VerdanturfTown_BattleTentBattleRoom_Text_25005A: @ 825005A
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_WishToQuitChallenge: @ 825005A
|
||||
.string "Do you wish to quit your challenge?$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_25007E: @ 825007E
|
||||
VerdanturfTown_BattleTentBattleRoom_Text_25007E: @ 825007E
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_SavingData: @ 825007E
|
||||
.string "Saving the data.\n"
|
||||
.string "Have patience…$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_25009E: @ 825009E
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_RecordLastMatch: @ 825009E
|
||||
.string "Do you wish to record your latest\n"
|
||||
.string "match on your FRONTIER PASS?$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_2500DD: @ 82500DD
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_ChallengingPalaceMaven: @ 82500DD
|
||||
.string "And now…\p"
|
||||
.string "By winning consistently, you have\n"
|
||||
.string "earned the privilege of challenging\l"
|
||||
.string "our master, the PALACE MAVEN…$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_25014A: @ 825014A
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_ReadyForPalaceMaven: @ 825014A
|
||||
.string "I shall send for the PALACE MAVEN.\n"
|
||||
.string "Are you ready?$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_25017C: @ 825017C
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_AnnounceArrivalOfSpenser: @ 825017C
|
||||
.string "Let great fanfare announce the arrival\n"
|
||||
.string "of the PALACE MAVEN, SPENSER!$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_2501C1: @ 82501C1
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserFirstIntro: @ 82501C1
|
||||
.string "SPENSER: My physical being is with\n"
|
||||
.string "POKéMON always!\p"
|
||||
.string "My heart beats as one with\n"
|
||||
@@ -537,34 +530,34 @@ BattleFrontier_BattlePalaceBattleRoom_Text_2501C1: @ 82501C1
|
||||
.string "If your bonds of trust are frail,\n"
|
||||
.string "you will never beat my brethren!$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_2502C4: @ 82502C4
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_ProveYourBondWithMons: @ 82502C4
|
||||
.string "The bond you share with your POKéMON!\n"
|
||||
.string "Prove it to me here!$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_2502FF: @ 82502FF
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserPostSilverBattle: @ 82502FF
|
||||
.string "SPENSER: Gwahahah!\p"
|
||||
.string "Hah, you never fell for my bluster!\n"
|
||||
.string "Sorry for trying that stunt!\p"
|
||||
.string "Here!\n"
|
||||
.string "Bring me the thing!$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_25036D: @ 825036D
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_LetsSeeFrontierPass: @ 825036D
|
||||
.string "My, my, if only you could maintain that\n"
|
||||
.string "facade of distinguished authority…\p"
|
||||
.string "Here!\n"
|
||||
.string "Let's see your FRONTIER PASS!$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_2503DC: @ 82503DC
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_ReceivedSpiritsSymbol: @ 82503DC
|
||||
.string "The Spirits Symbol was embossed on\n"
|
||||
.string "the FRONTIER PASS!$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_250412: @ 8250412
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserAwaitNextTime: @ 8250412
|
||||
.string "SPENSER: Your POKéMON's eyes are \n"
|
||||
.string "truly clear and unclouded.\p"
|
||||
.string "I will eagerly await the next\n"
|
||||
.string "opportunity to see you.$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_250485: @ 8250485
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserThisTimeWontHoldBack: @ 8250485
|
||||
.string "SPENSER: Gwahahah!\n"
|
||||
.string "You've battled your way up again?\p"
|
||||
.string "You must have developed a truly\n"
|
||||
@@ -575,10 +568,10 @@ BattleFrontier_BattlePalaceBattleRoom_Text_250485: @ 8250485
|
||||
.string "Ready now?\n"
|
||||
.string "Prepare to lose!$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_250572: @ 8250572
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_Kaaah: @ 8250572
|
||||
.string "… … …Kaaah!$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_25057E: @ 825057E
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserYourTeamIsAdmirable: @ 825057E
|
||||
.string "SPENSER: Well, that was some display!\n"
|
||||
.string "Even fully unleashed, my brethren\l"
|
||||
.string "could not overpower you.\p"
|
||||
@@ -586,17 +579,17 @@ BattleFrontier_BattlePalaceBattleRoom_Text_25057E: @ 825057E
|
||||
.string "Here!\n"
|
||||
.string "Bring me that thing, will you?$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_250629: @ 8250629
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_HurryWithFrontierPass: @ 8250629
|
||||
.string "My, my, if only you could maintain\n"
|
||||
.string "a certain level of decorum…\p"
|
||||
.string "Gaaah, here!\n"
|
||||
.string "Hurry with that FRONTIER PASS, you!$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_250699: @ 8250699
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_SpiritsSymbolTookGoldenShine: @ 8250699
|
||||
.string "The Spirits Symbol took on\n"
|
||||
.string "a golden shine!$"
|
||||
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_2506C4: @ 82506C4
|
||||
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserComeSeeMeAgain: @ 82506C4
|
||||
.string "SPENSER: Gwahahah!\p"
|
||||
.string "Come see me time and again!\n"
|
||||
.string "My brethren and I will be waiting!$"
|
||||
@@ -1,89 +1,88 @@
|
||||
BattleFrontier_BattlePalaceCorridor_MapScripts:: @ 824F4A3
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceCorridor_MapScript2_24F4A9
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceCorridor_OnFrame
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_MapScript2_24F4A9: @ 824F4A9
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceCorridor_EventScript_24F4B3
|
||||
BattleFrontier_BattlePalaceCorridor_OnFrame: @ 824F4A9
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceCorridor_EventScript_WalkThroughCorridor
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_24F4B3:: @ 824F4B3
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_WalkThroughCorridor:: @ 824F4B3
|
||||
delay 16
|
||||
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5B8
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5B8
|
||||
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor
|
||||
waitmovement 0
|
||||
lockall
|
||||
palace_getcomment
|
||||
compare VAR_RESULT, 0
|
||||
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F58B
|
||||
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment1
|
||||
compare VAR_RESULT, 1
|
||||
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F594
|
||||
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment2
|
||||
compare VAR_RESULT, 2
|
||||
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F59D
|
||||
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment3
|
||||
compare VAR_RESULT, 3
|
||||
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F5A6
|
||||
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_StreakComment
|
||||
compare VAR_RESULT, 4
|
||||
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F5AF
|
||||
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_LongStreakComment
|
||||
closemessage
|
||||
frontier_get FRONTIER_DATA_LVL_MODE
|
||||
compare VAR_RESULT, FRONTIER_LVL_OPEN
|
||||
goto_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F553
|
||||
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5BD
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5C4
|
||||
goto_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_WalkToOpenBattleRoom
|
||||
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkTo50BattleRoom
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkTo50BattleRoom
|
||||
waitmovement 0
|
||||
opendoor 6, 3
|
||||
waitdooranim
|
||||
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5DA
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5D9
|
||||
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_AttendantEnterBattleRoom
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerEnterBattleRoom
|
||||
waitmovement 0
|
||||
closedoor 6, 3
|
||||
waitdooranim
|
||||
goto BattleFrontier_BattlePalaceCorridor_EventScript_24F581
|
||||
goto BattleFrontier_BattlePalaceCorridor_EventScript_WarpToBattleRoom
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_24F553:: @ 824F553
|
||||
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5CB
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5D2
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_WalkToOpenBattleRoom:: @ 824F553
|
||||
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkToOpenBattleRoom
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkToOpenBattleRoom
|
||||
waitmovement 0
|
||||
opendoor 10, 3
|
||||
waitdooranim
|
||||
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5DA
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5D9
|
||||
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_AttendantEnterBattleRoom
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerEnterBattleRoom
|
||||
waitmovement 0
|
||||
closedoor 10, 3
|
||||
waitdooranim
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_24F581:: @ 824F581
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_WarpToBattleRoom:: @ 824F581
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM, 255, 7, 4
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_24F58B:: @ 824F58B
|
||||
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F5DD, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment1:: @ 824F58B
|
||||
msgbox BattleFrontier_BattlePalaceCorridor_Text_PeopleAndMonAreSame, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_24F594:: @ 824F594
|
||||
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F65B, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment2:: @ 824F594
|
||||
msgbox BattleFrontier_BattlePalaceCorridor_Text_LetMonDoWhatItLikes, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_24F59D:: @ 824F59D
|
||||
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F718, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment3:: @ 824F59D
|
||||
msgbox BattleFrontier_BattlePalaceCorridor_Text_MonDifferentWhenCornered, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_24F5A6:: @ 824F5A6
|
||||
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F78C, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_StreakComment:: @ 824F5A6
|
||||
msgbox BattleFrontier_BattlePalaceCorridor_Text_BeginningToUnderstandNature, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_24F5AF:: @ 824F5AF
|
||||
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F7D4, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePalaceCorridor_EventScript_LongStreakComment:: @ 824F5AF
|
||||
msgbox BattleFrontier_BattlePalaceCorridor_Text_HeartfeltBondBetweenYouAndMons, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_24F5B8: @ 824F5B8
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor: @ 824F5B8
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_24F5BD: @ 824F5BD
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkTo50BattleRoom: @ 824F5BD
|
||||
walk_up
|
||||
walk_up
|
||||
walk_left
|
||||
@@ -92,7 +91,7 @@ BattleFrontier_BattlePalaceCorridor_Movement_24F5BD: @ 824F5BD
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_24F5C4: @ 824F5C4
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkTo50BattleRoom: @ 824F5C4
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
@@ -101,7 +100,7 @@ BattleFrontier_BattlePalaceCorridor_Movement_24F5C4: @ 824F5C4
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_24F5CB: @ 824F5CB
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkToOpenBattleRoom: @ 824F5CB
|
||||
walk_up
|
||||
walk_right
|
||||
walk_right
|
||||
@@ -110,7 +109,7 @@ BattleFrontier_BattlePalaceCorridor_Movement_24F5CB: @ 824F5CB
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_24F5D2: @ 824F5D2
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkToOpenBattleRoom: @ 824F5D2
|
||||
walk_up
|
||||
walk_up
|
||||
walk_right
|
||||
@@ -119,39 +118,38 @@ BattleFrontier_BattlePalaceCorridor_Movement_24F5D2: @ 824F5D2
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_24F5D9: @ 824F5D9
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_PlayerEnterBattleRoom: @ 824F5D9
|
||||
walk_up
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_24F5DA: @ 824F5DA
|
||||
BattleFrontier_BattlePalaceCorridor_Movement_AttendantEnterBattleRoom: @ 824F5DA
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Text_24F5DD: @ 824F5DD
|
||||
BattleFrontier_BattlePalaceCorridor_Text_PeopleAndMonAreSame: @ 824F5DD
|
||||
.string "People and POKéMON, they are but\n"
|
||||
.string "the same…\p"
|
||||
.string "Their individual nature makes them\n"
|
||||
.string "good at certain things, and not good\l"
|
||||
.string "at others.$"
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Text_24F65B: @ 824F65B
|
||||
BattleFrontier_BattlePalaceCorridor_Text_LetMonDoWhatItLikes: @ 824F65B
|
||||
.string "Rather than trying to make a POKéMON\n"
|
||||
.string "do what it dislikes, try to let it do\l"
|
||||
.string "what it likes and is good at doing.\p"
|
||||
.string "Put yourself in the POKéMON's position\n"
|
||||
.string "and consider what moves it would like.$"
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Text_24F718: @ 824F718
|
||||
BattleFrontier_BattlePalaceCorridor_Text_MonDifferentWhenCornered: @ 824F718
|
||||
.string "A POKéMON's nature is a remarkable\n"
|
||||
.string "thing…\p"
|
||||
.string "Some POKéMON behave in a completely\n"
|
||||
.string "different way when they are cornered.$"
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Text_24F78C: @ 824F78C
|
||||
BattleFrontier_BattlePalaceCorridor_Text_BeginningToUnderstandNature: @ 824F78C
|
||||
.string "Are you beginning to understand how\n"
|
||||
.string "a POKéMON's nature makes it behave?$"
|
||||
|
||||
BattleFrontier_BattlePalaceCorridor_Text_24F7D4: @ 824F7D4
|
||||
BattleFrontier_BattlePalaceCorridor_Text_HeartfeltBondBetweenYouAndMons: @ 824F7D4
|
||||
.string "Ah… I see a strong, heartfelt bond\n"
|
||||
.string "between you and your POKéMON…$"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24D944",
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_SinglesAttendant",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -37,7 +37,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC82",
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_BlackBelt",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -50,7 +50,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC9D",
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_Maniac",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -63,7 +63,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC8B",
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_Man",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -76,7 +76,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC94",
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_Beauty",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -89,7 +89,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24D956",
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_DoublesAttendant",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -124,7 +124,7 @@
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC50"
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_ShowSinglesResults"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -132,7 +132,7 @@
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DC69"
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_ShowDoublesResults"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -140,7 +140,7 @@
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_24DCA6"
|
||||
"script": "BattleFrontier_BattlePalaceLobby_EventScript_RulesBoard"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,32 +1,32 @@
|
||||
BattleFrontier_BattlePalaceLobby_MapScripts:: @ 824D77E
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceLobby_MapScript2_24D79D
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePalaceLobby_MapScript2_24D789
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceLobby_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePalaceLobby_OnWarp
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_MapScript2_24D789: @ 824D789
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePalaceLobby_EventScript_24D793
|
||||
BattleFrontier_BattlePalaceLobby_OnWarp: @ 824D789
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePalaceLobby_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D793:: @ 824D793
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_TurnPlayerNorth:: @ 824D793
|
||||
setvar VAR_TEMP_1, 1
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_MapScript2_24D79D: @ 824D79D
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceLobby_EventScript_24D7C7
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePalaceLobby_EventScript_24D7D0
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattlePalaceLobby_EventScript_24D908
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattlePalaceLobby_EventScript_24D817
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattlePalaceLobby_EventScript_24D873
|
||||
BattleFrontier_BattlePalaceLobby_OnFrame: @ 824D79D
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceLobby_EventScript_GetChallengeStatus
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePalaceLobby_EventScript_QuitWithoutSaving
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattlePalaceLobby_EventScript_ResumeChallenge
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattlePalaceLobby_EventScript_WonChallenge
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattlePalaceLobby_EventScript_LostChallenge
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D7C7:: @ 824D7C7
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_GetChallengeStatus:: @ 824D7C7
|
||||
frontier_getstatus
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D7D0:: @ 824D7D0
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_QuitWithoutSaving:: @ 824D7D0
|
||||
lockall
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24E636, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_FailedToSaveBeforeEndingChallenge, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
palace_set PALACE_DATA_WIN_STREAK, 0
|
||||
palace_set PALACE_DATA_WIN_STREAK_ACTIVE, FALSE
|
||||
@@ -35,42 +35,42 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D7D0:: @ 824D7D0
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D817:: @ 824D817
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_WonChallenge:: @ 824D817
|
||||
lockall
|
||||
frontier_isbrain
|
||||
compare VAR_RESULT, TRUE
|
||||
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24D838
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24E497, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_24D840
|
||||
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_DefeatedMaven
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_FirmTrueBondsFor7WinStreak, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_GiveBattlePoints
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D838:: @ 824D838
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24EE81, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D840:: @ 824D840
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24EEB9, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_DefeatedMaven:: @ 824D838
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ToDefeatMavenAnd7Trainers, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_GiveBattlePoints:: @ 824D840
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_PresentYouWithBattlePoints, MSGBOX_DEFAULT
|
||||
frontier_givepoints
|
||||
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
|
||||
message BattleFrontier_BattlePalaceLobby_Text_24E4F7
|
||||
message BattleFrontier_BattlePalaceLobby_Text_FeatWillBeRecorded
|
||||
waitmessage
|
||||
call BattleFrontier_BattlePalaceLobby_EventScript_24D8A1
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24E0D8, MSGBOX_DEFAULT
|
||||
call BattleFrontier_BattlePalaceLobby_EventScript_SaveAfterChallenge
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ReturnWhenFortified, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D873:: @ 824D873
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_LostChallenge:: @ 824D873
|
||||
lockall
|
||||
message BattleFrontier_BattlePalaceLobby_Text_24E41E
|
||||
message BattleFrontier_BattlePalaceLobby_Text_ResultsWillBeRecorded
|
||||
waitmessage
|
||||
palace_set PALACE_DATA_WIN_STREAK_ACTIVE, FALSE
|
||||
call BattleFrontier_BattlePalaceLobby_EventScript_24D8A1
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24E0D8, MSGBOX_DEFAULT
|
||||
call BattleFrontier_BattlePalaceLobby_EventScript_SaveAfterChallenge
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ReturnWhenFortified, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D8A1:: @ 824D8A1
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_SaveAfterChallenge:: @ 824D8A1
|
||||
frontier_checkairshow
|
||||
special LoadPlayerParty
|
||||
special HealPlayerParty
|
||||
@@ -79,97 +79,97 @@ BattleFrontier_BattlePalaceLobby_EventScript_24D8A1:: @ 824D8A1
|
||||
waitse
|
||||
call BattleFrontier_BattlePalaceLobby_EventScript_23E8E0
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24D907
|
||||
message BattleFrontier_BattlePalaceLobby_Text_24EF16
|
||||
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge
|
||||
message BattleFrontier_BattlePalaceLobby_Text_LikeToRecordMatch
|
||||
waitmessage
|
||||
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
|
||||
switch VAR_RESULT
|
||||
case 1, BattleFrontier_BattlePalaceLobby_EventScript_24D907
|
||||
case 0, BattleFrontier_BattlePalaceLobby_EventScript_24D902
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24D907
|
||||
case 1, BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge
|
||||
case 0, BattleFrontier_BattlePalaceLobby_EventScript_RecordMatch
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D902:: @ 824D902
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_RecordMatch:: @ 824D902
|
||||
call BattleFrontier_EventScript_SaveBattle
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D907:: @ 824D907
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge:: @ 824D907
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D908:: @ 824D908
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_ResumeChallenge:: @ 824D908
|
||||
lockall
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24E5D8, MSGBOX_DEFAULT
|
||||
message BattleFrontier_BattlePalaceLobby_Text_24E5F6
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_WeHaveBeenWaiting, MSGBOX_DEFAULT
|
||||
message BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge
|
||||
waitmessage
|
||||
palace_save CHALLENGE_STATUS_SAVING
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
frontier_set FRONTIER_DATA_PAUSED, FALSE
|
||||
setvar VAR_TEMP_0, 255
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_24DAF3
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_EnterChallenge
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D944:: @ 824D944
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_SinglesAttendant:: @ 824D944
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE
|
||||
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_24D968
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_Attendant
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D956:: @ 824D956
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_DoublesAttendant:: @ 824D956
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE
|
||||
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_24D968
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_Attendant
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D968:: @ 824D968
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_Attendant:: @ 824D968
|
||||
palace_get PALACE_DATA_PRIZE
|
||||
compare VAR_RESULT, ITEM_NONE
|
||||
goto_if_ne BattleFrontier_BattlePalaceLobby_EventScript_24D817
|
||||
goto_if_ne BattleFrontier_BattlePalaceLobby_EventScript_WonChallenge
|
||||
special SavePlayerParty
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB9E
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForSingleBattle
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DBA7
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D999:: @ 824D999
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForDoubleBattle
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_AskTakeChallenge:: @ 824D999
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DBB0
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_AskTakeSingleBattleChallenge
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DBB6
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_AskTakeDoubleBattleChallenge
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_CHALLENGEINFO, 0
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattlePalaceLobby_EventScript_24D9E6
|
||||
case 1, BattleFrontier_BattlePalaceLobby_EventScript_24DB20
|
||||
case 2, BattleFrontier_BattlePalaceLobby_EventScript_24DB94
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24DB94
|
||||
case 0, BattleFrontier_BattlePalaceLobby_EventScript_TryEnterChallenge
|
||||
case 1, BattleFrontier_BattlePalaceLobby_EventScript_ExplainChallenge
|
||||
case 2, BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24D9E6:: @ 824D9E6
|
||||
message BattleFrontier_BattlePalaceLobby_Text_24E119
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_TryEnterChallenge:: @ 824D9E6
|
||||
message BattleFrontier_BattlePalaceLobby_Text_WhichChallenge
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_LEVEL_MODE, 0
|
||||
switch VAR_RESULT
|
||||
case FRONTIER_LVL_TENT, BattleFrontier_BattlePalaceLobby_EventScript_24DB94
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24DB94
|
||||
case FRONTIER_LVL_TENT, BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
|
||||
frontier_checkineligible
|
||||
compare VAR_0x8004, TRUE
|
||||
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB45
|
||||
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMons
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24E399, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_NowSelectThreeMons, MSGBOX_DEFAULT
|
||||
fadescreen FADE_TO_BLACK
|
||||
call BattleFrontier_EventScript_GetLvlMode
|
||||
copyvar VAR_0x8004, VAR_RESULT
|
||||
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
|
||||
special ChoosePartyForBattleFrontier
|
||||
waitstate
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB91
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24E3C8, MSGBOX_YESNO
|
||||
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge2, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, BattleFrontier_BattlePalaceLobby_EventScript_24DB91
|
||||
case YES, BattleFrontier_BattlePalaceLobby_EventScript_24DA87
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24DB91
|
||||
case NO, BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge
|
||||
case YES, BattleFrontier_BattlePalaceLobby_EventScript_SaveBeforeChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DA87:: @ 824DA87
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_SaveBeforeChallenge:: @ 824DA87
|
||||
setvar VAR_TEMP_0, 0
|
||||
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
|
||||
palace_init
|
||||
@@ -182,133 +182,132 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DA87:: @ 824DA87
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB7A
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DAF3:: @ 824DAF3
|
||||
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_CancelChallengeSaveFailed
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_EnterChallenge:: @ 824DAF3
|
||||
special SavePlayerParty
|
||||
frontier_setpartyorder FRONTIER_PARTY_SIZE
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24E408, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_FollowMe, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
call BattleFrontier_BattlePalaceLobby_EventScript_24DBBC
|
||||
call BattleFrontier_BattlePalaceLobby_EventScript_WalkToDoor
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR, 255, 8, 13
|
||||
setvar VAR_TEMP_0, 0
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DB20:: @ 824DB20
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_ExplainChallenge:: @ 824DB20
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DB38
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24DE17, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_24D999
|
||||
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_ExplainDoublesChallenge
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainSingleBattleChallenge, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_AskTakeChallenge
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DB38:: @ 824DB38
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24EBC2, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_24D999
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_ExplainDoublesChallenge:: @ 824DB38
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainDoubleBattleChallenge, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_AskTakeChallenge
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DB45:: @ 824DB45
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMons:: @ 824DB45
|
||||
switch VAR_RESULT
|
||||
case FRONTIER_LVL_50, BattleFrontier_BattlePalaceLobby_EventScript_24DB60
|
||||
case FRONTIER_LVL_OPEN, BattleFrontier_BattlePalaceLobby_EventScript_24DB6D
|
||||
case FRONTIER_LVL_50, BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLv50
|
||||
case FRONTIER_LVL_OPEN, BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLvOpen
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DB60:: @ 824DB60
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24E173, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_24DB9C
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLv50:: @ 824DB60
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_EndCancelChallenge
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DB6D:: @ 824DB6D
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24E29E, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_24DB9C
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 824DB6D
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_EndCancelChallenge
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DB7A:: @ 824DB7A
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_CancelChallengeSaveFailed:: @ 824DB7A
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_24DB94
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DB91:: @ 824DB91
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge:: @ 824DB91
|
||||
special LoadPlayerParty
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DB94:: @ 824DB94
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24E0D8, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DB9C:: @ 824DB9C
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge:: @ 824DB94
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ReturnWhenFortified, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_EndCancelChallenge:: @ 824DB9C
|
||||
release
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DB9E:: @ 824DB9E
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24DD5B, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForSingleBattle:: @ 824DB9E
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_WelcomeForSingleBattle, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DBA7:: @ 824DBA7
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24EB06, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForDoubleBattle:: @ 824DBA7
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_WelcomeForDoubleBattle, MSGBOX_DEFAULT
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DBB0:: @ 824DBB0
|
||||
message BattleFrontier_BattlePalaceLobby_Text_24DDE1
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_AskTakeSingleBattleChallenge:: @ 824DBB0
|
||||
message BattleFrontier_BattlePalaceLobby_Text_TakeSingleBattleChallenge
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DBB6:: @ 824DBB6
|
||||
message BattleFrontier_BattlePalaceLobby_Text_24EB8C
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_AskTakeDoubleBattleChallenge:: @ 824DBB6
|
||||
message BattleFrontier_BattlePalaceLobby_Text_TakeDoubleBattleChallenge
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DBBC:: @ 824DBBC
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_WalkToDoor:: @ 824DBBC
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC23
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_TalkedToSinglesAttendant
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC29
|
||||
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC47
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_24DC47
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_TalkedToDoublesAttendant
|
||||
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_WalkToDoor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_WalkToDoor
|
||||
waitmovement 0
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC2F
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_OpenSinglesHallDoor
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC35
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_OpenDoublesHallDoor
|
||||
waitdooranim
|
||||
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_24DC49
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_24DC4C
|
||||
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_AttendantEnterDoor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_PlayerEnterDoor
|
||||
waitmovement 0
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC3B
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_CloseSinglesHallDoor
|
||||
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_24DC41
|
||||
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_CloseDoublesHallDoor
|
||||
waitdooranim
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DC23:: @ 824DC23
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_TalkedToSinglesAttendant:: @ 824DC23
|
||||
setvar VAR_LAST_TALKED, 1
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DC29:: @ 824DC29
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_TalkedToDoublesAttendant:: @ 824DC29
|
||||
setvar VAR_LAST_TALKED, 6
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DC2F:: @ 824DC2F
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_OpenSinglesHallDoor:: @ 824DC2F
|
||||
opendoor 5, 4
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DC35:: @ 824DC35
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_OpenDoublesHallDoor:: @ 824DC35
|
||||
opendoor 19, 4
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DC3B:: @ 824DC3B
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_CloseSinglesHallDoor:: @ 824DC3B
|
||||
closedoor 5, 4
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DC41:: @ 824DC41
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_CloseDoublesHallDoor:: @ 824DC41
|
||||
closedoor 19, 4
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Movement_24DC47: @ 824DC47
|
||||
BattleFrontier_BattlePalaceLobby_Movement_WalkToDoor: @ 824DC47
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Movement_24DC49: @ 824DC49
|
||||
BattleFrontier_BattlePalaceLobby_Movement_AttendantEnterDoor: @ 824DC49
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Movement_24DC4C: @ 824DC4C
|
||||
BattleFrontier_BattlePalaceLobby_Movement_PlayerEnterDoor: @ 824DC4C
|
||||
walk_up
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DC50:: @ 824DC50
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_ShowSinglesResults:: @ 824DC50
|
||||
lockall
|
||||
frontier_results FRONTIER_FACILITY_PALACE, FRONTIER_MODE_SINGLES
|
||||
waitbuttonpress
|
||||
@@ -316,7 +315,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DC50:: @ 824DC50
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DC69:: @ 824DC69
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_ShowDoublesResults:: @ 824DC69
|
||||
lockall
|
||||
frontier_results FRONTIER_FACILITY_PALACE, FRONTIER_MODE_DOUBLES
|
||||
waitbuttonpress
|
||||
@@ -324,83 +323,83 @@ BattleFrontier_BattlePalaceLobby_EventScript_24DC69:: @ 824DC69
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DC82:: @ 824DC82
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24E6E3, MSGBOX_NPC
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_BlackBelt:: @ 824DC82
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_LadyCanTellWhatMonsThink, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DC8B:: @ 824DC8B
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24E851, MSGBOX_NPC
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_Man:: @ 824DC8B
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_NatureAndMovesKeyHere, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DC94:: @ 824DC94
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24E992, MSGBOX_NPC
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_Beauty:: @ 824DC94
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_MonDocileButTransforms, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DC9D:: @ 824DC9D
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24EA4B, MSGBOX_NPC
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_Maniac:: @ 824DC9D
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_WhatNatureFavorsChippingAway, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DCA6:: @ 824DCA6
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_RulesBoard:: @ 824DCA6
|
||||
lockall
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24EF66, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_RulesAreListed, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DCB5:: @ 824DCB5
|
||||
message BattleFrontier_BattlePalaceLobby_Text_24EF88
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard:: @ 824DCB5
|
||||
message BattleFrontier_BattlePalaceLobby_Text_ReadWhichHeading
|
||||
waitmessage
|
||||
multichoice 16, 0, MULTI_BATTLE_PALACE_RULES, 0
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattlePalaceLobby_EventScript_24DD13
|
||||
case 1, BattleFrontier_BattlePalaceLobby_EventScript_24DD21
|
||||
case 2, BattleFrontier_BattlePalaceLobby_EventScript_24DD2F
|
||||
case 3, BattleFrontier_BattlePalaceLobby_EventScript_24DD3D
|
||||
case 4, BattleFrontier_BattlePalaceLobby_EventScript_24DD4B
|
||||
case 5, BattleFrontier_BattlePalaceLobby_EventScript_24DD59
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_24DD59
|
||||
case 0, BattleFrontier_BattlePalaceLobby_EventScript_RulesBasics
|
||||
case 1, BattleFrontier_BattlePalaceLobby_EventScript_RulesNature
|
||||
case 2, BattleFrontier_BattlePalaceLobby_EventScript_RulesMoves
|
||||
case 3, BattleFrontier_BattlePalaceLobby_EventScript_RulesUnderpowered
|
||||
case 4, BattleFrontier_BattlePalaceLobby_EventScript_RulesWhenInDanger
|
||||
case 5, BattleFrontier_BattlePalaceLobby_EventScript_ExitRules
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_ExitRules
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DD13:: @ 824DD13
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24EFAB, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_RulesBasics:: @ 824DD13
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesBasics, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DD21:: @ 824DD21
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24F049, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_RulesNature:: @ 824DD21
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesNature, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DD2F:: @ 824DD2F
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24F190, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_RulesMoves:: @ 824DD2F
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesMoves, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DD3D:: @ 824DD3D
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24F2E8, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_RulesUnderpowered:: @ 824DD3D
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesUnderpowered, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DD4B:: @ 824DD4B
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_24F3F4, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_24DCB5
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_RulesWhenInDanger:: @ 824DD4B
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesWhenInDanger, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_24DD59:: @ 824DD59
|
||||
BattleFrontier_BattlePalaceLobby_EventScript_ExitRules:: @ 824DD59
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24DD5B: @ 824DD5B
|
||||
BattleFrontier_BattlePalaceLobby_Text_WelcomeForSingleBattle: @ 824DD5B
|
||||
.string "Where the hearts of TRAINERS\n"
|
||||
.string "are put to the test.\p"
|
||||
.string "I welcome you to the BATTLE PALACE.\p"
|
||||
.string "I accept challenges to the SINGLE\n"
|
||||
.string "BATTLE HALLS.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24DDE1: @ 824DDE1
|
||||
BattleFrontier_BattlePalaceLobby_Text_TakeSingleBattleChallenge: @ 824DDE1
|
||||
.string "Do you wish to take\n"
|
||||
.string "the SINGLE BATTLE HALL challenge?$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24DE17: @ 824DE17
|
||||
BattleFrontier_BattlePalaceLobby_Text_ExplainSingleBattleChallenge: @ 824DE17
|
||||
.string "In the BATTLE PALACE, there are\n"
|
||||
.string "several auditoriums for SINGLE BATTLES\l"
|
||||
.string "that are named SINGLE BATTLE HALLS.\p"
|
||||
@@ -423,16 +422,16 @@ BattleFrontier_BattlePalaceLobby_Text_24DE17: @ 824DE17
|
||||
.string "If you don't save before interrupting,\n"
|
||||
.string "you will be disqualified.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E0D8: @ 824E0D8
|
||||
BattleFrontier_BattlePalaceLobby_Text_ReturnWhenFortified: @ 824E0D8
|
||||
.string "When you have fortified your heart\n"
|
||||
.string "and POKéMON, you must return.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E119: @ 824E119
|
||||
BattleFrontier_BattlePalaceLobby_Text_WhichChallenge: @ 824E119
|
||||
.string "There are two BATTLE HALLS,\n"
|
||||
.string "Level 50 and Open Level.\l"
|
||||
.string "Which is your choice of a challenge?$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E173: @ 824E173
|
||||
BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLv50: @ 824E173
|
||||
.string "Sigh…\p"
|
||||
.string "You do not have the three POKéMON\n"
|
||||
.string "required for the challenge.\p"
|
||||
@@ -446,7 +445,7 @@ BattleFrontier_BattlePalaceLobby_Text_24E173: @ 824E173
|
||||
.string "Come back when you have made\n"
|
||||
.string "your preparations.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E29E: @ 824E29E
|
||||
BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLvOpen: @ 824E29E
|
||||
.string "Sigh…\p"
|
||||
.string "You do not have the three POKéMON\n"
|
||||
.string "required for the challenge.\p"
|
||||
@@ -458,65 +457,64 @@ BattleFrontier_BattlePalaceLobby_Text_24E29E: @ 824E29E
|
||||
.string "Come back when you have made\n"
|
||||
.string "your preparations.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E399: @ 824E399
|
||||
BattleFrontier_BattlePalaceLobby_Text_NowSelectThreeMons: @ 824E399
|
||||
.string "Good. Now, you must select your\n"
|
||||
.string "three POKéMON.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E3C8: @ 824E3C8
|
||||
BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge2: @ 824E3C8
|
||||
.string "I must save before I show you to\n"
|
||||
.string "the BATTLE HALL. Is that okay?$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E408: @ 824E408
|
||||
BattleFrontier_BattlePalaceLobby_Text_FollowMe: @ 824E408
|
||||
.string "Good.\n"
|
||||
.string "Now, follow me.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E41E: @ 824E41E
|
||||
BattleFrontier_BattlePalaceLobby_Text_ResultsWillBeRecorded: @ 824E41E
|
||||
.string "I feel privileged for having seen\n"
|
||||
.string "your POKéMON's exploits.\p"
|
||||
.string "The results will be recorded.\n"
|
||||
.string "I must ask you to briefly wait.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E497: @ 824E497
|
||||
BattleFrontier_BattlePalaceLobby_Text_FirmTrueBondsFor7WinStreak: @ 824E497
|
||||
.string "To achieve a 7-win streak…\p"
|
||||
.string "The bonds that bind your heart with\n"
|
||||
.string "your POKéMON seem firm and true.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E4F7: @ 824E4F7
|
||||
BattleFrontier_BattlePalaceLobby_Text_FeatWillBeRecorded: @ 824E4F7
|
||||
.string "Your feat will be recorded.\n"
|
||||
.string "I must ask you to briefly wait.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E533: @ 824E5333
|
||||
@ Unused
|
||||
BattleFrontier_BattlePalaceLobby_Text_BattlePointsFor7WinStreak: @ 824E5333
|
||||
.string "For the feat of your 7-win streak,\n"
|
||||
.string "we present you with Battle Point(s).$"
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_24E57B: @ 824E57B
|
||||
BattleFrontier_BattlePalaceLobby_Text_NoSpaceForPrize: @ 824E57B
|
||||
.string "You seem to have no space for\n"
|
||||
.string "our prize.\p"
|
||||
.string "You should return when you have\n"
|
||||
.string "organized your BAG.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E5D8: @ 824E5D8
|
||||
VerdanturfTown_BattleTentLobby_Text_24E5D8: @ 824E5D8
|
||||
BattleFrontier_BattlePalaceLobby_Text_WeHaveBeenWaiting: @ 824E5D8
|
||||
.string "We have been waiting for you…$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E5F6: @ 824E5F6
|
||||
VerdanturfTown_BattleTentLobby_Text_24E5F6: @ 824E5F6
|
||||
BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge: @ 824E5F6
|
||||
.string "I must save before I show you to\n"
|
||||
.string "the BATTLE HALL. Is that okay?$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E636: @ 824E636
|
||||
VerdanturfTown_BattleTentLobby_Text_24E636: @ 824E636
|
||||
BattleFrontier_BattlePalaceLobby_Text_FailedToSaveBeforeEndingChallenge: @ 824E636
|
||||
.string "Sigh…\p"
|
||||
.string "You failed to save before you ended\n"
|
||||
.string "your challenge the last time.\p"
|
||||
.string "As a result, your challenge has been\n"
|
||||
.string "disqualified. It is most unfortunate.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E6C9: @ 824E6C9
|
||||
@ Unused
|
||||
BattleFrontier_BattlePalaceLobby_Text_ReceivedPrize: @ 824E6C9
|
||||
.string "{PLAYER} received the prize\n"
|
||||
.string "{STR_VAR_1}.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E6E3: @ 824E6E3
|
||||
BattleFrontier_BattlePalaceLobby_Text_LadyCanTellWhatMonsThink: @ 824E6E3
|
||||
.string "For a hardy fellow like me,\n"
|
||||
.string "hardy POKéMON are the best.\p"
|
||||
.string "Offense is the best defense!\n"
|
||||
@@ -532,7 +530,7 @@ BattleFrontier_BattlePalaceLobby_Text_24E6E3: @ 824E6E3
|
||||
.string "Huh?\n"
|
||||
.string "Why are you looking at me like that?$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E851: @ 824E851
|
||||
BattleFrontier_BattlePalaceLobby_Text_NatureAndMovesKeyHere: @ 824E851
|
||||
.string "Hmm…\p"
|
||||
.string "It appears that the nature of POKéMON\n"
|
||||
.string "and the moves that they have been\l"
|
||||
@@ -545,7 +543,7 @@ BattleFrontier_BattlePalaceLobby_Text_24E851: @ 824E851
|
||||
.string "you may need to examine how well\l"
|
||||
.string "its moves match its nature.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24E992: @ 824E992
|
||||
BattleFrontier_BattlePalaceLobby_Text_MonDocileButTransforms: @ 824E992
|
||||
.string "My POKéMON is usually very docile.\p"
|
||||
.string "But when it's in a BATTLE HALL,\n"
|
||||
.string "it sometimes seems to become\l"
|
||||
@@ -553,25 +551,25 @@ BattleFrontier_BattlePalaceLobby_Text_24E992: @ 824E992
|
||||
.string "It becomes totally intimidating.\n"
|
||||
.string "It's shocking, even.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24EA4B: @ 824EA4B
|
||||
BattleFrontier_BattlePalaceLobby_Text_WhatNatureFavorsChippingAway: @ 824EA4B
|
||||
.string "I wonder what sort of nature a POKéMON\n"
|
||||
.string "would have if it favored enfeebling its\l"
|
||||
.string "opponents and chipping away slowly.\p"
|
||||
.string "I'd be surprised if it was a LAX nature.\p"
|
||||
.string "But, nah, that can't be right.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24EB06: @ 824EB06
|
||||
BattleFrontier_BattlePalaceLobby_Text_WelcomeForDoubleBattle: @ 824EB06
|
||||
.string "Where the hearts of TRAINERS\n"
|
||||
.string "are put to the test.\p"
|
||||
.string "I welcome you to the BATTLE PALACE.\p"
|
||||
.string "I accept challenges to the DOUBLE\n"
|
||||
.string "BATTLE HALLS.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24EB8C: @ 824EB8C
|
||||
BattleFrontier_BattlePalaceLobby_Text_TakeDoubleBattleChallenge: @ 824EB8C
|
||||
.string "Do you wish to take\n"
|
||||
.string "the DOUBLE BATTLE HALL challenge?$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24EBC2: @ 824EBC2
|
||||
BattleFrontier_BattlePalaceLobby_Text_ExplainDoubleBattleChallenge: @ 824EBC2
|
||||
.string "In the BATTLE PALACE, there are\n"
|
||||
.string "several auditoriums for DOUBLE BATTLES\l"
|
||||
.string "that are named DOUBLE BATTLE HALLS.\p"
|
||||
@@ -594,37 +592,34 @@ BattleFrontier_BattlePalaceLobby_Text_24EBC2: @ 824EBC2
|
||||
.string "If you don't save before interrupting,\n"
|
||||
.string "you will be disqualified.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24EE81: @ 824EE81
|
||||
BattleFrontier_BattlePalaceLobby_Text_ToDefeatMavenAnd7Trainers: @ 824EE81
|
||||
.string "To defeat the PALACE MAVEN\n"
|
||||
.string "and seven TRAINERS in a row…$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24EEB9: @ 824EEB9
|
||||
BattleFrontier_BattlePalaceLobby_Text_PresentYouWithBattlePoints: @ 824EEB9
|
||||
.string "In honor of the bond you share with\n"
|
||||
.string "your POKéMON, we present you with\l"
|
||||
.string "these Battle Point(s).$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24EF16: @ 824EF16
|
||||
BattleFrontier_BattlePalaceLobby_Text_LikeToRecordMatch: @ 824EF16
|
||||
.string "Would you like to record your latest\n"
|
||||
.string "BATTLE PALACE match on your\l"
|
||||
.string "FRONTIER PASS?$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24EF66: @ 824EF66
|
||||
BattleFrontier_BattlePalaceLobby_Text_RulesAreListed: @ 824EF66
|
||||
.string "The BATTLE HALL rules are listed.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24EF88: @ 824EF88
|
||||
VerdanturfTown_BattleTentLobby_Text_24EF88: @ 824EF88
|
||||
BattleFrontier_BattlePalaceLobby_Text_ReadWhichHeading: @ 824EF88
|
||||
.string "Which heading do you want to read?$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24EFAB: @ 824EFAB
|
||||
VerdanturfTown_BattleTentLobby_Text_24EFAB: @ 824EFAB
|
||||
BattleFrontier_BattlePalaceLobby_Text_ExplainRulesBasics: @ 824EFAB
|
||||
.string "Here, POKéMON are required to think\n"
|
||||
.string "and battle by themselves.\p"
|
||||
.string "Unlike in the wild, POKéMON that live\n"
|
||||
.string "with people behave differently\l"
|
||||
.string "depending on their nature.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24F049: @ 824F049
|
||||
VerdanturfTown_BattleTentLobby_Text_24F049: @ 824F049
|
||||
BattleFrontier_BattlePalaceLobby_Text_ExplainRulesNature: @ 824F049
|
||||
.string "Depending on its nature, a POKéMON\n"
|
||||
.string "may prefer to attack no matter what.\p"
|
||||
.string "Another POKéMON may prefer to protect\n"
|
||||
@@ -637,8 +632,7 @@ VerdanturfTown_BattleTentLobby_Text_24F049: @ 824F049
|
||||
.string "It may also dislike certain moves that\n"
|
||||
.string "it has trouble using.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24F190: @ 824F190
|
||||
VerdanturfTown_BattleTentLobby_Text_24F190: @ 824F190
|
||||
BattleFrontier_BattlePalaceLobby_Text_ExplainRulesMoves: @ 824F190
|
||||
.string "There are offensive moves that inflict\n"
|
||||
.string "direct damage on the foe.\p"
|
||||
.string "There are defensive moves that are\n"
|
||||
@@ -651,8 +645,7 @@ VerdanturfTown_BattleTentLobby_Text_24F190: @ 824F190
|
||||
.string "POKéMON will consider using moves in\n"
|
||||
.string "these three categories.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24F2E8: @ 824F2E8
|
||||
VerdanturfTown_BattleTentLobby_Text_24F2E8: @ 824F2E8
|
||||
BattleFrontier_BattlePalaceLobby_Text_ExplainRulesUnderpowered: @ 824F2E8
|
||||
.string "When not under command by its TRAINER,\n"
|
||||
.string "a POKéMON may be unable to effectively\l"
|
||||
.string "use certain moves.\p"
|
||||
@@ -662,8 +655,7 @@ VerdanturfTown_BattleTentLobby_Text_24F2E8: @ 824F2E8
|
||||
.string "do not match its nature, it will often\l"
|
||||
.string "be unable to live up to its potential.$"
|
||||
|
||||
BattleFrontier_BattlePalaceLobby_Text_24F3F4: @ 824F3F4
|
||||
VerdanturfTown_BattleTentLobby_Text_24F3F4: @ 824F3F4
|
||||
BattleFrontier_BattlePalaceLobby_Text_ExplainRulesWhenInDanger: @ 824F3F4
|
||||
.string "Depending on its nature, a POKéMON may\n"
|
||||
.string "start using moves that don't match its\l"
|
||||
.string "nature when it is in trouble.\p"
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
BattleFrontier_BattlePikeCorridor_MapScripts:: @ 825C771
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeCorridor_MapScript2_25C77C
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeCorridor_MapScript2_25C7F7
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeCorridor_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeCorridor_OnWarp
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattlePikeCorridor_MapScript2_25C77C: @ 825C77C
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeCorridor_EventScript_25C786
|
||||
BattleFrontier_BattlePikeCorridor_OnFrame: @ 825C77C
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeCorridor_EventScript_EnterCorridor
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePikeCorridor_EventScript_25C786:: @ 825C786
|
||||
BattleFrontier_BattlePikeCorridor_EventScript_EnterCorridor:: @ 825C786
|
||||
delay 16
|
||||
frontier_set FRONTIER_DATA_BATTLE_NUM, 1
|
||||
pike_cleartrainerids
|
||||
pike_nohealing TRUE
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePikeCorridor_Movement_25C80B
|
||||
applymovement 1, BattleFrontier_BattlePikeCorridor_Movement_25C812
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePikeCorridor_Movement_PlayerEnterCorridor
|
||||
applymovement 1, BattleFrontier_BattlePikeCorridor_Movement_AttendantEnterCorridor
|
||||
waitmovement 0
|
||||
lockall
|
||||
msgbox BattleFrontier_BattlePikeCorridor_Text_YourChallengeHasBegun, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
releaseall
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePikeCorridor_Movement_25C80E
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePikeCorridor_Movement_PlayerExitCorridor
|
||||
waitmovement 0
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 99
|
||||
call BattleFrontier_BattlePike_EventScript_CloseCurtain
|
||||
@@ -27,27 +27,27 @@ BattleFrontier_BattlePikeCorridor_EventScript_25C786:: @ 825C786
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeCorridor_MapScript2_25C7F7: @ 825C7F7
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePikeCorridor_EventScript_25C801
|
||||
BattleFrontier_BattlePikeCorridor_OnWarp: @ 825C7F7
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePikeCorridor_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePikeCorridor_EventScript_25C801:: @ 825C801
|
||||
BattleFrontier_BattlePikeCorridor_EventScript_TurnPlayerNorth:: @ 825C801
|
||||
setvar VAR_TEMP_1, 1
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeCorridor_Movement_25C80B: @ 825C80B
|
||||
BattleFrontier_BattlePikeCorridor_Movement_PlayerEnterCorridor: @ 825C80B
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePikeCorridor_Movement_25C80E: @ 825C80E
|
||||
BattleFrontier_BattlePikeCorridor_Movement_PlayerExitCorridor: @ 825C80E
|
||||
walk_up
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePikeCorridor_Movement_25C812: @ 825C812
|
||||
BattleFrontier_BattlePikeCorridor_Movement_AttendantEnterCorridor: @ 825C812
|
||||
walk_up
|
||||
walk_up
|
||||
walk_left
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePikeLobby_EventScript_25B868",
|
||||
"script": "BattleFrontier_BattlePikeLobby_EventScript_Attendant",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -37,7 +37,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePikeLobby_EventScript_25BAAB",
|
||||
"script": "BattleFrontier_BattlePikeLobby_EventScript_Hiker",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -50,7 +50,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePikeLobby_EventScript_25BAB4",
|
||||
"script": "BattleFrontier_BattlePikeLobby_EventScript_Twin",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -63,7 +63,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePikeLobby_EventScript_25BABD",
|
||||
"script": "BattleFrontier_BattlePikeLobby_EventScript_Beauty",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -98,7 +98,7 @@
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "BattleFrontier_BattlePikeLobby_EventScript_25BA80"
|
||||
"script": "BattleFrontier_BattlePikeLobby_EventScript_ShowResults"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -106,7 +106,7 @@
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "BattleFrontier_BattlePikeLobby_EventScript_25BAC6"
|
||||
"script": "BattleFrontier_BattlePikeLobby_EventScript_RulesBoard"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,33 +1,33 @@
|
||||
BattleFrontier_BattlePikeLobby_MapScripts:: @ 825B6C6
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeLobby_MapScript2_25B6D1
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeLobby_MapScript2_25B6F3
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeLobby_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeLobby_OnWarp
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattlePikeLobby_MapScript2_25B6D1: @ 825B6D1
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeLobby_EventScript_25B707
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePikeLobby_EventScript_25B710
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattlePikeLobby_EventScript_25B762
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattlePikeLobby_EventScript_25B806
|
||||
BattleFrontier_BattlePikeLobby_OnFrame: @ 825B6D1
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeLobby_EventScript_GetChallengeStatus
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePikeLobby_EventScript_QuitWithoutSaving
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, BattleFrontier_BattlePikeLobby_EventScript_WonChallenge
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattlePikeLobby_EventScript_LostChallenge
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePikeLobby_MapScript2_25B6F3: @ 825B6F3
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePikeLobby_EventScript_25B6FD
|
||||
BattleFrontier_BattlePikeLobby_OnWarp: @ 825B6F3
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePikeLobby_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25B6FD:: @ 825B6FD
|
||||
BattleFrontier_BattlePikeLobby_EventScript_TurnPlayerNorth:: @ 825B6FD
|
||||
setvar VAR_TEMP_1, 1
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25B707:: @ 825B707
|
||||
BattleFrontier_BattlePikeLobby_EventScript_GetChallengeStatus:: @ 825B707
|
||||
frontier_getstatus
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25B710:: @ 825B710
|
||||
BattleFrontier_BattlePikeLobby_EventScript_QuitWithoutSaving:: @ 825B710
|
||||
special HealPlayerParty
|
||||
pike_resethelditems
|
||||
lockall
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25C2E0, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_FailedToSaveBeforeQuitting, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
pike_set PIKE_DATA_WIN_STREAK 0
|
||||
pike_set PIKE_DATA_WIN_STREAK_ACTIVE, FALSE
|
||||
@@ -36,21 +36,20 @@ BattleFrontier_BattlePikeLobby_EventScript_25B710:: @ 825B710
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25B762:: @ 825B762
|
||||
BattleFrontier_BattlePikeLobby_EventScript_WonChallenge:: @ 825B762
|
||||
lockall
|
||||
frontier_isbrain
|
||||
compare VAR_RESULT, TRUE
|
||||
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25B784
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25C18A, MSGBOX_DEFAULT
|
||||
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_DefeatedQueen
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_PossessLuckInAbundance, MSGBOX_DEFAULT
|
||||
waitmessage
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_25B78D
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_GiveBattlePoints
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25B784:: @ 825B784
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25C383, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePikeLobby_EventScript_DefeatedQueen:: @ 825B784
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_SnatchedVictoryFromQueen, MSGBOX_DEFAULT
|
||||
waitmessage
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25B78D:: @ 825B78D
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25C3D9, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePikeLobby_EventScript_GiveBattlePoints:: @ 825B78D
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_AwardYouTheseBattlePoints, MSGBOX_DEFAULT
|
||||
frontier_givepoints
|
||||
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
|
||||
frontier_checkairshow
|
||||
@@ -60,20 +59,20 @@ BattleFrontier_BattlePikeLobby_EventScript_25B78D:: @ 825B78D
|
||||
special LoadPlayerParty
|
||||
special HealPlayerParty
|
||||
pike_resethelditems
|
||||
message BattleFrontier_BattlePikeLobby_Text_25C1DF
|
||||
message BattleFrontier_BattlePikeLobby_Text_ShallRecordResults
|
||||
waitmessage
|
||||
pike_save 0
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25BE02, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_LookForwardToSeeingYou, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25B806:: @ 825B806
|
||||
BattleFrontier_BattlePikeLobby_EventScript_LostChallenge:: @ 825B806
|
||||
lockall
|
||||
message BattleFrontier_BattlePikeLobby_Text_25C146
|
||||
message BattleFrontier_BattlePikeLobby_Text_ChallengeEndedRecordResults
|
||||
waitmessage
|
||||
frontier_checkairshow
|
||||
frontier_set FRONTIER_DATA_BATTLE_NUM, 0
|
||||
@@ -84,57 +83,56 @@ BattleFrontier_BattlePikeLobby_EventScript_25B806:: @ 825B806
|
||||
pike_save 0
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25BE02, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_LookForwardToSeeingYou, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25B868:: @ 825B868
|
||||
BattleFrontier_BattlePikeLobby_EventScript_Attendant:: @ 825B868
|
||||
lock
|
||||
faceplayer
|
||||
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PIKE
|
||||
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
special SavePlayerParty
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25BB52, MSGBOX_DEFAULT
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25B87F:: @ 825B87F
|
||||
message BattleFrontier_BattlePikeLobby_Text_25BBC1
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_WelcomeToBattlePike, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePikeLobby_EventScript_AskTakeChallenge:: @ 825B87F
|
||||
message BattleFrontier_BattlePikeLobby_Text_TakeChallenge
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_CHALLENGEINFO, 0
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattlePikeLobby_EventScript_25B8BB
|
||||
case 1, BattleFrontier_BattlePikeLobby_EventScript_25BA1A
|
||||
case 2, BattleFrontier_BattlePikeLobby_EventScript_25BA76
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_25BA76
|
||||
case 0, BattleFrontier_BattlePikeLobby_EventScript_TryEnterChallenge
|
||||
case 1, BattleFrontier_BattlePikeLobby_EventScript_ExplainChallenge
|
||||
case 2, BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25B8BB:: @ 825B8BB
|
||||
message BattleFrontier_BattlePikeLobby_Text_25BE35
|
||||
BattleFrontier_BattlePikeLobby_EventScript_TryEnterChallenge:: @ 825B8BB
|
||||
message BattleFrontier_BattlePikeLobby_Text_WhichChallengeMode
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_LEVEL_MODE, 0
|
||||
switch VAR_RESULT
|
||||
case FRONTIER_LVL_TENT, BattleFrontier_BattlePikeLobby_EventScript_25BA76
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_25BA76
|
||||
case FRONTIER_LVL_TENT, BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge
|
||||
frontier_checkineligible
|
||||
compare VAR_0x8004, TRUE
|
||||
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25BA27
|
||||
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMons
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25C094, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_PleaseChooseThreeMons, MSGBOX_DEFAULT
|
||||
fadescreen FADE_TO_BLACK
|
||||
call BattleFrontier_EventScript_GetLvlMode
|
||||
copyvar VAR_0x8004, VAR_RESULT
|
||||
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
|
||||
special ChoosePartyForBattleFrontier
|
||||
waitstate
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25BA73
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25C0D8, MSGBOX_YESNO
|
||||
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_LoadPartyAndCancelChallenge
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_SaveBeforeChallenge, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, BattleFrontier_BattlePikeLobby_EventScript_25BA73
|
||||
case YES, BattleFrontier_BattlePikeLobby_EventScript_25B95C
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_25BA73
|
||||
case NO, BattleFrontier_BattlePikeLobby_EventScript_LoadPartyAndCancelChallenge
|
||||
case YES, BattleFrontier_BattlePikeLobby_EventScript_SaveBeforeChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_LoadPartyAndCancelChallenge
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
|
||||
BattleFrontier_BattlePikeLobby_EventScript_SaveBeforeChallenge:: @ 825B95C
|
||||
setvar VAR_TEMP_0, 0
|
||||
setvar VAR_TEMP_1, 0
|
||||
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
|
||||
@@ -150,13 +148,13 @@ BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
|
||||
setvar VAR_TEMP_0, 255
|
||||
pike_savehelditems
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_25BA5C
|
||||
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_CancelChallengeSaveFailed
|
||||
special SavePlayerParty
|
||||
frontier_setpartyorder FRONTIER_PARTY_SIZE
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25C130, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_StepThisWay, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
frontier_settrainers
|
||||
call BattleFrontier_BattlePikeLobby_EventScript_25BA94
|
||||
call BattleFrontier_BattlePikeLobby_EventScript_WalkToCorridor
|
||||
special HealPlayerParty
|
||||
call BattleFrontier_BattlePike_EventScript_CloseCurtain
|
||||
warpsilent MAP_BATTLE_FRONTIER_BATTLE_PIKE_CORRIDOR, 255, 6, 7
|
||||
@@ -164,36 +162,36 @@ BattleFrontier_BattlePikeLobby_EventScript_25B95C:: @ 825B95C
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BA1A:: @ 825BA1A
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25BBF5, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_25B87F
|
||||
BattleFrontier_BattlePikeLobby_EventScript_ExplainChallenge:: @ 825BA1A
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_ExplainBattlePike, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_AskTakeChallenge
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BA27:: @ 825BA27
|
||||
BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMons:: @ 825BA27
|
||||
switch VAR_RESULT
|
||||
case FRONTIER_LVL_50, BattleFrontier_BattlePikeLobby_EventScript_25BA42
|
||||
case FRONTIER_LVL_OPEN, BattleFrontier_BattlePikeLobby_EventScript_25BA4F
|
||||
case FRONTIER_LVL_50, BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMonsLv50
|
||||
case FRONTIER_LVL_OPEN, BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMonsLvOpen
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BA42:: @ 825BA42
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25BE8C, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_25BA7E
|
||||
BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMonsLv50:: @ 825BA42
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_EndCancelChallenge
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BA4F:: @ 825BA4F
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25BF9A, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_25BA7E
|
||||
BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 825BA4F
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_EndCancelChallenge
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BA5C:: @ 825BA5C
|
||||
BattleFrontier_BattlePikeLobby_EventScript_CancelChallengeSaveFailed:: @ 825BA5C
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_25BA76
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BA73:: @ 825BA73
|
||||
BattleFrontier_BattlePikeLobby_EventScript_LoadPartyAndCancelChallenge:: @ 825BA73
|
||||
special LoadPlayerParty
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BA76:: @ 825BA76
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25BE02, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BA7E:: @ 825BA7E
|
||||
BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge:: @ 825BA76
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_LookForwardToSeeingYou, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePikeLobby_EventScript_EndCancelChallenge:: @ 825BA7E
|
||||
release
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BA80:: @ 825BA80
|
||||
BattleFrontier_BattlePikeLobby_EventScript_ShowResults:: @ 825BA80
|
||||
lockall
|
||||
frontier_results FRONTIER_FACILITY_PIKE
|
||||
waitbuttonpress
|
||||
@@ -201,67 +199,66 @@ BattleFrontier_BattlePikeLobby_EventScript_25BA80:: @ 825BA80
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BA94:: @ 825BA94
|
||||
applymovement 1, BattleFrontier_BattlePikeLobby_Movement_25BAA7
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePikeLobby_Movement_25BAA6
|
||||
BattleFrontier_BattlePikeLobby_EventScript_WalkToCorridor:: @ 825BA94
|
||||
applymovement 1, BattleFrontier_BattlePikeLobby_Movement_AttendantWalkToCorridor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePikeLobby_Movement_PlayerWalkToCorridor
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Movement_25BAA6: @ 825BAA6
|
||||
BattleFrontier_BattlePikeLobby_Movement_PlayerWalkToCorridor: @ 825BAA6
|
||||
walk_up
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Movement_25BAA7: @ 825BAA7
|
||||
BattleFrontier_BattlePikeLobby_Movement_AttendantWalkToCorridor: @ 825BAA7
|
||||
walk_up
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BAAB:: @ 825BAAB
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25C422, MSGBOX_NPC
|
||||
BattleFrontier_BattlePikeLobby_EventScript_Hiker:: @ 825BAAB
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_OneRoomAwayFromGoal, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BAB4:: @ 825BAB4
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25C4A5, MSGBOX_NPC
|
||||
BattleFrontier_BattlePikeLobby_EventScript_Twin:: @ 825BAB4
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_NeverHadToBattleTrainer, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BABD:: @ 825BABD
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25C4FD, MSGBOX_NPC
|
||||
BattleFrontier_BattlePikeLobby_EventScript_Beauty:: @ 825BABD
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_ThinkAbilitiesUsefulHere, MSGBOX_NPC
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BAC6:: @ 825BAC6
|
||||
BattleFrontier_BattlePikeLobby_EventScript_RulesBoard:: @ 825BAC6
|
||||
lockall
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25C5FB, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_25BAD5
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_RulesAreListed, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BAD5:: @ 825BAD5
|
||||
message BattleFrontier_BattlePikeLobby_Text_25C621
|
||||
BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard:: @ 825BAD5
|
||||
message BattleFrontier_BattlePikeLobby_Text_ReadWhichHeading
|
||||
waitmessage
|
||||
multichoice 16, 4, MULTI_BATTLE_PIKE_RULES, 0
|
||||
switch VAR_RESULT
|
||||
case 0, BattleFrontier_BattlePikeLobby_EventScript_25BB1D
|
||||
case 1, BattleFrontier_BattlePikeLobby_EventScript_25BB2B
|
||||
case 2, BattleFrontier_BattlePikeLobby_EventScript_25BB39
|
||||
case 3, BattleFrontier_BattlePikeLobby_EventScript_25BB47
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_25BB47
|
||||
case 0, BattleFrontier_BattlePikeLobby_EventScript_RulesPokenavBag
|
||||
case 1, BattleFrontier_BattlePikeLobby_EventScript_RulesHeldItems
|
||||
case 2, BattleFrontier_BattlePikeLobby_EventScript_RulesMonOrder
|
||||
case 3, BattleFrontier_BattlePikeLobby_EventScript_ExitRules
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_ExitRules
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BB1D:: @ 825BB1D
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25C644, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_25BAD5
|
||||
BattleFrontier_BattlePikeLobby_EventScript_RulesPokenavBag:: @ 825BB1D
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_ExplainPokenavBagRules, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BB2B:: @ 825BB2B
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25C68A, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_25BAD5
|
||||
BattleFrontier_BattlePikeLobby_EventScript_RulesHeldItems:: @ 825BB2B
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_ExplainHeldItemRules, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BB39:: @ 825BB39
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_25C6EB, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_25BAD5
|
||||
BattleFrontier_BattlePikeLobby_EventScript_RulesMonOrder:: @ 825BB39
|
||||
msgbox BattleFrontier_BattlePikeLobby_Text_ExplainMonOrderRules, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeLobby_EventScript_25BB47:: @ 825BB47
|
||||
BattleFrontier_BattlePikeLobby_EventScript_ExitRules:: @ 825BB47
|
||||
releaseall
|
||||
end
|
||||
|
||||
@@ -272,17 +269,17 @@ BattleFrontier_BattlePike_EventScript_CloseCurtain:: @ 825BB49
|
||||
waitse
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25BB52: @ 825BB52
|
||||
BattleFrontier_BattlePikeLobby_Text_WelcomeToBattlePike: @ 825BB52
|
||||
.string "Where the luck of TRAINERS\n"
|
||||
.string "is put to the test…\p"
|
||||
.string "Welcome to the BATTLE PIKE…\p"
|
||||
.string "I am your guide to the BATTLE PIKE…$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25BBC1: @ 825BBC1
|
||||
BattleFrontier_BattlePikeLobby_Text_TakeChallenge: @ 825BBC1
|
||||
.string "Would you like to take the Battle\n"
|
||||
.string "Choice challenge?$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25BBF5: @ 825BBF5
|
||||
BattleFrontier_BattlePikeLobby_Text_ExplainBattlePike: @ 825BBF5
|
||||
.string "Here we conduct an event we call\n"
|
||||
.string "the Battle Choice.\p"
|
||||
.string "The Battle Choice rules are very\n"
|
||||
@@ -301,16 +298,16 @@ BattleFrontier_BattlePikeLobby_Text_25BBF5: @ 825BBF5
|
||||
.string "If you don't save before interrupting,\n"
|
||||
.string "you will be disqualified.$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25BE02: @ 825BE02
|
||||
BattleFrontier_BattlePikeLobby_Text_LookForwardToSeeingYou: @ 825BE02
|
||||
.string "We look forward to seeing you\n"
|
||||
.string "on another occasion…$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25BE35: @ 825BE35
|
||||
BattleFrontier_BattlePikeLobby_Text_WhichChallengeMode: @ 825BE35
|
||||
.string "You have the choice of two courses,\n"
|
||||
.string "Level 50 and Open Level.\l"
|
||||
.string "Which will you challenge?$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25BE8C: @ 825BE8C
|
||||
BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLv50: @ 825BE8C
|
||||
.string "I beg your pardon, but…\p"
|
||||
.string "You do not have three eligible\n"
|
||||
.string "POKéMON for the Battle Choice event.\p"
|
||||
@@ -322,7 +319,7 @@ BattleFrontier_BattlePikeLobby_Text_25BE8C: @ 825BE8C
|
||||
.string "Please come see me when\n"
|
||||
.string "you are ready…$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25BF9A: @ 825BF9A
|
||||
BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLvOpen: @ 825BF9A
|
||||
.string "I beg your pardon, but…\p"
|
||||
.string "You do not have three eligible\n"
|
||||
.string "POKéMON for the Battle Choice event.\p"
|
||||
@@ -334,98 +331,101 @@ BattleFrontier_BattlePikeLobby_Text_25BF9A: @ 825BF9A
|
||||
.string "Please come see me when\n"
|
||||
.string "you are ready…$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C094: @ 825C094
|
||||
BattleFrontier_BattlePikeLobby_Text_PleaseChooseThreeMons: @ 825C094
|
||||
.string "Please choose the three POKéMON\n"
|
||||
.string "you wish to enter in the challenge…$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C0D8: @ 825C0D8
|
||||
BattleFrontier_BattlePikeLobby_Text_SaveBeforeChallenge: @ 825C0D8
|
||||
.string "Before starting your Battle Choice\n"
|
||||
.string "challenge, I must save the game.\l"
|
||||
.string "Is that acceptable?$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C130: @ 825C130
|
||||
BattleFrontier_BattlePikeLobby_Text_StepThisWay: @ 825C130
|
||||
.string "Please step this way…$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C146: @ 825C146
|
||||
BattleFrontier_BattlePikeLobby_Text_ChallengeEndedRecordResults: @ 825C146
|
||||
.string "Your challenge has ended…\p"
|
||||
.string "I shall record your results.\n"
|
||||
.string "Please wait…$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C18A: @ 825C18A
|
||||
BattleFrontier_BattlePikeLobby_Text_PossessLuckInAbundance: @ 825C18A
|
||||
.string "You have completed the challenge…\p"
|
||||
.string "I must say… You seem to possess luck\n"
|
||||
.string "in abundance…$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C1DF: @ 825C1DF
|
||||
BattleFrontier_BattlePikeLobby_Text_ShallRecordResults: @ 825C1DF
|
||||
.string "I shall record your results.\n"
|
||||
.string "Please wait…$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C209: @ 825C209
|
||||
@ Unused
|
||||
BattleFrontier_BattlePikeLobby_Text_AwardYouTheseBattlePoints2: @ 825C209
|
||||
.string "To commemorate your completion of\n"
|
||||
.string "the Battle Choice challenge, we award\l"
|
||||
.string "you these Battle Point(s)…$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C26C: @ 825C26C
|
||||
@ Unused
|
||||
BattleFrontier_BattlePikeLobby_Text_ReachedBattlePointLimit: @ 825C26C
|
||||
.string "You appear to have reached the limit\n"
|
||||
.string "for Battle Points…\pPlease exchange some Battle Points\n"
|
||||
.string "for prizes, then return…$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C2E0: @ 825C2E0
|
||||
BattleFrontier_BattlePikeLobby_Text_FailedToSaveBeforeQuitting: @ 825C2E0
|
||||
.string "I beg your pardon, but…\p"
|
||||
.string "You failed to save before you quit\n"
|
||||
.string "your challenge the last time.\p"
|
||||
.string "Because of that, your challenge so far\n"
|
||||
.string "has been disqualified. I am sorry…$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C383: @ 825C383
|
||||
BattleFrontier_BattlePikeLobby_Text_SnatchedVictoryFromQueen: @ 825C383
|
||||
.string "Congratulations…\p"
|
||||
.string "You have snatched victory from the\n"
|
||||
.string "PIKE QUEEN and cleared the event…$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C3D9: @ 825C3D9
|
||||
BattleFrontier_BattlePikeLobby_Text_AwardYouTheseBattlePoints: @ 825C3D9
|
||||
.string "In recognition of your amazing luck,\n"
|
||||
.string "we award you these Battle Point(s)…$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C422: @ 825C422
|
||||
BattleFrontier_BattlePikeLobby_Text_OneRoomAwayFromGoal: @ 825C422
|
||||
.string "Arrgh! I blew my chance!\n"
|
||||
.string "I was one room away from the goal!\p"
|
||||
.string "In this place, you'd better watch out\n"
|
||||
.string "for poison, freezing, and so on.$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C4A5: @ 825C4A5
|
||||
BattleFrontier_BattlePikeLobby_Text_NeverHadToBattleTrainer: @ 825C4A5
|
||||
.string "I've completed the challenge 10 times\n"
|
||||
.string "now, but I've never had to battle\l"
|
||||
.string "a TRAINER once.$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C4FD: @ 825C4FD
|
||||
BattleFrontier_BattlePikeLobby_Text_ThinkAbilitiesUsefulHere: @ 825C4FD
|
||||
.string "Listen! Listen!\p"
|
||||
.string "Don't you think that the special\n"
|
||||
.string "abilities of POKéMON will be useful\l"
|
||||
.string "here?$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C558: @ 825C558
|
||||
@ Unused
|
||||
BattleFrontier_BattlePikeLobby_Text_TrainersWhicheverPathIChoose: @ 825C558
|
||||
.string "What is this weird place?\n"
|
||||
.string "I can't figure it out at all!\p"
|
||||
.string "I've taken the challenge a bunch\n"
|
||||
.string "of times, but all I ever do is run into\l"
|
||||
.string "TRAINERS whichever path I choose.$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C5FB: @ 825C5FB
|
||||
BattleFrontier_BattlePikeLobby_Text_RulesAreListed: @ 825C5FB
|
||||
.string "The Battle Choice's rules are listed.$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C621: @ 825C621
|
||||
BattleFrontier_BattlePikeLobby_Text_ReadWhichHeading: @ 825C621
|
||||
.string "Which heading do you want to read?$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C644: @ 825C644
|
||||
BattleFrontier_BattlePikeLobby_Text_ExplainPokenavBagRules: @ 825C644
|
||||
.string "The BAG and POKéNAV may not be used\n"
|
||||
.string "during a Battle Choice challenge.$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C68A: @ 825C68A
|
||||
BattleFrontier_BattlePikeLobby_Text_ExplainHeldItemRules: @ 825C68A
|
||||
.string "During a Battle Choice challenge,\n"
|
||||
.string "any BERRY or HERB held by POKéMON\l"
|
||||
.string "will be effective only once.$"
|
||||
|
||||
BattleFrontier_BattlePikeLobby_Text_25C6EB: @ 825C6EB
|
||||
BattleFrontier_BattlePikeLobby_Text_ExplainMonOrderRules: @ 825C6EB
|
||||
.string "During a Battle Choice challenge,\n"
|
||||
.string "the sequence of POKéMON cannot be\l"
|
||||
.string "changed.\p"
|
||||
|
||||
@@ -4,12 +4,12 @@ BattleFrontier_BattlePikeRoomFinal_MapScripts:: @ 825E392
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattlePikeRoomFinal_OnFrame: @ 825E39D
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeRoomFinal_EventScript_25E3A7
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeRoomFinal_EventScript_EnterRoom
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePikeRoomFinal_EventScript_25E3A7:: @ 825E3A7
|
||||
BattleFrontier_BattlePikeRoomFinal_EventScript_EnterRoom:: @ 825E3A7
|
||||
delay 16
|
||||
applymovement 1, BattleFrontier_BattlePikeRoomFinal_Movement_25E3DB
|
||||
applymovement 1, BattleFrontier_BattlePikeRoomFinal_Movement_AttendantApproachPlayer
|
||||
waitmovement 0
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
|
||||
lockall
|
||||
@@ -20,7 +20,7 @@ BattleFrontier_BattlePikeRoomFinal_EventScript_25E3A7:: @ 825E3A7
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomFinal_Movement_25E3DB: @ 825E3DB
|
||||
BattleFrontier_BattlePikeRoomFinal_Movement_AttendantApproachPlayer: @ 825E3DB
|
||||
walk_down
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_25D7ED",
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_NPC",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -37,7 +37,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_25D88D",
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_StatusMon",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -59,7 +59,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_2",
|
||||
"var_value": "0",
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_2C4082"
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_SetEnteredRoom"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -68,7 +68,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_3",
|
||||
"var_value": "1",
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_2C408D"
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_NoTurningBack"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -77,7 +77,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_2",
|
||||
"var_value": "0",
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_2C4082"
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_SetEnteredRoom"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -86,7 +86,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_2",
|
||||
"var_value": "0",
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_2C4082"
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_SetEnteredRoom"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -95,7 +95,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_3",
|
||||
"var_value": "1",
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_2C408D"
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_NoTurningBack"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -104,7 +104,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_3",
|
||||
"var_value": "1",
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_2C408D"
|
||||
"script": "BattleFrontier_BattlePikeRoomNormal_EventScript_NoTurningBack"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -23,7 +23,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_1",
|
||||
"var_value": "0",
|
||||
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_2C4174"
|
||||
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_Exit"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -32,7 +32,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_2",
|
||||
"var_value": "0",
|
||||
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_2C4202"
|
||||
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_SetEnteredRoom"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -41,7 +41,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_2",
|
||||
"var_value": "0",
|
||||
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_2C4202"
|
||||
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_SetEnteredRoom"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -50,7 +50,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_2",
|
||||
"var_value": "0",
|
||||
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_2C4202"
|
||||
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_SetEnteredRoom"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -59,7 +59,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_3",
|
||||
"var_value": "1",
|
||||
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_2C420D"
|
||||
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_NoTurningBack"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -68,7 +68,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_3",
|
||||
"var_value": "1",
|
||||
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_2C420D"
|
||||
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_NoTurningBack"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -77,7 +77,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_3",
|
||||
"var_value": "1",
|
||||
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_2C420D"
|
||||
"script": "BattleFrontier_BattlePikeRoomWildMons_EventScript_NoTurningBack"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
|
||||
@@ -1,44 +1,44 @@
|
||||
BattleFrontier_BattlePikeRoomWildMons_MapScripts:: @ 825E41A
|
||||
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattlePikeRoomWildMons_MapScript1_25E47A
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeRoomWildMons_MapScript2_25E42A
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeRoomWildMons_MapScript2_25E466
|
||||
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattlePikeRoomWildMons_OnResume
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeRoomWildMons_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeRoomWildMons_OnWarp
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattlePikeRoomWildMons_MapScript2_25E42A: @ 825E42A
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeRoomWildMons_EventScript_25E43C
|
||||
map_script_2 VAR_TEMP_1, 1, BattleFrontier_BattlePikeRoomWildMons_EventScript_25E44A
|
||||
BattleFrontier_BattlePikeRoomWildMons_OnFrame: @ 825E42A
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeRoomWildMons_EventScript_SetInWildMonRoom
|
||||
map_script_2 VAR_TEMP_1, 1, BattleFrontier_BattlePikeRoomWildMons_EventScript_WarpToLobbyLost
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePikeRoomWildMons_EventScript_25E43C:: @ 825E43C
|
||||
BattleFrontier_BattlePikeRoomWildMons_EventScript_SetInWildMonRoom:: @ 825E43C
|
||||
setvar VAR_TEMP_0, 1
|
||||
pike_inwildmonroom
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomWildMons_EventScript_25E44A:: @ 825E44A
|
||||
BattleFrontier_BattlePikeRoomWildMons_EventScript_WarpToLobbyLost:: @ 825E44A
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY, 255, 5, 6
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomWildMons_MapScript2_25E466: @ 825E466
|
||||
map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeRoomWildMons_EventScript_25E470
|
||||
BattleFrontier_BattlePikeRoomWildMons_OnWarp: @ 825E466
|
||||
map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeRoomWildMons_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePikeRoomWildMons_EventScript_25E470:: @ 825E470
|
||||
BattleFrontier_BattlePikeRoomWildMons_EventScript_TurnPlayerNorth:: @ 825E470
|
||||
setvar VAR_TEMP_4, 1
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomWildMons_MapScript1_25E47A: @ 825E47A
|
||||
BattleFrontier_BattlePikeRoomWildMons_OnResume: @ 825E47A
|
||||
call BattleFrontier_BattlePikeRoom_EventScript_ResetSketchedMoves
|
||||
frontier_get FRONTIER_DATA_BATTLE_OUTCOME
|
||||
compare VAR_RESULT, B_OUTCOME_LOST
|
||||
goto_if_eq BattleFrontier_BattlePikeRoomWildMons_EventScript_25E4A3
|
||||
goto_if_eq BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost
|
||||
compare VAR_RESULT, B_OUTCOME_DREW
|
||||
goto_if_eq BattleFrontier_BattlePikeRoomWildMons_EventScript_25E4A3
|
||||
goto_if_eq BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomWildMons_EventScript_25E4A3:: @ 825E4A3
|
||||
BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost:: @ 825E4A3
|
||||
setvar VAR_TEMP_1, 1
|
||||
end
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_25C908",
|
||||
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_Attendant",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -77,7 +77,7 @@
|
||||
"elevation": 0,
|
||||
"var": "VAR_TEMP_3",
|
||||
"var_value": "1",
|
||||
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_2C406D"
|
||||
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_NoTurningBack"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -86,7 +86,7 @@
|
||||
"elevation": 0,
|
||||
"var": "VAR_TEMP_3",
|
||||
"var_value": "1",
|
||||
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_2C406D"
|
||||
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_NoTurningBack"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -95,7 +95,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_2",
|
||||
"var_value": "0",
|
||||
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_2C4062"
|
||||
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_SetEnteredRoom"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -104,7 +104,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_2",
|
||||
"var_value": "0",
|
||||
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_2C4062"
|
||||
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_SetEnteredRoom"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -113,7 +113,7 @@
|
||||
"elevation": 3,
|
||||
"var": "VAR_TEMP_2",
|
||||
"var_value": "0",
|
||||
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_2C4062"
|
||||
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_SetEnteredRoom"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
@@ -122,7 +122,7 @@
|
||||
"elevation": 0,
|
||||
"var": "VAR_TEMP_3",
|
||||
"var_value": "1",
|
||||
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_2C406D"
|
||||
"script": "BattleFrontier_BattlePikeThreePathRoom_EventScript_NoTurningBack"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
|
||||
@@ -5,23 +5,23 @@ BattleFrontier_BattlePikeThreePathRoom_MapScripts:: @ 825C843
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_OnFrame: @ 825C853
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_CheckChallengeStatus
|
||||
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_GetChallengeStatus
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpToLobby
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C8A4
|
||||
map_script_2 VAR_TEMP_5, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA78
|
||||
map_script_2 VAR_TEMP_5, 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA97
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_ResumeChallenge
|
||||
map_script_2 VAR_TEMP_5, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_SetHintRoom
|
||||
map_script_2 VAR_TEMP_5, 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_GivePikeQueenHint
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_OnWarp: @ 825C87D
|
||||
map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C887
|
||||
map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C887:: @ 825C887
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_TurnPlayerNorth:: @ 825C887
|
||||
setvar VAR_TEMP_4, 1
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_CheckChallengeStatus:: @ 825C891
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_GetChallengeStatus:: @ 825C891
|
||||
frontier_getstatus
|
||||
end
|
||||
|
||||
@@ -30,7 +30,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpToLobby:: @ 825C89A
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C8A4:: @ 825C8A4
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_ResumeChallenge:: @ 825C8A4
|
||||
lockall
|
||||
message BattleFrontier_BattlePikeThreePathRoom_Text_AwaitingReturnSaveBeforeResume
|
||||
waitmessage
|
||||
@@ -48,76 +48,76 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25C8A4:: @ 825C8A4
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 99
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C908:: @ 825C908
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_Attendant:: @ 825C908
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM @ Room number
|
||||
switch VAR_RESULT
|
||||
case 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C968
|
||||
case 3, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C978
|
||||
case 5, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C988
|
||||
case 7, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C998
|
||||
case 9, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9A8
|
||||
case 11, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9B8
|
||||
case 13, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9C8
|
||||
case 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom1
|
||||
case 3, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom3
|
||||
case 5, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom5
|
||||
case 7, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom7
|
||||
case 9, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom9
|
||||
case 11, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom11
|
||||
case 13, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom13
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C968:: @ 825C968
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom1:: @ 825C968
|
||||
lock
|
||||
faceplayer
|
||||
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom1, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8
|
||||
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C978:: @ 825C978
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom3:: @ 825C978
|
||||
lock
|
||||
faceplayer
|
||||
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom3, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8
|
||||
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C988:: @ 825C988
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom5:: @ 825C988
|
||||
lock
|
||||
faceplayer
|
||||
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom5, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8
|
||||
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C998:: @ 825C998
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom7:: @ 825C998
|
||||
lock
|
||||
faceplayer
|
||||
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom7, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8
|
||||
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9A8:: @ 825C9A8
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom9:: @ 825C9A8
|
||||
lock
|
||||
faceplayer
|
||||
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom9, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8
|
||||
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9B8:: @ 825C9B8
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom11:: @ 825C9B8
|
||||
lock
|
||||
faceplayer
|
||||
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom11, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8
|
||||
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9C8:: @ 825C9C8
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom13:: @ 825C9C8
|
||||
lock
|
||||
faceplayer
|
||||
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom13, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8
|
||||
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8:: @ 825C9D8
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge:: @ 825C9D8
|
||||
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_ContinueWithChallenge, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA2A
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA2A
|
||||
case NO, BattleFrontier_BattlePikeThreePathRoom_EventScript_AskSaveChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_AskSaveChallenge
|
||||
release
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9FD:: @ 825C9FD
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_PauseChallenge:: @ 825C9FD
|
||||
frontier_saveparty
|
||||
message BattleFrontier_BattlePikeThreePathRoom_Text_SavingYourData
|
||||
waitmessage
|
||||
@@ -125,20 +125,20 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9FD:: @ 825C9FD
|
||||
pike_save CHALLENGE_STATUS_PAUSED
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
frontier_reset
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA2A:: @ 825CA2A
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_AskSaveChallenge:: @ 825CA2A
|
||||
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_SaveChallengeAndQuit, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case YES, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9FD
|
||||
case NO, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A
|
||||
case YES, BattleFrontier_BattlePikeThreePathRoom_EventScript_PauseChallenge
|
||||
case NO, BattleFrontier_BattlePikeThreePathRoom_EventScript_AskRetireChallenge
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattlePikeThreePathRoom_EventScript_AskRetireChallenge
|
||||
release
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A:: @ 825CA5A
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_AskRetireChallenge:: @ 825CA5A
|
||||
message BattleFrontier_BattlePikeThreePathRoom_Text_RetireFromChallenge
|
||||
waitmessage
|
||||
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
|
||||
@@ -147,24 +147,24 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A:: @ 825CA5A
|
||||
release
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA78:: @ 825CA78
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_SetHintRoom:: @ 825CA78
|
||||
pike_sethintroom
|
||||
compare VAR_RESULT, TRUE
|
||||
goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA91
|
||||
goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_SetPikeQueenHint
|
||||
setvar VAR_TEMP_5, 255
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA91:: @ 825CA91
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_SetPikeQueenHint:: @ 825CA91
|
||||
setvar VAR_TEMP_5, 1
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA97:: @ 825CA97
|
||||
applymovement 2, BattleFrontier_BattlePikeThreePathRoom_Movement_25CBCE
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_GivePikeQueenHint:: @ 825CA97
|
||||
applymovement 2, BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverApproachPlayer
|
||||
waitmovement 0
|
||||
lockall
|
||||
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_TerrifyingEvent, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
applymovement 2, BattleFrontier_BattlePikeThreePathRoom_Movement_25CBD5
|
||||
applymovement 2, BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverReturnToPos
|
||||
waitmovement 0
|
||||
setvar VAR_TEMP_5, 255
|
||||
end
|
||||
@@ -244,7 +244,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveBrainHint:: @ 825CBC2
|
||||
release
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_Movement_25CBCE: @ 825CBCE
|
||||
BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverApproachPlayer: @ 825CBCE
|
||||
walk_left
|
||||
walk_left
|
||||
walk_down
|
||||
@@ -253,7 +253,7 @@ BattleFrontier_BattlePikeThreePathRoom_Movement_25CBCE: @ 825CBCE
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_Movement_25CBD5: @ 825CBD5
|
||||
BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverReturnToPos: @ 825CBD5
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_EMPTY_SQUARE",
|
||||
"name": "BattleFrontier_BattlePyramidEmptySquare",
|
||||
"layout": "LAYOUT_BATTLE_FRONTIER_BATTLE_PYRAMID_EMPTY_SQUARE",
|
||||
"id": "MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_FLOOR",
|
||||
"name": "BattleFrontier_BattlePyramidFloor",
|
||||
"layout": "LAYOUT_BATTLE_FRONTIER_BATTLE_PYRAMID_FLOOR",
|
||||
"music": "MUS_NONE",
|
||||
"region_map_section": "MAPSEC_BATTLE_FRONTIER",
|
||||
"requires_flash": false,
|
||||
+168
-168
@@ -1,73 +1,72 @@
|
||||
BattleFrontier_BattlePyramidEmptySquare_MapScripts:: @ 8252A33
|
||||
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattlePyramidEmptySquare_MapScript1_252AA2
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePyramidEmptySquare_MapScript2_252A43
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattlePyramidEmptySquare_MapScript1_252BCA
|
||||
BattleFrontier_BattlePyramidFloor_MapScripts:: @ 8252A33
|
||||
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattlePyramidFloor_OnResume
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePyramidFloor_OnFrame
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattlePyramidFloor_OnTransition
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattlePyramidEmptySquare_MapScript2_252A43: @ 8252A43
|
||||
map_script_2 VAR_TEMP_D, 1, BattleFrontier_BattlePyramidEmptySquare_EventScript_252A5D
|
||||
map_script_2 VAR_TEMP_E, 0, BattleFrontier_BattlePyramidEmptySquare_EventScript_252A98
|
||||
map_script_2 VAR_TEMP_F, 1, BattleFrontier_BattlePyramidEmptySquare_EventScript_252A8F
|
||||
BattleFrontier_BattlePyramidFloor_OnFrame: @ 8252A43
|
||||
map_script_2 VAR_TEMP_D, 1, BattleFrontier_BattlePyramidFloor_EventScript_UpdateLight
|
||||
map_script_2 VAR_TEMP_E, 0, BattleFrontier_BattlePyramidFloor_EventScript_PlayPyramidMusic
|
||||
map_script_2 VAR_TEMP_F, 1, BattleFrontier_BattlePyramidFloor_EventScript_ShowMapName
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePyramidEmptySquare_EventScript_252A5D:: @ 8252A5D
|
||||
BattleFrontier_BattlePyramidFloor_EventScript_UpdateLight:: @ 8252A5D
|
||||
lockall
|
||||
@ pyramid_updatelight, cant use macro because it straddles the loop
|
||||
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_UPDATE_LIGHT
|
||||
setvar VAR_0x8005, 4
|
||||
setvar VAR_0x8006, PYRAMID_LIGHT_INCR_RADIUS
|
||||
setvar VAR_0x8007, SE_SAVE
|
||||
setvar VAR_RESULT, 0
|
||||
BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77:: @ 8252A77
|
||||
BattleFrontier_BattlePyramidFloor_EventScript_UpdateLightLoop:: @ 8252A77
|
||||
special CallBattlePyramidFunction
|
||||
delay 2
|
||||
compare VAR_RESULT, 2
|
||||
goto_if_ne BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77
|
||||
goto_if_ne BattleFrontier_BattlePyramidFloor_EventScript_UpdateLightLoop
|
||||
setvar VAR_TEMP_D, 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidEmptySquare_EventScript_252A8F:: @ 8252A8F
|
||||
BattleFrontier_BattlePyramidFloor_EventScript_ShowMapName:: @ 8252A8F
|
||||
special ShowMapNamePopup
|
||||
setvar VAR_TEMP_F, 0
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidEmptySquare_EventScript_252A98:: @ 8252A98
|
||||
BattleFrontier_BattlePyramidFloor_EventScript_PlayPyramidMusic:: @ 8252A98
|
||||
playbgm MUS_PYRAMID, 0
|
||||
setvar VAR_TEMP_E, 1
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidEmptySquare_MapScript1_252AA2: @ 8252AA2
|
||||
BattleFrontier_BattlePyramidFloor_OnResume: @ 8252AA2
|
||||
pyramid_setfloorpal
|
||||
frontier_getstatus
|
||||
switch VAR_TEMP_0
|
||||
case 0, BattleFrontier_BattlePyramidEmptySquare_EventScript_252B8D
|
||||
case CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePyramidEmptySquare_EventScript_252B66
|
||||
case CHALLENGE_STATUS_PAUSED, BattleFrontier_BattlePyramidEmptySquare_EventScript_252B8D
|
||||
case 0, BattleFrontier_BattlePyramidFloor_EventScript_ReadyChallenge
|
||||
case CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePyramid_EventScript_WarpToLobby
|
||||
case CHALLENGE_STATUS_PAUSED, BattleFrontier_BattlePyramidFloor_EventScript_ReadyChallenge
|
||||
frontier_get FRONTIER_DATA_BATTLE_OUTCOME
|
||||
compare VAR_RESULT, B_OUTCOME_RAN
|
||||
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
|
||||
goto_if_eq BattleFrontier_BattlePyramidFloor_EventScript_ResetParty
|
||||
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
|
||||
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
|
||||
goto_if_eq BattleFrontier_BattlePyramidFloor_EventScript_ResetParty
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
|
||||
goto_if_eq BattleFrontier_BattlePyramidFloor_EventScript_ResetParty
|
||||
compare VAR_RESULT, B_OUTCOME_LOST
|
||||
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
|
||||
goto_if_eq BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
|
||||
compare VAR_RESULT, B_OUTCOME_DREW
|
||||
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
|
||||
goto_if_eq BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
|
||||
compare VAR_RESULT, B_OUTCOME_FORFEITED
|
||||
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
|
||||
goto_if_eq BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
|
||||
frontier_isbattletype BATTLE_TYPE_TRAINER @ VAR_RESULT seems to be ignored here
|
||||
setvar VAR_TEMP_D, 1
|
||||
BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39:: @ 8252B39
|
||||
pyramid_healparty
|
||||
BattleFrontier_BattlePyramidFloor_EventScript_ResetParty:: @ 8252B39
|
||||
pyramid_resetparty
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42:: @ 8252B42
|
||||
BattleFrontier_BattlePyramidTop_EventScript_252B42:: @ 8252B42
|
||||
BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost:: @ 8252B42
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
|
||||
pyramid_set PYRAMID_DATA_TRAINER_FLAGS, 255
|
||||
BattleFrontier_BattlePyramidEmptySquare_EventScript_252B66:: @ 8252B66
|
||||
BattleFrontier_BattlePyramidTop_EventScript_252B66:: @ 8252B66
|
||||
BattleFrontier_BattlePyramid_EventScript_WarpToLobby:: @ 8252B66
|
||||
pyramid_updatelight 0, PYRAMID_LIGHT_SET_RADIUS
|
||||
pyramid_clearhelditems
|
||||
special HealPlayerParty
|
||||
@@ -75,39 +74,39 @@ BattleFrontier_BattlePyramidTop_EventScript_252B66:: @ 8252B66
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidEmptySquare_EventScript_252B8D:: @ 8252B8D
|
||||
BattleFrontier_BattlePyramidFloor_EventScript_ReadyChallenge:: @ 8252B8D
|
||||
pyramid_save CHALLENGE_STATUS_SAVING
|
||||
special SavePlayerParty
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
pyramid_inittrainers
|
||||
pyramid_settrainers
|
||||
frontier_setpartyorder FRONTIER_PARTY_SIZE
|
||||
setvar VAR_TEMP_F, 1
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidEmptySquare_MapScript1_252BCA: @ 8252BCA
|
||||
call BattleFrontier_BattlePyramidEmptySquare_EventScript_252BD5
|
||||
BattleFrontier_BattlePyramidFloor_OnTransition: @ 8252BCA
|
||||
call BattleFrontier_BattlePyramidFloor_EventScript_SetLightRadius
|
||||
setvar VAR_TEMP_F, 1
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidEmptySquare_EventScript_252BD5:: @ 8252BD5
|
||||
BattleFrontier_BattlePyramidFloor_EventScript_SetLightRadius:: @ 8252BD5
|
||||
pyramid_updatelight 32, PYRAMID_LIGHT_SET_RADIUS
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePyramidEmptySquare_EventScript_252BE8:: @ 8252BE8
|
||||
BattlePyramid_WarpToNextFloor:: @ 8252BE8
|
||||
call BattleFrontier_EventScript_IncrementWinStreak
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM @ Floor number
|
||||
addvar VAR_RESULT, 1
|
||||
frontier_set FRONTIER_DATA_BATTLE_NUM, VAR_RESULT
|
||||
compare VAR_RESULT, 7
|
||||
goto_if_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C45
|
||||
goto_if_eq BattlePyramid_WarpToTop
|
||||
pyramid_seedfloor
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
setvar VAR_RESULT, 0
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_EMPTY_SQUARE, 255, 1, 1
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_FLOOR, 255, 1, 1
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidEmptySquare_EventScript_252C45:: @ 8252C45
|
||||
BattlePyramid_WarpToTop:: @ 8252C45
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_TOP, 255, 17, 17
|
||||
waitstate
|
||||
end
|
||||
@@ -126,14 +125,15 @@ BattlePyramid_FindItemBall:: @ 8252C6A
|
||||
pyramid_setitem
|
||||
callstd STD_FIND_ITEM
|
||||
compare VAR_0x8007, 0
|
||||
goto_if_eq BattlePyramid_FindItemBall_End
|
||||
goto_if_eq BattlePyramid_FindItemBallEnd
|
||||
pyramid_hideitem
|
||||
BattlePyramid_FindItemBall_End:: @ 8252C87
|
||||
BattlePyramid_FindItemBallEnd:: @ 8252C87
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidEmptySquare_EventScript_252C88:: @ 8252C88
|
||||
goto BattleFrontier_BattlePyramidTop_EventScript_252B42
|
||||
BattlePyramid_Retire:: @ 8252C88
|
||||
goto BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
|
||||
|
||||
@ Also used by Trainer Hill
|
||||
BattleFacility_TrainerBattle_PlaceholderText: @ 8252C8D
|
||||
.string "This is a sample message.$"
|
||||
|
||||
@@ -146,595 +146,595 @@ gText_BattlePyramidConfirmRetire:: @ 8252CFB
|
||||
.string "Are you sure you want to quit your\n"
|
||||
.string "PYRAMID quest?$"
|
||||
|
||||
BattlePyramid_ExitHintUp_Text1:: @ 8252D2D
|
||||
BattlePyramid_Text_ExitHintUp1:: @ 8252D2D
|
||||
.string "This floor's exit is in\n"
|
||||
.string "that direction: {UP_ARROW}$"
|
||||
|
||||
BattlePyramid_ExitHintLeft_Text1:: @ 8252D57
|
||||
BattlePyramid_Text_ExitHintLeft1:: @ 8252D57
|
||||
.string "This floor's exit is in\n"
|
||||
.string "that direction: {LEFT_ARROW}$"
|
||||
|
||||
BattlePyramid_ExitHintRight_Text1:: @ 8252D81
|
||||
BattlePyramid_Text_ExitHintRight1:: @ 8252D81
|
||||
.string "This floor's exit is in\n"
|
||||
.string "that direction: {RIGHT_ARROW}$"
|
||||
|
||||
BattlePyramid_ExitHintDown_Text1:: @ 8252DAB
|
||||
BattlePyramid_Text_ExitHintDown1:: @ 8252DAB
|
||||
.string "This floor's exit is in\n"
|
||||
.string "that direction: {DOWN_ARROW}$"
|
||||
|
||||
BattlePyramid_ExitHintUp_Text2:: @ 8252DD5
|
||||
BattlePyramid_Text_ExitHintUp2:: @ 8252DD5
|
||||
.string "The exit on this floor is in\n"
|
||||
.string "the {UP_ARROW} direction.$"
|
||||
|
||||
BattlePyramid_ExitHintLeft_Text2:: @ 8252E03
|
||||
BattlePyramid_Text_ExitHintLeft2:: @ 8252E03
|
||||
.string "The exit on this floor is in\n"
|
||||
.string "the {LEFT_ARROW} direction.$"
|
||||
|
||||
BattlePyramid_ExitHintRight_Text2:: @ 8252E31
|
||||
BattlePyramid_Text_ExitHintRight2:: @ 8252E31
|
||||
.string "The exit on this floor is in\n"
|
||||
.string "the {RIGHT_ARROW} direction.$"
|
||||
|
||||
BattlePyramid_ExitHintDown_Text2:: @ 8252E5F
|
||||
BattlePyramid_Text_ExitHintDown2:: @ 8252E5F
|
||||
.string "The exit on this floor is in\n"
|
||||
.string "the {DOWN_ARROW} direction.$"
|
||||
|
||||
BattlePyramid_ExitHintUp_Text3:: @ 8252E8D
|
||||
BattlePyramid_Text_ExitHintUp3:: @ 8252E8D
|
||||
.string "The exit is over\n"
|
||||
.string "that {UP_ARROW} way.$"
|
||||
|
||||
BattlePyramid_ExitHintLeft_Text3:: @ 8252EAA
|
||||
BattlePyramid_Text_ExitHintLeft3:: @ 8252EAA
|
||||
.string "The exit is over\n"
|
||||
.string "that {LEFT_ARROW} way.$"
|
||||
|
||||
BattlePyramid_ExitHintRight_Text3:: @ 8252EC7
|
||||
BattlePyramid_Text_ExitHintRight3:: @ 8252EC7
|
||||
.string "The exit is over\n"
|
||||
.string "that {RIGHT_ARROW} way.$"
|
||||
|
||||
BattlePyramid_ExitHintDown_Text3:: @ 8252EE4
|
||||
BattlePyramid_Text_ExitHintDown3:: @ 8252EE4
|
||||
.string "The exit is over\n"
|
||||
.string "that {DOWN_ARROW} way.$"
|
||||
|
||||
BattlePyramid_ExitHintUp_Text4:: @ 8252F01
|
||||
BattlePyramid_Text_ExitHintUp4:: @ 8252F01
|
||||
.string "On this floor, the exit is somewhere\n"
|
||||
.string "in the {UP_ARROW} direction.$"
|
||||
|
||||
BattlePyramid_ExitHintLeft_Text4:: @ 8252F3A
|
||||
BattlePyramid_Text_ExitHintLeft4:: @ 8252F3A
|
||||
.string "On this floor, the exit is somewhere\n"
|
||||
.string "in the {LEFT_ARROW} direction.$"
|
||||
|
||||
BattlePyramid_ExitHintRight_Text4:: @ 8252F73
|
||||
BattlePyramid_Text_ExitHintRight4:: @ 8252F73
|
||||
.string "On this floor, the exit is somewhere\n"
|
||||
.string "in the {RIGHT_ARROW} direction.$"
|
||||
|
||||
BattlePyramid_ExitHintDown_Text4:: @ 8252FAC
|
||||
BattlePyramid_Text_ExitHintDown4:: @ 8252FAC
|
||||
.string "On this floor, the exit is somewhere\n"
|
||||
.string "in the {DOWN_ARROW} direction.$"
|
||||
|
||||
BattlePyramid_ExitHintUp_Text5:: @ 8252FE5
|
||||
BattlePyramid_Text_ExitHintUp5:: @ 8252FE5
|
||||
.string "The exit?\n"
|
||||
.string "It's that {UP_ARROW} way.$"
|
||||
|
||||
BattlePyramid_ExitHintLeft_Text5:: @ 8253000
|
||||
BattlePyramid_Text_ExitHintLeft5:: @ 8253000
|
||||
.string "The exit?\n"
|
||||
.string "It's that {LEFT_ARROW} way.$"
|
||||
|
||||
BattlePyramid_ExitHintRight_Text5:: @ 825301B
|
||||
BattlePyramid_Text_ExitHintRight5:: @ 825301B
|
||||
.string "The exit?\n"
|
||||
.string "It's that {RIGHT_ARROW} way.$"
|
||||
|
||||
BattlePyramid_ExitHintDown_Text5:: @ 8253036
|
||||
BattlePyramid_Text_ExitHintDown5:: @ 8253036
|
||||
.string "The exit?\n"
|
||||
.string "It's that {DOWN_ARROW} way.$"
|
||||
|
||||
BattlePyramid_ExitHintUp_Text6:: @ 8253051
|
||||
BattlePyramid_Text_ExitHintUp6:: @ 8253051
|
||||
.string "The exit happens to be in\n"
|
||||
.string "the {UP_ARROW} direction.$"
|
||||
|
||||
BattlePyramid_ExitHintLeft_Text6:: @ 825307C
|
||||
BattlePyramid_Text_ExitHintLeft6:: @ 825307C
|
||||
.string "The exit happens to be in\n"
|
||||
.string "the {LEFT_ARROW} direction.$"
|
||||
|
||||
BattlePyramid_ExitHintRight_Text6:: @ 82530A7
|
||||
BattlePyramid_Text_ExitHintRight6:: @ 82530A7
|
||||
.string "The exit happens to be in\n"
|
||||
.string "the {RIGHT_ARROW} direction.$"
|
||||
|
||||
BattlePyramid_ExitHintDown_Text6:: @ 82530D2
|
||||
BattlePyramid_Text_ExitHintDown6:: @ 82530D2
|
||||
.string "The exit happens to be in\n"
|
||||
.string "the {DOWN_ARROW} direction.$"
|
||||
|
||||
BattlePyramid_EightItemsRemaining_Text1:: @ 82530FD
|
||||
BattlePyramid_Text_EightItemsRemaining1:: @ 82530FD
|
||||
.string "Are you looking for items?\p"
|
||||
.string "There are eight items left to\n"
|
||||
.string "be found.$"
|
||||
|
||||
BattlePyramid_SevenItemsRemaining_Text1:: @ 8253140
|
||||
BattlePyramid_Text_SevenItemsRemaining1:: @ 8253140
|
||||
.string "Are you looking for items?\p"
|
||||
.string "There are seven items left to\n"
|
||||
.string "be found.$"
|
||||
|
||||
BattlePyramid_SixItemsRemaining_Text1:: @ 8253183
|
||||
BattlePyramid_Text_SixItemsRemaining1:: @ 8253183
|
||||
.string "Are you looking for items?\p"
|
||||
.string "There are six items left to\n"
|
||||
.string "be found.$"
|
||||
|
||||
BattlePyramid_FiveItemsRemaining_Text1:: @ 82531C4
|
||||
BattlePyramid_Text_FiveItemsRemaining1:: @ 82531C4
|
||||
.string "Are you looking for items?\p"
|
||||
.string "There are five items left to\n"
|
||||
.string "be found.$"
|
||||
|
||||
BattlePyramid_FourItemsRemaining_Text1:: @ 8253206
|
||||
BattlePyramid_Text_FourItemsRemaining1:: @ 8253206
|
||||
.string "Are you looking for items?\p"
|
||||
.string "There are four items left to\n"
|
||||
.string "be found.$"
|
||||
|
||||
BattlePyramid_ThreeItemsRemaining_Text1:: @ 8253248
|
||||
BattlePyramid_Text_ThreeItemsRemaining1:: @ 8253248
|
||||
.string "Are you looking for items?\p"
|
||||
.string "There are three items left to\n"
|
||||
.string "be found.$"
|
||||
|
||||
BattlePyramid_TwoItemsRemaining_Text1:: @ 825328B
|
||||
BattlePyramid_Text_TwoItemsRemaining1:: @ 825328B
|
||||
.string "Are you looking for items?\p"
|
||||
.string "There are two items left to\n"
|
||||
.string "be found.$"
|
||||
|
||||
BattlePyramid_OneItemRemaining_Text1:: @ 82532CC
|
||||
BattlePyramid_Text_OneItemRemaining1:: @ 82532CC
|
||||
.string "Are you looking for items?\p"
|
||||
.string "There is one item left to\n"
|
||||
.string "be found.$"
|
||||
|
||||
BattlePyramid_ZeroItemsRemaining_Text1:: @ 825330B
|
||||
BattlePyramid_Text_ZeroItemsRemaining1:: @ 825330B
|
||||
.string "Are you looking for items?\p"
|
||||
.string "There isn't anything left to\n"
|
||||
.string "be found!$"
|
||||
|
||||
BattlePyramid_EightItemsRemaining_Text2:: @ 825334D
|
||||
BattlePyramid_Text_EightItemsRemaining2:: @ 825334D
|
||||
.string "Because you won, I'll tell you\n"
|
||||
.string "a little secret!\p"
|
||||
.string "There are eight items\n"
|
||||
.string "lying around here.$"
|
||||
|
||||
BattlePyramid_SevenItemsRemaining_Text2:: @ 82533A6
|
||||
BattlePyramid_Text_SevenItemsRemaining2:: @ 82533A6
|
||||
.string "Because you won, I'll tell you\n"
|
||||
.string "a little secret!\p"
|
||||
.string "There are seven items left\n"
|
||||
.string "lying around here.$"
|
||||
|
||||
BattlePyramid_SixItemsRemaining_Text2:: @ 8253404
|
||||
BattlePyramid_Text_SixItemsRemaining2:: @ 8253404
|
||||
.string "Because you won, I'll tell you\n"
|
||||
.string "a little secret!\p"
|
||||
.string "There are six items left\n"
|
||||
.string "lying around here.$"
|
||||
|
||||
BattlePyramid_FiveItemsRemaining_Text2:: @ 8253460
|
||||
BattlePyramid_Text_FiveItemsRemaining2:: @ 8253460
|
||||
.string "Because you won, I'll tell you\n"
|
||||
.string "a little secret!\p"
|
||||
.string "There are five items left\n"
|
||||
.string "lying around here.$"
|
||||
|
||||
BattlePyramid_FourItemsRemaining_Text2:: @ 82534BD
|
||||
BattlePyramid_Text_FourItemsRemaining2:: @ 82534BD
|
||||
.string "Because you won, I'll tell you\n"
|
||||
.string "a little secret!\p"
|
||||
.string "There are four items left\n"
|
||||
.string "lying around here.$"
|
||||
|
||||
BattlePyramid_ThreeItemsRemaining_Text2:: @ 825351A
|
||||
BattlePyramid_Text_ThreeItemsRemaining2:: @ 825351A
|
||||
.string "Because you won, I'll tell you\n"
|
||||
.string "a little secret!\p"
|
||||
.string "There are three items left\n"
|
||||
.string "lying around here.$"
|
||||
|
||||
BattlePyramid_TwoItemsRemaining_Text2:: @ 8253578
|
||||
BattlePyramid_Text_TwoItemsRemaining2:: @ 8253578
|
||||
.string "Because you won, I'll tell you\n"
|
||||
.string "a little secret!\p"
|
||||
.string "There are two items left\n"
|
||||
.string "lying around here.$"
|
||||
|
||||
BattlePyramid_OneItemRemaining_Text2:: @ 82535D4
|
||||
BattlePyramid_Text_OneItemRemaining2:: @ 82535D4
|
||||
.string "Because you won, I'll tell you\n"
|
||||
.string "a little secret!\p"
|
||||
.string "There is just one item\n"
|
||||
.string "lying around here.$"
|
||||
|
||||
BattlePyramid_ZeroItemsRemaining_Text2:: @ 825362E
|
||||
BattlePyramid_Text_ZeroItemsRemaining2:: @ 825362E
|
||||
.string "Because you won, I'll tell you\n"
|
||||
.string "a little secret!\p"
|
||||
.string "There isn't anything left\n"
|
||||
.string "lying around here.$"
|
||||
|
||||
BattlePyramid_EightItemsRemaining_Text3:: @ 825368B
|
||||
BattlePyramid_Text_EightItemsRemaining3:: @ 825368B
|
||||
.string "How's your stock of items holding up?\p"
|
||||
.string "I reckon there are eight items left\n"
|
||||
.string "waiting to be found on this floor.$"
|
||||
|
||||
BattlePyramid_SevenItemsRemaining_Text3:: @ 82536F8
|
||||
BattlePyramid_Text_SevenItemsRemaining3:: @ 82536F8
|
||||
.string "How's your stock of items holding up?\p"
|
||||
.string "I reckon there are seven items left\n"
|
||||
.string "waiting to be found on this floor.$"
|
||||
|
||||
BattlePyramid_SixItemsRemaining_Text3:: @ 8253765
|
||||
BattlePyramid_Text_SixItemsRemaining3:: @ 8253765
|
||||
.string "How's your stock of items holding up?\p"
|
||||
.string "I reckon there are six items left\n"
|
||||
.string "waiting to be found on this floor.$"
|
||||
|
||||
BattlePyramid_FiveItemsRemaining_Text3:: @ 82537D0
|
||||
BattlePyramid_Text_FiveItemsRemaining3:: @ 82537D0
|
||||
.string "How's your stock of items holding up?\p"
|
||||
.string "I reckon there are five items left\n"
|
||||
.string "waiting to be found on this floor.$"
|
||||
|
||||
BattlePyramid_FourItemsRemaining_Text3:: @ 825383C
|
||||
BattlePyramid_Text_FourItemsRemaining3:: @ 825383C
|
||||
.string "How's your stock of items holding up?\p"
|
||||
.string "I reckon there are four items left\n"
|
||||
.string "waiting to be found on this floor.$"
|
||||
|
||||
BattlePyramid_ThreeItemsRemaining_Text3:: @ 82538A8
|
||||
BattlePyramid_Text_ThreeItemsRemaining3:: @ 82538A8
|
||||
.string "How's your stock of items holding up?\p"
|
||||
.string "I reckon there are three items left\n"
|
||||
.string "waiting to be found on this floor.$"
|
||||
|
||||
BattlePyramid_TwoItemsRemaining_Text3:: @ 8253915
|
||||
BattlePyramid_Text_TwoItemsRemaining3:: @ 8253915
|
||||
.string "How's your stock of items holding up?\p"
|
||||
.string "I reckon there are two items left\n"
|
||||
.string "waiting to be found on this floor.$"
|
||||
|
||||
BattlePyramid_OneItemRemaining_Text3:: @ 8253980
|
||||
BattlePyramid_Text_OneItemRemaining3:: @ 8253980
|
||||
.string "How's your stock of items holding up?\p"
|
||||
.string "I reckon there's but one item left\n"
|
||||
.string "waiting to be found on this floor.$"
|
||||
|
||||
BattlePyramid_ZeroItemsRemaining_Text3:: @ 82539EC
|
||||
BattlePyramid_Text_ZeroItemsRemaining3:: @ 82539EC
|
||||
.string "How's your stock of items holding up?\p"
|
||||
.string "I reckon there are no more items\n"
|
||||
.string "waiting to be found on this floor.\l"
|
||||
.string "You take care now!$"
|
||||
|
||||
BattlePyramid_EightItemsRemaining_Text4:: @ 8253A69
|
||||
BattlePyramid_Text_EightItemsRemaining4:: @ 8253A69
|
||||
.string "You're strong, so you've earned\n"
|
||||
.string "a hint!\p"
|
||||
.string "There appear to be eight more\n"
|
||||
.string "items on the ground.$"
|
||||
|
||||
BattlePyramid_SevenItemsRemaining_Text4:: @ 8253AC4
|
||||
BattlePyramid_Text_SevenItemsRemaining4:: @ 8253AC4
|
||||
.string "You're strong, so you've earned\n"
|
||||
.string "a hint!\p"
|
||||
.string "There appear to be seven more\n"
|
||||
.string "items on the ground.$"
|
||||
|
||||
BattlePyramid_SixItemsRemaining_Text4:: @ 8253B1F
|
||||
BattlePyramid_Text_SixItemsRemaining4:: @ 8253B1F
|
||||
.string "You're strong, so you've earned\n"
|
||||
.string "a hint!\p"
|
||||
.string "There appear to be six more\n"
|
||||
.string "items on the ground.$"
|
||||
|
||||
BattlePyramid_FiveItemsRemaining_Text4:: @ 8253B78
|
||||
BattlePyramid_Text_FiveItemsRemaining4:: @ 8253B78
|
||||
.string "You're strong, so you've earned\n"
|
||||
.string "a hint!\p"
|
||||
.string "There appear to be five more\n"
|
||||
.string "items on the ground.$"
|
||||
|
||||
BattlePyramid_FourItemsRemaining_Text4:: @ 8253BD2
|
||||
BattlePyramid_Text_FourItemsRemaining4:: @ 8253BD2
|
||||
.string "You're strong, so you've earned\n"
|
||||
.string "a hint!\p"
|
||||
.string "There appear to be four more\n"
|
||||
.string "items on the ground.$"
|
||||
|
||||
BattlePyramid_ThreeItemsRemaining_Text4:: @ 8253C2C
|
||||
BattlePyramid_Text_ThreeItemsRemaining4:: @ 8253C2C
|
||||
.string "You're strong, so you've earned\n"
|
||||
.string "a hint!\p"
|
||||
.string "There appear to be three more\n"
|
||||
.string "items on the ground.$"
|
||||
|
||||
BattlePyramid_TwoItemsRemaining_Text4:: @ 8253C87
|
||||
BattlePyramid_Text_TwoItemsRemaining4:: @ 8253C87
|
||||
.string "You're strong, so you've earned\n"
|
||||
.string "a hint!\p"
|
||||
.string "There appear to be two more\n"
|
||||
.string "items on the ground.$"
|
||||
|
||||
BattlePyramid_OneItemRemaining_Text4:: @ 8253CE0
|
||||
BattlePyramid_Text_OneItemRemaining4:: @ 8253CE0
|
||||
.string "You're strong, so you've earned\n"
|
||||
.string "a hint!\p"
|
||||
.string "There appears to be only one more\n"
|
||||
.string "item on the ground.$"
|
||||
|
||||
BattlePyramid_ZeroItemsRemaining_Text4:: @ 8253D3E
|
||||
BattlePyramid_Text_ZeroItemsRemaining4:: @ 8253D3E
|
||||
.string "You're strong, so you've earned\n"
|
||||
.string "a hint!\p"
|
||||
.string "There appear to be no more\n"
|
||||
.string "items on the ground.$"
|
||||
|
||||
BattlePyramid_EightItemsRemaining_Text5:: @ 8253D96
|
||||
BattlePyramid_Text_EightItemsRemaining5:: @ 8253D96
|
||||
.string "On this floor of the PYRAMID,\n"
|
||||
.string "I hear there are eight items…$"
|
||||
|
||||
BattlePyramid_SevenItemsRemaining_Text5:: @ 8253DD2
|
||||
BattlePyramid_Text_SevenItemsRemaining5:: @ 8253DD2
|
||||
.string "On this floor of the PYRAMID,\n"
|
||||
.string "I hear there are seven items…$"
|
||||
|
||||
BattlePyramid_SixItemsRemaining_Text5:: @ 8253E0E
|
||||
BattlePyramid_Text_SixItemsRemaining5:: @ 8253E0E
|
||||
.string "On this floor of the PYRAMID,\n"
|
||||
.string "I hear there are six items…$"
|
||||
|
||||
BattlePyramid_FiveItemsRemaining_Text5:: @ 8253E48
|
||||
BattlePyramid_Text_FiveItemsRemaining5:: @ 8253E48
|
||||
.string "On this floor of the PYRAMID,\n"
|
||||
.string "I hear there are five items…$"
|
||||
|
||||
BattlePyramid_FourItemsRemaining_Text5:: @ 8253E83
|
||||
BattlePyramid_Text_FourItemsRemaining5:: @ 8253E83
|
||||
.string "On this floor of the PYRAMID,\n"
|
||||
.string "I hear there are four items…$"
|
||||
|
||||
BattlePyramid_ThreeItemsRemaining_Text5:: @ 8253EBE
|
||||
BattlePyramid_Text_ThreeItemsRemaining5:: @ 8253EBE
|
||||
.string "On this floor of the PYRAMID,\n"
|
||||
.string "I hear there are three items…$"
|
||||
|
||||
BattlePyramid_TwoItemsRemaining_Text5:: @ 8253EFA
|
||||
BattlePyramid_Text_TwoItemsRemaining5:: @ 8253EFA
|
||||
.string "On this floor of the PYRAMID,\n"
|
||||
.string "I hear there are two items…$"
|
||||
|
||||
BattlePyramid_OneItemRemaining_Text5:: @ 8253F34
|
||||
BattlePyramid_Text_OneItemRemaining5:: @ 8253F34
|
||||
.string "On this floor of the PYRAMID,\n"
|
||||
.string "I hear there is one item…$"
|
||||
|
||||
BattlePyramid_ZeroItemsRemaining_Text5:: @ 8253F6C
|
||||
BattlePyramid_Text_ZeroItemsRemaining5:: @ 8253F6C
|
||||
.string "On this floor of the PYRAMID,\n"
|
||||
.string "I hear there are no items…$"
|
||||
|
||||
BattlePyramid_EightItemsRemaining_Text6:: @ 8253FA5
|
||||
BattlePyramid_Text_EightItemsRemaining6:: @ 8253FA5
|
||||
.string "Have you collected any items?\p"
|
||||
.string "I believe there are eight more\n"
|
||||
.string "items on this floor.$"
|
||||
|
||||
BattlePyramid_SevenItemsRemaining_Text6:: @ 8253FF7
|
||||
BattlePyramid_Text_SevenItemsRemaining6:: @ 8253FF7
|
||||
.string "Have you collected any items?\p"
|
||||
.string "I believe there are seven more\n"
|
||||
.string "items on this floor.$"
|
||||
|
||||
BattlePyramid_SixItemsRemaining_Text6:: @ 8254049
|
||||
BattlePyramid_Text_SixItemsRemaining6:: @ 8254049
|
||||
.string "Have you collected any items?\p"
|
||||
.string "I believe there are six more\n"
|
||||
.string "items on this floor.$"
|
||||
|
||||
BattlePyramid_FiveItemsRemaining_Text6:: @ 8254099
|
||||
BattlePyramid_Text_FiveItemsRemaining6:: @ 8254099
|
||||
.string "Have you collected any items?\p"
|
||||
.string "I believe there are five more\n"
|
||||
.string "items on this floor.$"
|
||||
|
||||
BattlePyramid_FourItemsRemaining_Text6:: @ 82540EA
|
||||
BattlePyramid_Text_FourItemsRemaining6:: @ 82540EA
|
||||
.string "Have you collected any items?\p"
|
||||
.string "I believe there are four more\n"
|
||||
.string "items on this floor.$"
|
||||
|
||||
BattlePyramid_ThreeItemsRemaining_Text6:: @ 825413B
|
||||
BattlePyramid_Text_ThreeItemsRemaining6:: @ 825413B
|
||||
.string "Have you collected any items?\p"
|
||||
.string "I believe there are three more\n"
|
||||
.string "items on this floor.$"
|
||||
|
||||
BattlePyramid_TwoItemsRemaining_Text6:: @ 825418D
|
||||
BattlePyramid_Text_TwoItemsRemaining6:: @ 825418D
|
||||
.string "Have you collected any items?\p"
|
||||
.string "I believe there are two more\n"
|
||||
.string "items on this floor.$"
|
||||
|
||||
BattlePyramid_OneItemRemaining_Text6:: @ 82541DD
|
||||
BattlePyramid_Text_OneItemRemaining6:: @ 82541DD
|
||||
.string "Have you collected any items?\p"
|
||||
.string "I believe there is one more\n"
|
||||
.string "item on this floor.$"
|
||||
|
||||
BattlePyramid_ZeroItemsRemaining_Text6:: @ 825422B
|
||||
BattlePyramid_Text_ZeroItemsRemaining6:: @ 825422B
|
||||
.string "Have you collected any items?\p"
|
||||
.string "I believe there are no more\n"
|
||||
.string "items on this floor.$"
|
||||
|
||||
BattlePyramid_SevenTrainersRemaining_Text1:: @ 825427A
|
||||
BattlePyramid_Text_SevenTrainersRemaining1:: @ 825427A
|
||||
.string "You were really awesome!\p"
|
||||
.string "But there are still seven tough\n"
|
||||
.string "TRAINERS other than me!$"
|
||||
|
||||
BattlePyramid_SixTrainersRemaining_Text1:: @ 82542CB
|
||||
BattlePyramid_Text_SixTrainersRemaining1:: @ 82542CB
|
||||
.string "You were really awesome!\p"
|
||||
.string "But there are still six tough\n"
|
||||
.string "TRAINERS other than me!$"
|
||||
|
||||
BattlePyramid_FiveTrainersRemaining_Text1:: @ 825431A
|
||||
BattlePyramid_Text_FiveTrainersRemaining1:: @ 825431A
|
||||
.string "You were really awesome!\p"
|
||||
.string "But there are still five tough\n"
|
||||
.string "TRAINERS other than me!$"
|
||||
|
||||
BattlePyramid_FourTrainersRemaining_Text1:: @ 825436A
|
||||
BattlePyramid_Text_FourTrainersRemaining1:: @ 825436A
|
||||
.string "You were really awesome!\p"
|
||||
.string "But there are still four tough\n"
|
||||
.string "TRAINERS other than me!$"
|
||||
|
||||
BattlePyramid_ThreeTrainersRemaining_Text1:: @ 82543BA
|
||||
BattlePyramid_Text_ThreeTrainersRemaining1:: @ 82543BA
|
||||
.string "You were really awesome!\p"
|
||||
.string "But there are still three tough\n"
|
||||
.string "TRAINERS other than me!$"
|
||||
|
||||
BattlePyramid_TwoTrainersRemaining_Text1:: @ 825440B
|
||||
BattlePyramid_Text_TwoTrainersRemaining1:: @ 825440B
|
||||
.string "You were really awesome!\p"
|
||||
.string "But there are still two tough\n"
|
||||
.string "TRAINERS other than me!$"
|
||||
|
||||
BattlePyramid_OneTrainersRemaining_Text1:: @ 825445A
|
||||
BattlePyramid_Text_OneTrainersRemaining1:: @ 825445A
|
||||
.string "You were really awesome!\p"
|
||||
.string "But there's still one tough\n"
|
||||
.string "TRAINER other than me!$"
|
||||
|
||||
BattlePyramid_ZeroTrainersRemaining_Text1:: @ 82544A6
|
||||
BattlePyramid_Text_ZeroTrainersRemaining1:: @ 82544A6
|
||||
.string "You were really awesome!\p"
|
||||
.string "There's no one left that\n"
|
||||
.string "can beat you!$"
|
||||
|
||||
BattlePyramid_SevenTrainersRemaining_Text2:: @ 82544E6
|
||||
BattlePyramid_Text_SevenTrainersRemaining2:: @ 82544E6
|
||||
.string "This is so upsetting!\p"
|
||||
.string "But there are seven TRAINERS left!\n"
|
||||
.string "Someone will humble you!$"
|
||||
|
||||
BattlePyramid_SixTrainersRemaining_Text2:: @ 8254538
|
||||
BattlePyramid_Text_SixTrainersRemaining2:: @ 8254538
|
||||
.string "This is so upsetting!\p"
|
||||
.string "But there are six TRAINERS left!\n"
|
||||
.string "Someone will humble you!$"
|
||||
|
||||
BattlePyramid_FiveTrainersRemaining_Text2:: @ 8254588
|
||||
BattlePyramid_Text_FiveTrainersRemaining2:: @ 8254588
|
||||
.string "This is so upsetting!\p"
|
||||
.string "But there are five TRAINERS left!\n"
|
||||
.string "Someone will humble you!$"
|
||||
|
||||
BattlePyramid_FourTrainersRemaining_Text2:: @ 82545D9
|
||||
BattlePyramid_Text_FourTrainersRemaining2:: @ 82545D9
|
||||
.string "This is so upsetting!\p"
|
||||
.string "But there are four TRAINERS left!\n"
|
||||
.string "Someone will humble you!$"
|
||||
|
||||
BattlePyramid_ThreeTrainersRemaining_Text2:: @ 825462A
|
||||
BattlePyramid_Text_ThreeTrainersRemaining2:: @ 825462A
|
||||
.string "This is so upsetting!\p"
|
||||
.string "But there are three TRAINERS left!\n"
|
||||
.string "Someone will humble you!$"
|
||||
|
||||
BattlePyramid_TwoTrainersRemaining_Text2:: @ 825467C
|
||||
BattlePyramid_Text_TwoTrainersRemaining2:: @ 825467C
|
||||
.string "This is so upsetting!\p"
|
||||
.string "But there are two TRAINERS left!\n"
|
||||
.string "Someone will humble you!$"
|
||||
|
||||
BattlePyramid_OneTrainersRemaining_Text2:: @ 82546CC
|
||||
BattlePyramid_Text_OneTrainersRemaining2:: @ 82546CC
|
||||
.string "This is so upsetting!\p"
|
||||
.string "But there's one TRAINER left!\n"
|
||||
.string "I'm sure you will be humbled!$"
|
||||
|
||||
BattlePyramid_ZeroTrainersRemaining_Text2:: @ 825471E
|
||||
BattlePyramid_Text_ZeroTrainersRemaining2:: @ 825471E
|
||||
.string "This is so upsetting!\p"
|
||||
.string "But there are no more TRAINERS\n"
|
||||
.string "who can engage you!$"
|
||||
|
||||
BattlePyramid_SevenTrainersRemaining_Text3:: @ 8254767
|
||||
BattlePyramid_Text_SevenTrainersRemaining3:: @ 8254767
|
||||
.string "That's pretty impressive!\p"
|
||||
.string "But there are seven more TRAINERS\n"
|
||||
.string "on this floor. Can you beat them all?$"
|
||||
|
||||
BattlePyramid_SixTrainersRemaining_Text3:: @ 82547C9
|
||||
BattlePyramid_Text_SixTrainersRemaining3:: @ 82547C9
|
||||
.string "That's pretty impressive!\p"
|
||||
.string "But there are six more TRAINERS\n"
|
||||
.string "on this floor. Can you beat them all?$"
|
||||
|
||||
BattlePyramid_FiveTrainersRemaining_Text3:: @ 8254829
|
||||
BattlePyramid_Text_FiveTrainersRemaining3:: @ 8254829
|
||||
.string "That's pretty impressive!\p"
|
||||
.string "But there are five more TRAINERS\n"
|
||||
.string "on this floor. Can you beat them all?$"
|
||||
|
||||
BattlePyramid_FourTrainersRemaining_Text3:: @ 825488A
|
||||
BattlePyramid_Text_FourTrainersRemaining3:: @ 825488A
|
||||
.string "That's pretty impressive!\p"
|
||||
.string "But there are four more TRAINERS\n"
|
||||
.string "on this floor. Can you beat them all?$"
|
||||
|
||||
BattlePyramid_ThreeTrainersRemaining_Text3:: @ 82548EB
|
||||
BattlePyramid_Text_ThreeTrainersRemaining3:: @ 82548EB
|
||||
.string "That's pretty impressive!\p"
|
||||
.string "But there are three more TRAINERS\n"
|
||||
.string "on this floor. Can you beat them all?$"
|
||||
|
||||
BattlePyramid_TwoTrainersRemaining_Text3:: @ 825494D
|
||||
BattlePyramid_Text_TwoTrainersRemaining3:: @ 825494D
|
||||
.string "That's pretty impressive!\p"
|
||||
.string "But there are two more TRAINERS\n"
|
||||
.string "on this floor. Can you beat them both?$"
|
||||
|
||||
BattlePyramid_OneTrainersRemaining_Text3:: @ 82549AE
|
||||
BattlePyramid_Text_OneTrainersRemaining3:: @ 82549AE
|
||||
.string "That's pretty impressive!\p"
|
||||
.string "But there's still one more TRAINER\n"
|
||||
.string "on this floor. Can you prevail?$"
|
||||
|
||||
BattlePyramid_ZeroTrainersRemaining_Text3:: @ 8254A0B
|
||||
BattlePyramid_Text_ZeroTrainersRemaining3:: @ 8254A0B
|
||||
.string "That's pretty impressive!\p"
|
||||
.string "You've gone through all the TRAINERS\n"
|
||||
.string "on this floor.$"
|
||||
|
||||
BattlePyramid_SevenTrainersRemaining_Text4:: @ 8254A59
|
||||
BattlePyramid_Text_SevenTrainersRemaining4:: @ 8254A59
|
||||
.string "Maybe you could sweep through\n"
|
||||
.string "the seven TRAINERS left on this floor.$"
|
||||
|
||||
BattlePyramid_SixTrainersRemaining_Text4:: @ 8254A9E
|
||||
BattlePyramid_Text_SixTrainersRemaining4:: @ 8254A9E
|
||||
.string "Maybe you could sweep through\n"
|
||||
.string "the six TRAINERS left on this floor.$"
|
||||
|
||||
BattlePyramid_FiveTrainersRemaining_Text4:: @ 8254AE1
|
||||
BattlePyramid_Text_FiveTrainersRemaining4:: @ 8254AE1
|
||||
.string "Maybe you could sweep through\n"
|
||||
.string "the five TRAINERS left on this floor.$"
|
||||
|
||||
BattlePyramid_FourTrainersRemaining_Text4:: @ 8254B25
|
||||
BattlePyramid_Text_FourTrainersRemaining4:: @ 8254B25
|
||||
.string "Maybe you could sweep through\n"
|
||||
.string "the four TRAINERS left on this floor.$"
|
||||
|
||||
BattlePyramid_ThreeTrainersRemaining_Text4:: @ 8254B69
|
||||
BattlePyramid_Text_ThreeTrainersRemaining4:: @ 8254B69
|
||||
.string "Maybe you could sweep through\n"
|
||||
.string "the three TRAINERS left on this floor.$"
|
||||
|
||||
BattlePyramid_TwoTrainersRemaining_Text4:: @ 8254BAE
|
||||
BattlePyramid_Text_TwoTrainersRemaining4:: @ 8254BAE
|
||||
.string "Maybe you could sweep through\n"
|
||||
.string "the two TRAINERS left on this floor.$"
|
||||
|
||||
BattlePyramid_OneTrainersRemaining_Text4:: @ 8254BF1
|
||||
BattlePyramid_Text_OneTrainersRemaining4:: @ 8254BF1
|
||||
.string "Maybe you could complete your sweep\n"
|
||||
.string "with the one TRAINER left on this floor.$"
|
||||
|
||||
BattlePyramid_ZeroTrainersRemaining_Text4:: @ 8254C3E
|
||||
BattlePyramid_Text_ZeroTrainersRemaining4:: @ 8254C3E
|
||||
.string "There isn't a single person left who\n"
|
||||
.string "can defeat you now…$"
|
||||
|
||||
BattlePyramid_SevenTrainersRemaining_Text5:: @ 8254C77
|
||||
BattlePyramid_Text_SevenTrainersRemaining5:: @ 8254C77
|
||||
.string "You may have what it takes to beat\n"
|
||||
.string "the seven expert TRAINERS who remain.$"
|
||||
|
||||
BattlePyramid_SixTrainersRemaining_Text5:: @ 8254CC0
|
||||
BattlePyramid_Text_SixTrainersRemaining5:: @ 8254CC0
|
||||
.string "You may have what it takes to beat\n"
|
||||
.string "the six expert TRAINERS who remain.$"
|
||||
|
||||
BattlePyramid_FiveTrainersRemaining_Text5:: @ 8254D07
|
||||
BattlePyramid_Text_FiveTrainersRemaining5:: @ 8254D07
|
||||
.string "You may have what it takes to beat\n"
|
||||
.string "the five expert TRAINERS who remain.$"
|
||||
|
||||
BattlePyramid_FourTrainersRemaining_Text5:: @ 8254D4F
|
||||
BattlePyramid_Text_FourTrainersRemaining5:: @ 8254D4F
|
||||
.string "You may have what it takes to beat\n"
|
||||
.string "the four expert TRAINERS who remain.$"
|
||||
|
||||
BattlePyramid_ThreeTrainersRemaining_Text5:: @ 8254D97
|
||||
BattlePyramid_Text_ThreeTrainersRemaining5:: @ 8254D97
|
||||
.string "You may have what it takes to beat\n"
|
||||
.string "the three expert TRAINERS who remain.$"
|
||||
|
||||
BattlePyramid_TwoTrainersRemaining_Text5:: @ 8254DE0
|
||||
BattlePyramid_Text_TwoTrainersRemaining5:: @ 8254DE0
|
||||
.string "You may have what it takes to beat\n"
|
||||
.string "the two expert TRAINERS who remain.$"
|
||||
|
||||
BattlePyramid_OneTrainersRemaining_Text5:: @ 8254E27
|
||||
BattlePyramid_Text_OneTrainersRemaining5:: @ 8254E27
|
||||
.string "You may have what it takes to beat\n"
|
||||
.string "the one expert TRAINER who remains.$"
|
||||
|
||||
BattlePyramid_ZeroTrainersRemaining_Text5:: @ 8254E6E
|
||||
BattlePyramid_Text_ZeroTrainersRemaining5:: @ 8254E6E
|
||||
.string "Your skills are beyond reproach.\p"
|
||||
.string "There are no more TRAINERS here\n"
|
||||
.string "who have any chance of beating you.$"
|
||||
|
||||
BattlePyramid_SevenTrainersRemaining_Text6:: @ 8254ED3
|
||||
BattlePyramid_Text_SevenTrainersRemaining6:: @ 8254ED3
|
||||
.string "Can you keep winning against\n"
|
||||
.string "the seven remaining TRAINERS?$"
|
||||
|
||||
BattlePyramid_SixTrainersRemaining_Text6:: @ 8254F0E
|
||||
BattlePyramid_Text_SixTrainersRemaining6:: @ 8254F0E
|
||||
.string "Can you keep winning against\n"
|
||||
.string "the six remaining TRAINERS?$"
|
||||
|
||||
BattlePyramid_FiveTrainersRemaining_Text6:: @ 8254F47
|
||||
BattlePyramid_Text_FiveTrainersRemaining6:: @ 8254F47
|
||||
.string "Can you keep winning against\n"
|
||||
.string "the five remaining TRAINERS?$"
|
||||
|
||||
BattlePyramid_FourTrainersRemaining_Text6:: @ 8254F81
|
||||
BattlePyramid_Text_FourTrainersRemaining6:: @ 8254F81
|
||||
.string "Can you keep winning against\n"
|
||||
.string "the four remaining TRAINERS?$"
|
||||
|
||||
BattlePyramid_ThreeTrainersRemaining_Text6:: @ 8254FBB
|
||||
BattlePyramid_Text_ThreeTrainersRemaining6:: @ 8254FBB
|
||||
.string "Can you keep winning against\n"
|
||||
.string "the three remaining TRAINERS?$"
|
||||
|
||||
BattlePyramid_TwoTrainersRemaining_Text6:: @ 8254FF6
|
||||
BattlePyramid_Text_TwoTrainersRemaining6:: @ 8254FF6
|
||||
.string "Can you keep winning against\n"
|
||||
.string "the two remaining TRAINERS?$"
|
||||
|
||||
BattlePyramid_OneTrainersRemaining_Text6:: @ 825502F
|
||||
BattlePyramid_Text_OneTrainersRemaining6:: @ 825502F
|
||||
.string "Can you keep winning against\n"
|
||||
.string "the last remaining TRAINER?$"
|
||||
|
||||
BattlePyramid_ZeroTrainersRemaining_Text6:: @ 8255068
|
||||
BattlePyramid_Text_ZeroTrainersRemaining6:: @ 8255068
|
||||
.string "There aren't any TRAINERS left that\n"
|
||||
.string "can take you on now…$"
|
||||
@@ -24,7 +24,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePyramidLobby_EventScript_2508B1",
|
||||
"script": "BattleFrontier_BattlePyramidLobby_EventScript_Attendant",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -37,7 +37,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePyramidLobby_EventScript_250ACE",
|
||||
"script": "BattleFrontier_BattlePyramidLobby_EventScript_HintGiver",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -50,7 +50,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePyramidLobby_EventScript_250E83",
|
||||
"script": "BattleFrontier_BattlePyramidLobby_EventScript_Woman",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -63,7 +63,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "BattleFrontier_BattlePyramidLobby_EventScript_250E8C",
|
||||
"script": "BattleFrontier_BattlePyramidLobby_EventScript_FatMan",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -84,7 +84,7 @@
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
|
||||
"script": "BattleFrontier_BattlePyramidLobby_EventScript_250D42"
|
||||
"script": "BattleFrontier_BattlePyramidLobby_EventScript_ShowResults"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
@@ -92,7 +92,7 @@
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "BattleFrontier_BattlePyramidLobby_EventScript_250E95"
|
||||
"script": "BattleFrontier_BattlePyramidLobby_EventScript_RulesBoard"
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
@@ -24,7 +24,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "3",
|
||||
"script": "BattleFrontier_BattlePyramidTop_EventScript_2551D0",
|
||||
"script": "BattleFrontier_BattlePyramidTop_EventScript_Attendant",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -50,7 +50,7 @@
|
||||
"elevation": 4,
|
||||
"var": "VAR_TEMP_2",
|
||||
"var_value": "0",
|
||||
"script": "BattleFrontier_BattlePyramidTop_EventScript_255256"
|
||||
"script": "BattleFrontier_BattlePyramidTop_EventScript_BattleBrandon"
|
||||
}
|
||||
],
|
||||
"bg_events": []
|
||||
|
||||
@@ -1,201 +1,197 @@
|
||||
BattleFrontier_BattlePyramidTop_MapScripts:: @ 82550A1
|
||||
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattlePyramidTop_MapScript1_2550F4
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePyramidTop_MapScript2_25516E
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattlePyramidTop_MapScript1_2550B6
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePyramidTop_MapScript2_2550CE
|
||||
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattlePyramidTop_OnResume
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePyramidTop_OnFrame
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattlePyramidTop_OnTransition
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePyramidTop_OnWarp
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattlePyramidTop_MapScript1_2550B6: @ 82550B6
|
||||
BattleFrontier_BattlePyramidTop_OnTransition: @ 82550B6
|
||||
pyramid_updatelight 200, PYRAMID_LIGHT_SET_RADIUS
|
||||
setvar VAR_TEMP_F, 1
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_MapScript2_2550CE: @ 82550CE
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePyramidTop_EventScript_2550D8
|
||||
BattleFrontier_BattlePyramidTop_OnWarp: @ 82550CE
|
||||
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePyramidTop_EventScript_SetUpObjects
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_2550D8:: @ 82550D8
|
||||
BattleFrontier_BattlePyramidTop_EventScript_SetUpObjects:: @ 82550D8
|
||||
setvar VAR_TEMP_1, 1
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
compare VAR_TEMP_C, 0
|
||||
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_2550F3
|
||||
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_EndSetUpObjects
|
||||
setobjectxyperm 2, 0, 0
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_2550F3:: @ 82550F3
|
||||
BattleFrontier_BattlePyramidTop_EventScript_EndSetUpObjects:: @ 82550F3
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_MapScript1_2550F4: @ 82550F4
|
||||
BattleFrontier_BattlePyramidTop_OnResume: @ 82550F4
|
||||
frontier_getbrainstatus
|
||||
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
|
||||
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_25510C
|
||||
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_CheckChallengeStatus
|
||||
call BattleFrontier_EventScript_SetBrainObjectGfx
|
||||
BattleFrontier_BattlePyramidTop_EventScript_25510C:: @ 825510C
|
||||
BattleFrontier_BattlePyramidTop_EventScript_CheckChallengeStatus:: @ 825510C
|
||||
copyvar VAR_TEMP_C, VAR_RESULT
|
||||
frontier_getstatus
|
||||
switch VAR_TEMP_0
|
||||
case 0, BattleFrontier_BattlePyramidTop_EventScript_255193
|
||||
case CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePyramidTop_EventScript_252B66
|
||||
case CHALLENGE_STATUS_PAUSED, BattleFrontier_BattlePyramidTop_EventScript_255193
|
||||
case 0, BattleFrontier_BattlePyramidTop_EventScript_ReadyChallenge
|
||||
case CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePyramid_EventScript_WarpToLobby
|
||||
case CHALLENGE_STATUS_PAUSED, BattleFrontier_BattlePyramidTop_EventScript_ReadyChallenge
|
||||
frontier_get FRONTIER_DATA_BATTLE_OUTCOME
|
||||
compare VAR_RESULT, B_OUTCOME_LOST
|
||||
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
|
||||
goto_if_eq BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
|
||||
compare VAR_RESULT, B_OUTCOME_DREW
|
||||
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
|
||||
goto_if_eq BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
|
||||
compare VAR_RESULT, B_OUTCOME_FORFEITED
|
||||
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
|
||||
goto_if_eq BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_MapScript2_25516E: @ 825516E
|
||||
map_script_2 VAR_TEMP_E, 0, BattleFrontier_BattlePyramidTop_EventScript_255180
|
||||
map_script_2 VAR_TEMP_F, 1, BattleFrontier_BattlePyramidTop_EventScript_25518A
|
||||
BattleFrontier_BattlePyramidTop_OnFrame: @ 825516E
|
||||
map_script_2 VAR_TEMP_E, 0, BattleFrontier_BattlePyramidTop_EventScript_PlayPyramidMusic
|
||||
map_script_2 VAR_TEMP_F, 1, BattleFrontier_BattlePyramidTop_EventScript_ShowMapName
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_255180:: @ 8255180
|
||||
BattleFrontier_BattlePyramidTop_EventScript_PlayPyramidMusic:: @ 8255180
|
||||
playbgm MUS_PYRAMID_TOP, 0
|
||||
setvar VAR_TEMP_E, 1
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_25518A:: @ 825518A
|
||||
BattleFrontier_BattlePyramidTop_EventScript_ShowMapName:: @ 825518A
|
||||
special ShowMapNamePopup
|
||||
setvar VAR_TEMP_F, 0
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_255193:: @ 8255193
|
||||
BattleFrontier_BattlePyramidTop_EventScript_ReadyChallenge:: @ 8255193
|
||||
pyramid_save CHALLENGE_STATUS_SAVING
|
||||
special SavePlayerParty
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
pyramid_inittrainers
|
||||
pyramid_settrainers
|
||||
frontier_setpartyorder FRONTIER_PARTY_SIZE
|
||||
setvar VAR_TEMP_F, 1
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_2551D0:: @ 82551D0
|
||||
BattleFrontier_BattlePyramidTop_EventScript_Attendant:: @ 82551D0
|
||||
lock
|
||||
faceplayer
|
||||
compare VAR_TEMP_D, 0
|
||||
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_255236
|
||||
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_StepForwardWhenReady
|
||||
compare VAR_TEMP_C, FRONTIER_BRAIN_NOT_READY
|
||||
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_255240
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_255410, MSGBOX_DEFAULT
|
||||
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_BrandonHereMoveAside
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_ReachedSummitUpYouGo, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement 1, BattleFrontier_BattlePyramidTop_Movement_2553FD
|
||||
applymovement 1, BattleFrontier_BattlePyramidTop_Movement_AttendantMoveAside
|
||||
waitmovement 0
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePyramidTop_Movement_255403
|
||||
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePyramidTop_Movement_PlayerClimbToTop
|
||||
waitmovement 0
|
||||
applymovement 1, BattleFrontier_BattlePyramidTop_Movement_255400
|
||||
applymovement 1, BattleFrontier_BattlePyramidTop_Movement_AttendantBlockPath
|
||||
waitmovement 0
|
||||
message BattleFrontier_BattlePyramidTop_Text_2554E8
|
||||
message BattleFrontier_BattlePyramidTop_Text_PlayerConqueredPyramid
|
||||
waitmessage
|
||||
playfanfare MUS_ME_POINTGET
|
||||
waitfanfare
|
||||
closemessage
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_25521A:: @ 825521A
|
||||
BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon:: @ 825521A
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
|
||||
warp MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY, 255, 7, 13
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_255236:: @ 8255236
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_255BFE, MSGBOX_DEFAULT
|
||||
BattleFrontier_BattlePyramidTop_EventScript_StepForwardWhenReady:: @ 8255236
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_StepForwardWhenReady, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_255240:: @ 8255240
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_25551F, MSGBOX_DEFAULT
|
||||
applymovement 1, BattleFrontier_BattlePyramidTop_Movement_2553FD
|
||||
BattleFrontier_BattlePyramidTop_EventScript_BrandonHereMoveAside:: @ 8255240
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_ChiefBeatYouHere, MSGBOX_DEFAULT
|
||||
applymovement 1, BattleFrontier_BattlePyramidTop_Movement_AttendantMoveAside
|
||||
setvar VAR_TEMP_D, 1
|
||||
closemessage
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_255256:: @ 8255256
|
||||
BattleFrontier_BattlePyramidTop_EventScript_BattleBrandon:: @ 8255256
|
||||
lockall
|
||||
switch VAR_TEMP_C
|
||||
case FRONTIER_BRAIN_GOLD, BattleFrontier_BattlePyramidTop_EventScript_255335
|
||||
case FRONTIER_BRAIN_STREAK, BattleFrontier_BattlePyramidTop_EventScript_2552D0
|
||||
case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattlePyramidTop_EventScript_255388
|
||||
case FRONTIER_BRAIN_GOLD, BattleFrontier_BattlePyramidTop_EventScript_BrandonIntroGold
|
||||
case FRONTIER_BRAIN_STREAK, BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardSilverSpeech
|
||||
case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardGoldSpeech
|
||||
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_2552D0
|
||||
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardSilverSpeech
|
||||
special SpawnCameraObject
|
||||
applymovement EVENT_OBJ_ID_CAMERA, BattleFrontier_BattlePyramidTop_Movement_25540C
|
||||
applymovement EVENT_OBJ_ID_CAMERA, BattleFrontier_BattlePyramidTop_Movement_CameraPanUp
|
||||
waitmovement 0
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_255669, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_ExplorationsAreGrandestAdventure, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
||||
applymovement 2, BattleFrontier_BattlePyramidTop_Movement_25540A
|
||||
applymovement 2, BattleFrontier_BattlePyramidTop_Movement_BrandonApproachPlayer
|
||||
waitmovement 0
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_25573E, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePyramidTop_EventScript_2552DA
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_ImPyramidKingBrandon, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonSilver
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_2552D0:: @ 82552D0
|
||||
applymovement 2, BattleFrontier_BattlePyramidTop_Movement_25540A
|
||||
BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardSilverSpeech:: @ 82552D0
|
||||
applymovement 2, BattleFrontier_BattlePyramidTop_Movement_BrandonApproachPlayer
|
||||
waitmovement 0
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_2552DA:: @ 82552DA
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_255846, MSGBOX_DEFAULT
|
||||
call BattleFrontier_BattlePyramidTop_EventScript_2553ED
|
||||
BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonSilver:: @ 82552DA
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_BringCourageToOurBattle, MSGBOX_DEFAULT
|
||||
call BattleFrontier_BattlePyramidTop_EventScript_DoBrandonBattle
|
||||
playbgm MUS_PYRAMID_TOP, 0
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_2552FB
|
||||
goto BattleFrontier_BattlePyramidTop_EventScript_252B42
|
||||
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonSilver
|
||||
goto BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_2552FB:: @ 82552FB
|
||||
BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonSilver:: @ 82552FB
|
||||
frontier_getsymbols
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_25521A
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_255873, MSGBOX_DEFAULT
|
||||
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_BrandonFrontierPassPlease, MSGBOX_DEFAULT
|
||||
playfanfare MUS_ME_SYMBOLGET
|
||||
message BattleFrontier_BattlePyramidTop_Text_2558E9
|
||||
message BattleFrontier_BattlePyramidTop_Text_ReceivedBraveSymbol
|
||||
waitmessage
|
||||
waitfanfare
|
||||
frontier_givesymbol
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_25591D, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePyramidTop_EventScript_25521A
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_LookForwardToNextMeeting, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_255335:: @ 8255335
|
||||
BattleFrontier_BattlePyramidTop_EventScript_BrandonIntroGold:: @ 8255335
|
||||
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_255388
|
||||
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardGoldSpeech
|
||||
special SpawnCameraObject
|
||||
applymovement EVENT_OBJ_ID_CAMERA, BattleFrontier_BattlePyramidTop_Movement_25540C
|
||||
applymovement EVENT_OBJ_ID_CAMERA, BattleFrontier_BattlePyramidTop_Movement_CameraPanUp
|
||||
waitmovement 0
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_255951, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_BrandonYouveReturned, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
|
||||
applymovement 2, BattleFrontier_BattlePyramidTop_Movement_25540A
|
||||
applymovement 2, BattleFrontier_BattlePyramidTop_Movement_BrandonApproachPlayer
|
||||
waitmovement 0
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_255A6D, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePyramidTop_EventScript_255392
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_MyCourageIsOffMeter, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonGold
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_255388:: @ 8255388
|
||||
applymovement 2, BattleFrontier_BattlePyramidTop_Movement_25540A
|
||||
BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardGoldSpeech:: @ 8255388
|
||||
applymovement 2, BattleFrontier_BattlePyramidTop_Movement_BrandonApproachPlayer
|
||||
waitmovement 0
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_255392:: @ 8255392
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_255AA1, MSGBOX_DEFAULT
|
||||
call BattleFrontier_BattlePyramidTop_EventScript_2553ED
|
||||
BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonGold:: @ 8255392
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_EverythingYouHave, MSGBOX_DEFAULT
|
||||
call BattleFrontier_BattlePyramidTop_EventScript_DoBrandonBattle
|
||||
playbgm MUS_PYRAMID_TOP, 0
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_2553B3
|
||||
goto BattleFrontier_BattlePyramidTop_EventScript_252B42
|
||||
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonGold
|
||||
goto BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_2553B3:: @ 82553B3
|
||||
BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonGold:: @ 82553B3
|
||||
frontier_getsymbols
|
||||
compare VAR_RESULT, 2
|
||||
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_25521A
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_255ACD, MSGBOX_DEFAULT
|
||||
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_BrandonRemarkableHaveThis, MSGBOX_DEFAULT
|
||||
playfanfare MUS_ME_SYMBOLGET
|
||||
message BattleFrontier_BattlePyramidTop_Text_255B59
|
||||
message BattleFrontier_BattlePyramidTop_Text_BraveSymbolTookGoldenShine
|
||||
waitmessage
|
||||
waitfanfare
|
||||
frontier_givesymbol
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_255B82, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePyramidTop_EventScript_25521A
|
||||
msgbox BattleFrontier_BattlePyramidTop_Text_FarewellForNow, MSGBOX_DEFAULT
|
||||
goto BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon
|
||||
|
||||
BattleFrontier_BattlePyramidTop_EventScript_2553ED:: @ 82553ED
|
||||
BattleFrontier_BattlePyramidTop_EventScript_DoBrandonBattle:: @ 82553ED
|
||||
closemessage
|
||||
setvar VAR_0x8004, SPECIAL_BATTLE_PYRAMID
|
||||
setvar VAR_0x8005, 0
|
||||
@@ -203,17 +199,17 @@ BattleFrontier_BattlePyramidTop_EventScript_2553ED:: @ 82553ED
|
||||
waitstate
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Movement_2553FD: @ 82553FD
|
||||
BattleFrontier_BattlePyramidTop_Movement_AttendantMoveAside: @ 82553FD
|
||||
walk_right
|
||||
walk_in_place_fastest_left
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Movement_255400: @ 8255400
|
||||
BattleFrontier_BattlePyramidTop_Movement_AttendantBlockPath: @ 8255400
|
||||
walk_left
|
||||
walk_in_place_fastest_up
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Movement_255403: @ 8255403
|
||||
BattleFrontier_BattlePyramidTop_Movement_PlayerClimbToTop: @ 8255403
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
@@ -222,17 +218,17 @@ BattleFrontier_BattlePyramidTop_Movement_255403: @ 8255403
|
||||
walk_in_place_fastest_down
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Movement_25540A: @ 825540A
|
||||
BattleFrontier_BattlePyramidTop_Movement_BrandonApproachPlayer: @ 825540A
|
||||
walk_fast_down
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Movement_25540C: @ 825540C
|
||||
BattleFrontier_BattlePyramidTop_Movement_CameraPanUp: @ 825540C
|
||||
walk_slow_up
|
||||
walk_slow_up
|
||||
delay_16
|
||||
step_end
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_255410: @ 8255410
|
||||
BattleFrontier_BattlePyramidTop_Text_ReachedSummitUpYouGo: @ 8255410
|
||||
.string "It is a delight to see you here!\n"
|
||||
.string "You have reached the summit of\l"
|
||||
.string "the BATTLE PYRAMID!\p"
|
||||
@@ -243,11 +239,11 @@ BattleFrontier_BattlePyramidTop_Text_255410: @ 8255410
|
||||
.string "Now, please!\n"
|
||||
.string "Up you go!$"
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_2554E8: @ 82554E8
|
||||
BattleFrontier_BattlePyramidTop_Text_PlayerConqueredPyramid: @ 82554E8
|
||||
.string "The PYRAMID's new conqueror!\n"
|
||||
.string "Let the name {PLAYER} be known!$"
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_25551F: @ 825551F
|
||||
BattleFrontier_BattlePyramidTop_Text_ChiefBeatYouHere: @ 825551F
|
||||
.string "It is a delight to see you here!\p"
|
||||
.string "Unfortunately, you were second by\n"
|
||||
.string "a mere fraction of time!\p"
|
||||
@@ -260,7 +256,7 @@ BattleFrontier_BattlePyramidTop_Text_25551F: @ 825551F
|
||||
.string "Now, please! When you are ready,\n"
|
||||
.string "take one more step of courage!$"
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_255669: @ 8255669
|
||||
BattleFrontier_BattlePyramidTop_Text_ExplorationsAreGrandestAdventure: @ 8255669
|
||||
.string "Young adventurer…\p"
|
||||
.string "Wouldn't you agree that explorations\n"
|
||||
.string "are the grandest of adventures?\p"
|
||||
@@ -270,7 +266,7 @@ BattleFrontier_BattlePyramidTop_Text_255669: @ 8255669
|
||||
.string "And, above all, only your own courage\n"
|
||||
.string "to lead you through unknown worlds…$"
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_25573E: @ 825573E
|
||||
BattleFrontier_BattlePyramidTop_Text_ImPyramidKingBrandon: @ 825573E
|
||||
.string "Aah, yes, indeed this life is grand!\n"
|
||||
.string "Grand, it is! Eh?\p"
|
||||
.string "I'm BRANDON!\p"
|
||||
@@ -283,25 +279,25 @@ BattleFrontier_BattlePyramidTop_Text_25573E: @ 825573E
|
||||
.string "Hahahah!\n"
|
||||
.string "This should be exciting!$"
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_255846: @ 8255846
|
||||
BattleFrontier_BattlePyramidTop_Text_BringCourageToOurBattle: @ 8255846
|
||||
.string "Now, then!\n"
|
||||
.string "Bring your courage to our battle!$"
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_255873: @ 8255873
|
||||
BattleFrontier_BattlePyramidTop_Text_BrandonFrontierPassPlease: @ 8255873
|
||||
.string "BRANDON: Hahahah! Grand it was!\n"
|
||||
.string "Grand, yes, indeed!\p"
|
||||
.string "Well done! You've earned recognition!\n"
|
||||
.string "Your FRONTIER PASS, please!$"
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_2558E9: @ 82558E9
|
||||
BattleFrontier_BattlePyramidTop_Text_ReceivedBraveSymbol: @ 82558E9
|
||||
.string "The Brave Symbol was embossed on\n"
|
||||
.string "the FRONTIER PASS!$"
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_25591D: @ 825591D
|
||||
BattleFrontier_BattlePyramidTop_Text_LookForwardToNextMeeting: @ 825591D
|
||||
.string "Young explorer!\n"
|
||||
.string "I look forward to our next meeting!$"
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_255951: @ 8255951
|
||||
BattleFrontier_BattlePyramidTop_Text_BrandonYouveReturned: @ 8255951
|
||||
.string "BRANDON: …You've finally returned,\n"
|
||||
.string "young explorer…\p"
|
||||
.string "Your love of adventure seems to come\n"
|
||||
@@ -315,16 +311,16 @@ BattleFrontier_BattlePyramidTop_Text_255951: @ 8255951
|
||||
.string "Those days of death-defying,\n"
|
||||
.string "life-affirming adventures are back…$"
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_255A6D: @ 8255A6D
|
||||
BattleFrontier_BattlePyramidTop_Text_MyCourageIsOffMeter: @ 8255A6D
|
||||
.string "Now, then!\p"
|
||||
.string "I sense my own courage is off\n"
|
||||
.string "the meter!$"
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_255AA1: @ 8255AA1
|
||||
BattleFrontier_BattlePyramidTop_Text_EverythingYouHave: @ 8255AA1
|
||||
.string "Everything you have!\n"
|
||||
.string "I'm braced for it all!$"
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_255ACD: @ 8255ACD
|
||||
BattleFrontier_BattlePyramidTop_Text_BrandonRemarkableHaveThis: @ 8255ACD
|
||||
.string "BRANDON: Hahahah!\n"
|
||||
.string "Remarkable!\l"
|
||||
.string "Yes, it's grand, indeed!\p"
|
||||
@@ -332,17 +328,17 @@ BattleFrontier_BattlePyramidTop_Text_255ACD: @ 8255ACD
|
||||
.string "You've bested me through and through!\n"
|
||||
.string "Here! I want you to have this!$"
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_255B59: @ 8255B59
|
||||
BattleFrontier_BattlePyramidTop_Text_BraveSymbolTookGoldenShine: @ 8255B59
|
||||
.string "The Brave Symbol took on\n"
|
||||
.string "a golden shine!$"
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_255B82: @ 8255B82
|
||||
BattleFrontier_BattlePyramidTop_Text_FarewellForNow: @ 8255B82
|
||||
.string "Ah, yes! It just goes to show that\n"
|
||||
.string "I have much to learn still!\p"
|
||||
.string "May our paths cross again!\n"
|
||||
.string "Farewell for now, young explorer!$"
|
||||
|
||||
BattleFrontier_BattlePyramidTop_Text_255BFE: @ 8255BFE
|
||||
BattleFrontier_BattlePyramidTop_Text_StepForwardWhenReady: @ 8255BFE
|
||||
.string "Now, when you are ready, take courage\n"
|
||||
.string "and step forward.$"
|
||||
|
||||
@@ -146,7 +146,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_241E22:: @ 8241E22
|
||||
tower_save CHALLENGE_STATUS_PAUSED
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
frontier_reset
|
||||
end
|
||||
|
||||
|
||||
@@ -219,7 +219,7 @@ BattleFrontier_BattleTowerBattleRoom2_EventScript_2492DB:: @ 82492DB
|
||||
tower_save CHALLENGE_STATUS_PAUSED
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
frontier_reset
|
||||
end
|
||||
|
||||
|
||||
@@ -209,14 +209,14 @@ BattleFrontier_BattleTowerLobby_EventScript_23E984:: @ 823E984
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_LEVEL_MODE, 0
|
||||
switch VAR_RESULT
|
||||
case 2, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
|
||||
case FRONTIER_LVL_TENT, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
|
||||
frontier_checkineligible
|
||||
compare VAR_0x8004, TRUE
|
||||
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
|
||||
msgbox BattleFrontier_BattleTowerLobby_Text_2407A6, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
call BattleFrontier_EventScript_GetLvlMode
|
||||
copyvar VAR_0x8004, VAR_RESULT
|
||||
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
|
||||
@@ -276,14 +276,14 @@ BattleFrontier_BattleTowerLobby_EventScript_23EAED:: @ 823EAED
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_LEVEL_MODE, 0
|
||||
switch VAR_RESULT
|
||||
case 2, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
|
||||
case FRONTIER_LVL_TENT, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
|
||||
frontier_checkineligible
|
||||
compare VAR_0x8004, TRUE
|
||||
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
|
||||
msgbox BattleFrontier_BattleTowerLobby_Text_240A50, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
call BattleFrontier_EventScript_GetLvlMode
|
||||
copyvar VAR_0x8004, VAR_RESULT
|
||||
setvar VAR_0x8005, FRONTIER_DOUBLES_PARTY_SIZE
|
||||
@@ -344,14 +344,14 @@ BattleFrontier_BattleTowerLobby_EventScript_23EC59:: @ 823EC59
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_LEVEL_MODE, 0
|
||||
switch VAR_RESULT
|
||||
case 2, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
|
||||
case FRONTIER_LVL_TENT, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
|
||||
frontier_checkineligible
|
||||
compare VAR_0x8004, TRUE
|
||||
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
|
||||
msgbox BattleFrontier_BattleTowerLobby_Text_240DDB, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
call BattleFrontier_EventScript_GetLvlMode
|
||||
copyvar VAR_0x8004, VAR_RESULT
|
||||
setvar VAR_0x8005, FRONTIER_MULTI_PARTY_SIZE
|
||||
@@ -411,14 +411,14 @@ BattleFrontier_BattleTowerLobby_EventScript_23EDC2:: @ 823EDC2
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_LEVEL_MODE, 0
|
||||
switch VAR_RESULT
|
||||
case 2, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
|
||||
case FRONTIER_LVL_TENT, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
|
||||
case MULTI_B_PRESSED, BattleFrontier_BattleTowerLobby_EventScript_23F0E6
|
||||
frontier_checkineligible
|
||||
compare VAR_0x8004, TRUE
|
||||
goto_if_eq BattleFrontier_BattleTowerLobby_EventScript_23F02B
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
|
||||
msgbox BattleFrontier_BattleTowerLobby_Text_24115E, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
call BattleFrontier_EventScript_GetLvlMode
|
||||
copyvar VAR_0x8004, VAR_RESULT
|
||||
setvar VAR_0x8005, FRONTIER_MULTI_PARTY_SIZE
|
||||
@@ -1003,11 +1003,12 @@ BattleFrontier_BattleTowerLobby_Text_23F641: @ 823F641
|
||||
.string "you have earned this fabulous prize!\p"
|
||||
.string "$"
|
||||
|
||||
SlateportCity_BattleTentLobby_Text_23F68C: @ 823F68C
|
||||
BattleFrontier_BattleTowerLobby_Text_ReceivedPrize: @ 823F68C
|
||||
.string "{PLAYER} received the prize\n"
|
||||
.string "{STR_VAR_1}.$"
|
||||
|
||||
SlateportCity_BattleTentLobby_Text_23F6A6: @ 823F6A6
|
||||
@ Unused
|
||||
BattleFrontier_BattleTowerLobby_Text_BagFullMakeRoom: @ 823F6A6
|
||||
.string "Oh, your BAG appears to be full.\p"
|
||||
.string "Please make room in your BAG, then come\n"
|
||||
.string "see me.$"
|
||||
|
||||
@@ -6,7 +6,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_MapScripts:: @ 8243D92
|
||||
.byte 0
|
||||
|
||||
BattleFrontier_BattleTowerMultiBattleRoom_MapScript1_243DA7: @ 8243DA7
|
||||
pyramid_healparty
|
||||
pyramid_resetparty
|
||||
end
|
||||
|
||||
BattleFrontier_BattleTowerMultiBattleRoom_MapScript1_243DB0: @ 8243DB0
|
||||
|
||||
@@ -264,7 +264,7 @@ BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection:: @ 826564F
|
||||
BattleFrontier_Lounge7_EventScript_TeachTutorMove:: @ 8265696
|
||||
msgbox BattleFrontier_Lounge7_Text_TeachMoveToWhichMon, MSGBOX_DEFAULT
|
||||
special GetBattleFrontierTutorMoveIndex
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special CloseBattlePointsWindow
|
||||
special CloseBattleFrontierTutorWindow
|
||||
special ChooseMonForMoveTutor
|
||||
|
||||
@@ -50,12 +50,12 @@ CaveOfOrigin_B1F_EventScript_AtSkyPillar:: @ 823584D
|
||||
msgbox CaveOfOrigin_B1F_Text_WellHeadToSkyPillar, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
playse SE_KAIDAN
|
||||
fadescreenspeed 1, 4
|
||||
fadescreenspeed FADE_TO_BLACK, 4
|
||||
setflag FLAG_WALLACE_GOES_TO_SKY_PILLAR
|
||||
setvar VAR_SOOTOPOLIS_CITY_STATE, 3
|
||||
removeobject 1
|
||||
clearflag FLAG_HIDE_SKY_PILLAR_WALLACE
|
||||
fadescreen 0
|
||||
fadescreen FADE_FROM_BLACK
|
||||
release
|
||||
end
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ EverGrandeCity_HallOfFame_EventScript_EnterHallOfFame:: @ 8229850
|
||||
|
||||
EverGrandeCity_HallOfFame_EventScript_GameClearMale:: @ 82298E9
|
||||
setrespawn HEAL_LOCATION_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F
|
||||
fadescreenspeed 1, 24
|
||||
fadescreenspeed FADE_TO_BLACK, 24
|
||||
special GameClear
|
||||
waitstate
|
||||
releaseall
|
||||
@@ -60,7 +60,7 @@ EverGrandeCity_HallOfFame_EventScript_GameClearMale:: @ 82298E9
|
||||
|
||||
EverGrandeCity_HallOfFame_EventScript_GameClearFemale:: @ 82298F5
|
||||
setrespawn HEAL_LOCATION_LITTLEROOT_TOWN_MAYS_HOUSE_2F
|
||||
fadescreenspeed 1, 24
|
||||
fadescreenspeed FADE_TO_BLACK, 24
|
||||
special GameClear
|
||||
waitstate
|
||||
releaseall
|
||||
|
||||
@@ -1,50 +1,53 @@
|
||||
FallarborTown_BattleTentBattleRoom_MapScripts:: @ 8200899
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, FallarborTown_BattleTentBattleRoom_OnTransition
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, FallarborTown_BattleTentBattleRoom_MapScript2_2008DD
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, FallarborTown_BattleTentBattleRoom_MapScript2_200BB0
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, FallarborTown_BattleTentBattleRoom_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, FallarborTown_BattleTentBattleRoom_OnWarp
|
||||
.byte 0
|
||||
|
||||
@ On this map the player (OBJ_EVENT_ID_PLAYER) is hidden
|
||||
@ The player is represented instead by object event 1, which has the gfx id VAR_OBJ_GFX_ID_1
|
||||
@ The opponent is represented by object event 3, which has the gfx id VAR_OBJ_GFX_ID_0
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_OnTransition: @ 82008A9
|
||||
call FallarborTown_BattleTentBattleRoom_EventScript_2008AF
|
||||
call FallarborTown_BattleTentBattleRoom_EventScript_SetPlayerGfx
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_2008AF:: @ 82008AF
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_SetPlayerGfx:: @ 82008AF
|
||||
checkplayergender
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq FallarborTown_BattleTentBattleRoom_EventScript_2008C7
|
||||
goto_if_eq FallarborTown_BattleTentBattleRoom_EventScript_SetPlayerGfxMale
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq FallarborTown_BattleTentBattleRoom_EventScript_2008D2
|
||||
goto_if_eq FallarborTown_BattleTentBattleRoom_EventScript_SetPlayerGfxFemale
|
||||
return
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_2008C7:: @ 82008C7
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_SetPlayerGfxMale:: @ 82008C7
|
||||
setvar VAR_OBJ_GFX_ID_1, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
|
||||
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
|
||||
return
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_2008D2:: @ 82008D2
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_SetPlayerGfxFemale:: @ 82008D2
|
||||
setvar VAR_OBJ_GFX_ID_1, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL
|
||||
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL
|
||||
return
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_MapScript2_2008DD: @ 82008DD
|
||||
map_script_2 VAR_TEMP_0, 0, FallarborTown_BattleTentBattleRoom_EventScript_2008E7
|
||||
FallarborTown_BattleTentBattleRoom_OnFrame: @ 82008DD
|
||||
map_script_2 VAR_TEMP_0, 0, FallarborTown_BattleTentBattleRoom_EventScript_EnterRoom
|
||||
.2byte 0
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_2008E7:: @ 82008E7
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_EnterRoom:: @ 82008E7
|
||||
lockall
|
||||
showobjectat 1, MAP_FALLARBOR_TOWN_BATTLE_TENT_BATTLE_ROOM
|
||||
applymovement 1, FallarborTown_BattleTentBattleRoom_Movement_200B8D
|
||||
applymovement 1, FallarborTown_BattleTentBattleRoom_Movement_PlayerEnter
|
||||
waitmovement 0
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_ne FallarborTown_BattleTentBattleRoom_EventScript_200B73
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_20090F:: @ 820090F
|
||||
goto_if_ne FallarborTown_BattleTentBattleRoom_EventScript_ResumeChallenge
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_NextOpponentEnter:: @ 820090F
|
||||
tower_setopponent
|
||||
addobject 3
|
||||
applymovement 3, FallarborTown_BattleTentBattleRoom_Movement_200B96
|
||||
applymovement 3, FallarborTown_BattleTentBattleRoom_Movement_OpponentEnter
|
||||
waitmovement 0
|
||||
applymovement 2, FallarborTown_BattleTentBattleRoom_Movement_200BA3
|
||||
applymovement 2, FallarborTown_BattleTentBattleRoom_Movement_AttendantJump
|
||||
playse SE_W187
|
||||
waitse
|
||||
waitmovement 0
|
||||
@@ -54,40 +57,38 @@ FallarborTown_BattleTentBattleRoom_EventScript_20090F:: @ 820090F
|
||||
waitmessage
|
||||
call BattleFrontier_BattleArenaBattleRoom_EventScript_DoArenaBattle
|
||||
switch VAR_RESULT
|
||||
case 1, FallarborTown_BattleTentBattleRoom_EventScript_20099C
|
||||
applymovement 2, FallarborTown_BattleTentBattleRoom_Movement_200BA3
|
||||
case 1, FallarborTown_BattleTentBattleRoom_EventScript_DefeatedOpponent
|
||||
applymovement 2, FallarborTown_BattleTentBattleRoom_Movement_AttendantJump
|
||||
playse SE_W173
|
||||
waitse
|
||||
waitmovement 0
|
||||
fallarbortent_getopponentname
|
||||
msgbox BattleFrontier_BattleArenaBattleRoom_Text_WinnerIsOpponent, MSGBOX_DEFAULT
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_20097E:: @ 820097E
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_WarpToLobbyLost:: @ 820097E
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
|
||||
special LoadPlayerParty
|
||||
warp MAP_FALLARBOR_TOWN_BATTLE_TENT_LOBBY, 255, 6, 6
|
||||
waitstate
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_20099C:: @ 820099C
|
||||
applymovement 2, FallarborTown_BattleTentBattleRoom_Movement_200BA3
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_DefeatedOpponent:: @ 820099C
|
||||
applymovement 2, FallarborTown_BattleTentBattleRoom_Movement_AttendantJump
|
||||
playse SE_BAN
|
||||
waitse
|
||||
waitmovement 0
|
||||
msgbox BattleFrontier_BattleArenaBattleRoom_Text_WinnerIsPlayer, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_2009B3:: @ 82009B3
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_IncrementBattleNum:: @ 82009B3
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
addvar VAR_RESULT, 1
|
||||
frontier_set FRONTIER_DATA_BATTLE_NUM, VAR_RESULT
|
||||
switch VAR_RESULT
|
||||
case 3, FallarborTown_BattleTentBattleRoom_EventScript_200AF3
|
||||
applymovement 3, FallarborTown_BattleTentBattleRoom_Movement_200B9E
|
||||
case 3, FallarborTown_BattleTentBattleRoom_EventScript_WarpToLobbyWon
|
||||
applymovement 3, FallarborTown_BattleTentBattleRoom_Movement_OpponentExit
|
||||
waitmovement 0
|
||||
removeobject 3
|
||||
applymovement 2, FallarborTown_BattleTentBattleRoom_Movement_200BA6
|
||||
applymovement 2, FallarborTown_BattleTentBattleRoom_Movement_AttendantApproachPlayer
|
||||
waitmovement 0
|
||||
applymovement 1, FallarborTown_BattleTentBattleRoom_Movement_200B94
|
||||
applymovement 1, FallarborTown_BattleTentBattleRoom_Movement_PlayerFaceAttendant
|
||||
waitmovement 0
|
||||
msgbox BattleFrontier_BattleArenaBattleRoom_Text_MonsWillBeRestored, MSGBOX_DEFAULT
|
||||
special LoadPlayerParty
|
||||
@@ -96,99 +97,102 @@ FallarborTown_BattleTentBattleRoom_EventScript_2009B3:: @ 82009B3
|
||||
playfanfare MUS_ME_ASA
|
||||
waitfanfare
|
||||
special HealPlayerParty
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_200A2A:: @ 8200A2A
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_AskContinueChallenge:: @ 8200A2A
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
compare VAR_RESULT, 1
|
||||
call_if_eq FallarborTown_BattleTentBattleRoom_EventScript_200B43
|
||||
call_if_eq FallarborTown_BattleTentBattleRoom_EventScript_ReadyFor2ndOpponent
|
||||
compare VAR_RESULT, 2
|
||||
call_if_eq FallarborTown_BattleTentBattleRoom_EventScript_200B4A
|
||||
call_if_eq FallarborTown_BattleTentBattleRoom_EventScript_ReadyFor3rdOpponent
|
||||
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
|
||||
switch VAR_RESULT
|
||||
case 0, FallarborTown_BattleTentBattleRoom_EventScript_200AD8
|
||||
case 1, FallarborTown_BattleTentBattleRoom_EventScript_200A78
|
||||
case 2, FallarborTown_BattleTentBattleRoom_EventScript_200AA6
|
||||
case 0, FallarborTown_BattleTentBattleRoom_EventScript_ContinueChallenge
|
||||
case 1, FallarborTown_BattleTentBattleRoom_EventScript_AskPauseChallenge
|
||||
case 2, FallarborTown_BattleTentBattleRoom_EventScript_AskRetireChallenge
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_200A78:: @ 8200A78
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_AskPauseChallenge:: @ 8200A78
|
||||
msgbox BattleFrontier_BattleArenaBattleRoom_Text_SaveAndShutDown, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, FallarborTown_BattleTentBattleRoom_EventScript_200A2A
|
||||
case YES, FallarborTown_BattleTentBattleRoom_EventScript_200B51
|
||||
case MULTI_B_PRESSED, FallarborTown_BattleTentBattleRoom_EventScript_200A2A
|
||||
case NO, FallarborTown_BattleTentBattleRoom_EventScript_AskContinueChallenge
|
||||
case YES, FallarborTown_BattleTentBattleRoom_EventScript_PauseChallenge
|
||||
case MULTI_B_PRESSED, FallarborTown_BattleTentBattleRoom_EventScript_AskContinueChallenge
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_200AA6:: @ 8200AA6
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_AskRetireChallenge:: @ 8200AA6
|
||||
message BattleFrontier_BattleArenaBattleRoom_Text_RetireFromChallenge
|
||||
waitmessage
|
||||
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
|
||||
switch VAR_RESULT
|
||||
case 1, FallarborTown_BattleTentBattleRoom_EventScript_200A2A
|
||||
case 0, FallarborTown_BattleTentBattleRoom_EventScript_20097E
|
||||
case MULTI_B_PRESSED, FallarborTown_BattleTentBattleRoom_EventScript_200A2A
|
||||
case 1, FallarborTown_BattleTentBattleRoom_EventScript_AskContinueChallenge
|
||||
case 0, FallarborTown_BattleTentBattleRoom_EventScript_WarpToLobbyLost
|
||||
case MULTI_B_PRESSED, FallarborTown_BattleTentBattleRoom_EventScript_AskContinueChallenge
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_200AD8:: @ 8200AD8
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_ContinueChallenge:: @ 8200AD8
|
||||
closemessage
|
||||
applymovement 2, FallarborTown_BattleTentBattleRoom_Movement_200BAB
|
||||
applymovement 2, FallarborTown_BattleTentBattleRoom_Movement_AttendantReturnToPos
|
||||
waitmovement 0
|
||||
applymovement 1, FallarborTown_BattleTentBattleRoom_Movement_200B92
|
||||
applymovement 1, FallarborTown_BattleTentBattleRoom_Movement_PlayerFaceBattle
|
||||
waitmovement 0
|
||||
goto FallarborTown_BattleTentBattleRoom_EventScript_20090F
|
||||
goto FallarborTown_BattleTentBattleRoom_EventScript_NextOpponentEnter
|
||||
waitstate
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_200AF3:: @ 8200AF3
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_WarpToLobbyWon:: @ 8200AF3
|
||||
delay 60
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
|
||||
special LoadPlayerParty
|
||||
warp MAP_FALLARBOR_TOWN_BATTLE_TENT_LOBBY, 255, 6, 6
|
||||
waitstate
|
||||
|
||||
@ Unreachable code block? The flow into the next block also doesnt make sense
|
||||
arena_get ARENA_DATA_WIN_STREAK
|
||||
compare VAR_RESULT, MAX_STREAK
|
||||
goto_if_eq FallarborTown_BattleTentBattleRoom_EventScript_2009B3
|
||||
goto_if_eq FallarborTown_BattleTentBattleRoom_EventScript_IncrementBattleNum
|
||||
addvar VAR_RESULT, 1
|
||||
arena_set ARENA_DATA_WIN_STREAK, VAR_RESULT
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_200B43:: @ 8200B43
|
||||
@ See above
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_ReadyFor2ndOpponent:: @ 8200B43
|
||||
message BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor2ndOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_200B4A:: @ 8200B4A
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_ReadyFor3rdOpponent:: @ 8200B4A
|
||||
message BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor3rdOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_200B51:: @ 8200B51
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_PauseChallenge:: @ 8200B51
|
||||
message BattleFrontier_BattleArenaBattleRoom_Text_SavingPleaseWait
|
||||
waitmessage
|
||||
fallarbortent_save CHALLENGE_STATUS_PAUSED
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
frontier_reset
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_200B73:: @ 8200B73
|
||||
applymovement 2, FallarborTown_BattleTentBattleRoom_Movement_200BA6
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_ResumeChallenge:: @ 8200B73
|
||||
applymovement 2, FallarborTown_BattleTentBattleRoom_Movement_AttendantApproachPlayer
|
||||
waitmovement 0
|
||||
applymovement 1, FallarborTown_BattleTentBattleRoom_Movement_200B94
|
||||
applymovement 1, FallarborTown_BattleTentBattleRoom_Movement_PlayerFaceAttendant
|
||||
waitmovement 0
|
||||
goto FallarborTown_BattleTentBattleRoom_EventScript_200A2A
|
||||
goto FallarborTown_BattleTentBattleRoom_EventScript_AskContinueChallenge
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_Movement_200B8D: @ 8200B8D
|
||||
FallarborTown_BattleTentBattleRoom_Movement_PlayerEnter: @ 8200B8D
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_in_place_fastest_right
|
||||
step_end
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_Movement_200B92: @ 8200B92
|
||||
FallarborTown_BattleTentBattleRoom_Movement_PlayerFaceBattle: @ 8200B92
|
||||
walk_in_place_fastest_right
|
||||
step_end
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_Movement_200B94: @ 8200B94
|
||||
FallarborTown_BattleTentBattleRoom_Movement_PlayerFaceAttendant: @ 8200B94
|
||||
walk_in_place_fastest_left
|
||||
step_end
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_Movement_200B96: @ 8200B96
|
||||
FallarborTown_BattleTentBattleRoom_Movement_OpponentEnter: @ 8200B96
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
@@ -196,41 +200,42 @@ FallarborTown_BattleTentBattleRoom_Movement_200B96: @ 8200B96
|
||||
walk_in_place_fastest_left
|
||||
step_end
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_Movement_200B9C: @ 8200B9C
|
||||
@ Unused
|
||||
FallarborTown_BattleTentBattleRoom_Movement_OpponentStepForward: @ 8200B9C
|
||||
walk_left
|
||||
step_end
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_Movement_200B9E: @ 8200B9E
|
||||
FallarborTown_BattleTentBattleRoom_Movement_OpponentExit: @ 8200B9E
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_Movement_200BA3: @ 8200BA3
|
||||
FallarborTown_BattleTentBattleRoom_Movement_AttendantJump: @ 8200BA3
|
||||
disable_jump_landing_ground_effect
|
||||
jump_in_place_down
|
||||
step_end
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_Movement_200BA6: @ 8200BA6
|
||||
FallarborTown_BattleTentBattleRoom_Movement_AttendantApproachPlayer: @ 8200BA6
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
walk_in_place_fastest_right
|
||||
step_end
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_Movement_200BAB: @ 8200BAB
|
||||
FallarborTown_BattleTentBattleRoom_Movement_AttendantReturnToPos: @ 8200BAB
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_in_place_fastest_down
|
||||
step_end
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_MapScript2_200BB0: @ 8200BB0
|
||||
map_script_2 VAR_TEMP_1, 0, FallarborTown_BattleTentBattleRoom_EventScript_200BBA
|
||||
FallarborTown_BattleTentBattleRoom_OnWarp: @ 8200BB0
|
||||
map_script_2 VAR_TEMP_1, 0, FallarborTown_BattleTentBattleRoom_EventScript_SetUpObjects
|
||||
.2byte 0
|
||||
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_200BBA:: @ 8200BBA
|
||||
FallarborTown_BattleTentBattleRoom_EventScript_SetUpObjects:: @ 8200BBA
|
||||
hideobjectat EVENT_OBJ_ID_PLAYER, MAP_FALLARBOR_TOWN_BATTLE_TENT_BATTLE_ROOM
|
||||
hideobjectat 1, MAP_FALLARBOR_TOWN_BATTLE_TENT_BATTLE_ROOM
|
||||
removeobject 3
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
FallarborTown_BattleTentCorridor_MapScripts:: @ 82006A7
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, FallarborTown_BattleTentCorridor_MapScript2_2006AD
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, FallarborTown_BattleTentCorridor_OnFrame
|
||||
.byte 0
|
||||
|
||||
FallarborTown_BattleTentCorridor_MapScript2_2006AD: @ 82006AD
|
||||
map_script_2 VAR_TEMP_0, 0, FallarborTown_BattleTentCorridor_EventScript_2006B7
|
||||
FallarborTown_BattleTentCorridor_OnFrame: @ 82006AD
|
||||
map_script_2 VAR_TEMP_0, 0, FallarborTown_BattleTentCorridor_EventScript_EnterCorridor
|
||||
.2byte 0
|
||||
|
||||
FallarborTown_BattleTentCorridor_EventScript_2006B7:: @ 82006B7
|
||||
FallarborTown_BattleTentCorridor_EventScript_EnterCorridor:: @ 82006B7
|
||||
lockall
|
||||
setvar VAR_TEMP_0, 1
|
||||
applymovement 1, FallarborTown_BattleTentCorridor_Movement_2006FB
|
||||
applymovement EVENT_OBJ_ID_PLAYER, FallarborTown_BattleTentCorridor_Movement_2006FB
|
||||
applymovement 1, FallarborTown_BattleTentCorridor_Movement_WalkToDoor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, FallarborTown_BattleTentCorridor_Movement_WalkToDoor
|
||||
waitmovement 0
|
||||
opendoor 2, 1
|
||||
waitdooranim
|
||||
applymovement 1, FallarborTown_BattleTentCorridor_Movement_200701
|
||||
applymovement EVENT_OBJ_ID_PLAYER, FallarborTown_BattleTentCorridor_Movement_200700
|
||||
applymovement 1, FallarborTown_BattleTentCorridor_Movement_AttendantEnterDoor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, FallarborTown_BattleTentCorridor_Movement_PlayerEnterDoor
|
||||
waitmovement 0
|
||||
closedoor 2, 1
|
||||
waitdooranim
|
||||
@@ -25,40 +25,44 @@ FallarborTown_BattleTentCorridor_EventScript_2006B7:: @ 82006B7
|
||||
releaseall
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentCorridor_Movement_2006FB: @ 82006FB
|
||||
FallarborTown_BattleTentCorridor_Movement_WalkToDoor: @ 82006FB
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
FallarborTown_BattleTentCorridor_Movement_200700: @ 8200700
|
||||
FallarborTown_BattleTentCorridor_Movement_PlayerEnterDoor: @ 8200700
|
||||
walk_up
|
||||
|
||||
FallarborTown_BattleTentCorridor_Movement_200701: @ 8200701
|
||||
FallarborTown_BattleTentCorridor_Movement_AttendantEnterDoor: @ 8200701
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
FallarborTown_BattleTentCorridor_Text_200704: @ 8200704
|
||||
@ Leftover text from when this was a Contest Hall in R/S
|
||||
@ Unused
|
||||
FallarborTown_ContestHall_Text_DoAllRightInPreliminary: @ 8200704
|
||||
.string "We do all right in the preliminary round,\n"
|
||||
.string "but we can never win the appeals…\p"
|
||||
.string "Maybe it means I have to watch what\n"
|
||||
.string "other contestants are doing…$"
|
||||
|
||||
FallarborTown_BattleTentCorridor_Text_200791: @ 8200791
|
||||
@ Unused
|
||||
FallarborTown_ContestHall_Text_MonAllTheseRibbons: @ 8200791
|
||||
.string "See!\n"
|
||||
.string "My POKéMON won all these RIBBONS!\p"
|
||||
.string "Have your POKéMON earned any RIBBONS?\n"
|
||||
.string "You can check them on your POKéNAV.$"
|
||||
|
||||
FallarborTown_BattleTentCorridor_Text_200802: @ 8200802
|
||||
@ Unused
|
||||
FallarborTown_ContestHall_Text_CantWinEverywhere: @ 8200802
|
||||
.string "I can't beat GYM LEADERS…\p"
|
||||
.string "I can't win any CONTESTS…\p"
|
||||
.string "I've been here, there, and everywhere,\n"
|
||||
.string "and it's all for naught…$"
|
||||
|
||||
FallarborTown_BattleTentCorridor_Text_200876: @ 8200876
|
||||
@ Unused
|
||||
FallarborTown_ContestHall_Text_SuperRankStage: @ 8200876
|
||||
.string "POKéMON CONTESTS\n"
|
||||
.string "SUPER RANK STAGE!$"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "FallarborTown_BattleTentLobby_EventScript_200001",
|
||||
"script": "FallarborTown_BattleTentLobby_EventScript_Attendant",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -37,7 +37,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "FallarborTown_BattleTentLobby_EventScript_20020D",
|
||||
"script": "FallarborTown_BattleTentLobby_EventScript_Hiker",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -50,7 +50,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "FallarborTown_BattleTentLobby_EventScript_200216",
|
||||
"script": "FallarborTown_BattleTentLobby_EventScript_LittleBoy",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -63,7 +63,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "FallarborTown_BattleTentLobby_EventScript_20021F",
|
||||
"script": "FallarborTown_BattleTentLobby_EventScript_Lass",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -76,7 +76,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "FallarborTown_BattleTentLobby_EventScript_200228",
|
||||
"script": "FallarborTown_BattleTentLobby_EventScript_Scott",
|
||||
"flag": "FLAG_HIDE_FALLARBOR_TOWN_BATTLE_TENT_SCOTT"
|
||||
}
|
||||
],
|
||||
@@ -104,7 +104,7 @@
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "FallarborTown_BattleTentLobby_EventScript_20024F"
|
||||
"script": "FallarborTown_BattleTentLobby_EventScript_RulesBoard"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,32 +1,32 @@
|
||||
FallarborTown_BattleTentLobby_MapScripts:: @ 81FFE66
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, FallarborTown_BattleTentLobby_MapScript2_1FFE85
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, FallarborTown_BattleTentLobby_MapScript2_1FFE71
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, FallarborTown_BattleTentLobby_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, FallarborTown_BattleTentLobby_OnWarp
|
||||
.byte 0
|
||||
|
||||
FallarborTown_BattleTentLobby_MapScript2_1FFE71: @ 81FFE71
|
||||
map_script_2 VAR_TEMP_1, 0, FallarborTown_BattleTentLobby_EventScript_1FFE7B
|
||||
FallarborTown_BattleTentLobby_OnWarp: @ 81FFE71
|
||||
map_script_2 VAR_TEMP_1, 0, FallarborTown_BattleTentLobby_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_1FFE7B:: @ 81FFE7B
|
||||
FallarborTown_BattleTentLobby_EventScript_TurnPlayerNorth:: @ 81FFE7B
|
||||
setvar VAR_TEMP_1, 1
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_MapScript2_1FFE85: @ 81FFE85
|
||||
map_script_2 VAR_TEMP_0, 0, FallarborTown_BattleTentLobby_EventScript_1FFEAF
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, FallarborTown_BattleTentLobby_EventScript_1FFEB8
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, FallarborTown_BattleTentLobby_EventScript_1FFFCD
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, FallarborTown_BattleTentLobby_EventScript_1FFEED
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, FallarborTown_BattleTentLobby_EventScript_1FFF93
|
||||
FallarborTown_BattleTentLobby_OnFrame: @ 81FFE85
|
||||
map_script_2 VAR_TEMP_0, 0, FallarborTown_BattleTentLobby_EventScript_GetChallengeStatus
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, FallarborTown_BattleTentLobby_EventScript_QuitWithoutSaving
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, FallarborTown_BattleTentLobby_EventScript_ResumeChallenge
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, FallarborTown_BattleTentLobby_EventScript_WonChallenge
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, FallarborTown_BattleTentLobby_EventScript_LostChallenge
|
||||
.2byte 0
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_1FFEAF:: @ 81FFEAF
|
||||
FallarborTown_BattleTentLobby_EventScript_GetChallengeStatus:: @ 81FFEAF
|
||||
frontier_getstatus
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_1FFEB8:: @ 81FFEB8
|
||||
FallarborTown_BattleTentLobby_EventScript_QuitWithoutSaving:: @ 81FFEB8
|
||||
lockall
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C4DED, MSGBOX_DEFAULT
|
||||
msgbox FallarborTown_BattleTentLobby_Text_DidntSaveBeforeQuitting, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
setvar VAR_TEMP_0, 255
|
||||
@@ -34,10 +34,10 @@ FallarborTown_BattleTentLobby_EventScript_1FFEB8:: @ 81FFEB8
|
||||
releaseall
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_1FFEED:: @ 81FFEED
|
||||
FallarborTown_BattleTentLobby_EventScript_WonChallenge:: @ 81FFEED
|
||||
lockall
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C4EC3, MSGBOX_DEFAULT
|
||||
message FallarborTown_BattleTentLobby_Text_2C4EFF
|
||||
msgbox FallarborTown_BattleTentLobby_Text_BeatThreeTrainers, MSGBOX_DEFAULT
|
||||
message FallarborTown_BattleTentLobby_Text_WaitWhileSaveGame
|
||||
waitmessage
|
||||
fallarbortent_setrandomprize
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, FRONTIER_LVL_50
|
||||
@@ -45,103 +45,102 @@ FallarborTown_BattleTentLobby_EventScript_1FFEED:: @ 81FFEED
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_1FFF27:: @ 81FFF27
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C4F22, MSGBOX_DEFAULT
|
||||
FallarborTown_BattleTentLobby_EventScript_GivePrize:: @ 81FFF27
|
||||
msgbox FallarborTown_BattleTentLobby_Text_PresentYouWithPrize, MSGBOX_DEFAULT
|
||||
fallarbortent_giveprize
|
||||
switch VAR_RESULT
|
||||
case 0, FallarborTown_BattleTentLobby_EventScript_1FFF73
|
||||
case FALSE, FallarborTown_BattleTentLobby_EventScript_NoRoomForPrize
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
message FallarborTown_BattleTentLobby_Text_2C4F69
|
||||
message FallarborTown_BattleTentLobby_Text_ReceivedPrize
|
||||
waitmessage
|
||||
playfanfare MUS_FANFA4
|
||||
waitfanfare
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C501F, MSGBOX_DEFAULT
|
||||
msgbox FallarborTown_BattleTentLobby_Text_AwaitAnotherChallenge2, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_1FFF73:: @ 81FFF73
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C4F83, MSGBOX_DEFAULT
|
||||
FallarborTown_BattleTentLobby_EventScript_NoRoomForPrize:: @ 81FFF73
|
||||
msgbox FallarborTown_BattleTentLobby_Text_BagFullReturnForPrize, MSGBOX_DEFAULT
|
||||
waitmessage
|
||||
closemessage
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_1FFF84:: @ 81FFF84
|
||||
FallarborTown_BattleTentLobby_EventScript_PrizeWaiting:: @ 81FFF84
|
||||
lockall
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C4EC3, MSGBOX_DEFAULT
|
||||
goto FallarborTown_BattleTentLobby_EventScript_1FFF27
|
||||
msgbox FallarborTown_BattleTentLobby_Text_BeatThreeTrainers, MSGBOX_DEFAULT
|
||||
goto FallarborTown_BattleTentLobby_EventScript_GivePrize
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_1FFF93:: @ 81FFF93
|
||||
FallarborTown_BattleTentLobby_EventScript_LostChallenge:: @ 81FFF93
|
||||
lockall
|
||||
message FallarborTown_BattleTentLobby_Text_2C4FD7
|
||||
message FallarborTown_BattleTentLobby_Text_ThankYouWaitWhileSaving
|
||||
waitmessage
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, FRONTIER_LVL_50
|
||||
fallarbortent_save 0
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C501F, MSGBOX_DEFAULT
|
||||
msgbox FallarborTown_BattleTentLobby_Text_AwaitAnotherChallenge2, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_1FFFCD:: @ 81FFFCD
|
||||
FallarborTown_BattleTentLobby_EventScript_ResumeChallenge:: @ 81FFFCD
|
||||
lockall
|
||||
message FallarborTown_BattleTentLobby_Text_2C504C
|
||||
message FallarborTown_BattleTentLobby_Text_LookingForwardToArrival
|
||||
waitmessage
|
||||
fallarbortent_save CHALLENGE_STATUS_SAVING
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
frontier_set FRONTIER_DATA_PAUSED, FALSE
|
||||
setvar VAR_TEMP_0, 255
|
||||
goto FallarborTown_BattleTentLobby_EventScript_20013C
|
||||
goto FallarborTown_BattleTentLobby_EventScript_EnterChallenge
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_200001:: @ 8200001
|
||||
FallarborTown_BattleTentLobby_EventScript_Attendant:: @ 8200001
|
||||
lock
|
||||
faceplayer
|
||||
fallarbortent_getprize
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_ne FallarborTown_BattleTentLobby_EventScript_1FFF84
|
||||
compare VAR_RESULT, ITEM_NONE
|
||||
goto_if_ne FallarborTown_BattleTentLobby_EventScript_PrizeWaiting
|
||||
special SavePlayerParty
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C47EB, MSGBOX_DEFAULT
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_200021:: @ 8200021
|
||||
message FallarborTown_BattleTentLobby_Text_2C4843
|
||||
msgbox FallarborTown_BattleTentLobby_Text_WelcomeToBattleTent, MSGBOX_DEFAULT
|
||||
FallarborTown_BattleTentLobby_EventScript_AskEnterChallenge:: @ 8200021
|
||||
message FallarborTown_BattleTentLobby_Text_TakeChallenge
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_CHALLENGEINFO, 0
|
||||
switch VAR_RESULT
|
||||
case 0, FallarborTown_BattleTentLobby_EventScript_20005D
|
||||
case 1, FallarborTown_BattleTentLobby_EventScript_200169
|
||||
case 2, FallarborTown_BattleTentLobby_EventScript_2001C5
|
||||
case MULTI_B_PRESSED, FallarborTown_BattleTentLobby_EventScript_2001C5
|
||||
case 0, FallarborTown_BattleTentLobby_EventScript_TryEnterChallenge
|
||||
case 1, FallarborTown_BattleTentLobby_EventScript_ExplainChallenge
|
||||
case 2, FallarborTown_BattleTentLobby_EventScript_CancelChallenge
|
||||
case MULTI_B_PRESSED, FallarborTown_BattleTentLobby_EventScript_CancelChallenge
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_20005D:: @ 820005D
|
||||
FallarborTown_BattleTentLobby_EventScript_TryEnterChallenge:: @ 820005D
|
||||
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_ARENA
|
||||
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
setvar VAR_RESULT, 2
|
||||
frontier_checkineligible
|
||||
compare VAR_0x8004, TRUE
|
||||
goto_if_eq FallarborTown_BattleTentLobby_EventScript_200176
|
||||
goto_if_eq FallarborTown_BattleTentLobby_EventScript_NotEnoughValidMons
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, FRONTIER_LVL_TENT
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C4BC8, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
msgbox FallarborTown_BattleTentLobby_Text_SelectThreeMons, MSGBOX_DEFAULT
|
||||
fadescreen FADE_TO_BLACK
|
||||
setvar VAR_0x8004, 2
|
||||
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
|
||||
special ChoosePartyForBattleFrontier
|
||||
waitstate
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq FallarborTown_BattleTentLobby_EventScript_2001C2
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C4B35, MSGBOX_YESNO
|
||||
goto_if_eq FallarborTown_BattleTentLobby_EventScript_LoadPartyCancelChallenge
|
||||
msgbox FallarborTown_BattleTentLobby_Text_SaveBeforeChallenge, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, FallarborTown_BattleTentLobby_EventScript_2001C2
|
||||
case YES, FallarborTown_BattleTentLobby_EventScript_2000E2
|
||||
case MULTI_B_PRESSED, FallarborTown_BattleTentLobby_EventScript_2001C2
|
||||
case NO, FallarborTown_BattleTentLobby_EventScript_LoadPartyCancelChallenge
|
||||
case YES, FallarborTown_BattleTentLobby_EventScript_SaveBeforeChallenge
|
||||
case MULTI_B_PRESSED, FallarborTown_BattleTentLobby_EventScript_LoadPartyCancelChallenge
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_2000E2:: @ 82000E2
|
||||
FallarborTown_BattleTentLobby_EventScript_SaveBeforeChallenge:: @ 82000E2
|
||||
setvar VAR_TEMP_0, 0
|
||||
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
|
||||
fallarbortent_init
|
||||
@@ -153,170 +152,166 @@ FallarborTown_BattleTentLobby_EventScript_2000E2:: @ 82000E2
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq FallarborTown_BattleTentLobby_EventScript_2001AB
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_20013C:: @ 820013C
|
||||
goto_if_eq FallarborTown_BattleTentLobby_EventScript_CancelChallengeSaveFailed
|
||||
FallarborTown_BattleTentLobby_EventScript_EnterChallenge:: @ 820013C
|
||||
special SavePlayerParty
|
||||
frontier_setpartyorder FRONTIER_PARTY_SIZE
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C4DC3, MSGBOX_DEFAULT
|
||||
msgbox FallarborTown_BattleTentLobby_Text_GuideYouToBattleTent, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
call FallarborTown_BattleTentLobby_EventScript_2001CF
|
||||
call FallarborTown_BattleTentLobby_EventScript_WalkToDoor
|
||||
warp MAP_FALLARBOR_TOWN_BATTLE_TENT_CORRIDOR, 255, 2, 7
|
||||
setvar VAR_TEMP_0, 0
|
||||
waitstate
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_200169:: @ 8200169
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C48AC, MSGBOX_DEFAULT
|
||||
goto FallarborTown_BattleTentLobby_EventScript_200021
|
||||
FallarborTown_BattleTentLobby_EventScript_ExplainChallenge:: @ 8200169
|
||||
msgbox FallarborTown_BattleTentLobby_Text_ExplainFallarborTent, MSGBOX_DEFAULT
|
||||
goto FallarborTown_BattleTentLobby_EventScript_AskEnterChallenge
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_200176:: @ 8200176
|
||||
FallarborTown_BattleTentLobby_EventScript_NotEnoughValidMons:: @ 8200176
|
||||
switch VAR_RESULT
|
||||
case FRONTIER_LVL_50, FallarborTown_BattleTentLobby_EventScript_200191
|
||||
case FRONTIER_LVL_OPEN, FallarborTown_BattleTentLobby_EventScript_20019E
|
||||
case FRONTIER_LVL_50, FallarborTown_BattleTentLobby_EventScript_NotEnoughValidMonsLv50
|
||||
case FRONTIER_LVL_OPEN, FallarborTown_BattleTentLobby_EventScript_NotEnoughValidMonsLvOpen
|
||||
FallarborTown_BattleTentLobby_EventScript_NotEnoughValidMonsLv50:: @ 8200191
|
||||
msgbox FallarborTown_BattleTentLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
|
||||
goto FallarborTown_BattleTentLobby_EventScript_EndCancelChallenge
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_200191:: @ 8200191
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C4BFA, MSGBOX_DEFAULT
|
||||
goto FallarborTown_BattleTentLobby_EventScript_2001CD
|
||||
FallarborTown_BattleTentLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 820019E
|
||||
msgbox FallarborTown_BattleTentLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
|
||||
goto FallarborTown_BattleTentLobby_EventScript_EndCancelChallenge
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_20019E:: @ 820019E
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C4CC0, MSGBOX_DEFAULT
|
||||
goto FallarborTown_BattleTentLobby_EventScript_2001CD
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_2001AB:: @ 82001AB
|
||||
FallarborTown_BattleTentLobby_EventScript_CancelChallengeSaveFailed:: @ 82001AB
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
goto FallarborTown_BattleTentLobby_EventScript_2001C5
|
||||
goto FallarborTown_BattleTentLobby_EventScript_CancelChallenge
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_2001C2:: @ 82001C2
|
||||
FallarborTown_BattleTentLobby_EventScript_LoadPartyCancelChallenge:: @ 82001C2
|
||||
special LoadPlayerParty
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_2001C5:: @ 82001C5
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C487F, MSGBOX_DEFAULT
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_2001CD:: @ 82001CD
|
||||
FallarborTown_BattleTentLobby_EventScript_CancelChallenge:: @ 82001C5
|
||||
msgbox FallarborTown_BattleTentLobby_Text_AwaitAnotherChallenge, MSGBOX_DEFAULT
|
||||
FallarborTown_BattleTentLobby_EventScript_EndCancelChallenge:: @ 82001CD
|
||||
release
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_2001CF:: @ 82001CF
|
||||
applymovement 1, FallarborTown_BattleTentLobby_Movement_2001FE
|
||||
applymovement EVENT_OBJ_ID_PLAYER, FallarborTown_BattleTentLobby_Movement_200205
|
||||
FallarborTown_BattleTentLobby_EventScript_WalkToDoor:: @ 82001CF
|
||||
applymovement 1, FallarborTown_BattleTentLobby_Movement_AttendantWalkToDoor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, FallarborTown_BattleTentLobby_Movement_PlayerWalkToDoor
|
||||
waitmovement 0
|
||||
opendoor 6, 1
|
||||
waitdooranim
|
||||
applymovement 1, FallarborTown_BattleTentLobby_Movement_200202
|
||||
applymovement EVENT_OBJ_ID_PLAYER, FallarborTown_BattleTentLobby_Movement_200209
|
||||
applymovement 1, FallarborTown_BattleTentLobby_Movement_AttendantEnterDoor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, FallarborTown_BattleTentLobby_Movement_PlayerEnterDoor
|
||||
waitmovement 0
|
||||
closedoor 6, 1
|
||||
waitdooranim
|
||||
return
|
||||
|
||||
FallarborTown_BattleTentLobby_Movement_2001FE: @ 82001FE
|
||||
FallarborTown_BattleTentLobby_Movement_AttendantWalkToDoor: @ 82001FE
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
FallarborTown_BattleTentLobby_Movement_200202: @ 8200202
|
||||
FallarborTown_BattleTentLobby_Movement_AttendantEnterDoor: @ 8200202
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
FallarborTown_BattleTentLobby_Movement_200205: @ 8200205
|
||||
FallarborTown_BattleTentLobby_Movement_PlayerWalkToDoor: @ 8200205
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
FallarborTown_BattleTentLobby_Movement_200209: @ 8200209
|
||||
FallarborTown_BattleTentLobby_Movement_PlayerEnterDoor: @ 8200209
|
||||
walk_up
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_20020D:: @ 820020D
|
||||
msgbox FallarborTown_BattleTentLobby_Text_20045A, MSGBOX_NPC
|
||||
FallarborTown_BattleTentLobby_EventScript_Hiker:: @ 820020D
|
||||
msgbox FallarborTown_BattleTentLobby_Text_CameToCampOut, MSGBOX_NPC
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_200216:: @ 8200216
|
||||
msgbox FallarborTown_BattleTentLobby_Text_200304, MSGBOX_NPC
|
||||
FallarborTown_BattleTentLobby_EventScript_LittleBoy:: @ 8200216
|
||||
msgbox FallarborTown_BattleTentLobby_Text_MakeThinkImJustKid, MSGBOX_NPC
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_20021F:: @ 820021F
|
||||
msgbox FallarborTown_BattleTentLobby_Text_200382, MSGBOX_NPC
|
||||
FallarborTown_BattleTentLobby_EventScript_Lass:: @ 820021F
|
||||
msgbox FallarborTown_BattleTentLobby_Text_FallarborTentMyFavorite, MSGBOX_NPC
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_200228:: @ 8200228
|
||||
FallarborTown_BattleTentLobby_EventScript_Scott:: @ 8200228
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_MET_SCOTT_IN_FALLARBOR, FallarborTown_BattleTentLobby_EventScript_200245
|
||||
msgbox FallarborTown_BattleTentLobby_Text_200501, MSGBOX_DEFAULT
|
||||
goto_if_set FLAG_MET_SCOTT_IN_FALLARBOR, FallarborTown_BattleTentLobby_EventScript_ScottAlreadySpokenTo
|
||||
msgbox FallarborTown_BattleTentLobby_Text_ScottLookingForSomeone, MSGBOX_DEFAULT
|
||||
addvar VAR_SCOTT_STATE, 1
|
||||
setflag FLAG_MET_SCOTT_IN_FALLARBOR
|
||||
release
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_200245:: @ 8200245
|
||||
msgbox FallarborTown_BattleTentLobby_Text_200653, MSGBOX_DEFAULT
|
||||
FallarborTown_BattleTentLobby_EventScript_ScottAlreadySpokenTo:: @ 8200245
|
||||
msgbox FallarborTown_BattleTentLobby_Text_ScottMakeChallenge, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_20024F:: @ 820024F
|
||||
FallarborTown_BattleTentLobby_EventScript_RulesBoard:: @ 820024F
|
||||
lockall
|
||||
msgbox BattleFrontier_BattleArenaLobby_Text_RulesAreListed, MSGBOX_DEFAULT
|
||||
goto FallarborTown_BattleTentLobby_EventScript_20025E
|
||||
goto FallarborTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_20025E:: @ 820025E
|
||||
FallarborTown_BattleTentLobby_EventScript_ReadRulesBoard:: @ 820025E
|
||||
message BattleFrontier_BattleArenaLobby_Text_ReadWhichHeading
|
||||
waitmessage
|
||||
multichoice 17, 0, MULTI_FALLARBOR_TENT_RULES, 0
|
||||
switch VAR_RESULT
|
||||
case 0, FallarborTown_BattleTentLobby_EventScript_2002BC
|
||||
case 1, FallarborTown_BattleTentLobby_EventScript_2002CA
|
||||
case 2, FallarborTown_BattleTentLobby_EventScript_2002D8
|
||||
case 3, FallarborTown_BattleTentLobby_EventScript_2002E6
|
||||
case 4, FallarborTown_BattleTentLobby_EventScript_2002F4
|
||||
case 5, FallarborTown_BattleTentLobby_EventScript_200302
|
||||
case MULTI_B_PRESSED, FallarborTown_BattleTentLobby_EventScript_200302
|
||||
case 0, FallarborTown_BattleTentLobby_EventScript_RulesLevel
|
||||
case 1, FallarborTown_BattleTentLobby_EventScript_RulesBattle
|
||||
case 2, FallarborTown_BattleTentLobby_EventScript_RulesMind
|
||||
case 3, FallarborTown_BattleTentLobby_EventScript_RulesSkill
|
||||
case 4, FallarborTown_BattleTentLobby_EventScript_RulesBody
|
||||
case 5, FallarborTown_BattleTentLobby_EventScript_ExitRules
|
||||
case MULTI_B_PRESSED, FallarborTown_BattleTentLobby_EventScript_ExitRules
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_2002BC:: @ 82002BC
|
||||
msgbox FallarborTown_BattleTentLobby_Text_2C67CD, MSGBOX_DEFAULT
|
||||
goto FallarborTown_BattleTentLobby_EventScript_20025E
|
||||
FallarborTown_BattleTentLobby_EventScript_RulesLevel:: @ 82002BC
|
||||
msgbox BattleTentLobby_Text_ExplainLevelRules, MSGBOX_DEFAULT
|
||||
goto FallarborTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_2002CA:: @ 82002CA
|
||||
FallarborTown_BattleTentLobby_EventScript_RulesBattle:: @ 82002CA
|
||||
msgbox BattleFrontier_BattleArenaLobby_Text_ExplainBattleRules, MSGBOX_DEFAULT
|
||||
goto FallarborTown_BattleTentLobby_EventScript_20025E
|
||||
goto FallarborTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_2002D8:: @ 82002D8
|
||||
FallarborTown_BattleTentLobby_EventScript_RulesMind:: @ 82002D8
|
||||
msgbox BattleFrontier_BattleArenaLobby_Text_ExplainMindRules, MSGBOX_DEFAULT
|
||||
goto FallarborTown_BattleTentLobby_EventScript_20025E
|
||||
goto FallarborTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_2002E6:: @ 82002E6
|
||||
FallarborTown_BattleTentLobby_EventScript_RulesSkill:: @ 82002E6
|
||||
msgbox BattleFrontier_BattleArenaLobby_Text_ExplainSkillRules, MSGBOX_DEFAULT
|
||||
goto FallarborTown_BattleTentLobby_EventScript_20025E
|
||||
goto FallarborTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_2002F4:: @ 82002F4
|
||||
FallarborTown_BattleTentLobby_EventScript_RulesBody:: @ 82002F4
|
||||
msgbox BattleFrontier_BattleArenaLobby_Text_ExplainBodyRules, MSGBOX_DEFAULT
|
||||
goto FallarborTown_BattleTentLobby_EventScript_20025E
|
||||
goto FallarborTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_EventScript_200302:: @ 8200302
|
||||
FallarborTown_BattleTentLobby_EventScript_ExitRules:: @ 8200302
|
||||
releaseall
|
||||
end
|
||||
|
||||
FallarborTown_BattleTentLobby_Text_200304: @ 8200304
|
||||
FallarborTown_BattleTentLobby_Text_MakeThinkImJustKid: @ 8200304
|
||||
.string "Fufufufufu.\p"
|
||||
.string "I'm going to make everyone think\n"
|
||||
.string "I'm just a kid and let them play down.\p"
|
||||
.string "Then, I'll shock them and grab\n"
|
||||
.string "the title!$"
|
||||
|
||||
FallarborTown_BattleTentLobby_Text_200382: @ 8200382
|
||||
FallarborTown_BattleTentLobby_Text_FallarborTentMyFavorite: @ 8200382
|
||||
.string "You know how BATTLE TENTS offer\n"
|
||||
.string "different events in different towns?\p"
|
||||
.string "My favorite is definitely the BATTLE\n"
|
||||
@@ -325,7 +320,7 @@ FallarborTown_BattleTentLobby_Text_200382: @ 8200382
|
||||
.string "try to win with all their faith in\l"
|
||||
.string "their POKéMON.$"
|
||||
|
||||
FallarborTown_BattleTentLobby_Text_20045A: @ 820045A
|
||||
FallarborTown_BattleTentLobby_Text_CameToCampOut: @ 820045A
|
||||
.string "I heard something about some tent,\n"
|
||||
.string "so I came to camp out.\p"
|
||||
.string "I didn't know that tents these days\n"
|
||||
@@ -333,7 +328,7 @@ FallarborTown_BattleTentLobby_Text_20045A: @ 820045A
|
||||
.string "Since I'm here, I may as well try\n"
|
||||
.string "my hand at battling!$"
|
||||
|
||||
FallarborTown_BattleTentLobby_Text_200501: @ 8200501
|
||||
FallarborTown_BattleTentLobby_Text_ScottLookingForSomeone: @ 8200501
|
||||
.string "SCOTT: Hi, {PLAYER}{KUN}!\n"
|
||||
.string "So you came out to this BATTLE TENT!\p"
|
||||
.string "The people in these parts tend to be\n"
|
||||
@@ -348,7 +343,7 @@ FallarborTown_BattleTentLobby_Text_200501: @ 8200501
|
||||
.string "Whoops! Never mind!\n"
|
||||
.string "Keep working at it!$"
|
||||
|
||||
FallarborTown_BattleTentLobby_Text_200653: @ 8200653
|
||||
FallarborTown_BattleTentLobby_Text_ScottMakeChallenge: @ 8200653
|
||||
.string "SCOTT: Instead of wasting your\n"
|
||||
.string "time with the likes of me, why not\l"
|
||||
.string "make a challenge?$"
|
||||
|
||||
@@ -190,10 +190,10 @@ FarawayIsland_Interior_EventScript_MewHideLeft:: @ 8267ED0
|
||||
|
||||
FarawayIsland_Interior_EventScript_HideMewWhenGrassCut:: @ 8267EDB
|
||||
lockall
|
||||
fadescreenswapbuffers 1
|
||||
fadescreenswapbuffers FADE_TO_BLACK
|
||||
setflag FLAG_HIDE_MEW
|
||||
removeobject 1
|
||||
fadescreenswapbuffers 0
|
||||
fadescreenswapbuffers FADE_FROM_BLACK
|
||||
msgbox FarawayIsland_Interior_Text_TheFeelingOfBeingWatchedFaded, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
releaseall
|
||||
|
||||
@@ -42,7 +42,7 @@ LilycoveCity_ContestLobby_EventScript_ContestArtist:: @ 821A264
|
||||
waitmovement 0
|
||||
msgbox LilycoveCity_ContestLobby_Text_YourPokemonSpurredMeToPaint, MSGBOX_DEFAULT
|
||||
lockall
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
showcontestwinner 0
|
||||
lockall
|
||||
msgbox LilycoveCity_ContestLobby_Text_ShouldITakePaintingToMuseum, MSGBOX_YESNO
|
||||
@@ -216,7 +216,7 @@ LilycoveCity_ContestLobby_EventScript_LinkContestArtist:: @ 821A436
|
||||
waitmovement 0
|
||||
msgbox LilycoveCity_ContestLobby_Text_YourPokemonSpurredMeToPaint, MSGBOX_DEFAULT
|
||||
lockall
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
showcontestwinner 0
|
||||
msgbox LilycoveCity_ContestLobby_Text_ShouldITakePaintingToMuseum, MSGBOX_YESNO
|
||||
compare VAR_RESULT, YES
|
||||
@@ -504,42 +504,42 @@ LilycoveCity_ContestLobby_EventScript_NinjaBoy:: @ 821A735
|
||||
|
||||
LilycoveCity_ContestLobby_EventScript_ContestWinner1:: @ 821A73E
|
||||
lockall
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
showcontestwinner 1
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_ContestLobby_EventScript_ContestWinner2:: @ 821A745
|
||||
lockall
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
showcontestwinner 2
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_ContestLobby_EventScript_ContestWinner3:: @ 821A74C
|
||||
lockall
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
showcontestwinner 3
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_ContestLobby_EventScript_ContestWinner4:: @ 821A753
|
||||
lockall
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
showcontestwinner 4
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_ContestLobby_EventScript_ContestWinner5:: @ 821A75A
|
||||
lockall
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
showcontestwinner 5
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_ContestLobby_EventScript_ContestWinner6:: @ 821A761
|
||||
lockall
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
showcontestwinner 6
|
||||
releaseall
|
||||
end
|
||||
|
||||
@@ -182,35 +182,35 @@ LilycoveCity_LilycoveMuseum_2F_EventScript_RichBoy:: @ 821999C
|
||||
|
||||
LilycoveCity_LilycoveMuseum_2F_EventScript_ShowCoolPainting:: @ 82199A5
|
||||
msgbox LilycoveCity_LilycoveMuseum_2F_Text_ItsPaintingOfPokemon, MSGBOX_SIGN
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
showcontestwinner 9
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_LilycoveMuseum_2F_EventScript_ShowBeautyPainting:: @ 82199B3
|
||||
msgbox LilycoveCity_LilycoveMuseum_2F_Text_ItsPaintingOfPokemon, MSGBOX_SIGN
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
showcontestwinner 10
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_LilycoveMuseum_2F_EventScript_ShowCutePainting:: @ 82199C1
|
||||
msgbox LilycoveCity_LilycoveMuseum_2F_Text_ItsPaintingOfPokemon, MSGBOX_SIGN
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
showcontestwinner 11
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_LilycoveMuseum_2F_EventScript_ShowSmartPainting:: @ 82199CF
|
||||
msgbox LilycoveCity_LilycoveMuseum_2F_Text_ItsPaintingOfPokemon, MSGBOX_SIGN
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
showcontestwinner 12
|
||||
releaseall
|
||||
end
|
||||
|
||||
LilycoveCity_LilycoveMuseum_2F_EventScript_ShowToughPainting:: @ 82199DD
|
||||
msgbox LilycoveCity_LilycoveMuseum_2F_Text_ItsPaintingOfPokemon, MSGBOX_SIGN
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
showcontestwinner 13
|
||||
releaseall
|
||||
end
|
||||
|
||||
@@ -25,9 +25,9 @@ LilycoveCity_MoveDeletersHouse_EventScript_ChooseMonAndMoveToForget:: @ 821EA3B
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_MonOnlyKnowsOneMove
|
||||
msgbox LilycoveCity_MoveDeletersHouse_Text_WhichMoveShouldBeForgotten, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special MoveDeleterChooseMoveToForget
|
||||
fadescreen 0
|
||||
fadescreen FADE_FROM_BLACK
|
||||
compare VAR_0x8005, MAX_MON_MOVES
|
||||
goto_if_eq LilycoveCity_MoveDeletersHouse_EventScript_ChooseMonAndMoveToForget
|
||||
special BufferMoveDeleterNicknameAndMove
|
||||
|
||||
@@ -62,14 +62,14 @@ MagmaHideout_4F_EventScript_Maxie:: @ 823A560
|
||||
setvar VAR_SLATEPORT_CITY_STATE, 1
|
||||
setflag FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT
|
||||
setvar VAR_SLATEPORT_HARBOR_STATE, 1
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
removeobject 6
|
||||
removeobject 2
|
||||
removeobject 3
|
||||
removeobject 4
|
||||
removeobject 5
|
||||
setflag FLAG_HIDE_MAGMA_HIDEOUT_GRUNTS
|
||||
fadescreen 0
|
||||
fadescreen FADE_FROM_BLACK
|
||||
releaseall
|
||||
end
|
||||
|
||||
|
||||
@@ -248,7 +248,7 @@ MossdeepCity_SpaceCenter_2F_EventScript_ChoosePartyForMultiBattle:: @ 822400C
|
||||
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestDown
|
||||
waitmovement 0
|
||||
special SavePlayerParty
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special ChooseHalfPartyForBattle
|
||||
waitstate
|
||||
compare VAR_RESULT, 0
|
||||
@@ -267,7 +267,7 @@ MossdeepCity_SpaceCenter_2F_EventScript_DoStevenMultiBattle:: @ 8224032
|
||||
special LoadPlayerParty
|
||||
switch VAR_RESULT
|
||||
case 1, MossdeepCity_SpaceCenter_2F_EventScript_DefeatedMaxieTabitha
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special SetCB2WhiteOut
|
||||
waitstate
|
||||
|
||||
@@ -287,7 +287,7 @@ MossdeepCity_SpaceCenter_2F_EventScript_DefeatedMaxieTabitha:: @ 8224071
|
||||
closemessage
|
||||
setvar VAR_MOSSDEEP_CITY_STATE, 3
|
||||
fadedefaultbgm
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
setvar VAR_MOSSDEEP_SPACE_CENTER_STATE, 3
|
||||
setflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_1F_TEAM_MAGMA
|
||||
setflag FLAG_HIDE_MOSSDEEP_CITY_SPACE_CENTER_2F_TEAM_MAGMA
|
||||
@@ -304,10 +304,10 @@ MossdeepCity_SpaceCenter_2F_EventScript_DefeatedMaxieTabitha:: @ 8224071
|
||||
setobjectxy 1, 6, 2
|
||||
turnobject 1, DIR_NORTH
|
||||
call MossdeepCity_SpaceCenter_2F_EventScript_StevenFacePlayer
|
||||
fadescreen 0
|
||||
fadescreen FADE_FROM_BLACK
|
||||
msgbox MossdeepCity_SpaceCenter_2F_Text_StevenThankYouComeSeeMeAtHome, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
setflag FLAG_DEFEATED_MAGMA_SPACE_CENTER
|
||||
setflag FLAG_HIDE_MOSSDEEP_CITY_STEVENS_HOUSE_STEVEN
|
||||
removeobject 4
|
||||
@@ -319,7 +319,7 @@ MossdeepCity_SpaceCenter_2F_EventScript_DefeatedMaxieTabitha:: @ 8224071
|
||||
setobjectxyperm 3, 5, 6
|
||||
setobjectmovementtype 3, MOVEMENT_TYPE_WANDER_AROUND
|
||||
addobject 3
|
||||
fadescreen 0
|
||||
fadescreen FADE_FROM_BLACK
|
||||
end
|
||||
|
||||
MossdeepCity_SpaceCenter_2F_EventScript_StevenFacePlayer:: @ 8224131
|
||||
@@ -357,12 +357,12 @@ MossdeepCity_SpaceCenter_2F_EventScript_RivalRayquazaCall:: @ 8224175
|
||||
end
|
||||
|
||||
MossdeepCity_SpaceCenter_2F_EventScript_MayRayquazaCall:: @ 8224193
|
||||
pokenavcall MossdeepCity_SpaceCenter_2F_Text_MayRayquazaCall
|
||||
pokenavcall MatchCall_Text_MayRayquazaCall
|
||||
waitmessage
|
||||
return
|
||||
|
||||
MossdeepCity_SpaceCenter_2F_EventScript_BrendanRayquazaCall:: @ 822419A
|
||||
pokenavcall MossdeepCity_SpaceCenter_2F_Text_BrendanRayquazaCall
|
||||
pokenavcall MatchCall_Text_BrendanRayquazaCall
|
||||
waitmessage
|
||||
return
|
||||
|
||||
|
||||
@@ -149,7 +149,7 @@ MossdeepCity_StevensHouse_EventScript_Letter:: @ 822291B
|
||||
|
||||
@ Unused, leftover from RS
|
||||
MossdeepCity_StevensHouse_EventScript_DiveItemBall:: @ 8222926
|
||||
giveitem_std ITEM_HM08, 1, 1
|
||||
finditem_std ITEM_HM08
|
||||
setflag FLAG_RECEIVED_HM08
|
||||
end
|
||||
|
||||
|
||||
@@ -47,13 +47,13 @@ MtChimney_EventScript_Maxie:: @ 822EE0B
|
||||
msgbox MtChimney_Text_MaxieYouHaventSeenLastOfMagma, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
delay 30
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
removeobject 2
|
||||
removeobject 29
|
||||
removeobject 3
|
||||
removeobject 22
|
||||
setflag FLAG_HIDE_MT_CHIMNEY_TEAM_MAGMA
|
||||
fadescreen 0
|
||||
fadescreen FADE_FROM_BLACK
|
||||
setobjectxyperm 1, 10, 12
|
||||
addobject 1
|
||||
compare VAR_FACING, DIR_EAST
|
||||
|
||||
@@ -45,7 +45,7 @@ MtPyre_Summit_EventScript_TeamAquaExits:: @ 823203C
|
||||
call_if_eq MtPyre_Summit_EventScript_ArchieFacePlayer2
|
||||
msgbox MtPyre_Summit_Text_ArchieWeGotTheOrbLetsGo, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
removeobject 2
|
||||
removeobject 4
|
||||
removeobject 5
|
||||
@@ -54,7 +54,7 @@ MtPyre_Summit_EventScript_TeamAquaExits:: @ 823203C
|
||||
setflag FLAG_HIDE_MT_PYRE_SUMMIT_ARCHIE
|
||||
setflag FLAG_HIDE_MT_PYRE_SUMMIT_TEAM_AQUA
|
||||
fadedefaultbgm
|
||||
fadescreen 0
|
||||
fadescreen FADE_FROM_BLACK
|
||||
delay 20
|
||||
setvar VAR_MT_PYRE_STATE, 1
|
||||
compare VAR_0x8008, 0
|
||||
|
||||
@@ -220,7 +220,7 @@ Route101_EventScript_BirchsBag:: @ 81EBE16
|
||||
faceplayer
|
||||
setflag FLAG_SYS_POKEMON_GET
|
||||
setflag FLAG_RESCUED_BIRCH
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
removeobject 4
|
||||
setobjectxy EVENT_OBJ_ID_PLAYER, 6, 13
|
||||
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
|
||||
|
||||
@@ -206,10 +206,10 @@ Route113_GlassWorkshop_EventScript_ChooseDifferentItem:: @ 826F003
|
||||
Route113_GlassWorkshop_EventScript_MakeGlassItem:: @ 826F00F
|
||||
msgbox Route113_GlassWorkshop_Text_IllMakeItemForYou, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
playse SE_SELECT
|
||||
delay 30
|
||||
fadescreen 0
|
||||
fadescreen FADE_FROM_BLACK
|
||||
msgbox Route113_GlassWorkshop_Text_IveFinishedGlassItem, MSGBOX_DEFAULT
|
||||
compare VAR_0x8009, 0
|
||||
call_if_eq Route113_GlassWorkshop_EventScript_GiveGlassFlute
|
||||
|
||||
@@ -64,7 +64,7 @@ Route119_WeatherInstitute_2F_EventScript_ShellyDefeated:: @ 826FFC8
|
||||
setvar VAR_WEATHER_INSTITUTE_STATE, 1
|
||||
clearflag FLAG_HIDE_WEATHER_INSTITUTE_2F_WORKERS
|
||||
fadedefaultbgm
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
setflag FLAG_HIDE_ROUTE_119_TEAM_AQUA
|
||||
setflag FLAG_HIDE_WEATHER_INSTITUTE_2F_AQUA_GRUNT_M
|
||||
removeobject 1
|
||||
@@ -74,7 +74,7 @@ Route119_WeatherInstitute_2F_EventScript_ShellyDefeated:: @ 826FFC8
|
||||
removeobject 7
|
||||
applymovement EVENT_OBJ_ID_PLAYER, Route119_WeatherInstitute_2F_Movement_PlayerReturnToPosition
|
||||
waitmovement 0
|
||||
fadescreen 0
|
||||
fadescreen FADE_FROM_BLACK
|
||||
applymovement 5, Route119_WeatherInstitute_2F_Movement_ScientistApproachPlayer
|
||||
waitmovement 0
|
||||
copyobjectxytoperm 5
|
||||
|
||||
@@ -225,10 +225,10 @@ Route120_EventScript_StevenBattleKecleon:: @ 81F568B
|
||||
end
|
||||
|
||||
Route120_EventScript_RemoveBridgeKecleonPostBattle:: @ 81F571C
|
||||
fadescreenswapbuffers 1
|
||||
fadescreenswapbuffers FADE_TO_BLACK
|
||||
removeobject 30 @ Invisible Bridge Kecleon
|
||||
removeobject 36 @ Visible Bridge Kecleon
|
||||
fadescreenswapbuffers 0
|
||||
fadescreenswapbuffers FADE_FROM_BLACK
|
||||
goto Route120_EventScript_StevenGiveDeconScope
|
||||
end
|
||||
|
||||
|
||||
@@ -80,12 +80,12 @@ SkyPillar_Outside_EventScript_WallaceScene:: @ 8239304
|
||||
msgbox SkyPillar_Outside_Text_GotToGoBackForSootopolis, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
playse SE_KAIDAN
|
||||
fadescreenswapbuffers 1
|
||||
fadescreenswapbuffers FADE_TO_BLACK
|
||||
clearflag FLAG_HIDE_MAP_NAME_POPUP
|
||||
setvar VAR_SOOTOPOLIS_CITY_STATE, 4
|
||||
removeobject 1
|
||||
clearflag FLAG_HIDE_SOOTOPOLIS_CITY_WALLACE
|
||||
fadescreenswapbuffers 0
|
||||
fadescreenswapbuffers FADE_FROM_BLACK
|
||||
releaseall
|
||||
end
|
||||
|
||||
|
||||
@@ -76,16 +76,16 @@ SkyPillar_Top_EventScript_RanFromRayquaza:: @ 8239771
|
||||
end
|
||||
|
||||
SkyPillar_Top_EventScript_DefeatedRayquaza2:: @ 823977C
|
||||
fadescreenswapbuffers 1
|
||||
fadescreenswapbuffers FADE_TO_BLACK
|
||||
removeobject VAR_LAST_TALKED
|
||||
fadescreenswapbuffers 0
|
||||
fadescreenswapbuffers FADE_FROM_BLACK
|
||||
releaseall
|
||||
end
|
||||
|
||||
SkyPillar_Top_EventScript_RanFromRayquaza2:: @ 8239785
|
||||
fadescreenswapbuffers 1
|
||||
fadescreenswapbuffers FADE_TO_BLACK
|
||||
removeobject VAR_LAST_TALKED
|
||||
fadescreenswapbuffers 0
|
||||
fadescreenswapbuffers FADE_FROM_BLACK
|
||||
bufferspeciesname 0, VAR_0x8004
|
||||
msgbox gText_LegendaryFlewAway, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
|
||||
@@ -1,51 +1,54 @@
|
||||
SlateportCity_BattleTentBattleRoom_MapScripts:: @ 8209960
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, SlateportCity_BattleTentBattleRoom_OnTransition
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, SlateportCity_BattleTentBattleRoom_MapScript2_20999A
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SlateportCity_BattleTentBattleRoom_MapScript2_2099B4
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, SlateportCity_BattleTentBattleRoom_OnWarp
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SlateportCity_BattleTentBattleRoom_OnFrame
|
||||
.byte 0
|
||||
|
||||
@ On this map the player (OBJ_EVENT_ID_PLAYER) is hidden
|
||||
@ The player is represented instead by object event 3, which has the gfx id VAR_OBJ_GFX_ID_1
|
||||
|
||||
SlateportCity_BattleTentBattleRoom_OnTransition: @ 8209970
|
||||
call SlateportCity_BattleTentBattleRoom_EventScript_209976
|
||||
call SlateportCity_BattleTentBattleRoom_EventScript_SetPlayerGfx
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_209976:: @ 8209976
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_SetPlayerGfx:: @ 8209976
|
||||
checkplayergender
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq SlateportCity_BattleTentBattleRoom_EventScript_20998E
|
||||
goto_if_eq SlateportCity_BattleTentBattleRoom_EventScript_SetPlayerGfxMale
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq SlateportCity_BattleTentBattleRoom_EventScript_209994
|
||||
goto_if_eq SlateportCity_BattleTentBattleRoom_EventScript_SetPlayerGfxFemale
|
||||
return
|
||||
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_20998E:: @ 820998E
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_SetPlayerGfxMale:: @ 820998E
|
||||
setvar VAR_OBJ_GFX_ID_1, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
|
||||
return
|
||||
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_209994:: @ 8209994
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_SetPlayerGfxFemale:: @ 8209994
|
||||
setvar VAR_OBJ_GFX_ID_1, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL
|
||||
return
|
||||
|
||||
SlateportCity_BattleTentBattleRoom_MapScript2_20999A: @ 820999A
|
||||
map_script_2 VAR_TEMP_1, 0, SlateportCity_BattleTentBattleRoom_EventScript_2099A4
|
||||
SlateportCity_BattleTentBattleRoom_OnWarp: @ 820999A
|
||||
map_script_2 VAR_TEMP_1, 0, SlateportCity_BattleTentBattleRoom_EventScript_SetUpObjects
|
||||
.2byte 0
|
||||
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_2099A4:: @ 82099A4
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_SetUpObjects:: @ 82099A4
|
||||
setvar VAR_TEMP_1, 1
|
||||
hideobjectat EVENT_OBJ_ID_PLAYER, MAP_FALLARBOR_TOWN_BATTLE_TENT_BATTLE_ROOM
|
||||
hideobjectat 2, MAP_SLATEPORT_CITY_BATTLE_TENT_BATTLE_ROOM
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentBattleRoom_MapScript2_2099B4: @ 82099B4
|
||||
map_script_2 VAR_TEMP_0, 0, SlateportCity_BattleTentBattleRoom_EventScript_2099BE
|
||||
SlateportCity_BattleTentBattleRoom_OnFrame: @ 82099B4
|
||||
map_script_2 VAR_TEMP_0, 0, SlateportCity_BattleTentBattleRoom_EventScript_EnterRoom
|
||||
.2byte 0
|
||||
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_2099BE:: @ 82099BE
|
||||
applymovement 3, SlateportCity_BattleTentBattleRoom_Movement_209A99
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_EnterRoom:: @ 82099BE
|
||||
applymovement 3, SlateportCity_BattleTentBattleRoom_Movement_PlayerEnter
|
||||
waitmovement 0
|
||||
factory_setopponentgfx
|
||||
setobjectxyperm 2, 5, 1
|
||||
removeobject 2
|
||||
addobject 2
|
||||
applymovement 2, SlateportCity_BattleTentBattleRoom_Movement_209A9E
|
||||
applymovement 2, SlateportCity_BattleTentBattleRoom_Movement_OpponentEnter
|
||||
waitmovement 0
|
||||
battletent_getopponentintro
|
||||
lockall
|
||||
@@ -58,41 +61,40 @@ SlateportCity_BattleTentBattleRoom_EventScript_2099BE:: @ 82099BE
|
||||
special DoSpecialTrainerBattle
|
||||
waitstate
|
||||
switch VAR_RESULT
|
||||
case 1, SlateportCity_BattleTentBattleRoom_EventScript_209A39
|
||||
|
||||
SlateportCity_BattleTentCorridor_EventScript_209A1B:: @ 8209A1B
|
||||
case 1, SlateportCity_BattleTentBattleRoom_EventScript_DefeatedOpponent
|
||||
SlateportCity_BattleTent_EventScript_WarpToLobbyLost:: @ 8209A1B
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
|
||||
special LoadPlayerParty
|
||||
warp MAP_SLATEPORT_CITY_BATTLE_TENT_LOBBY, 255, 6, 6
|
||||
waitstate
|
||||
@ forced stop
|
||||
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_209A39:: @ 8209A39
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_DefeatedOpponent:: @ 8209A39
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
addvar VAR_RESULT, 1
|
||||
frontier_set FRONTIER_DATA_BATTLE_NUM, VAR_RESULT
|
||||
switch VAR_RESULT
|
||||
case 3, SlateportCity_BattleTentBattleRoom_EventScript_209A7B
|
||||
@ case 3, SlateportCity_BattleTentCorridor_EventScript_209A7B
|
||||
case 3, SlateportCity_BattleTentBattleRoom_EventScript_WarpToLobbyWon
|
||||
setvar VAR_0x8006, 1
|
||||
warp MAP_SLATEPORT_CITY_BATTLE_TENT_CORRIDOR, 255, 2, 3
|
||||
waitstate
|
||||
@ forced stop
|
||||
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_209A7B:: @ 8209A7B
|
||||
SlateportCity_BattleTentCorridor_EventScript_209A7B:: @ 8209A7B
|
||||
SlateportCity_BattleTentBattleRoom_EventScript_WarpToLobbyWon:: @ 8209A7B
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
|
||||
special LoadPlayerParty
|
||||
warp MAP_SLATEPORT_CITY_BATTLE_TENT_LOBBY, 255, 6, 6
|
||||
waitstate
|
||||
@ forced stop
|
||||
|
||||
SlateportCity_BattleTentBattleRoom_Movement_209A99: @ 8209A99
|
||||
SlateportCity_BattleTentBattleRoom_Movement_PlayerEnter: @ 8209A99
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_in_place_fastest_right
|
||||
step_end
|
||||
|
||||
SlateportCity_BattleTentBattleRoom_Movement_209A9E: @ 8209A9E
|
||||
SlateportCity_BattleTentBattleRoom_Movement_OpponentEnter: @ 8209A9E
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
|
||||
@@ -1,51 +1,52 @@
|
||||
SlateportCity_BattleTentCorridor_MapScripts:: @ 8208E26
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SlateportCity_BattleTentCorridor_MapScript2_208E5B
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, SlateportCity_BattleTentCorridor_MapScript2_208E31
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SlateportCity_BattleTentCorridor_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, SlateportCity_BattleTentCorridor_OnWarp
|
||||
.byte 0
|
||||
|
||||
SlateportCity_BattleTentCorridor_MapScript2_208E31: @ 8208E31
|
||||
map_script_2 VAR_TEMP_1, 0, SlateportCity_BattleTentCorridor_EventScript_208E3B
|
||||
@ This is Slateport Tent's version of the Battle Factory Pre-Battle Room
|
||||
|
||||
SlateportCity_BattleTentCorridor_OnWarp: @ 8208E31
|
||||
map_script_2 VAR_TEMP_1, 0, SlateportCity_BattleTentCorridor_EventScript_SetUpObjects
|
||||
.2byte 0
|
||||
|
||||
SlateportCity_BattleTentCorridor_EventScript_208E3B:: @ 8208E3B
|
||||
SlateportCity_BattleTentCorridor_EventScript_SetUpObjects:: @ 8208E3B
|
||||
setvar VAR_TEMP_1, 1
|
||||
compare VAR_0x8006, 1
|
||||
goto_if_ne SlateportCity_BattleTentCorridor_EventScript_208E56
|
||||
goto_if_ne SlateportCity_BattleTentCorridor_EventScript_TurnPlayerNorth
|
||||
setobjectxy 1, 2, 2
|
||||
turnobject 1, DIR_SOUTH
|
||||
|
||||
SlateportCity_BattleTentCorridor_EventScript_208E56:: @ 8208E56
|
||||
SlateportCity_BattleTentCorridor_EventScript_TurnPlayerNorth:: @ 8208E56
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentCorridor_MapScript2_208E5B: @ 8208E5B
|
||||
map_script_2 VAR_TEMP_0, 0, SlateportCity_BattleTentCorridor_EventScript_208E65
|
||||
SlateportCity_BattleTentCorridor_OnFrame: @ 8208E5B
|
||||
map_script_2 VAR_TEMP_0, 0, SlateportCity_BattleTentCorridor_EventScript_EnterCorridor
|
||||
.2byte 0
|
||||
|
||||
SlateportCity_BattleTentCorridor_EventScript_208E65:: @ 8208E65
|
||||
SlateportCity_BattleTentCorridor_EventScript_EnterCorridor:: @ 8208E65
|
||||
compare VAR_0x8006, 1
|
||||
goto_if_eq SlateportCity_BattleTentCorridor_EventScript_208EEE
|
||||
goto_if_eq SlateportCity_BattleTentCorridor_EventScript_ReturnToRoomFromBattle
|
||||
setvar VAR_TEMP_0, 1
|
||||
applymovement 1, SlateportCity_BattleTentCorridor_Movement_209062
|
||||
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_BattleTentCorridor_Movement_209059
|
||||
applymovement 1, SlateportCity_BattleTentCorridor_Movement_AttendantEnter
|
||||
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_BattleTentCorridor_Movement_PlayerEnter
|
||||
waitmovement 0
|
||||
compare VAR_0x8006, 2
|
||||
goto_if_eq SlateportCity_BattleTentCorridor_EventScript_209044
|
||||
goto_if_eq SlateportCity_BattleTentCorridor_EventScript_ResumeChallenge
|
||||
slateporttent_generaterentalmons
|
||||
slateporttent_generateopponentmons
|
||||
msgbox SlateportCity_BattleTentCorridor_Text_25A1C8, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_HoldMonsChooseFromSelection, MSGBOX_DEFAULT
|
||||
fadescreen FADE_TO_BLACK
|
||||
slateporttent_rentmons
|
||||
waitstate
|
||||
SlateportCity_BattleTentCorridor_EventScript_208EB4:: @ 8208EB4
|
||||
msgbox SlateportCity_BattleTentCorridor_Text_25AB96, MSGBOX_DEFAULT
|
||||
SlateportCity_BattleTentCorridor_EventScript_EnterBattleRoom:: @ 8208EB4
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_RightThisWay, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement 1, Common_Movement_WalkInPlaceFastestUp
|
||||
waitmovement 0
|
||||
opendoor 2, 1
|
||||
waitdooranim
|
||||
applymovement 1, SlateportCity_BattleTentCorridor_Movement_209068
|
||||
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_BattleTentCorridor_Movement_20905E
|
||||
applymovement 1, SlateportCity_BattleTentCorridor_Movement_AttendantExit
|
||||
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_BattleTentCorridor_Movement_PlayerExit
|
||||
waitmovement 0
|
||||
closedoor 2, 1
|
||||
waitdooranim
|
||||
@@ -53,97 +54,97 @@ SlateportCity_BattleTentCorridor_EventScript_208EB4:: @ 8208EB4
|
||||
waitstate
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentCorridor_EventScript_208EEE:: @ 8208EEE
|
||||
SlateportCity_BattleTentCorridor_EventScript_ReturnToRoomFromBattle:: @ 8208EEE
|
||||
factory_setopponentmons
|
||||
factory_resethelditems
|
||||
msgbox SlateportCity_BattleTentCorridor_Text_25A22D, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_LetUsRestoreMons, MSGBOX_DEFAULT
|
||||
playfanfare MUS_ME_ASA
|
||||
waitfanfare
|
||||
special HealPlayerParty
|
||||
SlateportCity_BattleTentCorridor_EventScript_208F0D:: @ 8208F0D
|
||||
SlateportCity_BattleTentCorridor_EventScript_AskReadyForOpponent:: @ 8208F0D
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
compare VAR_RESULT, 1
|
||||
call_if_eq SlateportCity_BattleTentCorridor_EventScript_209014
|
||||
call_if_eq SlateportCity_BattleTentCorridor_EventScript_ReadyFor2ndOpponent
|
||||
compare VAR_RESULT, 2
|
||||
call_if_eq SlateportCity_BattleTentCorridor_EventScript_20901B
|
||||
call_if_eq SlateportCity_BattleTentCorridor_EventScript_ReadyFor3rdOpponent
|
||||
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
|
||||
switch VAR_RESULT
|
||||
case 0, SlateportCity_BattleTentCorridor_EventScript_208FBB
|
||||
case 1, SlateportCity_BattleTentCorridor_EventScript_208F5B
|
||||
case 2, SlateportCity_BattleTentCorridor_EventScript_208F89
|
||||
case 0, SlateportCity_BattleTentCorridor_EventScript_AskSwapMon
|
||||
case 1, SlateportCity_BattleTentCorridor_EventScript_AskPauseChallenge
|
||||
case 2, SlateportCity_BattleTentCorridor_EventScript_AskRetireChallenge
|
||||
|
||||
SlateportCity_BattleTentCorridor_EventScript_208F5B:: @ 8208F5B
|
||||
msgbox SlateportCity_BattleTentCorridor_Text_25A350, MSGBOX_YESNO
|
||||
SlateportCity_BattleTentCorridor_EventScript_AskPauseChallenge:: @ 8208F5B
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_SaveAndQuitGame, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, SlateportCity_BattleTentCorridor_EventScript_208F0D
|
||||
case YES, SlateportCity_BattleTentCorridor_EventScript_209022
|
||||
case MULTI_B_PRESSED, SlateportCity_BattleTentCorridor_EventScript_208F0D
|
||||
case NO, SlateportCity_BattleTentCorridor_EventScript_AskReadyForOpponent
|
||||
case YES, SlateportCity_BattleTentCorridor_EventScript_PauseChallenge
|
||||
case MULTI_B_PRESSED, SlateportCity_BattleTentCorridor_EventScript_AskReadyForOpponent
|
||||
|
||||
SlateportCity_BattleTentCorridor_EventScript_208F89:: @ 8208F89
|
||||
message SlateportCity_BattleTentCorridor_Text_25A37A
|
||||
SlateportCity_BattleTentCorridor_EventScript_AskRetireChallenge:: @ 8208F89
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_RetireFromChallenge
|
||||
waitmessage
|
||||
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
|
||||
switch VAR_RESULT
|
||||
case 1, SlateportCity_BattleTentCorridor_EventScript_208F0D
|
||||
case 0, SlateportCity_BattleTentCorridor_EventScript_209A1B
|
||||
case MULTI_B_PRESSED, SlateportCity_BattleTentCorridor_EventScript_208F0D
|
||||
case 1, SlateportCity_BattleTentCorridor_EventScript_AskReadyForOpponent
|
||||
case 0, SlateportCity_BattleTent_EventScript_WarpToLobbyLost
|
||||
case MULTI_B_PRESSED, SlateportCity_BattleTentCorridor_EventScript_AskReadyForOpponent
|
||||
|
||||
SlateportCity_BattleTentCorridor_EventScript_208FBB:: @ 8208FBB
|
||||
SlateportCity_BattleTentCorridor_EventScript_AskSwapMon:: @ 8208FBB
|
||||
slateporttent_generateopponentmons
|
||||
msgbox SlateportCity_BattleTentCorridor_Text_25AB2E, MSGBOX_YESNO
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_LikeToSwapMon, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, SlateportCity_BattleTentCorridor_EventScript_208EB4
|
||||
case YES, SlateportCity_BattleTentCorridor_EventScript_208FF1
|
||||
case MULTI_B_PRESSED, SlateportCity_BattleTentCorridor_EventScript_208EB4
|
||||
case NO, SlateportCity_BattleTentCorridor_EventScript_EnterBattleRoom
|
||||
case YES, SlateportCity_BattleTentCorridor_EventScript_SwapMons
|
||||
case MULTI_B_PRESSED, SlateportCity_BattleTentCorridor_EventScript_EnterBattleRoom
|
||||
|
||||
SlateportCity_BattleTentCorridor_EventScript_208FF1:: @ 8208FF1
|
||||
fadescreen 1
|
||||
SlateportCity_BattleTentCorridor_EventScript_SwapMons:: @ 8208FF1
|
||||
fadescreen FADE_TO_BLACK
|
||||
slateporttent_swapmons
|
||||
waitstate
|
||||
compare VAR_RESULT, 1
|
||||
goto_if_eq SlateportCity_BattleTentCorridor_EventScript_208EB4
|
||||
msgbox SlateportCity_BattleTentCorridor_Text_25AB6C, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentCorridor_EventScript_208EB4
|
||||
goto_if_eq SlateportCity_BattleTentCorridor_EventScript_EnterBattleRoom
|
||||
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_YourSwapIsComplete, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentCorridor_EventScript_EnterBattleRoom
|
||||
|
||||
SlateportCity_BattleTentCorridor_EventScript_209014:: @ 8209014
|
||||
message SlateportCity_BattleTentCorridor_Text_25A263
|
||||
SlateportCity_BattleTentCorridor_EventScript_ReadyFor2ndOpponent:: @ 8209014
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor2ndOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
SlateportCity_BattleTentCorridor_EventScript_20901B:: @ 820901B
|
||||
message SlateportCity_BattleTentCorridor_Text_25A289
|
||||
SlateportCity_BattleTentCorridor_EventScript_ReadyFor3rdOpponent:: @ 820901B
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor3rdOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
SlateportCity_BattleTentCorridor_EventScript_209022:: @ 8209022
|
||||
message SlateportCity_BattleTentCorridor_Text_25ABAE
|
||||
SlateportCity_BattleTentCorridor_EventScript_PauseChallenge:: @ 8209022
|
||||
message BattleFrontier_BattleFactoryPreBattleRoom_Text_SavingDataPleaseWait
|
||||
waitmessage
|
||||
slateporttent_save CHALLENGE_STATUS_PAUSED
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
frontier_reset
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentCorridor_EventScript_209044:: @ 8209044
|
||||
SlateportCity_BattleTentCorridor_EventScript_ResumeChallenge:: @ 8209044
|
||||
special SavePlayerParty
|
||||
factory_setparties 0
|
||||
goto SlateportCity_BattleTentCorridor_EventScript_208F0D
|
||||
goto SlateportCity_BattleTentCorridor_EventScript_AskReadyForOpponent
|
||||
|
||||
SlateportCity_BattleTentCorridor_Movement_209059: @ 8209059
|
||||
SlateportCity_BattleTentCorridor_Movement_PlayerEnter: @ 8209059
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
SlateportCity_BattleTentCorridor_Movement_20905E: @ 820905E
|
||||
SlateportCity_BattleTentCorridor_Movement_PlayerExit: @ 820905E
|
||||
walk_up
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
SlateportCity_BattleTentCorridor_Movement_209062: @ 8209062
|
||||
SlateportCity_BattleTentCorridor_Movement_AttendantEnter: @ 8209062
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
@@ -151,12 +152,14 @@ SlateportCity_BattleTentCorridor_Movement_209062: @ 8209062
|
||||
walk_in_place_fastest_down
|
||||
step_end
|
||||
|
||||
SlateportCity_BattleTentCorridor_Movement_209068: @ 8209068
|
||||
SlateportCity_BattleTentCorridor_Movement_AttendantExit: @ 8209068
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
SlateportCity_BattleTentCorridor_Text_20906B: @ 820906B
|
||||
@ Leftover text from when this was a Contest Hall in R/S
|
||||
@ Unused
|
||||
SlateportCity_ContestHall_Text_AdviceForContests: @ 820906B
|
||||
.string "Want a tasty little bit of advice\n"
|
||||
.string "for CONTESTS?\p"
|
||||
.string "Using a certain move after another\n"
|
||||
@@ -167,12 +170,14 @@ SlateportCity_BattleTentCorridor_Text_20906B: @ 820906B
|
||||
.string "Of course, your opponents might try\n"
|
||||
.string "disrupting your POKéMON's showing.$"
|
||||
|
||||
SlateportCity_BattleTentCorridor_Text_20917A: @ 820917A
|
||||
@ Unused
|
||||
SlateportCity_ContestHall_Text_MyPapaIsContestJudge: @ 820917A
|
||||
.string "My papa, he's a CONTEST JUDGE.\p"
|
||||
.string "I wonder what I should be when I\n"
|
||||
.string "grow up, a JUDGE or a GYM LEADER?$"
|
||||
|
||||
SlateportCity_BattleTentCorridor_Text_2091DC: @ 82091DC
|
||||
@ Unused
|
||||
SlateportCity_ContestHall_Text_ImLikeMajorlyCheesed: @ 82091DC
|
||||
.string "Hey, man, I'm like majorly cheesed,\n"
|
||||
.string "you know. Like, you know, I just\l"
|
||||
.string "wanted to know why my POKéMON\l"
|
||||
@@ -184,7 +189,8 @@ SlateportCity_BattleTentCorridor_Text_2091DC: @ 82091DC
|
||||
.string "Hey, like, you! Zip it, you know?\n"
|
||||
.string "Just, you know, take this!$"
|
||||
|
||||
SlateportCity_BattleTentCorridor_Text_209322: @ 8209322
|
||||
@ Unused
|
||||
SlateportCity_ContestHall_Text_ExplainTorment: @ 8209322
|
||||
.string "That's, like, TM41, you know?\n"
|
||||
.string "Hey, it's TORMENT, you hearing me?\p"
|
||||
.string "Like, it won't let the other guy\n"
|
||||
@@ -192,7 +198,8 @@ SlateportCity_BattleTentCorridor_Text_209322: @ 8209322
|
||||
.string "Hey, now, you listen here, like,\n"
|
||||
.string "I'm not laying a torment on you!$"
|
||||
|
||||
SlateportCity_BattleTentCorridor_Text_2093ED: @ 82093ED
|
||||
@ Unused
|
||||
SlateportCity_ContestHall_Text_MCStepUpTakePartInContest: @ 82093ED
|
||||
.string "MC: Oh, my, my!\n"
|
||||
.string "Now isn't that a dandy of a POKéMON?\p"
|
||||
.string "Please! Do step right up and take\n"
|
||||
@@ -200,7 +207,8 @@ SlateportCity_BattleTentCorridor_Text_2093ED: @ 82093ED
|
||||
.string "You'll do well! I'm sure of it!\n"
|
||||
.string "My eyes have never failed me!$"
|
||||
|
||||
SlateportCity_BattleTentCorridor_Text_2094A1: @ 82094A1
|
||||
@ Unused
|
||||
SlateportCity_ContestHall_Text_JudgeWouldntDoToMissContest: @ 82094A1
|
||||
.string "JUDGE: Well, hello there!\n"
|
||||
.string "I see that you're a TRAINER!\p"
|
||||
.string "Then, it just wouldn't do for you\n"
|
||||
@@ -208,17 +216,20 @@ SlateportCity_BattleTentCorridor_Text_2094A1: @ 82094A1
|
||||
.string "Get a CONTEST PASS in VERDANTURF\n"
|
||||
.string "CITY and enter anytime!$"
|
||||
|
||||
SlateportCity_BattleTentCorridor_Text_20954E: @ 820954E
|
||||
@ Unused
|
||||
SlateportCity_ContestHall_Text_ItsAppealTime: @ 820954E
|
||||
.string "It's appeal time!\n"
|
||||
.string "What should I lead with?$"
|
||||
|
||||
SlateportCity_BattleTentCorridor_Text_209579: @ 8209579
|
||||
@ Unused
|
||||
SlateportCity_ContestHall_Text_DidntPayAttentionToAppeal: @ 8209579
|
||||
.string "They didn't pay much attention to\n"
|
||||
.string "my POKéMON's appeal…\p"
|
||||
.string "Humph, that JUDGE, he doesn't know\n"
|
||||
.string "a good thing when he sees it.$"
|
||||
|
||||
SlateportCity_BattleTentCorridor_Text_2095F1: @ 82095F1
|
||||
@ Unused
|
||||
SlateportCity_ContestHall_Text_RewardWithSageAdvice: @ 82095F1
|
||||
.string "Oh, hi! You must be a serious fan to get\n"
|
||||
.string "this close to the action.\p"
|
||||
.string "I'll reward your enthusiasm with\n"
|
||||
@@ -230,35 +241,41 @@ SlateportCity_BattleTentCorridor_Text_2095F1: @ 82095F1
|
||||
.string "Well, you'd think something good has\n"
|
||||
.string "to happen!$"
|
||||
|
||||
SlateportCity_BattleTentCorridor_Text_209718: @ 8209718
|
||||
@ Unused
|
||||
SlateportCity_ContestHall_Text_MoreFreakedOutThanMon: @ 8209718
|
||||
.string "I can't do this! I'm more freaked out\n"
|
||||
.string "than my POKéMON.\p"
|
||||
.string "I'm shivering and my heart is racing!$"
|
||||
|
||||
SlateportCity_BattleTentCorridor_Text_209775: @ 8209775
|
||||
@ Unused
|
||||
SlateportCity_ContestHall_Text_BattleAndContestAlike: @ 8209775
|
||||
.string "A battle and a CONTEST aren't the\n"
|
||||
.string "same, but they are alike, too.\p"
|
||||
.string "You need to work hard and believe\n"
|
||||
.string "in the POKéMON you've raised.$"
|
||||
|
||||
SlateportCity_BattleTentCorridor_Text_2097F6: @ 82097F6
|
||||
@ Unused
|
||||
SlateportCity_ContestHall_Text_MonLooksOnTopOfGame: @ 82097F6
|
||||
.string "That POKéMON looks like it's on top\n"
|
||||
.string "of its game, huh?\p"
|
||||
.string "A POKéMON that does good in the\n"
|
||||
.string "secondary judging seems to be more\l"
|
||||
.string "relaxed when it's doing appeals.$"
|
||||
|
||||
SlateportCity_BattleTentCorridor_Text_209890: @ 8209890
|
||||
@ Unused
|
||||
SlateportCity_ContestHall_Text_MyMonBetterThanThatLot: @ 8209890
|
||||
.string "Will you look at that sorry sight?\p"
|
||||
.string "Heh, my POKéMON's absolutely better\n"
|
||||
.string "than that lot!$"
|
||||
|
||||
SlateportCity_BattleTentCorridor_Text_2098E6: @ 82098E6
|
||||
@ Unused
|
||||
SlateportCity_ContestHall_Text_GetUrgeToMoveWithMon: @ 82098E6
|
||||
.string "Don't you get the urge to move with\n"
|
||||
.string "POKéMON if they're putting on an\l"
|
||||
.string "energetic appeal?$"
|
||||
|
||||
SlateportCity_BattleTentCorridor_Text_20993D: @ 820993D
|
||||
@ Unused
|
||||
SlateportCity_ContestHall_Text_HyperRankStage: @ 820993D
|
||||
.string "POKéMON CONTESTS\n"
|
||||
.string "HYPER RANK STAGE!$"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_2088AA",
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_Attendant",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -37,7 +37,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_208A3D",
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_TormentGiver",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -50,7 +50,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_208A7E",
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_Man",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -63,7 +63,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_208A87",
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_Girl",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -76,7 +76,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_208A90",
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_Woman",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -104,7 +104,7 @@
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_208A99"
|
||||
"script": "SlateportCity_BattleTentLobby_EventScript_RulesBoard"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,32 +1,32 @@
|
||||
SlateportCity_BattleTentLobby_MapScripts:: @ 8208730
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SlateportCity_BattleTentLobby_MapScript2_20874F
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, SlateportCity_BattleTentLobby_MapScript2_20873B
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, SlateportCity_BattleTentLobby_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, SlateportCity_BattleTentLobby_OnWarp
|
||||
.byte 0
|
||||
|
||||
SlateportCity_BattleTentLobby_MapScript2_20873B: @ 820873B
|
||||
map_script_2 VAR_TEMP_1, 0, SlateportCity_BattleTentLobby_EventScript_208745
|
||||
SlateportCity_BattleTentLobby_OnWarp: @ 820873B
|
||||
map_script_2 VAR_TEMP_1, 0, SlateportCity_BattleTentLobby_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208745:: @ 8208745
|
||||
SlateportCity_BattleTentLobby_EventScript_TurnPlayerNorth:: @ 8208745
|
||||
setvar VAR_TEMP_1, 1
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_MapScript2_20874F: @ 820874F
|
||||
map_script_2 VAR_TEMP_0, 0, SlateportCity_BattleTentLobby_EventScript_208779
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, SlateportCity_BattleTentLobby_EventScript_208782
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, SlateportCity_BattleTentLobby_EventScript_208871
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, SlateportCity_BattleTentLobby_EventScript_2087B7
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, SlateportCity_BattleTentLobby_EventScript_208837
|
||||
SlateportCity_BattleTentLobby_OnFrame: @ 820874F
|
||||
map_script_2 VAR_TEMP_0, 0, SlateportCity_BattleTentLobby_EventScript_GetChallengeStatus
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, SlateportCity_BattleTentLobby_EventScript_QuitWithoutSaving
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, SlateportCity_BattleTentLobby_EventScript_ResumeChallenge
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, SlateportCity_BattleTentLobby_EventScript_WonChallenge
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, SlateportCity_BattleTentLobby_EventScript_LostChallenge
|
||||
.2byte 0
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208779:: @ 8208779
|
||||
SlateportCity_BattleTentLobby_EventScript_GetChallengeStatus:: @ 8208779
|
||||
frontier_getstatus
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208782:: @ 8208782
|
||||
SlateportCity_BattleTentLobby_EventScript_QuitWithoutSaving:: @ 8208782
|
||||
lockall
|
||||
msgbox SlateportCity_BattleTentLobby_Text_2C5DFA, MSGBOX_DEFAULT
|
||||
msgbox SlateportCity_BattleTentLobby_Text_DidntSaveBeforeQuitting, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
setvar VAR_TEMP_0, 255
|
||||
@@ -34,50 +34,50 @@ SlateportCity_BattleTentLobby_EventScript_208782:: @ 8208782
|
||||
releaseall
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_2087B7:: @ 82087B7
|
||||
SlateportCity_BattleTentLobby_EventScript_WonChallenge:: @ 82087B7
|
||||
lockall
|
||||
message SlateportCity_BattleTentLobby_Text_2C5C6F
|
||||
message SlateportCity_BattleTentLobby_Text_WonThreeMatchesReturnMons
|
||||
waitmessage
|
||||
slateporttent_setrandomprize
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, FRONTIER_LVL_50
|
||||
slateporttent_save 0
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
SlateportCity_BattleTentLobby_EventScript_2087E9:: @ 82087E9
|
||||
msgbox SlateportCity_BattleTentLobby_Text_2C5D14, MSGBOX_DEFAULT
|
||||
SlateportCity_BattleTentLobby_EventScript_GivePrize:: @ 82087E9
|
||||
msgbox SlateportCity_BattleTentLobby_Text_AwardYouThisPrize, MSGBOX_DEFAULT
|
||||
slateporttent_giveprize
|
||||
switch VAR_RESULT
|
||||
case 0, SlateportCity_BattleTentLobby_EventScript_20882A
|
||||
case FALSE, SlateportCity_BattleTentLobby_EventScript_NoRoomForPrize
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
message SlateportCity_BattleTentLobby_Text_23F68C
|
||||
message BattleFrontier_BattleTowerLobby_Text_ReceivedPrize @ Odd that it uses Tower's instead of Factory's or its own
|
||||
waitmessage
|
||||
playfanfare MUS_FANFA4
|
||||
waitfanfare
|
||||
goto SlateportCity_BattleTentLobby_EventScript_208861
|
||||
goto SlateportCity_BattleTentLobby_EventScript_EndGivePrize
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_20882A:: @ 820882A
|
||||
msgbox SlateportCity_BattleTentLobby_Text_2C5D52, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_208861
|
||||
SlateportCity_BattleTentLobby_EventScript_NoRoomForPrize:: @ 820882A
|
||||
msgbox SlateportCity_BattleTentLobby_Text_NoRoomInBagMakeRoom, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_EndGivePrize
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208837:: @ 8208837
|
||||
SlateportCity_BattleTentLobby_EventScript_LostChallenge:: @ 8208837
|
||||
lockall
|
||||
message SlateportCity_BattleTentLobby_Text_2C5BA2
|
||||
message SlateportCity_BattleTentLobby_Text_ReturnRentalMonsSaveResults
|
||||
waitmessage
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, FRONTIER_LVL_50
|
||||
slateporttent_save 0
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208861:: @ 8208861
|
||||
msgbox SlateportCity_BattleTentLobby_Text_2C5AA5, MSGBOX_DEFAULT
|
||||
SlateportCity_BattleTentLobby_EventScript_EndGivePrize:: @ 8208861
|
||||
msgbox SlateportCity_BattleTentLobby_Text_LookForwardToNextVisit, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208871:: @ 8208871
|
||||
SlateportCity_BattleTentLobby_EventScript_ResumeChallenge:: @ 8208871
|
||||
lockall
|
||||
message SlateportCity_BattleTentLobby_Text_2C5DA7
|
||||
message SlateportCity_BattleTentLobby_Text_BeenWaitingForYou
|
||||
waitmessage
|
||||
slateporttent_save CHALLENGE_STATUS_SAVING
|
||||
playse SE_SAVE
|
||||
@@ -85,37 +85,37 @@ SlateportCity_BattleTentLobby_EventScript_208871:: @ 8208871
|
||||
frontier_set FRONTIER_DATA_PAUSED, FALSE
|
||||
setvar VAR_TEMP_0, 255
|
||||
setvar VAR_0x8006, 2
|
||||
goto SlateportCity_BattleTentLobby_EventScript_2089AC
|
||||
goto SlateportCity_BattleTentLobby_EventScript_EnterChallenge
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_2088AA:: @ 82088AA
|
||||
SlateportCity_BattleTentLobby_EventScript_Attendant:: @ 82088AA
|
||||
lock
|
||||
faceplayer
|
||||
slateporttent_getprize
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_ne SlateportCity_BattleTentLobby_EventScript_2087E9
|
||||
compare VAR_RESULT, ITEM_NONE
|
||||
goto_if_ne SlateportCity_BattleTentLobby_EventScript_GivePrize
|
||||
special SavePlayerParty
|
||||
msgbox SlateportCity_BattleTentLobby_Text_2C5810, MSGBOX_DEFAULT
|
||||
SlateportCity_BattleTentLobby_EventScript_2088CA:: @ 82088CA
|
||||
message SlateportCity_BattleTentLobby_Text_2C586A
|
||||
msgbox SlateportCity_BattleTentLobby_Text_WelcomeToBattleTent, MSGBOX_DEFAULT
|
||||
SlateportCity_BattleTentLobby_EventScript_AskEnterChallenge:: @ 82088CA
|
||||
message SlateportCity_BattleTentLobby_Text_TakeChallenge
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_CHALLENGEINFO, 0
|
||||
switch VAR_RESULT
|
||||
case 0, SlateportCity_BattleTentLobby_EventScript_208906
|
||||
case 1, SlateportCity_BattleTentLobby_EventScript_208A07
|
||||
case 2, SlateportCity_BattleTentLobby_EventScript_208A2E
|
||||
case MULTI_B_PRESSED, SlateportCity_BattleTentLobby_EventScript_208A2E
|
||||
case 0, SlateportCity_BattleTentLobby_EventScript_TryEnterChallenge
|
||||
case 1, SlateportCity_BattleTentLobby_EventScript_ExplainChallenge
|
||||
case 2, SlateportCity_BattleTentLobby_EventScript_CancelChallenge
|
||||
case MULTI_B_PRESSED, SlateportCity_BattleTentLobby_EventScript_CancelChallenge
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208906:: @ 8208906
|
||||
SlateportCity_BattleTentLobby_EventScript_TryEnterChallenge:: @ 8208906
|
||||
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_FACTORY
|
||||
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, FRONTIER_LVL_TENT
|
||||
msgbox SlateportCity_BattleTentLobby_Text_2C5B06, MSGBOX_YESNO
|
||||
msgbox SlateportCity_BattleTentLobby_Text_SaveBeforeChallenge, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, SlateportCity_BattleTentLobby_EventScript_208A2B
|
||||
case YES, SlateportCity_BattleTentLobby_EventScript_208950
|
||||
case MULTI_B_PRESSED, SlateportCity_BattleTentLobby_EventScript_208A2B
|
||||
case NO, SlateportCity_BattleTentLobby_EventScript_LoadPartyCancelChallenge
|
||||
case YES, SlateportCity_BattleTentLobby_EventScript_SaveBeforeChallenge
|
||||
case MULTI_B_PRESSED, SlateportCity_BattleTentLobby_EventScript_LoadPartyCancelChallenge
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208950:: @ 8208950
|
||||
SlateportCity_BattleTentLobby_EventScript_SaveBeforeChallenge:: @ 8208950
|
||||
setvar VAR_TEMP_0, 0
|
||||
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
|
||||
slateporttent_init
|
||||
@@ -126,156 +126,156 @@ SlateportCity_BattleTentLobby_EventScript_208950:: @ 8208950
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq SlateportCity_BattleTentLobby_EventScript_208A14
|
||||
goto_if_eq SlateportCity_BattleTentLobby_EventScript_CancelChallengeSaveFailed
|
||||
setvar VAR_0x8006, 0
|
||||
SlateportCity_BattleTentLobby_EventScript_2089AC:: @ 82089AC
|
||||
msgbox SlateportCity_BattleTentLobby_Text_2C5B8C, MSGBOX_DEFAULT
|
||||
SlateportCity_BattleTentLobby_EventScript_EnterChallenge:: @ 82089AC
|
||||
msgbox SlateportCity_BattleTentLobby_Text_StepThisWay, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
call SlateportCity_BattleTentLobby_EventScript_2089C9
|
||||
call SlateportCity_BattleTentLobby_EventScript_WalkToDoor
|
||||
warp MAP_SLATEPORT_CITY_BATTLE_TENT_CORRIDOR, 255, 2, 7
|
||||
setvar VAR_TEMP_0, 0
|
||||
waitstate
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_2089C9:: @ 82089C9
|
||||
applymovement 1, SlateportCity_BattleTentLobby_Movement_2089F8
|
||||
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_BattleTentLobby_Movement_2089FF
|
||||
SlateportCity_BattleTentLobby_EventScript_WalkToDoor:: @ 82089C9
|
||||
applymovement 1, SlateportCity_BattleTentLobby_Movement_AttendantWalkToDoor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_BattleTentLobby_Movement_PlayerWalkToDoor
|
||||
waitmovement 0
|
||||
opendoor 6, 1
|
||||
waitdooranim
|
||||
applymovement 1, SlateportCity_BattleTentLobby_Movement_2089FC
|
||||
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_BattleTentLobby_Movement_208A03
|
||||
applymovement 1, SlateportCity_BattleTentLobby_Movement_AttendantEnterDoor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_BattleTentLobby_Movement_PlayerEnterDoor
|
||||
waitmovement 0
|
||||
closedoor 6, 1
|
||||
waitdooranim
|
||||
return
|
||||
|
||||
SlateportCity_BattleTentLobby_Movement_2089F8: @ 82089F8
|
||||
SlateportCity_BattleTentLobby_Movement_AttendantWalkToDoor: @ 82089F8
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
SlateportCity_BattleTentLobby_Movement_2089FC: @ 82089FC
|
||||
SlateportCity_BattleTentLobby_Movement_AttendantEnterDoor: @ 82089FC
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
SlateportCity_BattleTentLobby_Movement_2089FF: @ 82089FF
|
||||
SlateportCity_BattleTentLobby_Movement_PlayerWalkToDoor: @ 82089FF
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
SlateportCity_BattleTentLobby_Movement_208A03: @ 8208A03
|
||||
SlateportCity_BattleTentLobby_Movement_PlayerEnterDoor: @ 8208A03
|
||||
walk_up
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208A07:: @ 8208A07
|
||||
msgbox SlateportCity_BattleTentLobby_Text_2C589C, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_2088CA
|
||||
SlateportCity_BattleTentLobby_EventScript_ExplainChallenge:: @ 8208A07
|
||||
msgbox SlateportCity_BattleTentLobby_Text_ExplainSlateportTent, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_AskEnterChallenge
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208A14:: @ 8208A14
|
||||
SlateportCity_BattleTentLobby_EventScript_CancelChallengeSaveFailed:: @ 8208A14
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
goto SlateportCity_BattleTentLobby_EventScript_208A2E
|
||||
goto SlateportCity_BattleTentLobby_EventScript_CancelChallenge
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208A2B:: @ 8208A2B
|
||||
SlateportCity_BattleTentLobby_EventScript_LoadPartyCancelChallenge:: @ 8208A2B
|
||||
special LoadPlayerParty
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208A2E:: @ 8208A2E
|
||||
msgbox SlateportCity_BattleTentLobby_Text_2C5AA5, MSGBOX_DEFAULT
|
||||
SlateportCity_BattleTentLobby_EventScript_CancelChallenge:: @ 8208A2E
|
||||
msgbox SlateportCity_BattleTentLobby_Text_LookForwardToNextVisit, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_Movement_208A38:: @ 8208A38
|
||||
@ Unused
|
||||
SlateportCity_BattleTentLobby_Movement_UnusedEnterDoor:: @ 8208A38
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208A3D:: @ 8208A3D
|
||||
SlateportCity_BattleTentLobby_EventScript_TormentGiver:: @ 8208A3D
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_TM41, SlateportCity_BattleTentLobby_EventScript_208A74
|
||||
msgbox SlateportCity_BattleTentLobby_Text_208B4E, MSGBOX_DEFAULT
|
||||
goto_if_set FLAG_RECEIVED_TM41, SlateportCity_BattleTentLobby_EventScript_ReceivedTorment
|
||||
msgbox SlateportCity_BattleTentLobby_Text_CouldntFindMonForMe, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM41
|
||||
compare VAR_RESULT, 0
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM41
|
||||
msgbox SlateportCity_BattleTentLobby_Text_208C5C, MSGBOX_DEFAULT
|
||||
msgbox SlateportCity_BattleTentLobby_Text_ExplainTorment, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208A74:: @ 8208A74
|
||||
msgbox SlateportCity_BattleTentLobby_Text_208C5C, MSGBOX_DEFAULT
|
||||
SlateportCity_BattleTentLobby_EventScript_ReceivedTorment:: @ 8208A74
|
||||
msgbox SlateportCity_BattleTentLobby_Text_ExplainTorment, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208A7E:: @ 8208A7E
|
||||
msgbox SlateportCity_BattleTentLobby_Text_208D27, MSGBOX_NPC
|
||||
SlateportCity_BattleTentLobby_EventScript_Man:: @ 8208A7E
|
||||
msgbox SlateportCity_BattleTentLobby_Text_IllTryUsingBugMons, MSGBOX_NPC
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208A87:: @ 8208A87
|
||||
msgbox SlateportCity_BattleTentLobby_Text_208DA6, MSGBOX_NPC
|
||||
SlateportCity_BattleTentLobby_EventScript_Girl:: @ 8208A87
|
||||
msgbox SlateportCity_BattleTentLobby_Text_BattleEvenWithoutToughMons, MSGBOX_NPC
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208A90:: @ 8208A90
|
||||
msgbox SlateportCity_BattleTentLobby_Text_208DF1, MSGBOX_NPC
|
||||
SlateportCity_BattleTentLobby_EventScript_Woman:: @ 8208A90
|
||||
msgbox SlateportCity_BattleTentLobby_Text_NiceIfMoreSelection, MSGBOX_NPC
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208A99:: @ 8208A99
|
||||
SlateportCity_BattleTentLobby_EventScript_RulesBoard:: @ 8208A99
|
||||
lockall
|
||||
msgbox SlateportCity_BattleTentLobby_Text_259721, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_208AA8
|
||||
msgbox BattleFrontier_BattleFactoryLobby_Text_RulesAreListed, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208AA8:: @ 8208AA8
|
||||
message SlateportCity_BattleTentLobby_Text_259743
|
||||
SlateportCity_BattleTentLobby_EventScript_ReadRulesBoard:: @ 8208AA8
|
||||
message BattleFrontier_BattleFactoryLobby_Text_ReadWhichHeading
|
||||
waitmessage
|
||||
multichoice 17, 0, MULTI_SLATEPORT_TENT_RULES, 0
|
||||
switch VAR_RESULT
|
||||
case 0, SlateportCity_BattleTentLobby_EventScript_208B06
|
||||
case 1, SlateportCity_BattleTentLobby_EventScript_208B14
|
||||
case 2, SlateportCity_BattleTentLobby_EventScript_208B22
|
||||
case 3, SlateportCity_BattleTentLobby_EventScript_208B30
|
||||
case 4, SlateportCity_BattleTentLobby_EventScript_208B3E
|
||||
case 5, SlateportCity_BattleTentLobby_EventScript_208B4C
|
||||
case MULTI_B_PRESSED, SlateportCity_BattleTentLobby_EventScript_208B4C
|
||||
case 0, SlateportCity_BattleTentLobby_EventScript_RulesBasics
|
||||
case 1, SlateportCity_BattleTentLobby_EventScript_RulesSwapPartner
|
||||
case 2, SlateportCity_BattleTentLobby_EventScript_RulesSwapNumber
|
||||
case 3, SlateportCity_BattleTentLobby_EventScript_RulesSwapNotes
|
||||
case 4, SlateportCity_BattleTentLobby_EventScript_RulesMons
|
||||
case 5, SlateportCity_BattleTentLobby_EventScript_ExitRules
|
||||
case MULTI_B_PRESSED, SlateportCity_BattleTentLobby_EventScript_ExitRules
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208B06:: @ 8208B06
|
||||
msgbox SlateportCity_BattleTentLobby_Text_2C5F08, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_208AA8
|
||||
SlateportCity_BattleTentLobby_EventScript_RulesBasics:: @ 8208B06
|
||||
msgbox SlateportCity_BattleTentLobby_Text_ExplainBasicRules, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208B14:: @ 8208B14
|
||||
msgbox SlateportCity_BattleTentLobby_Text_2C5F9D, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_208AA8
|
||||
SlateportCity_BattleTentLobby_EventScript_RulesSwapPartner:: @ 8208B14
|
||||
msgbox SlateportCity_BattleTentLobby_Text_ExplainSwapPartnerRules, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208B22:: @ 8208B22
|
||||
msgbox SlateportCity_BattleTentLobby_Text_2C6020, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_208AA8
|
||||
SlateportCity_BattleTentLobby_EventScript_RulesSwapNumber:: @ 8208B22
|
||||
msgbox SlateportCity_BattleTentLobby_Text_ExplainSwapNumberRules, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208B30:: @ 8208B30
|
||||
msgbox SlateportCity_BattleTentLobby_Text_2C60C0, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_208AA8
|
||||
SlateportCity_BattleTentLobby_EventScript_RulesSwapNotes:: @ 8208B30
|
||||
msgbox SlateportCity_BattleTentLobby_Text_ExplainSwapNotes, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208B3E:: @ 8208B3E
|
||||
msgbox SlateportCity_BattleTentLobby_Text_2C61FE, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_208AA8
|
||||
SlateportCity_BattleTentLobby_EventScript_RulesMons:: @ 8208B3E
|
||||
msgbox SlateportCity_BattleTentLobby_Text_ExplainMonRules, MSGBOX_DEFAULT
|
||||
goto SlateportCity_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_EventScript_208B4C:: @ 8208B4C
|
||||
SlateportCity_BattleTentLobby_EventScript_ExitRules:: @ 8208B4C
|
||||
releaseall
|
||||
end
|
||||
|
||||
SlateportCity_BattleTentLobby_Text_208B4E: @ 8208B4E
|
||||
SlateportCity_BattleTentLobby_Text_CouldntFindMonForMe: @ 8208B4E
|
||||
.string "So, like, I couldn't find myself any\n"
|
||||
.string "POKéMON that were, like, for me.\p"
|
||||
.string "So, I figured, like, hey, I should file\n"
|
||||
@@ -285,7 +285,7 @@ SlateportCity_BattleTentLobby_Text_208B4E: @ 8208B4E
|
||||
.string "Hey, like, you! Zip it, you know?\n"
|
||||
.string "Just, you know, take this!$"
|
||||
|
||||
SlateportCity_BattleTentLobby_Text_208C5C: @ 8208C5C
|
||||
SlateportCity_BattleTentLobby_Text_ExplainTorment: @ 8208C5C
|
||||
.string "That's, like, TM41, you know?\n"
|
||||
.string "Hey, it's TORMENT, you hearing me?\p"
|
||||
.string "Like, it won't let the other guy\n"
|
||||
@@ -293,18 +293,18 @@ SlateportCity_BattleTentLobby_Text_208C5C: @ 8208C5C
|
||||
.string "Hey, now, you listen here, like,\n"
|
||||
.string "I'm not laying a torment on you!$"
|
||||
|
||||
SlateportCity_BattleTentLobby_Text_208D27: @ 8208D27
|
||||
SlateportCity_BattleTentLobby_Text_IllTryUsingBugMons: @ 8208D27
|
||||
.string "I don't really like BUG POKéMON,\n"
|
||||
.string "but maybe I'll try using some for\l"
|
||||
.string "a change of pace.\p"
|
||||
.string "Who knows, I might even get to like\n"
|
||||
.string "them!$"
|
||||
|
||||
SlateportCity_BattleTentLobby_Text_208DA6: @ 8208DA6
|
||||
SlateportCity_BattleTentLobby_Text_BattleEvenWithoutToughMons: @ 8208DA6
|
||||
.string "You can battle all you want here even\n"
|
||||
.string "if you don't have any tough POKéMON.$"
|
||||
|
||||
SlateportCity_BattleTentLobby_Text_208DF1: @ 8208DF1
|
||||
SlateportCity_BattleTentLobby_Text_NiceIfMoreSelection: @ 8208DF1
|
||||
.string "Wouldn't it be nice if they had more of\n"
|
||||
.string "a selection?$"
|
||||
|
||||
@@ -61,11 +61,11 @@ SlateportCity_OceanicMuseum_2F_EventScript_CaptStern:: @ 820BB00
|
||||
closemessage
|
||||
savebgm MUS_DUMMY
|
||||
fadedefaultbgm
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
removeobject 2
|
||||
removeobject 3
|
||||
removeobject 4
|
||||
fadescreen 0
|
||||
fadescreen FADE_FROM_BLACK
|
||||
delay 30
|
||||
setflag FLAG_HIDE_SLATEPORT_CITY_OCEANIC_MUSEUM_AQUA_GRUNTS
|
||||
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
|
||||
@@ -75,7 +75,7 @@ SlateportCity_OceanicMuseum_2F_EventScript_CaptStern:: @ 820BB00
|
||||
call Common_EventScript_PlayerHandedOverTheItem
|
||||
msgbox SlateportCity_OceanicMuseum_2F_Text_SternIveGotToGo, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
playfanfare MUS_ME_ASA
|
||||
waitfanfare
|
||||
special HealPlayerParty
|
||||
@@ -87,7 +87,7 @@ SlateportCity_OceanicMuseum_2F_EventScript_CaptStern:: @ 820BB00
|
||||
clearflag FLAG_HIDE_ROUTE_116_DEVON_EMPLOYEE
|
||||
setflag FLAG_HIDE_RUSTBORO_CITY_DEVON_CORP_3F_EMPLOYEE
|
||||
setvar VAR_SLATEPORT_OUTSIDE_MUSEUM_STATE, 1
|
||||
fadescreen 0
|
||||
fadescreen FADE_FROM_BLACK
|
||||
release
|
||||
end
|
||||
|
||||
|
||||
@@ -214,7 +214,7 @@ SootopolisCity_EventScript_LegendariesSceneFromPokeCenter:: @ 81E5946
|
||||
waitmovement 0
|
||||
special RemoveCameraObject
|
||||
delay 60
|
||||
fadescreenspeed 1, 8
|
||||
fadescreenspeed FADE_TO_BLACK, 8
|
||||
setweather WEATHER_ABNORMAL
|
||||
doweather
|
||||
setvar VAR_0x8004, 0
|
||||
@@ -314,7 +314,7 @@ SootopolisCity_EventScript_LegendariesSceneFromDive:: @ 81E5A82
|
||||
waitmovement 0
|
||||
special RemoveCameraObject
|
||||
delay 60
|
||||
fadescreenspeed 1, 8
|
||||
fadescreenspeed FADE_TO_BLACK, 8
|
||||
setweather WEATHER_ABNORMAL
|
||||
doweather
|
||||
setvar VAR_0x8004, 0
|
||||
@@ -505,7 +505,7 @@ SootopolisCity_EventScript_RayquazaSceneFromPokeCenter:: @ 81E5C1E
|
||||
waitmovement 0
|
||||
special RemoveCameraObject
|
||||
delay 60
|
||||
fadescreenspeed 1, 8
|
||||
fadescreenspeed FADE_TO_BLACK, 8
|
||||
call SootopolisCity_EventScript_SetRoughWater
|
||||
removeobject 9
|
||||
removeobject 10
|
||||
@@ -547,7 +547,7 @@ SootopolisCity_EventScript_RayquazaSceneFromPokeCenter:: @ 81E5C1E
|
||||
fadenewbgm MUS_RUNECITY
|
||||
delay 120
|
||||
clearflag FLAG_HIDE_MAP_NAME_POPUP
|
||||
warp8 MAP_SOOTOPOLIS_CITY, 255, 43, 32
|
||||
warpsootopolislegend MAP_SOOTOPOLIS_CITY, 255, 43, 32
|
||||
waitstate
|
||||
end
|
||||
|
||||
@@ -558,7 +558,7 @@ SootopolisCity_EventScript_RayquazaSceneFromDive:: @ 81E5CCE
|
||||
waitmovement 0
|
||||
special RemoveCameraObject
|
||||
delay 60
|
||||
fadescreenspeed 1, 8
|
||||
fadescreenspeed FADE_TO_BLACK, 8
|
||||
call SootopolisCity_EventScript_SetRoughWater
|
||||
removeobject 9
|
||||
removeobject 10
|
||||
@@ -600,7 +600,7 @@ SootopolisCity_EventScript_RayquazaSceneFromDive:: @ 81E5CCE
|
||||
fadenewbgm MUS_NAMINORI
|
||||
delay 120
|
||||
clearflag FLAG_HIDE_MAP_NAME_POPUP
|
||||
warp8 MAP_SOOTOPOLIS_CITY, 255, 29, 53
|
||||
warpsootopolislegend MAP_SOOTOPOLIS_CITY, 255, 29, 53
|
||||
waitstate
|
||||
end
|
||||
|
||||
|
||||
@@ -126,7 +126,7 @@ SootopolisCity_MysteryEventsHouse_1F_EventScript_DeclineBattle:: @ 8227AE2
|
||||
|
||||
SootopolisCity_MysteryEventsHouse_1F_EventScript_ChooseParty:: @ 8227AEF
|
||||
msgbox SootopolisCity_MysteryEventsHouse_1F_Text_KeepItTo3On3, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special ChooseHalfPartyForBattle
|
||||
waitstate
|
||||
return
|
||||
|
||||
@@ -219,7 +219,7 @@ TrainerHill_Entrance_Movement_PlayerExitElevator: @ 8268385
|
||||
|
||||
TrainerHill_Entrance_EventScript_Records:: @ 8268388
|
||||
lockall
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special ShowTrainerHillRecords
|
||||
waitstate
|
||||
releaseall
|
||||
|
||||
@@ -1,74 +1,76 @@
|
||||
VerdanturfTown_BattleTentBattleRoom_MapScripts:: @ 82022FA
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, VerdanturfTown_BattleTentBattleRoom_OnTransition
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, VerdanturfTown_BattleTentBattleRoom_MapScript2_20233E
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, VerdanturfTown_BattleTentBattleRoom_MapScript2_202541
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, VerdanturfTown_BattleTentBattleRoom_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, VerdanturfTown_BattleTentBattleRoom_OnWarp
|
||||
.byte 0
|
||||
|
||||
@ On this map the player (OBJ_EVENT_ID_PLAYER) is hidden
|
||||
@ The player is represented instead by object event 1, which has the gfx id VAR_OBJ_GFX_ID_1
|
||||
@ The opponent is represented by object event 2, which has the gfx id VAR_OBJ_GFX_ID_0
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_OnTransition: @ 820230A
|
||||
call VerdanturfTown_BattleTentBattleRoom_EventScript_202310
|
||||
call VerdanturfTown_BattleTentBattleRoom_EventScript_SetPlayerGfx
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_202310:: @ 8202310
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_SetPlayerGfx:: @ 8202310
|
||||
checkplayergender
|
||||
compare VAR_RESULT, MALE
|
||||
goto_if_eq VerdanturfTown_BattleTentBattleRoom_EventScript_202328
|
||||
goto_if_eq VerdanturfTown_BattleTentBattleRoom_EventScript_SetPlayerGfxMale
|
||||
compare VAR_RESULT, FEMALE
|
||||
goto_if_eq VerdanturfTown_BattleTentBattleRoom_EventScript_202333
|
||||
goto_if_eq VerdanturfTown_BattleTentBattleRoom_EventScript_SetPlayerGfxFemale
|
||||
return
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_202328:: @ 8202328
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_SetPlayerGfxMale:: @ 8202328
|
||||
setvar VAR_OBJ_GFX_ID_1, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
|
||||
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_BRENDAN_NORMAL
|
||||
return
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_202333:: @ 8202333
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_SetPlayerGfxFemale:: @ 8202333
|
||||
setvar VAR_OBJ_GFX_ID_1, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL
|
||||
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_RIVAL_MAY_NORMAL
|
||||
return
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_MapScript2_20233E: @ 820233E
|
||||
map_script_2 VAR_TEMP_0, 0, VerdanturfTown_BattleTentBattleRoom_EventScript_202348
|
||||
VerdanturfTown_BattleTentBattleRoom_OnFrame: @ 820233E
|
||||
map_script_2 VAR_TEMP_0, 0, VerdanturfTown_BattleTentBattleRoom_EventScript_EnterRoom
|
||||
.2byte 0
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_202348:: @ 8202348
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_EnterRoom:: @ 8202348
|
||||
showobjectat 1, MAP_VERDANTURF_TOWN_BATTLE_TENT_BATTLE_ROOM
|
||||
applymovement 1, VerdanturfTown_BattleTentBattleRoom_Movement_202575
|
||||
applymovement 1, VerdanturfTown_BattleTentBattleRoom_Movement_PlayerEnter
|
||||
waitmovement 0
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_ne VerdanturfTown_BattleTentBattleRoom_EventScript_20243C
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_20236F:: @ 820236F
|
||||
goto_if_ne VerdanturfTown_BattleTentBattleRoom_EventScript_AskContinueChallenge
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_NextOpponentEnter:: @ 820236F
|
||||
tower_setopponent
|
||||
addobject 2
|
||||
applymovement 2, VerdanturfTown_BattleTentBattleRoom_Movement_20257B
|
||||
applymovement 2, VerdanturfTown_BattleTentBattleRoom_Movement_OpponentEnter
|
||||
waitmovement 0
|
||||
battletent_getopponentintro
|
||||
msgbox gStringVar4, MSGBOX_DEFAULT
|
||||
waitmessage
|
||||
call VerdanturfTown_BattleTentBattleRoom_EventScript_24FDF7
|
||||
call BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle
|
||||
switch VAR_RESULT
|
||||
case 1, VerdanturfTown_BattleTentBattleRoom_EventScript_2023C8
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_2023AA:: @ 82023AA
|
||||
case 1, VerdanturfTown_BattleTentBattleRoom_EventScript_DefeatedOpponent
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_WarpToLobbyLost:: @ 82023AA
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
|
||||
special LoadPlayerParty
|
||||
warp MAP_VERDANTURF_TOWN_BATTLE_TENT_LOBBY, 255, 6, 6
|
||||
waitstate
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_2023C8:: @ 82023C8
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_DefeatedOpponent:: @ 82023C8
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
addvar VAR_RESULT, 1
|
||||
frontier_set FRONTIER_DATA_BATTLE_NUM, VAR_RESULT
|
||||
switch VAR_RESULT
|
||||
case 3, VerdanturfTown_BattleTentBattleRoom_EventScript_202501
|
||||
applymovement 2, VerdanturfTown_BattleTentBattleRoom_Movement_202581
|
||||
case 3, VerdanturfTown_BattleTentBattleRoom_EventScript_WarpToLobbyWon
|
||||
applymovement 2, VerdanturfTown_BattleTentBattleRoom_Movement_OpponentExit
|
||||
waitmovement 0
|
||||
removeobject 2
|
||||
applymovement 3, Common_Movement_WalkInPlaceFastestDown
|
||||
applymovement 1, Common_Movement_WalkInPlaceFastestUp
|
||||
waitmovement 0
|
||||
msgbox VerdanturfTown_BattleTentBattleRoom_Text_24FF00, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_LetMeRestoreYourMons, MSGBOX_DEFAULT
|
||||
special LoadPlayerParty
|
||||
special SavePlayerParty
|
||||
frontier_setpartyorder FRONTIER_PARTY_SIZE
|
||||
@@ -76,84 +78,84 @@ VerdanturfTown_BattleTentBattleRoom_EventScript_2023C8:: @ 82023C8
|
||||
waitfanfare
|
||||
special HealPlayerParty
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_20243C:: @ 820243C
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_AskContinueChallenge:: @ 820243C
|
||||
frontier_get FRONTIER_DATA_BATTLE_NUM
|
||||
compare VAR_RESULT, 1
|
||||
call_if_eq VerdanturfTown_BattleTentBattleRoom_EventScript_202565
|
||||
call_if_eq VerdanturfTown_BattleTentBattleRoom_EventScript_ReadyFor2ndOpponent
|
||||
compare VAR_RESULT, 2
|
||||
call_if_eq VerdanturfTown_BattleTentBattleRoom_EventScript_20256C
|
||||
call_if_eq VerdanturfTown_BattleTentBattleRoom_EventScript_ReadyFor3rdOpponent
|
||||
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, 1
|
||||
switch VAR_RESULT
|
||||
case 0, VerdanturfTown_BattleTentBattleRoom_EventScript_2024EA
|
||||
case 1, VerdanturfTown_BattleTentBattleRoom_EventScript_20248A
|
||||
case 2, VerdanturfTown_BattleTentBattleRoom_EventScript_2024B8
|
||||
case 0, VerdanturfTown_BattleTentBattleRoom_EventScript_ContinueChallenge
|
||||
case 1, VerdanturfTown_BattleTentBattleRoom_EventScript_AskPauseChallenge
|
||||
case 2, VerdanturfTown_BattleTentBattleRoom_EventScript_AskRetireChallenge
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_20248A:: @ 820248A
|
||||
msgbox VerdanturfTown_BattleTentBattleRoom_Text_250030, MSGBOX_YESNO
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_AskPauseChallenge:: @ 820248A
|
||||
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SaveAndQuitGame, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, VerdanturfTown_BattleTentBattleRoom_EventScript_20243C
|
||||
case YES, VerdanturfTown_BattleTentBattleRoom_EventScript_20251F
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentBattleRoom_EventScript_20243C
|
||||
case NO, VerdanturfTown_BattleTentBattleRoom_EventScript_AskContinueChallenge
|
||||
case YES, VerdanturfTown_BattleTentBattleRoom_EventScript_PauseChallenge
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentBattleRoom_EventScript_AskContinueChallenge
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_2024B8:: @ 82024B8
|
||||
message VerdanturfTown_BattleTentBattleRoom_Text_25005A
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_AskRetireChallenge:: @ 82024B8
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_WishToQuitChallenge
|
||||
waitmessage
|
||||
multichoicedefault 20, 8, MULTI_YESNO, 1, 0
|
||||
switch VAR_RESULT
|
||||
case 1, VerdanturfTown_BattleTentBattleRoom_EventScript_20243C
|
||||
case 0, VerdanturfTown_BattleTentBattleRoom_EventScript_2023AA
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentBattleRoom_EventScript_20243C
|
||||
case 1, VerdanturfTown_BattleTentBattleRoom_EventScript_AskContinueChallenge
|
||||
case 0, VerdanturfTown_BattleTentBattleRoom_EventScript_WarpToLobbyLost
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentBattleRoom_EventScript_AskContinueChallenge
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_2024EA:: @ 82024EA
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_ContinueChallenge:: @ 82024EA
|
||||
applymovement 3, Common_Movement_WalkInPlaceFastestRight
|
||||
applymovement 1, Common_Movement_WalkInPlaceFastestRight
|
||||
waitmovement 0
|
||||
closemessage
|
||||
goto VerdanturfTown_BattleTentBattleRoom_EventScript_20236F
|
||||
goto VerdanturfTown_BattleTentBattleRoom_EventScript_NextOpponentEnter
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_202501:: @ 8202501
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_WarpToLobbyWon:: @ 8202501
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
|
||||
special LoadPlayerParty
|
||||
warp MAP_VERDANTURF_TOWN_BATTLE_TENT_LOBBY, 255, 6, 6
|
||||
waitstate
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_20251F:: @ 820251F
|
||||
message VerdanturfTown_BattleTentBattleRoom_Text_25007E
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_PauseChallenge:: @ 820251F
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_SavingData
|
||||
waitmessage
|
||||
verdanturftent_save CHALLENGE_STATUS_PAUSED
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
frontier_reset
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_MapScript2_202541: @ 8202541
|
||||
map_script_2 VAR_TEMP_1, 0, VerdanturfTown_BattleTentBattleRoom_EventScript_20254B
|
||||
VerdanturfTown_BattleTentBattleRoom_OnWarp: @ 8202541
|
||||
map_script_2 VAR_TEMP_1, 0, VerdanturfTown_BattleTentBattleRoom_EventScript_SetUpObjects
|
||||
.2byte 0
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_20254B:: @ 820254B
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_SetUpObjects:: @ 820254B
|
||||
hideobjectat 1, MAP_VERDANTURF_TOWN_BATTLE_TENT_BATTLE_ROOM
|
||||
call VerdanturfTown_BattleTentBattleRoom_EventScript_202310
|
||||
call VerdanturfTown_BattleTentBattleRoom_EventScript_SetPlayerGfx
|
||||
setvar VAR_TEMP_1, 1
|
||||
applymovement EVENT_OBJ_ID_PLAYER, VerdanturfTown_BattleTentBattleRoom_Movement_202573
|
||||
applymovement EVENT_OBJ_ID_PLAYER, VerdanturfTown_BattleTentBattleRoom_Movement_SetInvisible
|
||||
removeobject 2
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_202565:: @ 8202565
|
||||
message VerdanturfTown_BattleTentBattleRoom_Text_24FF28
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_ReadyFor2ndOpponent:: @ 8202565
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor2ndOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_20256C:: @ 820256C
|
||||
message VerdanturfTown_BattleTentBattleRoom_Text_24FF54
|
||||
VerdanturfTown_BattleTentBattleRoom_EventScript_ReadyFor3rdOpponent:: @ 820256C
|
||||
message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor3rdOpponent
|
||||
waitmessage
|
||||
return
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_Movement_202573: @ 8202573
|
||||
VerdanturfTown_BattleTentBattleRoom_Movement_SetInvisible: @ 8202573
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_Movement_202575: @ 8202575
|
||||
VerdanturfTown_BattleTentBattleRoom_Movement_PlayerEnter: @ 8202575
|
||||
set_visible
|
||||
walk_up
|
||||
walk_up
|
||||
@@ -161,7 +163,7 @@ VerdanturfTown_BattleTentBattleRoom_Movement_202575: @ 8202575
|
||||
face_right
|
||||
step_end
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_Movement_20257B: @ 820257B
|
||||
VerdanturfTown_BattleTentBattleRoom_Movement_OpponentEnter: @ 820257B
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
@@ -169,7 +171,7 @@ VerdanturfTown_BattleTentBattleRoom_Movement_20257B: @ 820257B
|
||||
face_left
|
||||
step_end
|
||||
|
||||
VerdanturfTown_BattleTentBattleRoom_Movement_202581: @ 8202581
|
||||
VerdanturfTown_BattleTentBattleRoom_Movement_OpponentExit: @ 8202581
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
VerdanturfTown_BattleTentCorridor_MapScripts:: @ 820208A
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, VerdanturfTown_BattleTentCorridor_MapScript2_202090
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, VerdanturfTown_BattleTentCorridor_OnFrame
|
||||
.byte 0
|
||||
|
||||
VerdanturfTown_BattleTentCorridor_MapScript2_202090: @ 8202090
|
||||
map_script_2 VAR_TEMP_0, 0, VerdanturfTown_BattleTentCorridor_EventScript_20209A
|
||||
VerdanturfTown_BattleTentCorridor_OnFrame: @ 8202090
|
||||
map_script_2 VAR_TEMP_0, 0, VerdanturfTown_BattleTentCorridor_EventScript_EnterCorridor
|
||||
.2byte 0
|
||||
|
||||
VerdanturfTown_BattleTentCorridor_EventScript_20209A:: @ 820209A
|
||||
VerdanturfTown_BattleTentCorridor_EventScript_EnterCorridor:: @ 820209A
|
||||
lockall
|
||||
setvar VAR_TEMP_0, 1
|
||||
applymovement 1, VerdanturfTown_BattleTentCorridor_Movement_2020DE
|
||||
applymovement EVENT_OBJ_ID_PLAYER, VerdanturfTown_BattleTentCorridor_Movement_2020DE
|
||||
applymovement 1, VerdanturfTown_BattleTentCorridor_Movement_WalkToDoor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, VerdanturfTown_BattleTentCorridor_Movement_WalkToDoor
|
||||
waitmovement 0
|
||||
opendoor 2, 1
|
||||
waitdooranim
|
||||
applymovement 1, VerdanturfTown_BattleTentCorridor_Movement_2020E4
|
||||
applymovement EVENT_OBJ_ID_PLAYER, VerdanturfTown_BattleTentCorridor_Movement_2020E3
|
||||
applymovement 1, VerdanturfTown_BattleTentCorridor_Movement_AttendantEnterDoor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, VerdanturfTown_BattleTentCorridor_Movement_PlayerEnterDoor
|
||||
waitmovement 0
|
||||
closedoor 2, 1
|
||||
waitdooranim
|
||||
@@ -25,22 +25,24 @@ VerdanturfTown_BattleTentCorridor_EventScript_20209A:: @ 820209A
|
||||
releaseall
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentCorridor_Movement_2020DE: @ 82020DE
|
||||
VerdanturfTown_BattleTentCorridor_Movement_WalkToDoor: @ 82020DE
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
VerdanturfTown_BattleTentCorridor_Movement_2020E3: @ 82020E3
|
||||
VerdanturfTown_BattleTentCorridor_Movement_PlayerEnterDoor: @ 82020E3
|
||||
walk_up
|
||||
|
||||
VerdanturfTown_BattleTentCorridor_Movement_2020E4: @ 82020E4
|
||||
VerdanturfTown_BattleTentCorridor_Movement_AttendantEnterDoor: @ 82020E4
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
VerdanturfTown_BattleTentCorridor_Text_2020E7: @ 82020E7
|
||||
|
||||
@ Leftover text from when this was a Contest Hall in R/S
|
||||
@ Unused
|
||||
VerdanturfTown_ContestHall_Text_WhichContestYouEntering: @ 82020E7
|
||||
.string "Which CONTEST are you entering?\n"
|
||||
.string "Want a piece of advice?\p"
|
||||
.string "In any CONTEST, for example, a CUTE\n"
|
||||
@@ -49,21 +51,24 @@ VerdanturfTown_BattleTentCorridor_Text_2020E7: @ 82020E7
|
||||
.string "You need to work out ways for raising\n"
|
||||
.string "POKéMON better.$"
|
||||
|
||||
VerdanturfTown_BattleTentCorridor_Text_2021C4: @ 82021C4
|
||||
@ Unused
|
||||
VerdanturfTown_ContestHall_Text_RaisedMonToBeCute: @ 82021C4
|
||||
.string "I raised my POKéMON to be cute.\p"
|
||||
.string "I found out you can put POKéMON in\n"
|
||||
.string "a CONTEST for cuteness!\p"
|
||||
.string "I'm so glad I raised my POKéMON with\n"
|
||||
.string "loving care…$"
|
||||
|
||||
VerdanturfTown_BattleTentCorridor_Text_202251: @ 8202251
|
||||
@ Unused
|
||||
VerdanturfTown_ContestHall_Text_MyMonRules: @ 8202251
|
||||
.string "My POKéMON rules!\p"
|
||||
.string "It's cool, tough yet beautiful, cute,\n"
|
||||
.string "and smart. It's complete!\p"
|
||||
.string "I may as well go for wins in every\n"
|
||||
.string "single CONTEST.$"
|
||||
|
||||
VerdanturfTown_BattleTentCorridor_Text_2022D6: @ 82022D6
|
||||
@ Unused
|
||||
VerdanturfTown_ContestHall_Text_NormalRankStage: @ 82022D6
|
||||
.string "POKéMON CONTESTS\n"
|
||||
.string "NORMAL RANK STAGE!$"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "VerdanturfTown_BattleTentLobby_EventScript_201873",
|
||||
"script": "VerdanturfTown_BattleTentLobby_EventScript_Attendant",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -37,7 +37,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "VerdanturfTown_BattleTentLobby_EventScript_201A7B",
|
||||
"script": "VerdanturfTown_BattleTentLobby_EventScript_AttractGiver",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -50,7 +50,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "VerdanturfTown_BattleTentLobby_EventScript_201ABC",
|
||||
"script": "VerdanturfTown_BattleTentLobby_EventScript_Boy1",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -63,7 +63,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "VerdanturfTown_BattleTentLobby_EventScript_201AC5",
|
||||
"script": "VerdanturfTown_BattleTentLobby_EventScript_Boy2",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
@@ -76,7 +76,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "VerdanturfTown_BattleTentLobby_EventScript_201AD0",
|
||||
"script": "VerdanturfTown_BattleTentLobby_EventScript_Scott",
|
||||
"flag": "FLAG_HIDE_VERDANTURF_TOWN_SCOTT"
|
||||
},
|
||||
{
|
||||
@@ -89,7 +89,7 @@
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "0",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "VerdanturfTown_BattleTentLobby_EventScript_201AF7",
|
||||
"script": "VerdanturfTown_BattleTentLobby_EventScript_LittleBoy",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
@@ -117,7 +117,7 @@
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "VerdanturfTown_BattleTentLobby_EventScript_201B02"
|
||||
"script": "VerdanturfTown_BattleTentLobby_EventScript_RulesBoard"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,32 +1,32 @@
|
||||
VerdanturfTown_BattleTentLobby_MapScripts:: @ 82016D0
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, VerdanturfTown_BattleTentLobby_MapScript2_2016EF
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, VerdanturfTown_BattleTentLobby_MapScript2_2016DB
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, VerdanturfTown_BattleTentLobby_OnFrame
|
||||
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, VerdanturfTown_BattleTentLobby_OnWarp
|
||||
.byte 0
|
||||
|
||||
VerdanturfTown_BattleTentLobby_MapScript2_2016DB: @ 82016DB
|
||||
map_script_2 VAR_TEMP_1, 0, VerdanturfTown_BattleTentLobby_EventScript_2016E5
|
||||
VerdanturfTown_BattleTentLobby_OnWarp: @ 82016DB
|
||||
map_script_2 VAR_TEMP_1, 0, VerdanturfTown_BattleTentLobby_EventScript_TurnPlayerNorth
|
||||
.2byte 0
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2016E5:: @ 82016E5
|
||||
VerdanturfTown_BattleTentLobby_EventScript_TurnPlayerNorth:: @ 82016E5
|
||||
setvar VAR_TEMP_1, 1
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_MapScript2_2016EF: @ 82016EF
|
||||
map_script_2 VAR_TEMP_0, 0, VerdanturfTown_BattleTentLobby_EventScript_201719
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, VerdanturfTown_BattleTentLobby_EventScript_201722
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, VerdanturfTown_BattleTentLobby_EventScript_201837
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, VerdanturfTown_BattleTentLobby_EventScript_201757
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, VerdanturfTown_BattleTentLobby_EventScript_2017FD
|
||||
VerdanturfTown_BattleTentLobby_OnFrame: @ 82016EF
|
||||
map_script_2 VAR_TEMP_0, 0, VerdanturfTown_BattleTentLobby_EventScript_GetChallengeStatus
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, VerdanturfTown_BattleTentLobby_EventScript_QuitWithoutSaving
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, VerdanturfTown_BattleTentLobby_EventScript_ResumeChallenge
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_WON, VerdanturfTown_BattleTentLobby_EventScript_WonChallenge
|
||||
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, VerdanturfTown_BattleTentLobby_EventScript_LostChallenge
|
||||
.2byte 0
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201719:: @ 8201719
|
||||
VerdanturfTown_BattleTentLobby_EventScript_GetChallengeStatus:: @ 8201719
|
||||
frontier_getstatus
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201722:: @ 8201722
|
||||
VerdanturfTown_BattleTentLobby_EventScript_QuitWithoutSaving:: @ 8201722
|
||||
lockall
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_24E636, MSGBOX_DEFAULT
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_FailedToSaveBeforeEndingChallenge, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
setvar VAR_TEMP_0, 255
|
||||
@@ -34,10 +34,10 @@ VerdanturfTown_BattleTentLobby_EventScript_201722:: @ 8201722
|
||||
releaseall
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201757:: @ 8201757
|
||||
VerdanturfTown_BattleTentLobby_EventScript_WonChallenge:: @ 8201757
|
||||
lockall
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C5731, MSGBOX_DEFAULT
|
||||
message VerdanturfTown_BattleTentLobby_Text_2C5791
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_AchievedThreeWinStreak, MSGBOX_DEFAULT
|
||||
message VerdanturfTown_BattleTentLobby_Text_FeatWillBeRecorded
|
||||
waitmessage
|
||||
verdanturftent_setrandomprize
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, FRONTIER_LVL_50
|
||||
@@ -45,104 +45,103 @@ VerdanturfTown_BattleTentLobby_EventScript_201757:: @ 8201757
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201791:: @ 8201791
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C57CD, MSGBOX_DEFAULT
|
||||
VerdanturfTown_BattleTentLobby_EventScript_GivePrize:: @ 8201791
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_PresentYouWithPrize, MSGBOX_DEFAULT
|
||||
verdanturftent_giveprize
|
||||
switch VAR_RESULT
|
||||
case 0, VerdanturfTown_BattleTentLobby_EventScript_2017DD
|
||||
case FALSE, VerdanturfTown_BattleTentLobby_EventScript_NoRoomForPrize
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
message VerdanturfTown_BattleTentLobby_Text_24A554
|
||||
message BattleFrontier_BattleDomeLobby_Text_ReceivedPrize @ Odd that it used Dome's copy instead of Palace's
|
||||
waitmessage
|
||||
playfanfare MUS_FANFA4
|
||||
waitfanfare
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C539A, MSGBOX_DEFAULT
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_ReturnFortified, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2017DD:: @ 82017DD
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_24E57B, MSGBOX_DEFAULT
|
||||
VerdanturfTown_BattleTentLobby_EventScript_NoRoomForPrize:: @ 82017DD
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_NoSpaceForPrize, MSGBOX_DEFAULT
|
||||
waitmessage
|
||||
closemessage
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2017EE:: @ 82017EE
|
||||
VerdanturfTown_BattleTentLobby_EventScript_PrizeWaiting:: @ 82017EE
|
||||
lockall
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C5731, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201791
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_AchievedThreeWinStreak, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_GivePrize
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2017FD:: @ 82017FD
|
||||
VerdanturfTown_BattleTentLobby_EventScript_LostChallenge:: @ 82017FD
|
||||
lockall
|
||||
message VerdanturfTown_BattleTentLobby_Text_2C56B8
|
||||
message VerdanturfTown_BattleTentLobby_Text_ResultsWillBeRecorded
|
||||
waitmessage
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, FRONTIER_LVL_50
|
||||
verdanturftent_save 0
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C539A, MSGBOX_DEFAULT
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_ReturnFortified, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
setvar VAR_TEMP_0, 255
|
||||
releaseall
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201837:: @ 8201837
|
||||
VerdanturfTown_BattleTentLobby_EventScript_ResumeChallenge:: @ 8201837
|
||||
lockall
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_24E5D8, MSGBOX_DEFAULT
|
||||
message VerdanturfTown_BattleTentLobby_Text_24E5F6
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_WeHaveBeenWaiting, MSGBOX_DEFAULT
|
||||
message BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge
|
||||
waitmessage
|
||||
verdanturftent_save CHALLENGE_STATUS_SAVING
|
||||
playse SE_SAVE
|
||||
waitse
|
||||
frontier_set FRONTIER_DATA_PAUSED, FALSE
|
||||
setvar VAR_TEMP_0, 255
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_2019AE
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_EnterChallenge
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201873:: @ 8201873
|
||||
VerdanturfTown_BattleTentLobby_EventScript_Attendant:: @ 8201873
|
||||
lock
|
||||
faceplayer
|
||||
verdanturftent_getprize
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_ne VerdanturfTown_BattleTentLobby_EventScript_2017EE
|
||||
compare VAR_RESULT, ITEM_NONE
|
||||
goto_if_ne VerdanturfTown_BattleTentLobby_EventScript_PrizeWaiting
|
||||
special SavePlayerParty
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C50C3, MSGBOX_DEFAULT
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201893:: @ 8201893
|
||||
message VerdanturfTown_BattleTentLobby_Text_2C5129
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_WelcomeToBattleTent, MSGBOX_DEFAULT
|
||||
VerdanturfTown_BattleTentLobby_EventScript_AskEnterChallenge:: @ 8201893
|
||||
message VerdanturfTown_BattleTentLobby_Text_TakeChallenge
|
||||
waitmessage
|
||||
multichoice 17, 6, MULTI_CHALLENGEINFO, 0
|
||||
switch VAR_RESULT
|
||||
case 0, VerdanturfTown_BattleTentLobby_EventScript_2018CF
|
||||
case 1, VerdanturfTown_BattleTentLobby_EventScript_2019DB
|
||||
case 2, VerdanturfTown_BattleTentLobby_EventScript_201A37
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentLobby_EventScript_201A37
|
||||
case 0, VerdanturfTown_BattleTentLobby_EventScript_TryEnterChallenge
|
||||
case 1, VerdanturfTown_BattleTentLobby_EventScript_ExplainChallenge
|
||||
case 2, VerdanturfTown_BattleTentLobby_EventScript_CancelChallenge
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentLobby_EventScript_CancelChallenge
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2018CF:: @ 82018CF
|
||||
VerdanturfTown_BattleTentLobby_EventScript_TryEnterChallenge:: @ 82018CF
|
||||
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE
|
||||
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
|
||||
setvar VAR_RESULT, 2
|
||||
frontier_checkineligible
|
||||
compare VAR_0x8004, TRUE
|
||||
goto_if_eq VerdanturfTown_BattleTentLobby_EventScript_2019E8
|
||||
goto_if_eq VerdanturfTown_BattleTentLobby_EventScript_NotEnoughValidMons
|
||||
frontier_set FRONTIER_DATA_LVL_MODE, FRONTIER_LVL_TENT
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C5633, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_SelectThreeMons, MSGBOX_DEFAULT
|
||||
fadescreen FADE_TO_BLACK
|
||||
setvar VAR_0x8004, 1
|
||||
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
|
||||
special ChoosePartyForBattleFrontier
|
||||
waitstate
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq VerdanturfTown_BattleTentLobby_EventScript_201A34
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C5662, MSGBOX_YESNO
|
||||
goto_if_eq VerdanturfTown_BattleTentLobby_EventScript_LoadPartyCancelChallenge
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_SaveBeforeChallenge, MSGBOX_YESNO
|
||||
switch VAR_RESULT
|
||||
case NO, VerdanturfTown_BattleTentLobby_EventScript_201A34
|
||||
case YES, VerdanturfTown_BattleTentLobby_EventScript_201954
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentLobby_EventScript_201A34
|
||||
case NO, VerdanturfTown_BattleTentLobby_EventScript_LoadPartyCancelChallenge
|
||||
case YES, VerdanturfTown_BattleTentLobby_EventScript_SaveBeforeChallenge
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentLobby_EventScript_LoadPartyCancelChallenge
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201954:: @ 8201954
|
||||
VerdanturfTown_BattleTentLobby_EventScript_SaveBeforeChallenge:: @ 8201954
|
||||
setvar VAR_TEMP_0, 0
|
||||
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
|
||||
verdanturftent_init
|
||||
@@ -154,185 +153,184 @@ VerdanturfTown_BattleTentLobby_EventScript_201954:: @ 8201954
|
||||
call Common_EventScript_SaveGame
|
||||
setvar VAR_TEMP_0, 255
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq VerdanturfTown_BattleTentLobby_EventScript_201A1D
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2019AE:: @ 82019AE
|
||||
goto_if_eq VerdanturfTown_BattleTentLobby_EventScript_CancelChallengeSaveFailed
|
||||
VerdanturfTown_BattleTentLobby_EventScript_EnterChallenge:: @ 82019AE
|
||||
special SavePlayerParty
|
||||
frontier_setpartyorder FRONTIER_PARTY_SIZE
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C56A2, MSGBOX_DEFAULT
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_NowFollowMe, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
call VerdanturfTown_BattleTentLobby_EventScript_201A41
|
||||
call VerdanturfTown_BattleTentLobby_EventScript_WalkToDoor
|
||||
warp MAP_VERDANTURF_TOWN_BATTLE_TENT_CORRIDOR, 255, 2, 7
|
||||
setvar VAR_TEMP_0, 0
|
||||
waitstate
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2019DB:: @ 82019DB
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C5163, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201893
|
||||
VerdanturfTown_BattleTentLobby_EventScript_ExplainChallenge:: @ 82019DB
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_ExplainVerdanturfTent, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_AskEnterChallenge
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_2019E8:: @ 82019E8
|
||||
VerdanturfTown_BattleTentLobby_EventScript_NotEnoughValidMons:: @ 82019E8
|
||||
switch VAR_RESULT
|
||||
case FRONTIER_LVL_50, VerdanturfTown_BattleTentLobby_EventScript_201A03
|
||||
case FRONTIER_LVL_OPEN, VerdanturfTown_BattleTentLobby_EventScript_201A10
|
||||
case FRONTIER_LVL_50, VerdanturfTown_BattleTentLobby_EventScript_NotEnoughValidMonsLv50
|
||||
case FRONTIER_LVL_OPEN, VerdanturfTown_BattleTentLobby_EventScript_NotEnoughValidMonsLvOpen
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A03:: @ 8201A03
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C543D, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201A3F
|
||||
VerdanturfTown_BattleTentLobby_EventScript_NotEnoughValidMonsLv50:: @ 8201A03
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_EndCancelChallenge
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A10:: @ 8201A10
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C5538, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201A3F
|
||||
VerdanturfTown_BattleTentLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 8201A10
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_EndCancelChallenge
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A1D:: @ 8201A1D
|
||||
VerdanturfTown_BattleTentLobby_EventScript_CancelChallengeSaveFailed:: @ 8201A1D
|
||||
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201A37
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_CancelChallenge
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A34:: @ 8201A34
|
||||
VerdanturfTown_BattleTentLobby_EventScript_LoadPartyCancelChallenge:: @ 8201A34
|
||||
special LoadPlayerParty
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A37:: @ 8201A37
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C539A, MSGBOX_DEFAULT
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A3F:: @ 8201A3F
|
||||
VerdanturfTown_BattleTentLobby_EventScript_CancelChallenge:: @ 8201A37
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_ReturnFortified, MSGBOX_DEFAULT
|
||||
VerdanturfTown_BattleTentLobby_EventScript_EndCancelChallenge:: @ 8201A3F
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A41:: @ 8201A41
|
||||
applymovement 1, VerdanturfTown_BattleTentLobby_Movement_201A70
|
||||
applymovement EVENT_OBJ_ID_PLAYER, VerdanturfTown_BattleTentLobby_Movement_201A70
|
||||
VerdanturfTown_BattleTentLobby_EventScript_WalkToDoor:: @ 8201A41
|
||||
applymovement 1, VerdanturfTown_BattleTentLobby_Movement_WalkToDoor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, VerdanturfTown_BattleTentLobby_Movement_WalkToDoor
|
||||
waitmovement 0
|
||||
opendoor 6, 1
|
||||
waitdooranim
|
||||
applymovement 1, VerdanturfTown_BattleTentLobby_Movement_201A74
|
||||
applymovement EVENT_OBJ_ID_PLAYER, VerdanturfTown_BattleTentLobby_Movement_201A77
|
||||
applymovement 1, VerdanturfTown_BattleTentLobby_Movement_AttendantEnterDoor
|
||||
applymovement EVENT_OBJ_ID_PLAYER, VerdanturfTown_BattleTentLobby_Movement_PlayerEnterDoor
|
||||
waitmovement 0
|
||||
closedoor 6, 1
|
||||
waitdooranim
|
||||
return
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Movement_201A70: @ 8201A70
|
||||
VerdanturfTown_BattleTentLobby_Movement_WalkToDoor: @ 8201A70
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Movement_201A74: @ 8201A74
|
||||
VerdanturfTown_BattleTentLobby_Movement_AttendantEnterDoor: @ 8201A74
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Movement_201A77: @ 8201A77
|
||||
VerdanturfTown_BattleTentLobby_Movement_PlayerEnterDoor: @ 8201A77
|
||||
walk_up
|
||||
walk_up
|
||||
set_invisible
|
||||
step_end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201A7B:: @ 8201A7B
|
||||
VerdanturfTown_BattleTentLobby_EventScript_AttractGiver:: @ 8201A7B
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_TM45, VerdanturfTown_BattleTentLobby_EventScript_201AB2
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_201D9E, MSGBOX_DEFAULT
|
||||
goto_if_set FLAG_RECEIVED_TM45, VerdanturfTown_BattleTentLobby_EventScript_ReceivedAttract
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_AttractionRunsDeep, MSGBOX_DEFAULT
|
||||
giveitem_std ITEM_TM45
|
||||
compare VAR_RESULT, 0
|
||||
goto_if_eq Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM45
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_201E43, MSGBOX_DEFAULT
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_AttractionMutual, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201AB2:: @ 8201AB2
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_201E43, MSGBOX_DEFAULT
|
||||
VerdanturfTown_BattleTentLobby_EventScript_ReceivedAttract:: @ 8201AB2
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_AttractionMutual, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201ABC:: @ 8201ABC
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_201EB1, MSGBOX_NPC
|
||||
VerdanturfTown_BattleTentLobby_EventScript_Boy1:: @ 8201ABC
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_TaughtWhatKindsOfMoves, MSGBOX_NPC
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201AC5:: @ 8201AC5
|
||||
VerdanturfTown_BattleTentLobby_EventScript_Boy2:: @ 8201AC5
|
||||
lock
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_201BD4, MSGBOX_DEFAULT
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_MonsReluctantToUseDislikedMoves, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201AD0:: @ 8201AD0
|
||||
VerdanturfTown_BattleTentLobby_EventScript_Scott:: @ 8201AD0
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_MET_SCOTT_IN_VERDANTURF, VerdanturfTown_BattleTentLobby_EventScript_201AED
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_201F3F, MSGBOX_DEFAULT
|
||||
goto_if_set FLAG_MET_SCOTT_IN_VERDANTURF, VerdanturfTown_BattleTentLobby_EventScript_ScottAlreadySpokenTo
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_ScottCanMeetToughTrainers, MSGBOX_DEFAULT
|
||||
addvar VAR_SCOTT_STATE, 1
|
||||
setflag FLAG_MET_SCOTT_IN_VERDANTURF
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201AED:: @ 8201AED
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_202025, MSGBOX_DEFAULT
|
||||
VerdanturfTown_BattleTentLobby_EventScript_ScottAlreadySpokenTo:: @ 8201AED
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_ScottVisitRegularly, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201AF7:: @ 8201AF7
|
||||
VerdanturfTown_BattleTentLobby_EventScript_LittleBoy:: @ 8201AF7
|
||||
lock
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_201D11, MSGBOX_DEFAULT
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_GentleMonsScaryIfAngry, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201B02:: @ 8201B02
|
||||
VerdanturfTown_BattleTentLobby_EventScript_RulesBoard:: @ 8201B02
|
||||
lockall
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C6878, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201B11
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_RulesAreListed, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201B11:: @ 8201B11
|
||||
message VerdanturfTown_BattleTentLobby_Text_24EF88
|
||||
VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard:: @ 8201B11
|
||||
message BattleFrontier_BattlePalaceLobby_Text_ReadWhichHeading
|
||||
waitmessage
|
||||
setvar VAR_0x8004, SCROLL_MULTI_BATTLE_TENT_RULES
|
||||
special ShowScrollableMultichoice
|
||||
waitstate
|
||||
switch VAR_RESULT
|
||||
case 0, VerdanturfTown_BattleTentLobby_EventScript_201B7E
|
||||
case 1, VerdanturfTown_BattleTentLobby_EventScript_201B8C
|
||||
case 2, VerdanturfTown_BattleTentLobby_EventScript_201B9A
|
||||
case 3, VerdanturfTown_BattleTentLobby_EventScript_201BA8
|
||||
case 4, VerdanturfTown_BattleTentLobby_EventScript_201BB6
|
||||
case 5, VerdanturfTown_BattleTentLobby_EventScript_201BC4
|
||||
case 6, VerdanturfTown_BattleTentLobby_EventScript_201BD2
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentLobby_EventScript_201BD2
|
||||
case 0, VerdanturfTown_BattleTentLobby_EventScript_RulesLevel
|
||||
case 1, VerdanturfTown_BattleTentLobby_EventScript_RulesBasics
|
||||
case 2, VerdanturfTown_BattleTentLobby_EventScript_RulesNature
|
||||
case 3, VerdanturfTown_BattleTentLobby_EventScript_RulesMoves
|
||||
case 4, VerdanturfTown_BattleTentLobby_EventScript_RulesUnderpowered
|
||||
case 5, VerdanturfTown_BattleTentLobby_EventScript_RulesWhenInDanger
|
||||
case 6, VerdanturfTown_BattleTentLobby_EventScript_ExitRules
|
||||
case MULTI_B_PRESSED, VerdanturfTown_BattleTentLobby_EventScript_ExitRules
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201B7E:: @ 8201B7E
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_2C67CD, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201B11
|
||||
VerdanturfTown_BattleTentLobby_EventScript_RulesLevel:: @ 8201B7E
|
||||
msgbox BattleTentLobby_Text_ExplainLevelRules, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201B8C:: @ 8201B8C
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_24EFAB, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201B11
|
||||
VerdanturfTown_BattleTentLobby_EventScript_RulesBasics:: @ 8201B8C
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesBasics, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201B9A:: @ 8201B9A
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_24F049, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201B11
|
||||
VerdanturfTown_BattleTentLobby_EventScript_RulesNature:: @ 8201B9A
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesNature, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201BA8:: @ 8201BA8
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_24F190, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201B11
|
||||
VerdanturfTown_BattleTentLobby_EventScript_RulesMoves:: @ 8201BA8
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesMoves, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201BB6:: @ 8201BB6
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_24F2E8, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201B11
|
||||
VerdanturfTown_BattleTentLobby_EventScript_RulesUnderpowered:: @ 8201BB6
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesUnderpowered, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201BC4:: @ 8201BC4
|
||||
msgbox VerdanturfTown_BattleTentLobby_Text_24F3F4, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_201B11
|
||||
VerdanturfTown_BattleTentLobby_EventScript_RulesWhenInDanger:: @ 8201BC4
|
||||
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesWhenInDanger, MSGBOX_DEFAULT
|
||||
goto VerdanturfTown_BattleTentLobby_EventScript_ReadRulesBoard
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_EventScript_201BD2:: @ 8201BD2
|
||||
VerdanturfTown_BattleTentLobby_EventScript_ExitRules:: @ 8201BD2
|
||||
releaseall
|
||||
end
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_201BD4: @ 8201BD4
|
||||
VerdanturfTown_BattleTentLobby_Text_MonsReluctantToUseDislikedMoves: @ 8201BD4
|
||||
.string "If it doesn't like a certain move,\n"
|
||||
.string "a POKéMON will be reluctant to use it.\p"
|
||||
.string "It doesn't matter how strong it is,\n"
|
||||
@@ -344,14 +342,14 @@ VerdanturfTown_BattleTentLobby_Text_201BD4: @ 8201BD4
|
||||
.string "potential, it's probably failing at\l"
|
||||
.string "using a disliked move against its will.$"
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_201D11: @ 8201D11
|
||||
VerdanturfTown_BattleTentLobby_Text_GentleMonsScaryIfAngry: @ 8201D11
|
||||
.string "My big sister is gentle usually.\n"
|
||||
.string "But when she gets angry,\l"
|
||||
.string "she's really, really scary!\p"
|
||||
.string "I bet a gentle POKéMON will be scary\n"
|
||||
.string "if it gets angry!$"
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_201D9E: @ 8201D9E
|
||||
VerdanturfTown_BattleTentLobby_Text_AttractionRunsDeep: @ 8201D9E
|
||||
.string "My feelings toward my POKéMON…\n"
|
||||
.string "The attraction runs deep…\p"
|
||||
.string "Oh, hi, you didn't see that, did you?\n"
|
||||
@@ -359,20 +357,20 @@ VerdanturfTown_BattleTentLobby_Text_201D9E: @ 8201D9E
|
||||
.string "How would you like this TM for\n"
|
||||
.string "your POKéMON?$"
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_201E43: @ 8201E43
|
||||
VerdanturfTown_BattleTentLobby_Text_AttractionMutual: @ 8201E43
|
||||
.string "My feelings toward my POKéMON…\n"
|
||||
.string "I'm sure the attraction is mutual!\p"
|
||||
.string "They battle exactly the way I want\n"
|
||||
.string "them to!$"
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_201EB1: @ 8201EB1
|
||||
VerdanturfTown_BattleTentLobby_Text_TaughtWhatKindsOfMoves: @ 8201EB1
|
||||
.string "What kind of moves have you taught\n"
|
||||
.string "your POKéMON?\p"
|
||||
.string "I think you would give yourself\n"
|
||||
.string "an advantage if they knew how to\l"
|
||||
.string "heal or protect themselves.$"
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_201F3F: @ 8201F3F
|
||||
VerdanturfTown_BattleTentLobby_Text_ScottCanMeetToughTrainers: @ 8201F3F
|
||||
.string "SCOTT: Hey there, {PLAYER}{KUN}!\n"
|
||||
.string "I thought I might see you here.\p"
|
||||
.string "A BATTLE TENT's a place where\n"
|
||||
@@ -382,7 +380,7 @@ VerdanturfTown_BattleTentLobby_Text_201F3F: @ 8201F3F
|
||||
.string "{PLAYER}{KUN}, I expect you to do\n"
|
||||
.string "the best you can!$"
|
||||
|
||||
VerdanturfTown_BattleTentLobby_Text_202025: @ 8202025
|
||||
VerdanturfTown_BattleTentLobby_Text_ScottVisitRegularly: @ 8202025
|
||||
.string "SCOTT: I visit here regularly in hopes\n"
|
||||
.string "of seeing tough TRAINERS in action\l"
|
||||
.string "in whatever the situation.$"
|
||||
@@ -521,7 +521,7 @@
|
||||
"BattleFrontier_BattlePalaceCorridor",
|
||||
"BattleFrontier_BattlePalaceBattleRoom",
|
||||
"BattleFrontier_BattlePyramidLobby",
|
||||
"BattleFrontier_BattlePyramidEmptySquare",
|
||||
"BattleFrontier_BattlePyramidFloor",
|
||||
"BattleFrontier_BattlePyramidTop",
|
||||
"BattleFrontier_BattleArenaLobby",
|
||||
"BattleFrontier_BattleArenaCorridor",
|
||||
|
||||
@@ -224,7 +224,7 @@ gScriptCmdTable:: @ 81DB67C
|
||||
.4byte ScrCmd_buffertrainerclassname
|
||||
.4byte ScrCmd_buffertrainername
|
||||
.4byte ScrCmd_pokenavcall
|
||||
.4byte ScrCmd_warpE0
|
||||
.4byte ScrCmd_warpsootopolislegend
|
||||
.4byte ScrCmd_buffercontesttype
|
||||
.4byte ScrCmd_bufferitemnameplural
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ AbnormalWeather_EventScript_EndEventAndCleanup_1:: @ 8273D1F
|
||||
|
||||
AbnormalWeather_EventScript_EndEventAndCleanup_2:: @ 8273D31
|
||||
closemessage
|
||||
fadescreenswapbuffers 1
|
||||
fadescreenswapbuffers FADE_TO_BLACK
|
||||
setweather WEATHER_SUNNY
|
||||
doweather
|
||||
call AbnormalWeather_EventScript_CleanupMapTiles
|
||||
@@ -187,7 +187,7 @@ AbnormalWeather_EventScript_EndEventAndCleanup_2:: @ 8273D31
|
||||
setvar VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_NONE
|
||||
setvar VAR_SHOULD_END_ABNORMAL_WEATHER, 0
|
||||
clearflag FLAG_HIDE_MAP_NAME_POPUP
|
||||
fadescreenswapbuffers 0
|
||||
fadescreenswapbuffers FADE_FROM_BLACK
|
||||
releaseall
|
||||
end
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ Apprentice_EventScript_UseWhatHeldItem: @ 82B6ACF
|
||||
apprentice_msg TRUE, APPRENTICE_MSG_WHAT_HELD_ITEM
|
||||
apprentice_freequestion
|
||||
Apprentice_EventScript_ChooseHoldItem: @ 82B6B09
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
setvar VAR_RESULT, 0
|
||||
apprentice_openbag
|
||||
compare VAR_RESULT, FALSE
|
||||
|
||||
@@ -6,71 +6,71 @@ BattleFrontier_BattlePikeRoom_OnTransition: @ 82C3E25
|
||||
pike_setroomobjects
|
||||
pike_getroomtype
|
||||
switch VAR_RESULT
|
||||
case PIKE_ROOM_SINGLE_BATTLE, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EB1
|
||||
case PIKE_ROOM_HEAL_FULL, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EB1
|
||||
case PIKE_ROOM_NPC, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EC0
|
||||
case PIKE_ROOM_STATUS, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EA2
|
||||
case PIKE_ROOM_HEAL_PART, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EB1
|
||||
case PIKE_ROOM_DOUBLE_BATTLE, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3E93
|
||||
case PIKE_ROOM_HARD_BATTLE, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EA2
|
||||
case PIKE_ROOM_BRAIN, BattleFrontier_BattlePikeRoomNormal_EventScript_2C3ECF
|
||||
case PIKE_ROOM_SINGLE_BATTLE, BattleFrontier_BattlePikeRoomNormal_EventScript_SetOneObjectRoomPos
|
||||
case PIKE_ROOM_HEAL_FULL, BattleFrontier_BattlePikeRoomNormal_EventScript_SetOneObjectRoomPos
|
||||
case PIKE_ROOM_NPC, BattleFrontier_BattlePikeRoomNormal_EventScript_SetNPCRoomObjPos
|
||||
case PIKE_ROOM_STATUS, BattleFrontier_BattlePikeRoomNormal_EventScript_SetTwoObjectRoomPos
|
||||
case PIKE_ROOM_HEAL_PART, BattleFrontier_BattlePikeRoomNormal_EventScript_SetOneObjectRoomPos
|
||||
case PIKE_ROOM_DOUBLE_BATTLE, BattleFrontier_BattlePikeRoomNormal_EventScript_SetDoubleBattleObjPos
|
||||
case PIKE_ROOM_HARD_BATTLE, BattleFrontier_BattlePikeRoomNormal_EventScript_SetTwoObjectRoomPos
|
||||
case PIKE_ROOM_BRAIN, BattleFrontier_BattlePikeRoomNormal_EventScript_SetBrainRoomObjPos
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_2C3E93:: @ 82C3E93
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_SetDoubleBattleObjPos:: @ 82C3E93
|
||||
setobjectxyperm 1, 2, 5
|
||||
setobjectxyperm 2, 6, 5
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EA2:: @ 82C3EA2
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_SetTwoObjectRoomPos:: @ 82C3EA2
|
||||
setobjectxyperm 1, 4, 4
|
||||
setobjectxyperm 2, 3, 4
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EB1:: @ 82C3EB1
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_SetOneObjectRoomPos:: @ 82C3EB1
|
||||
setobjectxyperm 1, 4, 4
|
||||
setobjectxyperm 2, 0, 0
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_2C3EC0:: @ 82C3EC0
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_SetNPCRoomObjPos:: @ 82C3EC0
|
||||
setobjectxyperm 1, 5, 5
|
||||
setobjectxyperm 2, 0, 0
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_2C3ECF:: @ 82C3ECF
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_SetBrainRoomObjPos:: @ 82C3ECF
|
||||
setobjectxyperm 1, 4, 3
|
||||
setobjectxyperm 2, 4, 4
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoom_OnWarp: @ 82C3EDE
|
||||
map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeRoomNormal_EventScript_EnterRoom
|
||||
map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeRoomNormal_EventScript_InitRoomObjects
|
||||
.2byte 0
|
||||
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterRoom:: @ 82C3EE8
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_InitRoomObjects:: @ 82C3EE8
|
||||
setvar VAR_OBJ_GFX_ID_1, EVENT_OBJ_GFX_LINK_RECEPTIONIST
|
||||
setvar VAR_OBJ_GFX_ID_0, EVENT_OBJ_GFX_LINK_RECEPTIONIST
|
||||
pike_getroomtype
|
||||
compare VAR_RESULT, PIKE_ROOM_STATUS
|
||||
goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_2C3F35
|
||||
goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_InitTwoObjectRoom
|
||||
compare VAR_RESULT, PIKE_ROOM_HARD_BATTLE
|
||||
goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_2C3F35
|
||||
goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_InitTwoObjectRoom
|
||||
compare VAR_RESULT, PIKE_ROOM_DOUBLE_BATTLE
|
||||
goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_2C3F35
|
||||
goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_InitTwoObjectRoom
|
||||
compare VAR_RESULT, PIKE_ROOM_BRAIN
|
||||
goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_2C3F3F
|
||||
goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_InitBrainRoomObjects
|
||||
hideobjectat 2, MAP_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_NORMAL
|
||||
setvar VAR_TEMP_4, 1
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_2C3F35:: @ 82C3F35
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_InitTwoObjectRoom:: @ 82C3F35
|
||||
setvar VAR_TEMP_4, 1
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_2C3F3F:: @ 82C3F3F
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_InitBrainRoomObjects:: @ 82C3F3F
|
||||
setvar VAR_TEMP_4, 1
|
||||
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
|
||||
hideobjectat 1, MAP_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_NORMAL
|
||||
hideobjectat 1, MAP_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_NORMAL @ Pike Queen hidden initially
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_LeftRoomWarp:: @ 82C3F4E
|
||||
@@ -125,12 +125,12 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpWildMonRoom:: @ 82C4049
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_2C4062:: @ 82C4062
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_SetEnteredRoom:: @ 82C4062
|
||||
setvar VAR_TEMP_3, 1
|
||||
setvar VAR_TEMP_2, 1
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_2C406D:: @ 82C406D
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_NoTurningBack:: @ 82C406D
|
||||
setvar VAR_TEMP_3, 0
|
||||
setvar VAR_TEMP_2, 0
|
||||
lockall
|
||||
@@ -138,12 +138,12 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_2C406D:: @ 82C406D
|
||||
closemessage
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_2C4082:: @ 82C4082
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_SetEnteredRoom:: @ 82C4082
|
||||
setvar VAR_TEMP_3, 1
|
||||
setvar VAR_TEMP_2, 1
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_2C408D:: @ 82C408D
|
||||
BattleFrontier_BattlePikeRoomNormal_EventScript_NoTurningBack:: @ 82C408D
|
||||
setvar VAR_TEMP_3, 0
|
||||
setvar VAR_TEMP_2, 0
|
||||
lockall
|
||||
@@ -193,7 +193,7 @@ BattleFrontier_BattlePikeRoom_EventScript_WarpToThreePathRoom:: @ 82C415C
|
||||
warpsilent MAP_BATTLE_FRONTIER_BATTLE_PIKE_THREE_PATH_ROOM, 255, 6, 10
|
||||
return
|
||||
|
||||
BattleFrontier_BattlePikeRoomWildMons_EventScript_2C4174:: @ 82C4174
|
||||
BattleFrontier_BattlePikeRoomWildMons_EventScript_Exit:: @ 82C4174
|
||||
pike_exitwildmonroom
|
||||
pike_ispartyfullhealth
|
||||
compare VAR_RESULT, TRUE
|
||||
@@ -214,12 +214,12 @@ BattleFrontier_BattlePikeRoomWildMons_EventScript_2C4174:: @ 82C4174
|
||||
waitstate
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomWildMons_EventScript_2C4202:: @ 82C4202
|
||||
BattleFrontier_BattlePikeRoomWildMons_EventScript_SetEnteredRoom:: @ 82C4202
|
||||
setvar VAR_TEMP_3, 1
|
||||
setvar VAR_TEMP_2, 1
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoomWildMons_EventScript_2C420D:: @ 82C420D
|
||||
BattleFrontier_BattlePikeRoomWildMons_EventScript_NoTurningBack:: @ 82C420D
|
||||
setvar VAR_TEMP_3, 0
|
||||
setvar VAR_TEMP_2, 0
|
||||
lockall
|
||||
@@ -234,14 +234,14 @@ BattleFrontier_BattlePike_EventScript_Retire:: @ 82C4222
|
||||
end
|
||||
|
||||
BattleFrontier_BattlePikeRoom_OnResume: @ 82C423E
|
||||
setorcopyvar VAR_0x8006, VAR_RESULT
|
||||
setorcopyvar VAR_0x8006, VAR_RESULT @ Save VAR_RESULT from being overwritten
|
||||
frontier_get FRONTIER_DATA_CHALLENGE_STATUS
|
||||
compare VAR_RESULT, CHALLENGE_STATUS_PAUSED
|
||||
goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_2C426B
|
||||
goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_EndOnResume
|
||||
compare VAR_RESULT, CHALLENGE_STATUS_SAVING
|
||||
goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_2C426B
|
||||
goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_EndOnResume
|
||||
call BattleFrontier_BattlePikeRoom_EventScript_ResetSketchedMoves
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_2C426B:: @ 82C426B
|
||||
BattleFrontier_BattlePikeThreePathRoom_EventScript_EndOnResume:: @ 82C426B
|
||||
setorcopyvar VAR_RESULT, VAR_0x8006
|
||||
end
|
||||
|
||||
|
||||
@@ -302,7 +302,7 @@ BerryBlender_EventScript_TryUseBerryBlender1: @ 8293CEE
|
||||
@ VAR_0x8009 here is the Blender number. 1 is top right, 2 is bottom right, 3 is bottom left
|
||||
BerryBlender_EventScript_DoBerryBlending: @ 8293D2C
|
||||
copyvar VAR_0x8004, VAR_0x8009
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special DoBerryBlending
|
||||
waitstate
|
||||
releaseall
|
||||
@@ -629,7 +629,7 @@ BerryBlender_EventScript_FourPlayerLink: @ 8294139
|
||||
|
||||
BerryBlender_EventScript_DoLinkBerryBlending: @ 8294147
|
||||
setvar VAR_0x8004, 0
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
removeobject 240
|
||||
removeobject 239
|
||||
removeobject 238
|
||||
@@ -678,7 +678,7 @@ BerryBlender_EventScript_LinkError: @ 829419D
|
||||
end
|
||||
|
||||
BerryBlender_EventScript_SpawnLinkPartners: @ 82941AA
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
specialvar VAR_RESULT, GetLinkPartnerNames
|
||||
copyvar VAR_0x8008, VAR_RESULT
|
||||
copyvar VAR_0x8004, VAR_0x8008
|
||||
@@ -687,7 +687,7 @@ BerryBlender_EventScript_SpawnLinkPartners: @ 82941AA
|
||||
end
|
||||
|
||||
BerryBlender_EventScript_LinkPlayersArrived: @ 82941C4
|
||||
fadescreen 0
|
||||
fadescreen FADE_FROM_BLACK
|
||||
switch VAR_0x8008
|
||||
case 2, BerryBlender_EventScript_TwoPlayerLink
|
||||
case 3, BerryBlender_EventScript_ThreePlayerLink
|
||||
|
||||
@@ -39,7 +39,7 @@ BerryTree_EventScript_WantToPlant:: @ 8274374
|
||||
end
|
||||
|
||||
BerryTree_EventScript_ChooseBerryToPlant:: @ 8274393
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
closemessage
|
||||
special Bag_ChooseBerry
|
||||
waitstate
|
||||
|
||||
+14
-14
@@ -391,7 +391,7 @@ CableClub_EventScript_EnterColosseum:: @ 8276FBD
|
||||
goto_if_eq CableClub_EventScript_WarpTo4PColosseum
|
||||
special SetCableClubWarp
|
||||
warp MAP_BATTLE_COLOSSEUM_2P, 255, 6, 8
|
||||
special sub_80AF948
|
||||
special DoCableClubWarp
|
||||
waitstate
|
||||
end
|
||||
|
||||
@@ -404,7 +404,7 @@ CableClub_EventScript_PlayerApproachLinkRoomRight:: @ 827702B
|
||||
CableClub_EventScript_WarpTo4PColosseum:: @ 8277036
|
||||
special SetCableClubWarp
|
||||
warp MAP_BATTLE_COLOSSEUM_4P, 255, 5, 8
|
||||
special sub_80AF948
|
||||
special DoCableClubWarp
|
||||
waitstate
|
||||
end
|
||||
|
||||
@@ -494,7 +494,7 @@ CableClub_EventScript_EnterTradeCenter:: @ 827713A
|
||||
release
|
||||
special SetCableClubWarp
|
||||
setwarp MAP_TRADE_CENTER, 255, 5, 8
|
||||
special sub_80AF948
|
||||
special DoCableClubWarp
|
||||
waitstate
|
||||
end
|
||||
|
||||
@@ -569,7 +569,7 @@ CableClub_EventScript_EnterRecordCorner:: @ 827724C
|
||||
release
|
||||
special SetCableClubWarp
|
||||
setwarp MAP_RECORD_CORNER, 255, 8, 9
|
||||
special sub_80AF948
|
||||
special DoCableClubWarp
|
||||
waitstate
|
||||
end
|
||||
|
||||
@@ -618,7 +618,7 @@ MossdeepCity_GameCorner_1F_EventScript_AbortMinigame:: @ 82772F9
|
||||
@ Unused
|
||||
CableClub_EventScript_CableClubWarp:: @ 8277306
|
||||
special SetCableClubWarp
|
||||
special sub_80AF948
|
||||
special DoCableClubWarp
|
||||
waitstate
|
||||
end
|
||||
|
||||
@@ -723,7 +723,7 @@ EventScript_BattleColosseum2P_PlayerSpot1:: @ 827737E
|
||||
end
|
||||
|
||||
EventScript_BattleColosseum4P_PlayerSpot0:: @ 8277388
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special ChooseHalfPartyForBattle
|
||||
waitstate
|
||||
compare VAR_RESULT, 0
|
||||
@@ -734,7 +734,7 @@ EventScript_BattleColosseum4P_PlayerSpot0:: @ 8277388
|
||||
end
|
||||
|
||||
EventScript_BattleColosseum4P_PlayerSpot1:: @ 82773A3
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special ChooseHalfPartyForBattle
|
||||
waitstate
|
||||
compare VAR_RESULT, 0
|
||||
@@ -745,7 +745,7 @@ EventScript_BattleColosseum4P_PlayerSpot1:: @ 82773A3
|
||||
end
|
||||
|
||||
EventScript_BattleColosseum4P_PlayerSpot2:: @ 82773BE
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special ChooseHalfPartyForBattle
|
||||
waitstate
|
||||
compare VAR_RESULT, 0
|
||||
@@ -756,7 +756,7 @@ EventScript_BattleColosseum4P_PlayerSpot2:: @ 82773BE
|
||||
end
|
||||
|
||||
EventScript_BattleColosseum4P_PlayerSpot3:: @ 82773D9
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special ChooseHalfPartyForBattle
|
||||
waitstate
|
||||
compare VAR_RESULT, 0
|
||||
@@ -838,14 +838,14 @@ RecordCorner_EventScript_ReceivedGiftItem:: @ 8277471
|
||||
|
||||
CableClub_EventScript_ReadTrainerCard:: @ 827747E
|
||||
msgbox CableClub_Text_GotToLookAtTrainerCard, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special Script_ShowLinkTrainerCard
|
||||
waitstate
|
||||
end
|
||||
|
||||
CableClub_EventScript_ReadTrainerCardColored:: @ 827748D
|
||||
msgbox CableClub_Text_GotToLookAtColoredTrainerCard, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special Script_ShowLinkTrainerCard
|
||||
waitstate
|
||||
end
|
||||
@@ -1309,7 +1309,7 @@ EventScript_WirelessBoxResults:: @ 8277B8A
|
||||
specialvar VAR_RESULT, IsWirelessAdapterConnected
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq CableClub_EventScript_AdapterNotConnected
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special sub_801A42C
|
||||
waitstate
|
||||
msgbox CableClub_Text_ParticipantsStepUpToCounter, MSGBOX_DEFAULT
|
||||
@@ -1408,7 +1408,7 @@ MossdeepCity_GameCorner_1F_EventScript_PlayPokemonJump:: @ 8277CE9
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq MossdeepCity_GameCorner_1F_EventScript_DontHaveRequiredMon
|
||||
msgbox MossdeepCity_GameCorner_1F_Text_EnterWhichPokemon, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
setvar VAR_0x8005, 0
|
||||
special ChooseMonForWirelessMinigame
|
||||
waitstate
|
||||
@@ -1427,7 +1427,7 @@ MossdeepCity_GameCorner_1F_EventScript_PlayDodrioBerryPicking:: @ 8277D35
|
||||
compare VAR_RESULT, FALSE
|
||||
goto_if_eq MossdeepCity_GameCorner_1F_EventScript_DontHaveRequiredMon
|
||||
msgbox MossdeepCity_GameCorner_1F_Text_EnterWhichPokemon, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
setvar VAR_0x8005, 1
|
||||
special ChooseMonForWirelessMinigame
|
||||
waitstate
|
||||
|
||||
@@ -102,7 +102,7 @@ Route117_PokemonDayCare_EventScript_GiveMonToRaise:: @ 8291D56
|
||||
compare VAR_RESULT, 2
|
||||
goto_if_eq Route117_PokemonDayCare_EventScript_OnlyTwoAliveMons
|
||||
msgbox Route117_PokemonDayCare_Text_WhichMonShouldWeRaise, MSGBOX_DEFAULT
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special ChooseSendDaycareMon
|
||||
waitstate
|
||||
compare VAR_0x8004, 255
|
||||
|
||||
@@ -15,7 +15,7 @@ EventScript_FieldWhiteOut:: @ 82736D9
|
||||
waitbuttonpress
|
||||
special Script_FadeOutMapMusic
|
||||
waitstate
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
call_if_set FLAG_WHITEOUT_TO_LAVARIDGE, EventScript_SetRespawnLavaridgePkmnCenter
|
||||
special SetCB2WhiteOut
|
||||
waitstate
|
||||
@@ -34,15 +34,15 @@ EventScript_FrontierFieldWhiteOut:: @ 82736F8
|
||||
goto_if_eq BattleFrontier_BattlePike_EventScript_Retire
|
||||
pyramid_inchallenge
|
||||
compare VAR_RESULT, 1 @ On Pyramid floor
|
||||
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
|
||||
goto_if_eq BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
|
||||
compare VAR_RESULT, 2 @ On Pyramid peak
|
||||
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_252B42
|
||||
goto_if_eq BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
|
||||
trainerhill_inchallenge
|
||||
compare VAR_RESULT, TRUE
|
||||
goto_if_eq TrainerHill_1F_EventScript_Lost
|
||||
special Script_FadeOutMapMusic
|
||||
waitstate
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special SetCB2WhiteOut
|
||||
waitstate
|
||||
end
|
||||
+165
-166
@@ -1,659 +1,658 @@
|
||||
Route102_EventScript_ItemPotion:: @ 8290CD8
|
||||
giveitem_std ITEM_POTION, 1, 1
|
||||
finditem_std ITEM_POTION
|
||||
end
|
||||
|
||||
Route103_EventScript_ItemGuardSpec:: @ 8290CE5
|
||||
giveitem_std ITEM_GUARD_SPEC, 1, 1
|
||||
finditem_std ITEM_GUARD_SPEC
|
||||
end
|
||||
|
||||
Route103_EventScript_ItemPPUp:: @ 8290CF2
|
||||
giveitem_std ITEM_PP_UP, 1, 1
|
||||
finditem_std ITEM_PP_UP
|
||||
end
|
||||
|
||||
Route104_EventScript_ItemPPUp:: @ 8290CFF
|
||||
giveitem_std ITEM_PP_UP, 1, 1
|
||||
finditem_std ITEM_PP_UP
|
||||
end
|
||||
|
||||
Route104_EventScript_ItemPokeBall:: @ 8290D0C
|
||||
giveitem_std ITEM_POKE_BALL, 1, 1
|
||||
finditem_std ITEM_POKE_BALL
|
||||
end
|
||||
|
||||
Route104_EventScript_ItemXAccuracy:: @ 8290D19
|
||||
giveitem_std ITEM_X_ACCURACY, 1, 1
|
||||
finditem_std ITEM_X_ACCURACY
|
||||
end
|
||||
|
||||
Route104_EventScript_ItemPotion:: @ 8290D26
|
||||
giveitem_std ITEM_POTION, 1, 1
|
||||
finditem_std ITEM_POTION
|
||||
end
|
||||
|
||||
Route105_EventScript_ItemIron:: @ 8290D33
|
||||
giveitem_std ITEM_IRON, 1, 1
|
||||
finditem_std ITEM_IRON
|
||||
end
|
||||
|
||||
Route106_EventScript_ItemProtein:: @ 8290D40
|
||||
giveitem_std ITEM_PROTEIN, 1, 1
|
||||
finditem_std ITEM_PROTEIN
|
||||
end
|
||||
|
||||
Route108_EventScript_ItemStarPiece:: @ 8290D4D
|
||||
giveitem_std ITEM_STAR_PIECE, 1, 1
|
||||
finditem_std ITEM_STAR_PIECE
|
||||
end
|
||||
|
||||
Route109_EventScript_ItemPPUp:: @ 8290D5A
|
||||
giveitem_std ITEM_PP_UP, 1, 1
|
||||
finditem_std ITEM_PP_UP
|
||||
end
|
||||
|
||||
Route109_EventScript_ItemPotion:: @ 8290D67
|
||||
giveitem_std ITEM_POTION, 1, 1
|
||||
finditem_std ITEM_POTION
|
||||
end
|
||||
|
||||
Route110_EventScript_ItemRareCandy:: @ 8290D74
|
||||
giveitem_std ITEM_RARE_CANDY, 1, 1
|
||||
finditem_std ITEM_RARE_CANDY
|
||||
end
|
||||
|
||||
Route110_EventScript_ItemDireHit:: @ 8290D81
|
||||
giveitem_std ITEM_DIRE_HIT, 1, 1
|
||||
finditem_std ITEM_DIRE_HIT
|
||||
end
|
||||
|
||||
Route110_EventScript_ItemElixir:: @ 8290D8E
|
||||
giveitem_std ITEM_ELIXIR, 1, 1
|
||||
finditem_std ITEM_ELIXIR
|
||||
end
|
||||
|
||||
Route111_EventScript_ItemTM37:: @ 8290D9B
|
||||
giveitem_std ITEM_TM37, 1, 1
|
||||
finditem_std ITEM_TM37
|
||||
end
|
||||
|
||||
Route111_EventScript_ItemStardust:: @ 8290DA8
|
||||
giveitem_std ITEM_STARDUST, 1, 1
|
||||
finditem_std ITEM_STARDUST
|
||||
end
|
||||
|
||||
Route111_EventScript_ItemHPUp:: @ 8290DB5
|
||||
giveitem_std ITEM_HP_UP, 1, 1
|
||||
finditem_std ITEM_HP_UP
|
||||
end
|
||||
|
||||
Route111_EventScript_ItemElixir:: @ 8290DC2
|
||||
giveitem_std ITEM_ELIXIR, 1, 1
|
||||
finditem_std ITEM_ELIXIR
|
||||
end
|
||||
|
||||
Route112_EventScript_ItemNugget:: @ 8290DCF
|
||||
giveitem_std ITEM_NUGGET, 1, 1
|
||||
finditem_std ITEM_NUGGET
|
||||
end
|
||||
|
||||
Route113_EventScript_ItemMaxEther:: @ 8290DDC
|
||||
giveitem_std ITEM_MAX_ETHER, 1, 1
|
||||
finditem_std ITEM_MAX_ETHER
|
||||
end
|
||||
|
||||
Route113_EventScript_ItemSuperRepel:: @ 8290DE9
|
||||
giveitem_std ITEM_SUPER_REPEL, 1, 1
|
||||
finditem_std ITEM_SUPER_REPEL
|
||||
end
|
||||
|
||||
Route113_EventScript_ItemHyperPotion:: @ 8290DF6
|
||||
giveitem_std ITEM_HYPER_POTION, 1, 1
|
||||
finditem_std ITEM_HYPER_POTION
|
||||
end
|
||||
|
||||
Route114_EventScript_ItemRareCandy:: @ 8290E03
|
||||
giveitem_std ITEM_RARE_CANDY, 1, 1
|
||||
finditem_std ITEM_RARE_CANDY
|
||||
end
|
||||
|
||||
Route114_EventScript_ItemProtein:: @ 8290E10
|
||||
giveitem_std ITEM_PROTEIN, 1, 1
|
||||
finditem_std ITEM_PROTEIN
|
||||
end
|
||||
|
||||
Route114_EventScript_ItemEnergyPowder:: @ 8290E1D
|
||||
giveitem_std ITEM_ENERGY_POWDER, 1, 1
|
||||
finditem_std ITEM_ENERGY_POWDER
|
||||
end
|
||||
|
||||
Route115_EventScript_ItemSuperPotion:: @ 8290E2A
|
||||
giveitem_std ITEM_SUPER_POTION, 1, 1
|
||||
finditem_std ITEM_SUPER_POTION
|
||||
end
|
||||
|
||||
Route115_EventScript_ItemTM01:: @ 8290E37
|
||||
giveitem_std ITEM_TM01, 1, 1
|
||||
finditem_std ITEM_TM01
|
||||
end
|
||||
|
||||
Route115_EventScript_ItemIron:: @ 8290E44
|
||||
giveitem_std ITEM_IRON, 1, 1
|
||||
finditem_std ITEM_IRON
|
||||
end
|
||||
|
||||
Route115_EventScript_ItemGreatBall:: @ 8290E51
|
||||
giveitem_std ITEM_GREAT_BALL, 1, 1
|
||||
finditem_std ITEM_GREAT_BALL
|
||||
end
|
||||
|
||||
Route115_EventScript_ItemHealPowder:: @ 8290E5E
|
||||
giveitem_std ITEM_HEAL_POWDER, 1, 1
|
||||
finditem_std ITEM_HEAL_POWDER
|
||||
end
|
||||
|
||||
Route115_EventScript_ItemPPUp:: @ 8290E6B
|
||||
giveitem_std ITEM_PP_UP, 1, 1
|
||||
finditem_std ITEM_PP_UP
|
||||
end
|
||||
|
||||
Route116_EventScript_ItemXSpecial:: @ 8290E78
|
||||
giveitem_std ITEM_X_SP_ATK, 1, 1
|
||||
finditem_std ITEM_X_SP_ATK
|
||||
end
|
||||
|
||||
Route116_EventScript_ItemEther:: @ 8290E85
|
||||
giveitem_std ITEM_ETHER, 1, 1
|
||||
finditem_std ITEM_ETHER
|
||||
end
|
||||
|
||||
Route116_EventScript_ItemRepel:: @ 8290E92
|
||||
giveitem_std ITEM_REPEL, 1, 1
|
||||
finditem_std ITEM_REPEL
|
||||
end
|
||||
|
||||
Route116_EventScript_ItemHPUp:: @ 8290E9F
|
||||
giveitem_std ITEM_HP_UP, 1, 1
|
||||
finditem_std ITEM_HP_UP
|
||||
end
|
||||
|
||||
Route116_EventScript_ItemPotion:: @ 8290EAC
|
||||
giveitem_std ITEM_POTION, 1, 1
|
||||
finditem_std ITEM_POTION
|
||||
end
|
||||
|
||||
Route117_EventScript_ItemGreatBall:: @ 8290EB9
|
||||
giveitem_std ITEM_GREAT_BALL, 1, 1
|
||||
finditem_std ITEM_GREAT_BALL
|
||||
end
|
||||
|
||||
Route117_EventScript_ItemRevive:: @ 8290EC6
|
||||
giveitem_std ITEM_REVIVE, 1, 1
|
||||
finditem_std ITEM_REVIVE
|
||||
end
|
||||
|
||||
Route118_EventScript_ItemHyperPotion:: @ 8290ED3
|
||||
giveitem_std ITEM_HYPER_POTION, 1, 1
|
||||
finditem_std ITEM_HYPER_POTION
|
||||
end
|
||||
|
||||
Route119_EventScript_ItemSuperRepel:: @ 8290EE0
|
||||
giveitem_std ITEM_SUPER_REPEL, 1, 1
|
||||
finditem_std ITEM_SUPER_REPEL
|
||||
end
|
||||
|
||||
Route119_EventScript_ItemZinc:: @ 8290EED
|
||||
giveitem_std ITEM_ZINC, 1, 1
|
||||
finditem_std ITEM_ZINC
|
||||
end
|
||||
|
||||
Route119_EventScript_ItemElixir:: @ 8290EFA
|
||||
giveitem_std ITEM_ELIXIR, 1, 1
|
||||
finditem_std ITEM_ELIXIR
|
||||
end
|
||||
|
||||
Route119_EventScript_ItemLeafStone:: @ 8290F07
|
||||
giveitem_std ITEM_LEAF_STONE, 1, 1
|
||||
finditem_std ITEM_LEAF_STONE
|
||||
end
|
||||
|
||||
Route119_EventScript_ItemRareCandy:: @ 8290F14
|
||||
giveitem_std ITEM_RARE_CANDY, 1, 1
|
||||
finditem_std ITEM_RARE_CANDY
|
||||
end
|
||||
|
||||
Route119_EventScript_ItemHyperPotion:: @ 8290F21
|
||||
giveitem_std ITEM_HYPER_POTION, 1, 1
|
||||
finditem_std ITEM_HYPER_POTION
|
||||
end
|
||||
|
||||
Route119_EventScript_ItemHyperPotion2:: @ 8290F2E
|
||||
giveitem_std ITEM_HYPER_POTION, 1, 1
|
||||
finditem_std ITEM_HYPER_POTION
|
||||
end
|
||||
|
||||
Route119_EventScript_ItemElixir2:: @ 8290F3B
|
||||
giveitem_std ITEM_ELIXIR, 1, 1
|
||||
finditem_std ITEM_ELIXIR
|
||||
end
|
||||
|
||||
Route120_EventScript_ItemNugget:: @ 8290F48
|
||||
giveitem_std ITEM_NUGGET, 1, 1
|
||||
finditem_std ITEM_NUGGET
|
||||
end
|
||||
|
||||
Route120_EventScript_ItemFullHeal:: @ 8290F55
|
||||
giveitem_std ITEM_FULL_HEAL, 1, 1
|
||||
finditem_std ITEM_FULL_HEAL
|
||||
end
|
||||
|
||||
Route120_EventScript_ItemHyperPotion:: @ 8290F62
|
||||
giveitem_std ITEM_HYPER_POTION, 1, 1
|
||||
finditem_std ITEM_HYPER_POTION
|
||||
end
|
||||
|
||||
Route120_EventScript_ItemNestBall:: @ 8290F6F
|
||||
giveitem_std ITEM_NEST_BALL, 1, 1
|
||||
finditem_std ITEM_NEST_BALL
|
||||
end
|
||||
|
||||
Route120_EventScript_ItemRevive:: @ 8290F7C
|
||||
giveitem_std ITEM_REVIVE, 1, 1
|
||||
finditem_std ITEM_REVIVE
|
||||
end
|
||||
|
||||
Route121_EventScript_ItemCarbos:: @ 8290F89
|
||||
giveitem_std ITEM_CARBOS, 1, 1
|
||||
finditem_std ITEM_CARBOS
|
||||
end
|
||||
|
||||
Route121_EventScript_ItemRevive:: @ 8290F96
|
||||
giveitem_std ITEM_REVIVE, 1, 1
|
||||
finditem_std ITEM_REVIVE
|
||||
end
|
||||
|
||||
Route121_EventScript_ItemZinc:: @ 8290FA3
|
||||
giveitem_std ITEM_ZINC, 1, 1
|
||||
finditem_std ITEM_ZINC
|
||||
end
|
||||
|
||||
Route123_EventScript_ItemCalcium:: @ 8290FB0
|
||||
giveitem_std ITEM_CALCIUM, 1, 1
|
||||
finditem_std ITEM_CALCIUM
|
||||
end
|
||||
|
||||
Route123_EventScript_ItemUltraBall:: @ 8290FBD
|
||||
giveitem_std ITEM_ULTRA_BALL, 1, 1
|
||||
finditem_std ITEM_ULTRA_BALL
|
||||
end
|
||||
|
||||
Route123_EventScript_ItemElixir:: @ 8290FCA
|
||||
giveitem_std ITEM_ELIXIR, 1, 1
|
||||
finditem_std ITEM_ELIXIR
|
||||
end
|
||||
|
||||
Route123_EventScript_ItemPPUp:: @ 8290FD7
|
||||
giveitem_std ITEM_PP_UP, 1, 1
|
||||
finditem_std ITEM_PP_UP
|
||||
end
|
||||
|
||||
Route123_EventScript_ItemRevivalHerb:: @ 8290FE4
|
||||
giveitem_std ITEM_REVIVAL_HERB, 1, 1
|
||||
finditem_std ITEM_REVIVAL_HERB
|
||||
end
|
||||
|
||||
Route124_EventScript_ItemRedShard:: @ 8290FF1
|
||||
giveitem_std ITEM_RED_SHARD, 1, 1
|
||||
finditem_std ITEM_RED_SHARD
|
||||
end
|
||||
|
||||
Route124_EventScript_ItemBlueShard:: @ 8290FFE
|
||||
giveitem_std ITEM_BLUE_SHARD, 1, 1
|
||||
finditem_std ITEM_BLUE_SHARD
|
||||
end
|
||||
|
||||
Route124_EventScript_ItemYellowShard:: @ 829100B
|
||||
giveitem_std ITEM_YELLOW_SHARD, 1, 1
|
||||
finditem_std ITEM_YELLOW_SHARD
|
||||
end
|
||||
|
||||
Route125_EventScript_ItemBigPearl:: @ 8291018
|
||||
giveitem_std ITEM_BIG_PEARL, 1, 1
|
||||
finditem_std ITEM_BIG_PEARL
|
||||
end
|
||||
|
||||
Route126_EventScript_ItemGreenShard:: @ 8291025
|
||||
giveitem_std ITEM_GREEN_SHARD, 1, 1
|
||||
finditem_std ITEM_GREEN_SHARD
|
||||
end
|
||||
|
||||
Route127_EventScript_ItemZinc:: @ 8291032
|
||||
giveitem_std ITEM_ZINC, 1, 1
|
||||
finditem_std ITEM_ZINC
|
||||
end
|
||||
|
||||
Route127_EventScript_ItemCarbos:: @ 829103F
|
||||
giveitem_std ITEM_CARBOS, 1, 1
|
||||
finditem_std ITEM_CARBOS
|
||||
end
|
||||
|
||||
Route127_EventScript_ItemRareCandy:: @ 829104C
|
||||
giveitem_std ITEM_RARE_CANDY, 1, 1
|
||||
finditem_std ITEM_RARE_CANDY
|
||||
end
|
||||
|
||||
Route132_EventScript_ItemRareCandy:: @ 8291059
|
||||
giveitem_std ITEM_RARE_CANDY, 1, 1
|
||||
finditem_std ITEM_RARE_CANDY
|
||||
end
|
||||
|
||||
Route132_EventScript_ItemProtein:: @ 8291066
|
||||
giveitem_std ITEM_PROTEIN, 1, 1
|
||||
finditem_std ITEM_PROTEIN
|
||||
end
|
||||
|
||||
Route133_EventScript_ItemBigPearl:: @ 8291073
|
||||
giveitem_std ITEM_BIG_PEARL, 1, 1
|
||||
finditem_std ITEM_BIG_PEARL
|
||||
end
|
||||
|
||||
Route133_EventScript_ItemStarPiece:: @ 8291080
|
||||
giveitem_std ITEM_STAR_PIECE, 1, 1
|
||||
finditem_std ITEM_STAR_PIECE
|
||||
end
|
||||
|
||||
Route133_EventScript_ItemMaxRevive:: @ 829108D
|
||||
giveitem_std ITEM_MAX_REVIVE, 1, 1
|
||||
finditem_std ITEM_MAX_REVIVE
|
||||
end
|
||||
|
||||
Route134_EventScript_ItemCarbos:: @ 829109A
|
||||
giveitem_std ITEM_CARBOS, 1, 1
|
||||
finditem_std ITEM_CARBOS
|
||||
end
|
||||
|
||||
Route134_EventScript_ItemStarPiece:: @ 82910A7
|
||||
giveitem_std ITEM_STAR_PIECE, 1, 1
|
||||
finditem_std ITEM_STAR_PIECE
|
||||
end
|
||||
|
||||
PetalburgCity_EventScript_ItemMaxRevive:: @ 82910B4
|
||||
giveitem_std ITEM_MAX_REVIVE, 1, 1
|
||||
finditem_std ITEM_MAX_REVIVE
|
||||
end
|
||||
|
||||
PetalburgCity_EventScript_ItemEther:: @ 82910C1
|
||||
giveitem_std ITEM_ETHER, 1, 1
|
||||
finditem_std ITEM_ETHER
|
||||
end
|
||||
|
||||
MauvilleCity_EventScript_ItemXSpeed:: @ 82910CE
|
||||
giveitem_std ITEM_X_SPEED, 1, 1
|
||||
finditem_std ITEM_X_SPEED
|
||||
end
|
||||
|
||||
RustboroCity_EventScript_ItemXDefend:: @ 82910DB
|
||||
giveitem_std ITEM_X_DEFENSE, 1, 1
|
||||
end
|
||||
finditem_std ITEM_X_DEFENSE
|
||||
|
||||
LilycoveCity_EventScript_ItemMaxRepel:: @ 82910E8
|
||||
giveitem_std ITEM_MAX_REPEL, 1, 1
|
||||
finditem_std ITEM_MAX_REPEL
|
||||
end
|
||||
|
||||
MossdeepCity_EventScript_ItemNetBall:: @ 82910F5
|
||||
giveitem_std ITEM_NET_BALL, 1, 1
|
||||
finditem_std ITEM_NET_BALL
|
||||
end
|
||||
|
||||
PetalburgWoods_EventScript_ItemXAttack:: @ 8291102
|
||||
giveitem_std ITEM_X_ATTACK, 1, 1
|
||||
finditem_std ITEM_X_ATTACK
|
||||
end
|
||||
|
||||
PetalburgWoods_EventScript_ItemGreatBall:: @ 829110F
|
||||
giveitem_std ITEM_GREAT_BALL, 1, 1
|
||||
finditem_std ITEM_GREAT_BALL
|
||||
end
|
||||
|
||||
PetalburgWoods_EventScript_ItemEther:: @ 829111C
|
||||
giveitem_std ITEM_ETHER, 1, 1
|
||||
finditem_std ITEM_ETHER
|
||||
end
|
||||
|
||||
PetalburgWoods_EventScript_ItemParalyzeHeal:: @ 8291129
|
||||
giveitem_std ITEM_PARALYZE_HEAL, 1, 1
|
||||
finditem_std ITEM_PARALYZE_HEAL
|
||||
end
|
||||
|
||||
RusturfTunnel_EventScript_ItemPokeBall:: @ 8291136
|
||||
giveitem_std ITEM_POKE_BALL, 1, 1
|
||||
finditem_std ITEM_POKE_BALL
|
||||
end
|
||||
|
||||
RusturfTunnel_EventScript_ItemMaxEther:: @ 8291143
|
||||
giveitem_std ITEM_MAX_ETHER, 1, 1
|
||||
finditem_std ITEM_MAX_ETHER
|
||||
end
|
||||
|
||||
GraniteCave_1F_EventScript_ItemEscapeRope:: @ 8291150
|
||||
giveitem_std ITEM_ESCAPE_ROPE, 1, 1
|
||||
finditem_std ITEM_ESCAPE_ROPE
|
||||
end
|
||||
|
||||
GraniteCave_B1F_EventScript_ItemPokeBall:: @ 829115D
|
||||
giveitem_std ITEM_POKE_BALL, 1, 1
|
||||
finditem_std ITEM_POKE_BALL
|
||||
end
|
||||
|
||||
GraniteCave_B2F_EventScript_ItemRepel:: @ 829116A
|
||||
giveitem_std ITEM_REPEL, 1, 1
|
||||
finditem_std ITEM_REPEL
|
||||
end
|
||||
|
||||
GraniteCave_B2F_EventScript_ItemRareCandy:: @ 8291177
|
||||
giveitem_std ITEM_RARE_CANDY, 1, 1
|
||||
finditem_std ITEM_RARE_CANDY
|
||||
end
|
||||
|
||||
JaggedPass_EventScript_ItemBurnHeal:: @ 8291184
|
||||
giveitem_std ITEM_BURN_HEAL, 1, 1
|
||||
finditem_std ITEM_BURN_HEAL
|
||||
end
|
||||
|
||||
FieryPath_EventScript_ItemFireStone:: @ 8291191
|
||||
giveitem_std ITEM_FIRE_STONE, 1, 1
|
||||
finditem_std ITEM_FIRE_STONE
|
||||
end
|
||||
|
||||
FieryPath_EventScript_ItemTM06:: @ 829119E
|
||||
giveitem_std ITEM_TM06, 1, 1
|
||||
finditem_std ITEM_TM06
|
||||
end
|
||||
|
||||
MeteorFalls_1F_1R_EventScript_ItemTM23:: @ 82911AB
|
||||
giveitem_std ITEM_TM23, 1, 1
|
||||
finditem_std ITEM_TM23
|
||||
end
|
||||
|
||||
MeteorFalls_1F_1R_EventScript_ItemFullHeal:: @ 82911B8
|
||||
giveitem_std ITEM_FULL_HEAL, 1, 1
|
||||
finditem_std ITEM_FULL_HEAL
|
||||
end
|
||||
|
||||
MeteorFalls_1F_1R_EventScript_ItemMoonStone:: @ 82911C5
|
||||
giveitem_std ITEM_MOON_STONE, 1, 1
|
||||
finditem_std ITEM_MOON_STONE
|
||||
end
|
||||
|
||||
MeteorFalls_1F_1R_EventScript_ItemPPUP:: @ 82911D2
|
||||
giveitem_std ITEM_PP_UP, 1, 1
|
||||
finditem_std ITEM_PP_UP
|
||||
end
|
||||
|
||||
MeteorFalls_B1F_2R_EventScript_ItemTM02:: @ 82911DF
|
||||
giveitem_std ITEM_TM02, 1, 1
|
||||
finditem_std ITEM_TM02
|
||||
end
|
||||
|
||||
NewMauville_Inside_EventScript_ItemUltraRope:: @ 82911EC
|
||||
giveitem_std ITEM_ULTRA_BALL, 1, 1
|
||||
finditem_std ITEM_ULTRA_BALL
|
||||
end
|
||||
|
||||
NewMauville_Inside_EventScript_ItemEscapeRope:: @ 82911F9
|
||||
giveitem_std ITEM_ESCAPE_ROPE, 1, 1
|
||||
finditem_std ITEM_ESCAPE_ROPE
|
||||
end
|
||||
|
||||
NewMauville_Inside_EventScript_ItemThunderStone:: @ 8291206
|
||||
giveitem_std ITEM_THUNDER_STONE, 1, 1
|
||||
finditem_std ITEM_THUNDER_STONE
|
||||
end
|
||||
|
||||
NewMauville_Inside_EventScript_ItemFullHeal:: @ 8291213
|
||||
giveitem_std ITEM_FULL_HEAL, 1, 1
|
||||
finditem_std ITEM_FULL_HEAL
|
||||
end
|
||||
|
||||
NewMauville_Inside_EventScript_ItemParalyzeHeal:: @ 8291220
|
||||
giveitem_std ITEM_PARALYZE_HEAL, 1, 1
|
||||
finditem_std ITEM_PARALYZE_HEAL
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms_1F_EventScript_ItemHarborMail:: @ 829122D
|
||||
giveitem_std ITEM_HARBOR_MAIL, 1, 1
|
||||
finditem_std ITEM_HARBOR_MAIL
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms_B1F_EventScript_ItemEscapeRope:: @ 829123A
|
||||
giveitem_std ITEM_ESCAPE_ROPE, 1, 1
|
||||
finditem_std ITEM_ESCAPE_ROPE
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms2_B1F_EventScript_ItemDiveBall:: @ 8291247
|
||||
giveitem_std ITEM_DIVE_BALL, 1, 1
|
||||
finditem_std ITEM_DIVE_BALL
|
||||
end
|
||||
|
||||
AbandonedShip_Room_B1F_EventScript_ItemTM13:: @ 8291254
|
||||
giveitem_std ITEM_TM13, 1, 1
|
||||
finditem_std ITEM_TM13
|
||||
end
|
||||
|
||||
AbandonedShip_Rooms2_1F_EventScript_ItemRevive:: @ 8291261
|
||||
giveitem_std ITEM_REVIVE, 1, 1
|
||||
finditem_std ITEM_REVIVE
|
||||
end
|
||||
|
||||
AbandonedShip_CaptainsOffice_EventScript_ItemStorageKey:: @ 829126E
|
||||
giveitem_std ITEM_STORAGE_KEY, 1, 1
|
||||
finditem_std ITEM_STORAGE_KEY
|
||||
end
|
||||
|
||||
AbandonedShip_HiddenFloorRooms_EventScript_ItemLuxuryBall:: @ 829127B
|
||||
giveitem_std ITEM_LUXURY_BALL, 1, 1
|
||||
finditem_std ITEM_LUXURY_BALL
|
||||
end
|
||||
|
||||
AbandonedShip_HiddenFloorRooms_EventScript_ItemScanner:: @ 8291288
|
||||
giveitem_std ITEM_SCANNER, 1, 1
|
||||
finditem_std ITEM_SCANNER
|
||||
end
|
||||
|
||||
AbandonedShip_HiddenFloorRooms_EventScript_ItemWaterStone:: @ 8291295
|
||||
giveitem_std ITEM_WATER_STONE, 1, 1
|
||||
finditem_std ITEM_WATER_STONE
|
||||
end
|
||||
|
||||
AbandonedShip_HiddenFloorRooms_EventScript_ItemTM18:: @ 82912A2
|
||||
giveitem_std ITEM_TM18, 1, 1
|
||||
finditem_std ITEM_TM18
|
||||
end
|
||||
|
||||
ScorchedSlab_EventScript_ItemTM11:: @ 82912AF
|
||||
giveitem_std ITEM_TM11, 1, 1
|
||||
finditem_std ITEM_TM11
|
||||
end
|
||||
|
||||
SafariZone_Northwest_EventScript_ItemTM22:: @ 82912BC
|
||||
giveitem_std ITEM_TM22, 1, 1
|
||||
finditem_std ITEM_TM22
|
||||
end
|
||||
|
||||
SafariZone_North_EventScript_ItemCalcium:: @ 82912C9
|
||||
giveitem_std ITEM_CALCIUM, 1, 1
|
||||
finditem_std ITEM_CALCIUM
|
||||
end
|
||||
|
||||
SafariZone_Southwest_EventScript_ItemMaxRevive:: @ 82912D6
|
||||
giveitem_std ITEM_MAX_REVIVE, 1, 1
|
||||
finditem_std ITEM_MAX_REVIVE
|
||||
end
|
||||
|
||||
SafariZone_Northeast_EventScript_ItemNugget:: @ 82912E3
|
||||
giveitem_std ITEM_NUGGET, 1, 1
|
||||
finditem_std ITEM_NUGGET
|
||||
end
|
||||
|
||||
SafariZone_Southeast_EventScript_ItemBigPearl:: @ 82912F0
|
||||
giveitem_std ITEM_BIG_PEARL, 1, 1
|
||||
finditem_std ITEM_BIG_PEARL
|
||||
end
|
||||
|
||||
MtPyre_2F_EventScript_ItemUltraBall:: @ 82912FD
|
||||
giveitem_std ITEM_ULTRA_BALL, 1, 1
|
||||
finditem_std ITEM_ULTRA_BALL
|
||||
end
|
||||
|
||||
MtPyre_3F_EventScript_ItemSuperRepel:: @ 829130A
|
||||
giveitem_std ITEM_SUPER_REPEL, 1, 1
|
||||
finditem_std ITEM_SUPER_REPEL
|
||||
end
|
||||
|
||||
MtPyre_4F_EventScript_ItemSeaIncense:: @ 8291317
|
||||
giveitem_std ITEM_SEA_INCENSE, 1, 1
|
||||
finditem_std ITEM_SEA_INCENSE
|
||||
end
|
||||
|
||||
MtPyre_5F_EventScript_ItemLaxIncense:: @ 8291324
|
||||
giveitem_std ITEM_LAX_INCENSE, 1, 1
|
||||
finditem_std ITEM_LAX_INCENSE
|
||||
end
|
||||
|
||||
MtPyre_6F_EventScript_ItemTM30:: @ 8291331
|
||||
giveitem_std ITEM_TM30, 1, 1
|
||||
finditem_std ITEM_TM30
|
||||
end
|
||||
|
||||
MtPyre_Exterior_EventScript_ItemMaxPotion:: @ 829133E
|
||||
giveitem_std ITEM_MAX_POTION, 1, 1
|
||||
finditem_std ITEM_MAX_POTION
|
||||
end
|
||||
|
||||
MtPyre_Exterior_EventScript_ItemTM48:: @ 829134B
|
||||
giveitem_std ITEM_TM48, 1, 1
|
||||
finditem_std ITEM_TM48
|
||||
end
|
||||
|
||||
AquaHideout_B1F_EventScript_ItemMasterBall:: @ 8291358
|
||||
giveitem_std ITEM_MASTER_BALL, 1, 1
|
||||
finditem_std ITEM_MASTER_BALL
|
||||
end
|
||||
|
||||
AquaHideout_B1F_EventScript_ItemNugget:: @ 8291365
|
||||
giveitem_std ITEM_NUGGET, 1, 1
|
||||
finditem_std ITEM_NUGGET
|
||||
end
|
||||
|
||||
AquaHideout_B1F_EventScript_ItemMaxElixir:: @ 8291372
|
||||
giveitem_std ITEM_MAX_ELIXIR, 1, 1
|
||||
finditem_std ITEM_MAX_ELIXIR
|
||||
end
|
||||
|
||||
AquaHideout_B2F_EventScript_ItemNestBall:: @ 829137F
|
||||
giveitem_std ITEM_NEST_BALL, 1, 1
|
||||
finditem_std ITEM_NEST_BALL
|
||||
end
|
||||
|
||||
AquaHideout_B2F_EventScript_ItemMasterBall:: @ 829138C
|
||||
giveitem_std ITEM_MASTER_BALL, 1, 1 // Unused
|
||||
finditem_std ITEM_MASTER_BALL // Unused
|
||||
end
|
||||
|
||||
Route119_EventScript_ItemNugget:: @ 8291399
|
||||
giveitem_std ITEM_NUGGET, 1, 1
|
||||
finditem_std ITEM_NUGGET
|
||||
end
|
||||
|
||||
Route119_EventScript_ItemMaxElixir:: @ 82913A6
|
||||
giveitem_std ITEM_MAX_ELIXIR, 1, 1
|
||||
finditem_std ITEM_MAX_ELIXIR
|
||||
end
|
||||
|
||||
Route119_EventScript_ItemNestBall:: @ 82913B3
|
||||
giveitem_std ITEM_NEST_BALL, 1, 1
|
||||
finditem_std ITEM_NEST_BALL
|
||||
end
|
||||
|
||||
ShoalCave_LowTideEntranceRoom_EventScript_ItemBigPearl:: @ 82913C0
|
||||
giveitem_std ITEM_BIG_PEARL, 1, 1
|
||||
finditem_std ITEM_BIG_PEARL
|
||||
end
|
||||
|
||||
ShoalCave_LowTideInnerRoom_EventScript_ItemRareCandy:: @ 82913CD
|
||||
giveitem_std ITEM_RARE_CANDY, 1, 1
|
||||
finditem_std ITEM_RARE_CANDY
|
||||
end
|
||||
|
||||
ShoalCave_LowTideStairsRoom_EventScript_ItemIceHeal:: @ 82913DA
|
||||
giveitem_std ITEM_ICE_HEAL, 1, 1
|
||||
finditem_std ITEM_ICE_HEAL
|
||||
end
|
||||
|
||||
ShoalCave_LowTideIceRoom_EventScript_ItemTM07:: @ 82913E7
|
||||
giveitem_std ITEM_TM07, 1, 1
|
||||
finditem_std ITEM_TM07
|
||||
end
|
||||
|
||||
ShoalCave_LowTideIceRoom_EventScript_ItemNeverMeltIce:: @ 82913F4
|
||||
giveitem_std ITEM_NEVER_MELT_ICE, 1, 1
|
||||
finditem_std ITEM_NEVER_MELT_ICE
|
||||
end
|
||||
|
||||
SeafloorCavern_Room9_EventScript_ItemTM26:: @ 8291401
|
||||
giveitem_std ITEM_TM26, 1, 1
|
||||
finditem_std ITEM_TM26
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle1_EventScript_ItemOrangeMail:: @ 829140E
|
||||
giveitem_std ITEM_ORANGE_MAIL, 1, 1
|
||||
finditem_std ITEM_ORANGE_MAIL
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle2_EventScript_ItemHarborMail:: @ 829141B
|
||||
giveitem_std ITEM_HARBOR_MAIL, 1, 1
|
||||
finditem_std ITEM_HARBOR_MAIL
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle2_EventScript_ItemWaveMail:: @ 8291428
|
||||
giveitem_std ITEM_WAVE_MAIL, 1, 1
|
||||
finditem_std ITEM_WAVE_MAIL
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle3_EventScript_ItemShadowMail:: @ 8291435
|
||||
giveitem_std ITEM_SHADOW_MAIL, 1, 1
|
||||
finditem_std ITEM_SHADOW_MAIL
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle3_EventScript_ItemWoodMail:: @ 8291442
|
||||
giveitem_std ITEM_WOOD_MAIL, 1, 1
|
||||
finditem_std ITEM_WOOD_MAIL
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle4_EventScript_ItemMechMail:: @ 829144F
|
||||
giveitem_std ITEM_MECH_MAIL, 1, 1
|
||||
finditem_std ITEM_MECH_MAIL
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle6_EventScript_ItemGlitterMail:: @ 829145C
|
||||
giveitem_std ITEM_GLITTER_MAIL, 1, 1
|
||||
finditem_std ITEM_GLITTER_MAIL
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle7_EventScript_ItemTropicMail:: @ 8291469
|
||||
giveitem_std ITEM_TROPIC_MAIL, 1, 1
|
||||
finditem_std ITEM_TROPIC_MAIL
|
||||
end
|
||||
|
||||
Route110_TrickHousePuzzle8_EventScript_ItemBeadMail:: @ 8291476
|
||||
giveitem_std ITEM_BEAD_MAIL, 1, 1
|
||||
finditem_std ITEM_BEAD_MAIL
|
||||
end
|
||||
|
||||
VictoryRoad_1F_EventScript_ItemMaxElixir:: @ 8291483
|
||||
giveitem_std ITEM_MAX_ELIXIR, 1, 1
|
||||
finditem_std ITEM_MAX_ELIXIR
|
||||
end
|
||||
|
||||
VictoryRoad_1F_EventScript_ItemPPUp:: @ 8291490
|
||||
giveitem_std ITEM_PP_UP, 1, 1
|
||||
finditem_std ITEM_PP_UP
|
||||
end
|
||||
|
||||
VictoryRoad_B1F_EventScript_ItemTM29:: @ 829149D
|
||||
giveitem_std ITEM_TM29, 1, 1
|
||||
finditem_std ITEM_TM29
|
||||
end
|
||||
|
||||
VictoryRoad_B1F_EventScript_ItemFullRestore:: @ 82914AA
|
||||
giveitem_std ITEM_FULL_RESTORE, 1, 1
|
||||
finditem_std ITEM_FULL_RESTORE
|
||||
end
|
||||
|
||||
VictoryRoad_B2F_EventScript_ItemFullHeal:: @ 82914B7
|
||||
giveitem_std ITEM_FULL_HEAL, 1, 1
|
||||
finditem_std ITEM_FULL_HEAL
|
||||
end
|
||||
|
||||
ArtisanCave_B1F_EventScript_ItemHPUp:: @ 82914C4
|
||||
giveitem_std ITEM_HP_UP, 1, 1
|
||||
finditem_std ITEM_HP_UP
|
||||
end
|
||||
|
||||
ArtisanCave_1F_EventScript_ItemCarbos:: @ 82914D1
|
||||
giveitem_std ITEM_CARBOS, 1, 1
|
||||
finditem_std ITEM_CARBOS
|
||||
end
|
||||
|
||||
MagmaHideout_1F_EventScript_ItemRareCandy:: @ 82914DE
|
||||
giveitem_std ITEM_RARE_CANDY, 1, 1
|
||||
finditem_std ITEM_RARE_CANDY
|
||||
end
|
||||
|
||||
MagmaHideout_2F_2R_EventScript_MaxElixir:: @ 82914EB
|
||||
giveitem_std ITEM_MAX_ELIXIR, 1, 1
|
||||
finditem_std ITEM_MAX_ELIXIR
|
||||
end
|
||||
|
||||
MagmaHideout_2F_2R_EventScript_ItemFullRestore:: @ 82914F8
|
||||
giveitem_std ITEM_FULL_RESTORE, 1, 1
|
||||
finditem_std ITEM_FULL_RESTORE
|
||||
end
|
||||
|
||||
MagmaHideout_3F_1R_EventScript_ItemNugget:: @ 8291505
|
||||
giveitem_std ITEM_NUGGET, 1, 1
|
||||
finditem_std ITEM_NUGGET
|
||||
end
|
||||
|
||||
MagmaHideout_3F_2R_EventScript_ItemPPMax:: @ 8291512
|
||||
giveitem_std ITEM_PP_MAX, 1, 1
|
||||
finditem_std ITEM_PP_MAX
|
||||
end
|
||||
|
||||
MagmaHideout_4F_EventScript_MaxRevive:: @ 829151F
|
||||
giveitem_std ITEM_MAX_REVIVE, 1, 1
|
||||
finditem_std ITEM_MAX_REVIVE
|
||||
end
|
||||
|
||||
MagmaHideout_3F_3R_EventScript_ItemEscapeRope:: @ 829152C
|
||||
giveitem_std ITEM_ESCAPE_ROPE, 1, 1
|
||||
finditem_std ITEM_ESCAPE_ROPE
|
||||
end
|
||||
@@ -73,7 +73,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_AcceptFavor:: @ 82A845E
|
||||
end
|
||||
|
||||
LilycoveCity_PokemonCenter_1F_EventScript_ChooseFavorItem:: @ 82A846C
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
setvar VAR_RESULT, 0
|
||||
special Script_FavorLadyOpenBagMenu
|
||||
waitstate
|
||||
@@ -326,7 +326,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_DeclineMakeQuiz:: @ 82A8778
|
||||
LilycoveCity_PokemonCenter_1F_EventScript_MakeQuiz:: @ 82A8785
|
||||
msgbox LilycoveCity_PokemonCenter_1F_Text_PickYourPrize, MSGBOX_DEFAULT
|
||||
LilycoveCity_PokemonCenter_1F_EventScript_PickPrize:: @ 82A878D
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
setvar VAR_RESULT, 0
|
||||
special Script_QuizLadyOpenBagMenu
|
||||
waitstate
|
||||
@@ -350,7 +350,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_WriteQuiz:: @ 82A87CE
|
||||
special ClearQuizLadyPlayerAnswer
|
||||
setvar VAR_0x8004, EASY_CHAT_TYPE_QUIZ_QUESTION
|
||||
LilycoveCity_PokemonCenter_1F_EventScript_WriteQuizQuestion:: @ 82A87E1
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special QuizLadySetCustomQuestion
|
||||
waitstate
|
||||
compare VAR_RESULT, 0
|
||||
@@ -418,7 +418,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_DeclineGivePokeblock:: @ 82A88B0
|
||||
end
|
||||
|
||||
LilycoveCity_PokemonCenter_1F_EventScript_ChoosePokeblock:: @ 82A88BA
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special OpenPokeblockCaseForContestLady
|
||||
waitstate
|
||||
compare VAR_RESULT, 0xFFFF
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
MysteryEventScript_AlteringCave:: @ 86756E3
|
||||
setvaddress MysteryEventScript_AlteringCave
|
||||
addvar VAR_ALTERING_CAVE_WILD_SET, 1
|
||||
compare_var_to_value VAR_ALTERING_CAVE_WILD_SET, 10
|
||||
compare VAR_ALTERING_CAVE_WILD_SET, 10
|
||||
vgoto_if_ne MysteryEventScript_AlteringCave_
|
||||
setvar VAR_ALTERING_CAVE_WILD_SET, 0
|
||||
MysteryEventScript_AlteringCave_: @ 86756FD
|
||||
|
||||
@@ -7,13 +7,13 @@ MysteryEventScript_AuroraTicket:: @ 867533C
|
||||
checkflag FLAG_BATTLED_DEOXYS
|
||||
vgoto_if_eq AuroraTicket_Obtained
|
||||
checkitem ITEM_AURORA_TICKET, 1
|
||||
compare_var_to_value VAR_RESULT, TRUE
|
||||
compare VAR_RESULT, TRUE
|
||||
vgoto_if_eq AuroraTicket_Obtained
|
||||
vmessage sText_AuroraTicketForYou
|
||||
waitmessage
|
||||
waitbuttonpress
|
||||
checkitemspace ITEM_AURORA_TICKET, 1
|
||||
compare_var_to_value VAR_RESULT, FALSE
|
||||
compare VAR_RESULT, FALSE
|
||||
vgoto_if_eq AuroraTicket_NoBagSpace
|
||||
giveitem_std ITEM_AURORA_TICKET
|
||||
setflag FLAG_ENABLE_SHIP_BIRTH_ISLAND
|
||||
|
||||
@@ -4,7 +4,7 @@ MysteryEventScript_BattleCard:: @ 867513C
|
||||
vgoto_if_eq MysteryEventScript_BattleCardInfo
|
||||
setorcopyvar VAR_RESULT, GET_CARD_BATTLES_WON
|
||||
specialvar VAR_0x8008, GetMysteryEventCardVal
|
||||
compare_var_to_value VAR_0x8008, REQUIRED_CARD_BATTLES
|
||||
compare VAR_0x8008, REQUIRED_CARD_BATTLES
|
||||
vgoto_if_ne MysteryEventScript_BattleCardInfo
|
||||
lock
|
||||
faceplayer
|
||||
|
||||
@@ -9,13 +9,13 @@ MysteryEventScript_MysticTicket:: @ 867550B
|
||||
checkflag FLAG_CAUGHT_HO_OH
|
||||
vgoto_if_eq MysticTicket_Obtained
|
||||
checkitem ITEM_MYSTIC_TICKET, 1
|
||||
compare_var_to_value VAR_RESULT, TRUE
|
||||
compare VAR_RESULT, TRUE
|
||||
vgoto_if_eq MysticTicket_Obtained
|
||||
vmessage sText_MysticTicketForYou
|
||||
waitmessage
|
||||
waitbuttonpress
|
||||
checkitemspace ITEM_MYSTIC_TICKET, 1
|
||||
compare_var_to_value VAR_RESULT, FALSE
|
||||
compare VAR_RESULT, FALSE
|
||||
vgoto_if_eq MysticTicket_NoBagSpace
|
||||
giveitem_std ITEM_MYSTIC_TICKET
|
||||
setflag FLAG_ENABLE_SHIP_NAVEL_ROCK
|
||||
|
||||
@@ -7,13 +7,13 @@ MysteryEventScript_OldSeaMap:: @ 86757F4
|
||||
checkflag FLAG_CAUGHT_MEW
|
||||
vgoto_if_eq OldSeaMap_Obtained
|
||||
checkitem ITEM_OLD_SEA_MAP, 1
|
||||
compare_var_to_value VAR_RESULT, TRUE
|
||||
compare VAR_RESULT, TRUE
|
||||
vgoto_if_eq OldSeaMap_Obtained
|
||||
vmessage sText_MysteryGiftOldSeaMapForYou
|
||||
waitmessage
|
||||
waitbuttonpress
|
||||
checkitemspace ITEM_OLD_SEA_MAP, 1
|
||||
compare_var_to_value VAR_RESULT, FALSE
|
||||
compare VAR_RESULT, FALSE
|
||||
vgoto_if_eq OldSeaMap_NoBagSpace
|
||||
giveitem_std ITEM_OLD_SEA_MAP
|
||||
setflag FLAG_ENABLE_SHIP_FARAWAY_ISLAND
|
||||
|
||||
@@ -6,7 +6,7 @@ MysteryEventScript_SurfPichu:: @ 8674D3D
|
||||
|
||||
SurfPichu_GiveIfPossible: @ 8674D4C
|
||||
specialvar VAR_EVENT_PICHU_SLOT, CalculatePlayerPartyCount
|
||||
compare_var_to_value VAR_EVENT_PICHU_SLOT, PARTY_SIZE
|
||||
compare VAR_EVENT_PICHU_SLOT, PARTY_SIZE
|
||||
vgoto_if_eq SurfPichu_FullParty
|
||||
setflag FLAG_MYSTERY_EVENT_DONE
|
||||
vcall SurfPichu_GiveEgg
|
||||
@@ -33,15 +33,15 @@ SurfPichu_GiveEgg: @ 8674D7E
|
||||
giveegg SPECIES_PICHU
|
||||
setmonobedient VAR_EVENT_PICHU_SLOT
|
||||
setmonmetlocation VAR_EVENT_PICHU_SLOT, METLOC_FATEFUL_ENCOUNTER
|
||||
compare_var_to_value VAR_EVENT_PICHU_SLOT, 1
|
||||
compare VAR_EVENT_PICHU_SLOT, 1
|
||||
vgoto_if_eq SurfPichu_Slot1
|
||||
compare_var_to_value VAR_EVENT_PICHU_SLOT, 2
|
||||
compare VAR_EVENT_PICHU_SLOT, 2
|
||||
vgoto_if_eq SurfPichu_Slot2
|
||||
compare_var_to_value VAR_EVENT_PICHU_SLOT, 3
|
||||
compare VAR_EVENT_PICHU_SLOT, 3
|
||||
vgoto_if_eq SurfPichu_Slot3
|
||||
compare_var_to_value VAR_EVENT_PICHU_SLOT, 4
|
||||
compare VAR_EVENT_PICHU_SLOT, 4
|
||||
vgoto_if_eq SurfPichu_Slot4
|
||||
compare_var_to_value VAR_EVENT_PICHU_SLOT, 5
|
||||
compare VAR_EVENT_PICHU_SLOT, 5
|
||||
vgoto_if_eq SurfPichu_Slot5
|
||||
return
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
MysteryEventScript_VisitingTrainer:: @ 8674EC1
|
||||
setvaddress MysteryEventScript_VisitingTrainer
|
||||
special ValidateEReaderTrainer
|
||||
compare_var_to_value VAR_RESULT, 0
|
||||
compare VAR_RESULT, 0
|
||||
vgoto_if_eq MysteryEventScript_VisitingTrainerArrived
|
||||
lock
|
||||
faceplayer
|
||||
|
||||
@@ -6,7 +6,7 @@ Common_EventScript_GetGiftMonPartySlot:: @ 827378B
|
||||
return
|
||||
|
||||
Common_EventScript_NameReceivedBoxMon:: @ 8273797
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special ChangeBoxPokemonNickname
|
||||
waitstate
|
||||
lock
|
||||
|
||||
@@ -101,14 +101,14 @@ PlayersHouse_2F_EventScript_MomComesUpstairsFemale:: @ 829280F
|
||||
|
||||
PlayersHouse_2F_EventScript_CheckWallClock:: @ 829283F
|
||||
incrementgamestat GAME_STAT_CHECKED_CLOCK
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special Special_ViewWallClock
|
||||
waitstate
|
||||
releaseall
|
||||
end
|
||||
|
||||
PlayersHouse_2F_EventScript_SetWallClock:: @ 8292849
|
||||
fadescreen 1
|
||||
fadescreen FADE_TO_BLACK
|
||||
special StartWallClock
|
||||
waitstate
|
||||
return
|
||||
|
||||
Loaded 100 of 233 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user