merge rock climb

This commit is contained in:
ghoulslash
2021-12-20 12:59:06 -05:00
1634 changed files with 94792 additions and 95367 deletions

View File

@@ -1,9 +1,15 @@
#!/usr/bin/perl
use IPC::Cmd qw[ run ];
use Getopt::Long;
my $usage = "Usage: calcrom.pl file.map [--data]\n";
my $showData;
GetOptions("data" => \$showData) or die $usage;
(@ARGV == 1)
or die "ERROR: no map file specified.\n";
or die $usage;
open(my $file, $ARGV[0])
or die "ERROR: could not open file '$ARGV[0]'.\n";
@@ -57,14 +63,14 @@ while (my $line = <$file>)
# though. Uniq is pretty fast!
my $base_cmd = "nm $elffname | awk '{print \$3}' | grep '^[^_].\\{4\\}' | uniq";
# This looks for Unknown_, Unknown_, or sub_, followed by just numbers. Note that
# This looks for Unknown_, Unknown_, or sub_, followed by an address. Note that
# it matches even if stuff precedes the unknown, like sUnknown/gUnknown.
my $undoc_cmd = "grep '[Uu]nknown_[0-9a-fA-F]*\\|sub_[0-9a-fA-F]*'";
my $undoc_cmd = "grep '[Uu]nknown_[0-9a-fA-F]\\{5,7\\}\\|sub_[0-9a-fA-F]\\{5,7\\}'";
# This looks for every symbol with an address at the end of it. Some things are
# given a name based on their type / location, but still have an unknown purpose.
# For example, FooMap_EventScript_FFFFFFF.
my $partial_doc_cmd = "grep '_[0-28][0-9a-fA-F]\\{5,6\\}'";
my $partial_doc_cmd = "grep '_[0-28][0-9a-fA-F]\\{5,7\\}'";
my $count_cmd = "wc -l";
@@ -98,16 +104,19 @@ my $partial_documented_as_string;
# Performing addition on a string converts it to a number. Any string that fails
# to convert to a number becomes 0. So if our converted number is 0, but our string
# is nonzero, then the conversion was an error.
$undocumented_as_string =~ s/^\s+|\s+$//g;
my $undocumented = $undocumented_as_string + 0;
(($undocumented != 0) and ($undocumented_as_string ne "0"))
(($undocumented != 0) or (($undocumented == 0) and ($undocumented_as_string eq "0")))
or die "ERROR: Cannot convert string to num: '$undocumented_as_string'";
$partial_documented_as_string =~ s/^\s+|\s+$//g;
my $partial_documented = $partial_documented_as_string + 0;
(($partial_documented != 0) and ($partial_documented_as_string ne "0"))
(($partial_documented != 0) or (($partial_documented == 0) and ($partial_documented_as_string eq "0")))
or die "ERROR: Cannot convert string to num: '$partial_documented_as_string'";
$total_syms_as_string =~ s/^\s+|\s+$//g;
my $total_syms = $total_syms_as_string + 0;
(($total_syms != 0) and ($total_syms_as_string ne "0"))
(($total_syms != 0) or (($total_syms == 0) and ($total_syms_as_string eq "0")))
or die "ERROR: Cannot convert string to num: '$total_syms_as_string'";
($total_syms != 0)
@@ -149,17 +158,13 @@ else
print "$undocumented symbols undocumented ($undocPct%)\n";
}
print "\n";
my $dataTotal = $srcdata + $data;
my $srcDataPct = sprintf("%.4f", 100 * $srcdata / $dataTotal);
my $dataPct = sprintf("%.4f", 100 * $data / $dataTotal);
if ($showData)
{
print "\n";
my $dataTotal = $srcdata + $data;
my $srcDataPct = sprintf("%.4f", 100 * $srcdata / $dataTotal);
my $dataPct = sprintf("%.4f", 100 * $data / $dataTotal);
if ($data == 0)
{
print "Data porting to C is 100% complete\n"
}
else
{
print "$dataTotal total bytes of data\n";
print "$srcdata bytes of data in src ($srcDataPct%)\n";
print "$data bytes of data in data ($dataPct%)\n";

View File

@@ -8,4 +8,4 @@ if [ ! -f $map_file ]; then
fi
output=$(perl $(dirname "$0")/calcrom.pl $build_name.map | sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g')
curl -d "{\"username\": \"$CALCROM_DISCORD_WEBHOOK_USERNAME\", \"avatar_url\": \"$CALCROM_DISCORD_WEBHOOK_AVATAR_URL\", \"content\":\"\`\`\`$build_name progress:\\n$output\`\`\`\"}" -H "Content-Type: application/json" -X POST "$CALCROM_DISCORD_WEBHOOK_URL"
curl -d "{\"username\": \"$CALCROM_DISCORD_WEBHOOK_USERNAME\", \"avatar_url\": \"$CALCROM_DISCORD_WEBHOOK_AVATAR_URL\", \"content\":\"\`\`\`\\n$build_name progress:\\n$output\\n\`\`\`\"}" -H "Content-Type: application/json" -X POST "$CALCROM_DISCORD_WEBHOOK_URL"

View File

@@ -7,11 +7,30 @@ on:
jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
env:
GAME_VERSION: EMERALD
GAME_REVISION: 0
GAME_LANGUAGE: ENGLISH
MODERN: 0
COMPARE: 1
steps:
- name: Checkout
uses: actions/checkout@master
- name: Checkout syms
if: ${{ github.event_name == 'push' }}
uses: actions/checkout@master
with:
path: symbols
ref: symbols
- name: Checkout agbcc
uses: actions/checkout@master
with:
path: agbcc
repository: pret/agbcc
- name: Install binutils
run: sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi
# build-essential, git, and libpng-dev are already installed
@@ -20,21 +39,30 @@ jobs:
- name: Install agbcc
run: |
git clone https://github.com/pret/agbcc.git
cd agbcc
./build.sh
./install.sh ../
working-directory: agbcc
- name: Compare
run: make -j${nproc} compare
run: make -j${nproc} all syms
- name: Modern
run: make -j${nproc} modern
- name: Webhook
if: ${{ github.event_name == 'push' }}
env:
CALCROM_DISCORD_WEBHOOK_USERNAME: OK
CALCROM_DISCORD_WEBHOOK_AVATAR_URL: https://i.imgur.com/38BQHdd.png
CALCROM_DISCORD_WEBHOOK_URL: ${{ secrets.CALCROM_DISCORD_WEBHOOK_URL }}
run: sh .github/calcrom/webhook.sh pokeemerald
MODERN: 1
COMPARE: 0
run: make -j${nproc} all
- name: Move symfiles
if: ${{ github.event_name == 'push' }}
run: |
cp -v *.sym symbols/
echo "SYMBOLS_COMMIT_MSG=$( git log --format=%s ${GITHUB_SHA} )" >> $GITHUB_ENV
- name: Update symfiles
if: ${{ github.event_name == 'push' }}
uses: EndBug/add-and-commit@v7
with:
branch: symbols
cwd: "./symbols"
add: "*.sym"
message: ${{ env.SYMBOLS_COMMIT_MSG }}

3
.gitignore vendored
View File

@@ -34,3 +34,6 @@ porymap.project.cfg
*.a
.fuse_hidden*
*.sna
*.diff
*.sym
*.js

View File

@@ -20,6 +20,7 @@ endif
PREFIX := arm-none-eabi-
OBJCOPY := $(PREFIX)objcopy
OBJDUMP := $(PREFIX)objdump
AS := $(PREFIX)as
LD := $(PREFIX)ld
@@ -27,6 +28,7 @@ LD := $(PREFIX)ld
# note: the makefile must be set up so MODERNCC is never called
# if MODERN=0
MODERNCC := $(PREFIX)gcc
PATH_MODERNCC := PATH=$(TOOLCHAIN)/bin:PATH $(MODERNCC)
ifeq ($(OS),Windows_NT)
EXE := .exe
@@ -75,6 +77,7 @@ SHELL := /bin/bash -o pipefail
ELF = $(ROM:.gba=.elf)
MAP = $(ROM:.gba=.map)
SYM = $(ROM:.gba=.sym)
C_SUBDIR = src
GFLIB_SUBDIR = gflib
@@ -103,11 +106,11 @@ OBJ_DIR := $(OBJ_DIR_NAME)
LIBPATH := -L ../../tools/agbcc/lib
LIB := $(LIBPATH) -lgcc -lc -L../../libagbsyscall -lagbsyscall
else
CC1 = $(shell $(MODERNCC) --print-prog-name=cc1) -quiet
CC1 = $(shell $(PATH_MODERNCC) --print-prog-name=cc1) -quiet
override CFLAGS += -mthumb -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast -g
ROM := $(MODERN_ROM_NAME)
OBJ_DIR := $(MODERN_OBJ_DIR_NAME)
LIBPATH := -L "$(dir $(shell $(MODERNCC) -mthumb -print-file-name=libgcc.a))" -L "$(dir $(shell $(MODERNCC) -mthumb -print-file-name=libnosys.a))" -L "$(dir $(shell $(MODERNCC) -mthumb -print-file-name=libc.a))"
LIBPATH := -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libgcc.a))" -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libnosys.a))" -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libc.a))"
LIB := $(LIBPATH) -lc -lnosys -lgcc -L../../libagbsyscall -lagbsyscall
endif
@@ -129,6 +132,8 @@ FIX := tools/gbafix/gbafix$(EXE)
MAPJSON := tools/mapjson/mapjson$(EXE)
JSONPROC := tools/jsonproc/jsonproc$(EXE)
PERL := perl
TOOLDIRS := $(filter-out tools/agbcc tools/binutils,$(wildcard tools/*))
TOOLBASE = $(TOOLDIRS:tools/%=%)
TOOLS = $(foreach tool,$(TOOLBASE),tools/$(tool)/$(tool)$(EXE))
@@ -153,7 +158,7 @@ infoshell = $(foreach line, $(shell $1 | sed "s/ /__SPACE__/g"), $(info $(subst
# Disable dependency scanning for clean/tidy/tools
# Use a separate minimal makefile for speed
# Since we don't need to reload most of this makefile
ifeq (,$(filter-out all rom compare modern berry_fix libagbsyscall,$(MAKECMDGOALS)))
ifeq (,$(filter-out all rom compare modern berry_fix libagbsyscall syms,$(MAKECMDGOALS)))
$(call infoshell, $(MAKE) -f make_tools.mk)
else
NODEP ?= 1
@@ -211,6 +216,8 @@ all: rom
tools: $(TOOLDIRS)
syms: $(SYM)
$(TOOLDIRS):
@$(MAKE) -C $@
@@ -428,3 +435,10 @@ berry_fix:
libagbsyscall:
@$(MAKE) -C libagbsyscall TOOLCHAIN=$(TOOLCHAIN) MODERN=$(MODERN)
###################
### Symbol file ###
###################
$(SYM): $(ELF)
$(OBJDUMP) -t $< | sort -u | grep -E "^0[2389]" | $(PERL) -p -e 's/^(\w{8}) (\w).{6} \S+\t(\w{8}) (\S+)$$/\1 \2 \3 \4/g' > $@

View File

@@ -28,4 +28,4 @@ Other disassembly and/or decompilation projects:
## Contacts
You can find us on [Discord](https://discord.gg/d5dubZ3) and [IRC](https://kiwiirc.com/client/irc.freenode.net/?#pret).
You can find us on [Discord](https://discord.gg/d5dubZ3) and [IRC](https://web.libera.chat/?#pret).

View File

@@ -251,11 +251,11 @@
.4byte \param1
.endm
.macro nullsub_2A
.macro nop_2A
.byte 0x2a
.endm
.macro nullsub_2B
.macro nop_2B
.byte 0x2b
.endm
@@ -287,11 +287,11 @@
.4byte \param1
.endm
.macro nullsub_32
.macro nop_32
.byte 0x32
.endm
.macro nullsub_33
.macro nop_33
.byte 0x33
.endm
@@ -467,27 +467,27 @@
.byte \battler
.endm
.macro nullsub_52
.macro nop_52
.byte 0x52
.endm
.macro nullsub_53
.macro nop_53
.byte 0x53
.endm
.macro nullsub_54
.macro nop_54
.byte 0x54
.endm
.macro nullsub_55
.macro nop_55
.byte 0x55
.endm
.macro nullsub_56
.macro nop_56
.byte 0x56
.endm
.macro nullsub_57
.macro nop_57
.byte 0x57
.endm

View File

@@ -14,7 +14,7 @@
.byte 0x02
.4byte \template
.if \anim_battler == ANIM_TARGET
.byte 0x80 | (\subpriority_offset & 0x7F)
.byte ANIMSPRITE_IS_TARGET | (\subpriority_offset & 0x7F)
.else
.byte (\subpriority_offset & 0x7F)
.endif
@@ -34,20 +34,20 @@
.Lcreatetask_\@_2:
.endm
.macro delay param0:req
.macro delay frames:req
.byte 0x4
.byte \param0
.byte \frames
.endm
.macro waitforvisualfinish
.byte 0x5
.endm
.macro hang1
.macro nop
.byte 0x6
.endm
.macro hang2
.macro nop2
.byte 0x7
.endm
@@ -79,30 +79,30 @@
.byte 0xd
.endm
.macro call param0:req
.macro call ptr:req
.byte 0xe
.4byte \param0
.4byte \ptr
.endm
.macro return
.byte 0xf
.endm
.macro setarg param0:req, param1:req
.macro setarg argId:req, value:req
.byte 0x10
.byte \param0
.2byte \param1
.byte \argId
.2byte \value
.endm
.macro choosetwoturnanim param0:req, param1:req
.macro choosetwoturnanim ptr1:req, ptr2:req
.byte 0x11
.4byte \param0
.4byte \param1
.4byte \ptr1
.4byte \ptr2
.endm
.macro jumpifmoveturn param0:req, ptr:req
.macro jumpifmoveturn value:req, ptr:req
.byte 0x12
.byte \param0
.byte \value
.4byte \ptr
.endm
@@ -144,13 +144,13 @@
.byte \pan
.endm
.macro panse_1B se:req, param1:req, param2:req, param3:req, param4:req
.macro panse se:req, currentPan:req, targetPan:req, incrementPan:req, delay:req
.byte 0x1b
.2byte \se
.byte \param1
.byte \param2
.byte \param3
.byte \param4
.byte \currentPan
.byte \targetPan
.byte \incrementPan
.byte \delay
.endm
.macro loopsewithpan se:req, pan:req, wait:req, times:req
@@ -168,9 +168,9 @@
.byte \wait
.endm
.macro setbldcnt param0:req
.macro setbldcnt bldcnt:req
.byte 0x1e
.2byte \param0
.2byte \bldcnt
.endm
.macro createsoundtask addr:req, argv:vararg
@@ -186,19 +186,19 @@
.byte 0x20
.endm
.macro jumpargeq param0:req, param1:req, ptr:req
.macro jumpargeq argId:req, value:req, ptr:req
.byte 0x21
.byte \param0
.2byte \param1
.byte \argId
.2byte \value
.4byte \ptr
.endm
.macro monbg_22 battler:req
.macro monbg_static battler:req
.byte 0x22
.byte \battler
.endm
.macro clearmonbg_23 battler:req
.macro clearmonbg_static battler:req
.byte 0x23
.byte \battler
.endm
@@ -208,41 +208,41 @@
.4byte \ptr
.endm
.macro fadetobgfromset param0:req, param1:req, param2:req
.macro fadetobgfromset bgOpponent:req, bgPlayer:req, bgContest:req
.byte 0x25
.byte \param0
.byte \param1
.byte \param2
.byte \bgOpponent
.byte \bgPlayer
.byte \bgContest
.endm
.macro panse_26 se:req, param1:req, param2:req, param3:req, param4:req
.macro panse_adjustnone se:req, currentPan:req, targetPan:req, incrementPan:req, delay:req
.byte 0x26
.2byte \se
.byte \param1
.byte \param2
.byte \param3
.byte \param4
.byte \currentPan
.byte \targetPan
.byte \incrementPan
.byte \delay
.endm
.macro panse_27 se:req, param1:req, param2:req, param3:req, param4:req
.macro panse_adjustall se:req, currentPan:req, targetPan:req, incrementPan:req, delay:req
.byte 0x27
.2byte \se
.byte \param1
.byte \param2
.byte \param3
.byte \param4
.byte \currentPan
.byte \targetPan
.byte \incrementPan
.byte \delay
.endm
.macro monbgprio_28 battler:req
.macro splitbgprio battler:req
.byte 0x28
.byte \battler
.endm
.macro monbgprio_29
.macro splitbgprio_all
.byte 0x29
.endm
.macro monbgprio_2A battler:req
.macro splitbgprio_foes battler:req
.byte 0x2a
.byte \battler
.endm
@@ -257,12 +257,12 @@
.byte \battler
.endm
.macro doublebattle_2D battler:req
.macro teamattack_moveback battler:req
.byte 0x2d
.byte \battler
.endm
.macro doublebattle_2E battler:req
.macro teamattack_movefwd battler:req
.byte 0x2e
.byte \battler
.endm

View File

@@ -53,7 +53,7 @@
special CallApprenticeFunction
.endm
@ Always returns TRUE. No side effect. May have been for debug or dummied for some other reason
@ Always returns TRUE. No side effect. May have been for debug or dummied for some other reason
.macro apprentice_shouldcheckgone
setvar VAR_0x8004, APPRENTICE_FUNC_CHECK_GONE
special CallApprenticeFunction
@@ -94,11 +94,19 @@
@ Buffer some APPRENTICE_BUFF_* string to the given stringvar (0 for STR_VAR_1, 1 for STR_VAR_2, 2 for STR_VAR_3)
.macro apprentice_buff stringvar:req, tobuff:req
setvar VAR_0x8004, APPRENTICE_FUNC_BUFFER_STRING
setvar VAR_0x8005, \stringvar
.if \tobuff >= VARS_START
copyvar VAR_0x8006, \tobuff
.if \stringvar == STR_VAR_1
setvar VAR_0x8005, 0
.elseif \stringvar == STR_VAR_2
setvar VAR_0x8005, 1
.elseif \stringvar == STR_VAR_3
setvar VAR_0x8005, 2
.else
setvar VAR_0x8006, \tobuff
setvar VAR_0x8005, \stringvar
.endif
.if \tobuff >= VARS_START
copyvar VAR_0x8006, \tobuff
.else
setvar VAR_0x8006, \tobuff
.endif
special CallApprenticeFunction
.endm
@@ -109,7 +117,7 @@
special CallApprenticeFunction
.endm
@ Set which mon the Apprentice should lead with
@ Set which mon the Apprentice should lead with
.macro apprentice_setleadmon monId:req
copyvar VAR_0x8005, \monId
setvar VAR_0x8004, APPRENTICE_FUNC_SET_LEAD_MON
@@ -141,7 +149,7 @@
special CallApprenticeFunction
.endm
@ Always returns TRUE. No side effect. May have been for debug or dummied for some other reason
@ Always returns TRUE. No side effect. May have been for debug or dummied for some other reason
.macro apprentice_shouldleave
setvar VAR_0x8004, APPRENTICE_FUNC_SHOULD_LEAVE
special CallApprenticeFunction

View File

@@ -88,7 +88,7 @@
.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
.macro factory_getopponentstyle
setvar VAR_0x8004, BATTLE_FACTORY_FUNC_GET_OPPONENT_STYLE
special CallBattleFactoryFunction
.endm

View File

@@ -31,7 +31,7 @@
special CallBattlePalaceFunction
.endm
@ Buffer the opponents intro speech to gStringVar4. Also used by Battle Arena and Factory
@ Buffer the opponents intro speech to gStringVar4. Also used by Battle Arena and Factory
.macro palace_getopponentintro
setvar VAR_0x8004, BATTLE_PALACE_FUNC_GET_OPPONENT_INTRO
special CallBattlePalaceFunction

View File

@@ -1,7 +1,7 @@
@ Initialize the Battle Pyramid challenge
.macro pyramid_init
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_INIT
special CallBattlePyramidFunction
special CallBattlePyramidFunction
.endm
@ Get the value of some PYRAMID_DATA_*. See GetBattlePyramidData for the data types that can be retrieved
@@ -59,7 +59,7 @@
@ Set the facility trainers to gBattleFrontierTrainers
.macro pyramid_settrainers
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_SET_TRAINERS
special CallBattlePyramidFunction
special CallBattlePyramidFunction
.endm
@ Show the post-battle hint text
@@ -68,11 +68,11 @@
special CallBattlePyramidFunction
.endm
@ VAR_RESULT is 1 if player is on a Pyramid floor, 2 if on the Pyramid peak, 0 otherwise
@ VAR_RESULT is 1 if player is on a Pyramid floor, 2 if on the Pyramid peak, 0 otherwise
.macro pyramid_inchallenge
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_IS_IN
special CallBattlePyramidFunction
.endm
.endm
@ 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
@@ -83,7 +83,7 @@
setvar VAR_0x8007, \sound
.endif
special CallBattlePyramidFunction
.endm
.endm
@ Reset the held items to what they were at the start of the challenge
.macro pyramid_clearhelditems
@@ -100,5 +100,5 @@
@ Reset sketched moves and update the party order in the saveblock
.macro pyramid_resetparty
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_RESTORE_PARTY
special CallBattlePyramidFunction
special CallBattlePyramidFunction
.endm

View File

@@ -136,7 +136,13 @@
@ Buffer the name of gTrainerBattleOpponent_A in STR_VAR_1 (0) or STR_VAR_2 (1)
.macro frontier_gettrainername stringVar:req
setvar VAR_0x8004, FRONTIER_UTIL_FUNC_BUFFER_TRAINER_NAME
setvar VAR_0x8005, \stringVar
.if \stringVar == STR_VAR_1
setvar VAR_0x8005, 0
.elseif \stringVar == STR_VAR_2
setvar VAR_0x8005, 1
.else
setvar VAR_0x8005, \stringVar
.endif
special CallFrontierUtilFunc
.endm

View File

@@ -3,10 +3,10 @@
.byte 0x0
.endm
.macro accuracycheck param0:req, param1:req
.macro accuracycheck failPtr:req, move:req
.byte 0x1
.4byte \param0
.2byte \param1
.4byte \failPtr
.2byte \move
.endm
.macro attackstring
@@ -77,9 +77,9 @@
.2byte \id
.endm
.macro waitmessage param0:req
.macro waitmessage time:req
.byte 0x12
.2byte \param0
.2byte \time
.endm
.macro printfromtable ptr:req
@@ -109,10 +109,17 @@
.byte \battler
.endm
.macro tryfaintmon battler:req, param1:req, ptr:req
.macro tryfaintmon battler:req
.byte 0x19
.byte \battler
.byte \param1
.byte FALSE
.4byte NULL
.endm
.macro tryfaintmon_spikes battler:req, ptr:req
.byte 0x19
.byte \battler
.byte TRUE
.4byte \ptr
.endm
@@ -140,9 +147,9 @@
.4byte \ptr
.endm
.macro jumpifability param0:req, ability:req, ptr:req
.macro jumpifability battler:req, ability:req, ptr:req
.byte 0x1e
.byte \param0
.byte \battler
.byte \ability
.4byte \ptr
.endm
@@ -163,11 +170,11 @@
.4byte \ptr
.endm
.macro jumpifstatus3condition battler:req, status3:req, param2:req, ptr:req
.macro jumpifstatus3condition battler:req, status3:req, condition:req, ptr:req
.byte 0x21
.byte \battler
.4byte \status3
.byte \param2
.byte \condition
.4byte \ptr
.endm
@@ -183,7 +190,7 @@
.byte \battler
.endm
.macro atk24 ptr:req
.macro checkteamslost ptr:req
.byte 0x24
.4byte \ptr
.endm
@@ -207,118 +214,118 @@
.4byte \ptr
.endm
.macro jumpifbyte ifflag:req, param1:req, param2:req, param3:req
.macro jumpifbyte ifflag:req, val:req, byte:req, ptr:req
.byte 0x29
.byte \ifflag
.4byte \param1
.byte \param2
.4byte \param3
.4byte \val
.byte \byte
.4byte \ptr
.endm
.macro jumpifhalfword ifflag:req, param1:req, param2:req, param3:req
.macro jumpifhalfword ifflag:req, val:req, hword:req, ptr:req
.byte 0x2a
.byte \ifflag
.4byte \param1
.2byte \param2
.4byte \param3
.4byte \val
.2byte \hword
.4byte \ptr
.endm
.macro jumpifword ifflag:req, param1:req, param2:req, param3:req
.macro jumpifword ifflag:req, val:req, word:req, ptr:req
.byte 0x2b
.byte \ifflag
.4byte \param1
.4byte \param2
.4byte \param3
.4byte \val
.4byte \word
.4byte \ptr
.endm
.macro jumpifarrayequal param0:req, param1:req, param2:req, param3:req
.macro jumpifarrayequal val1:req, val2:req, size:req, ptr:req
.byte 0x2c
.4byte \param0
.4byte \param1
.byte \param2
.4byte \param3
.4byte \val1
.4byte \val2
.byte \size
.4byte \ptr
.endm
.macro jumpifarraynotequal param0:req, param1:req, param2:req, param3:req
.macro jumpifarraynotequal val1:req, val2:req, size:req, ptr:req
.byte 0x2d
.4byte \param0
.4byte \param1
.byte \param2
.4byte \param3
.4byte \val1
.4byte \val2
.byte \size
.4byte \ptr
.endm
.macro setbyte ptr:req, param1:req
.macro setbyte ptr:req, byte:req
.byte 0x2e
.4byte \ptr
.byte \param1
.byte \byte
.endm
.macro addbyte ptr:req, param1:req
.macro addbyte ptr:req, byte:req
.byte 0x2f
.4byte \ptr
.byte \param1
.byte \byte
.endm
.macro subbyte ptr:req, param1:req
.macro subbyte ptr:req, byte:req
.byte 0x30
.4byte \ptr
.byte \param1
.byte \byte
.endm
.macro copyarray param0:req, param1:req, param2:req
.macro copyarray dest:req, src:req, size:req
.byte 0x31
.4byte \param0
.4byte \param1
.byte \param2
.4byte \dest
.4byte \src
.byte \size
.endm
.macro copyarraywithindex param0:req, param1:req, param2:req, param3:req
.macro copyarraywithindex dest:req, src:req, index:req, size:req
.byte 0x32
.4byte \param0
.4byte \param1
.4byte \param2
.byte \param3
.4byte \dest
.4byte \src
.4byte \index
.byte \size
.endm
.macro orbyte ptr:req, param1:req
.macro orbyte ptr:req, byte:req
.byte 0x33
.4byte \ptr
.byte \param1
.byte \byte
.endm
.macro orhalfword ptr:req, param1:req
.macro orhalfword ptr:req, hword:req
.byte 0x34
.4byte \ptr
.2byte \param1
.2byte \hword
.endm
.macro orword ptr:req, param1:req
.macro orword ptr:req, word:req
.byte 0x35
.4byte \ptr
.4byte \param1
.4byte \word
.endm
.macro bicbyte ptr:req, param1:req
.macro bicbyte ptr:req, byte:req
.byte 0x36
.4byte \ptr
.byte \param1
.byte \byte
.endm
.macro bichalfword ptr:req, param1:req
.macro bichalfword ptr:req, hword:req
.byte 0x37
.4byte \ptr
.2byte \param1
.2byte \hword
.endm
.macro bicword ptr:req, param1:req
.macro bicword ptr:req, word:req
.byte 0x38
.4byte \ptr
.4byte \param1
.4byte \word
.endm
.macro pause param0:req
.macro pause time:req
.byte 0x39
.2byte \param0
.2byte \time
.endm
.macro waitstate
@@ -373,18 +380,18 @@
.byte 0x44
.endm
.macro playanimation battler:req, param1:req, param2:req
.macro playanimation battler:req, animType:req, arg=NULL
.byte 0x45
.byte \battler
.byte \param1
.4byte \param2
.byte \animType
.4byte \arg
.endm
.macro playanimation2 battler:req, param1:req, param2:req
.macro playanimation_var battler:req, animType:req, arg=NULL
.byte 0x46
.byte \battler
.4byte \param1
.4byte \param2
.4byte \animType
.4byte \arg
.endm
.macro setgraphicalstatchangevalues
@@ -398,10 +405,10 @@
.byte \statchange
.endm
.macro moveend param0:req, param1:req
.macro moveend endMode:req, endState:req
.byte 0x49
.byte \param0
.byte \param1
.byte \endMode
.byte \endState
.endm
@ Help macros for 5 uses of moveend command
@@ -466,16 +473,16 @@
.4byte \ptr
.endm
.macro openpartyscreen param0:req, param1:req
.macro openpartyscreen battler:req, ptr:req
.byte 0x50
.byte \param0
.4byte \param1
.byte \battler
.4byte \ptr
.endm
.macro switchhandleorder battler:req, param1:req
.macro switchhandleorder battler:req, state:req
.byte 0x51
.byte \battler
.byte \param1
.byte \state
.endm
.macro switchineffects battler:req
@@ -488,14 +495,14 @@
.byte \battler
.endm
.macro playse param0:req
.macro playse song:req
.byte 0x54
.2byte \param0
.2byte \song
.endm
.macro fanfare param0:req
.macro fanfare song:req
.byte 0x55
.2byte \param0
.2byte \song
.endm
.macro playfaintcry battler:req
@@ -512,21 +519,21 @@
.byte \battler
.endm
.macro handlelearnnewmove param0:req, param1:req, param2:req
.macro handlelearnnewmove learnedMovePtr:req, nothingToLearnPtr:req, isFirstMove:req
.byte 0x59
.4byte \param0
.4byte \param1
.byte \param2
.4byte \learnedMovePtr
.4byte \nothingToLearnPtr
.byte \isFirstMove
.endm
.macro yesnoboxlearnmove param0:req
.macro yesnoboxlearnmove forgotMovePtr:req
.byte 0x5a
.4byte \param0
.4byte \forgotMovePtr
.endm
.macro yesnoboxstoplearningmove param0:req
.macro yesnoboxstoplearningmove noPtr:req
.byte 0x5b
.4byte \param0
.4byte \noPtr
.endm
.macro hitanimation battler:req
@@ -538,7 +545,7 @@
.byte 0x5d
.endm
.macro atk5E battler:req
.macro updatebattlermoves battler:req
.byte 0x5e
.byte \battler
.endm
@@ -547,9 +554,9 @@
.byte 0x5f
.endm
.macro incrementgamestat param0:req
.macro incrementgamestat stat:req
.byte 0x60
.byte \param0
.byte \stat
.endm
.macro drawpartystatussummary battler:req
@@ -562,9 +569,9 @@
.byte \battler
.endm
.macro jumptocalledmove param0:req
.macro jumptocalledmove notChosenMove:req
.byte 0x63
.byte \param0
.byte \notChosenMove
.endm
.macro statusanimation battler:req
@@ -578,11 +585,11 @@
.4byte \status2
.endm
.macro chosenstatusanimation battler:req, param1:req, param2:req
.macro chosenstatusanimation battler:req, isStatus2:req, status:req
.byte 0x66
.byte \battler
.byte \param1
.4byte \param2
.byte \isStatus2
.4byte \status
.endm
.macro yesnobox
@@ -651,10 +658,10 @@
.byte 0x75
.endm
.macro various battler:req, param1:req
.macro various battler:req, id:req
.byte 0x76
.byte \battler
.byte \param1
.byte \id
.endm
.macro setprotectlike
@@ -674,9 +681,9 @@
.4byte \ptr
.endm
.macro tryhealhalfhealth param0:req, battler:req
.macro tryhealhalfhealth ptr:req, battler:req
.byte 0x7b
.4byte \param0
.4byte \ptr
.byte \battler
.endm
@@ -696,14 +703,14 @@
.byte 0x7f
.endm
.macro manipulatedamage param0:req
.macro manipulatedamage mode:req
.byte 0x80
.byte \param0
.byte \mode
.endm
.macro trysetrest param0:req
.macro trysetrest ptr:req
.byte 0x81
.4byte \param0
.4byte \ptr
.endm
.macro jumpifnotfirstturn ptr:req
@@ -715,23 +722,23 @@
.byte 0x83
.endm
.macro jumpifcantmakeasleep param0:req
.macro jumpifcantmakeasleep ptr:req
.byte 0x84
.4byte \param0
.4byte \ptr
.endm
.macro stockpile
.byte 0x85
.endm
.macro stockpiletobasedamage param0:req
.macro stockpiletobasedamage ptr:req
.byte 0x86
.4byte \param0
.4byte \ptr
.endm
.macro stockpiletohpheal param0:req
.macro stockpiletohpheal ptr:req
.byte 0x87
.4byte \param0
.4byte \ptr
.endm
.macro negativedamage
@@ -756,23 +763,23 @@
.byte 0x8c
.endm
.macro setmultihitcounter param0:req
.macro setmultihitcounter val:req
.byte 0x8d
.byte \param0
.byte \val
.endm
.macro initmultihitstring
.byte 0x8e
.endm
.macro forcerandomswitch param0:req
.macro forcerandomswitch ptr:req
.byte 0x8f
.4byte \param0
.4byte \ptr
.endm
.macro tryconversiontypechange param0:req
.macro tryconversiontypechange ptr:req
.byte 0x90
.4byte \param0
.4byte \ptr
.endm
.macro givepaydaymoney
@@ -783,9 +790,9 @@
.byte 0x92
.endm
.macro tryKO param0:req
.macro tryKO ptr:req
.byte 0x93
.4byte \param0
.4byte \ptr
.endm
.macro damagetohalftargethp
@@ -800,9 +807,9 @@
.byte 0x96
.endm
.macro tryinfatuating param0:req
.macro tryinfatuating ptr:req
.byte 0x97
.4byte \param0
.4byte \ptr
.endm
.macro updatestatusicon battler:req
@@ -826,9 +833,9 @@
.byte 0x9c
.endm
.macro mimicattackcopy param0:req
.macro mimicattackcopy ptr:req
.byte 0x9d
.4byte \param0
.4byte \ptr
.endm
.macro metronome
@@ -843,48 +850,48 @@
.byte 0xa0
.endm
.macro counterdamagecalculator param0:req
.macro counterdamagecalculator ptr:req
.byte 0xa1
.4byte \param0
.4byte \ptr
.endm
.macro mirrorcoatdamagecalculator param0:req
.macro mirrorcoatdamagecalculator ptr:req
.byte 0xa2
.4byte \param0
.4byte \ptr
.endm
.macro disablelastusedattack param0:req
.macro disablelastusedattack ptr:req
.byte 0xa3
.4byte \param0
.4byte \ptr
.endm
.macro trysetencore param0:req
.macro trysetencore ptr:req
.byte 0xa4
.4byte \param0
.4byte \ptr
.endm
.macro painsplitdmgcalc param0:req
.macro painsplitdmgcalc ptr:req
.byte 0xa5
.4byte \param0
.4byte \ptr
.endm
.macro settypetorandomresistance param0:req
.macro settypetorandomresistance ptr:req
.byte 0xa6
.4byte \param0
.4byte \ptr
.endm
.macro setalwayshitflag
.byte 0xa7
.endm
.macro copymovepermanently param0:req
.macro copymovepermanently ptr:req
.byte 0xa8
.4byte \param0
.4byte \ptr
.endm
.macro trychoosesleeptalkmove param0:req
.macro trychoosesleeptalkmove ptr:req
.byte 0xa9
.4byte \param0
.4byte \ptr
.endm
.macro setdestinybond
@@ -899,32 +906,32 @@
.byte 0xac
.endm
.macro tryspiteppreduce param0:req
.macro tryspiteppreduce ptr:req
.byte 0xad
.4byte \param0
.4byte \ptr
.endm
.macro healpartystatus
.byte 0xae
.endm
.macro cursetarget param0:req
.macro cursetarget ptr:req
.byte 0xaf
.4byte \param0
.4byte \ptr
.endm
.macro trysetspikes param0:req
.macro trysetspikes ptr:req
.byte 0xb0
.4byte \param0
.4byte \ptr
.endm
.macro setforesight
.byte 0xb1
.endm
.macro trysetperishsong param0:req
.macro trysetperishsong ptr:req
.byte 0xb2
.4byte \param0
.4byte \ptr
.endm
.macro rolloutdamagecalculation
@@ -957,23 +964,23 @@
.byte 0xb9
.endm
.macro jumpifnopursuitswitchdmg param0:req
.macro jumpifnopursuitswitchdmg ptr:req
.byte 0xba
.4byte \param0
.4byte \ptr
.endm
.macro setsunny
.byte 0xbb
.endm
.macro maxattackhalvehp param0:req
.macro maxattackhalvehp ptr:req
.byte 0xbc
.4byte \param0
.4byte \ptr
.endm
.macro copyfoestats param0:req
.macro copyfoestats ptr:req
.byte 0xbd
.4byte \param0
.4byte \ptr
.endm
.macro rapidspinfree
@@ -984,9 +991,9 @@
.byte 0xbf
.endm
.macro recoverbasedonsunlight param0:req
.macro recoverbasedonsunlight ptr:req
.byte 0xc0
.4byte \param0
.4byte \ptr
.endm
.macro hiddenpowercalc
@@ -997,15 +1004,15 @@
.byte 0xc2
.endm
.macro trysetfutureattack param0:req
.macro trysetfutureattack ptr:req
.byte 0xc3
.4byte \param0
.4byte \ptr
.endm
.macro trydobeatup param0:req, param1:req
.macro trydobeatup endPtr:req, failPtr:req
.byte 0xc4
.4byte \param0
.4byte \param1
.4byte \endPtr
.4byte \failPtr
.endm
.macro setsemiinvulnerablebit
@@ -1041,107 +1048,107 @@
.byte 0xcc
.endm
.macro cureifburnedparalysedorpoisoned param0:req
.macro cureifburnedparalysedorpoisoned ptr:req
.byte 0xcd
.4byte \param0
.4byte \ptr
.endm
.macro settorment param0:req
.macro settorment ptr:req
.byte 0xce
.4byte \param0
.4byte \ptr
.endm
.macro jumpifnodamage param0:req
.macro jumpifnodamage ptr:req
.byte 0xcf
.4byte \param0
.4byte \ptr
.endm
.macro settaunt param0:req
.macro settaunt ptr:req
.byte 0xd0
.4byte \param0
.4byte \ptr
.endm
.macro trysethelpinghand param0:req
.macro trysethelpinghand ptr:req
.byte 0xd1
.4byte \param0
.4byte \ptr
.endm
.macro tryswapitems param0:req
.macro tryswapitems ptr:req
.byte 0xd2
.4byte \param0
.4byte \ptr
.endm
.macro trycopyability param0:req
.macro trycopyability ptr:req
.byte 0xd3
.4byte \param0
.4byte \ptr
.endm
.macro trywish param0:req, param1:req
.macro trywish turnNumber:req, ptr:req
.byte 0xd4
.byte \param0
.4byte \param1
.byte \turnNumber
.4byte \ptr
.endm
.macro trysetroots param0:req
.macro trysetroots ptr:req
.byte 0xd5
.4byte \param0
.4byte \ptr
.endm
.macro doubledamagedealtifdamaged
.byte 0xd6
.endm
.macro setyawn param0:req
.macro setyawn ptr:req
.byte 0xd7
.4byte \param0
.4byte \ptr
.endm
.macro setdamagetohealthdifference param0:req
.macro setdamagetohealthdifference ptr:req
.byte 0xd8
.4byte \param0
.4byte \ptr
.endm
.macro scaledamagebyhealthratio
.byte 0xd9
.endm
.macro tryswapabilities param0:req
.macro tryswapabilities ptr:req
.byte 0xda
.4byte \param0
.4byte \ptr
.endm
.macro tryimprison param0:req
.macro tryimprison ptr:req
.byte 0xdb
.4byte \param0
.4byte \ptr
.endm
.macro trysetgrudge param0:req
.macro trysetgrudge ptr:req
.byte 0xdc
.4byte \param0
.4byte \ptr
.endm
.macro weightdamagecalculation
.byte 0xdd
.endm
.macro assistattackselect param0:req
.macro assistattackselect ptr:req
.byte 0xde
.4byte \param0
.4byte \ptr
.endm
.macro trysetmagiccoat param0:req
.macro trysetmagiccoat ptr:req
.byte 0xdf
.4byte \param0
.4byte \ptr
.endm
.macro trysetsnatch param0:req
.macro trysetsnatch ptr:req
.byte 0xe0
.4byte \param0
.4byte \ptr
.endm
.macro trygetintimidatetarget param0:req
.macro trygetintimidatetarget ptr:req
.byte 0xe1
.4byte \param0
.4byte \ptr
.endm
.macro switchoutabilities battler:req
@@ -1149,10 +1156,10 @@
.byte \battler
.endm
.macro jumpifhasnohp battler:req, param1:req
.macro jumpifhasnohp battler:req, ptr:req
.byte 0xe3
.byte \battler
.4byte \param1
.4byte \ptr
.endm
.macro getsecretpowereffect
@@ -1171,28 +1178,28 @@
.byte 0xe7
.endm
.macro settypebasedhalvers param0:req
.macro settypebasedhalvers ptr:req
.byte 0xe8
.4byte \param0
.4byte \ptr
.endm
.macro setweatherballtype
.byte 0xe9
.endm
.macro tryrecycleitem param0:req
.macro tryrecycleitem ptr:req
.byte 0xea
.4byte \param0
.4byte \ptr
.endm
.macro settypetoterrain param0:req
.macro settypetoterrain ptr:req
.byte 0xeb
.4byte \param0
.4byte \ptr
.endm
.macro pursuitrelated param0:req
.macro pursuitdoubles ptr:req
.byte 0xec
.4byte \param0
.4byte \ptr
.endm
.macro snatchsetbattlers
@@ -1211,18 +1218,18 @@
.byte 0xf0
.endm
.macro trysetcaughtmondexflags param0:req
.macro trysetcaughtmondexflags ptr:req
.byte 0xf1
.4byte \param0
.4byte \ptr
.endm
.macro displaydexinfo
.byte 0xf2
.endm
.macro trygivecaughtmonnick param0:req
.macro trygivecaughtmonnick ptr:req
.byte 0xf3
.4byte \param0
.4byte \ptr
.endm
.macro subattackerhpbydmg
@@ -1241,9 +1248,9 @@
.byte 0xf7
.endm
.macro trainerslideout param0:req
.macro trainerslideout position:req
.byte 0xf8
.byte \param0
.byte \position
.endm
@ various command changed to more readable macros
@@ -1275,8 +1282,8 @@
various \battler, VARIOUS_UPDATE_CHOICE_MOVE_ON_LVL_UP
.endm
.macro various7 battler:req
various \battler, 7
.macro resetplayerfainted
various BS_ATTACKER, VARIOUS_RESET_PLAYER_FAINTED
.endm
.macro palaceflavortext battler:req
@@ -1303,12 +1310,12 @@
various \battler, VARIOUS_EMIT_YESNOBOX
.endm
.macro various14 battler:req
various \battler, 14
.macro arenadrawreftextbox
various BS_ATTACKER, VARIOUS_DRAW_ARENA_REF_TEXT_BOX
.endm
.macro various15 battler:req
various \battler, 15
.macro arenaerasereftextbox
various BS_ATTACKER, VARIOUS_ERASE_ARENA_REF_TEXT_BOX
.endm
.macro arenajudgmentstring id:req
@@ -1340,11 +1347,11 @@
.endm
.macro setalreadystatusedmoveattempt battler:req
various \battler, 23
various \battler, VARIOUS_SET_ALREADY_STATUS_MOVE_ATTEMPT
.endm
.macro various24 battler:req
various \battler, 24
.macro palacetryescapestatus battler:req
various \battler, VARIOUS_PALACE_TRY_ESCAPE_STATUS
.endm
.macro setoutcomeonteleport battler:req
@@ -1357,11 +1364,11 @@
@ helpful macros
.macro setstatchanger stat:req, stages:req, down:req
setbyte sSTATCHANGER \stat | \stages << 4 | \down << 7
setbyte sSTATCHANGER, \stat | \stages << 4 | \down << 7
.endm
.macro setmoveeffect effect:req
setbyte cEFFECT_CHOOSER \effect
setbyte cEFFECT_CHOOSER, \effect
.endm
.macro chosenstatus1animation battler:req, status:req
@@ -1413,11 +1420,11 @@
.endm
.macro jumpifstatus3 battler:req, status:req, jumpptr:req
jumpifstatus3condition \battler, \status, 0x0, \jumpptr
jumpifstatus3condition \battler, \status, FALSE, \jumpptr
.endm
.macro jumpifnostatus3 battler:req, status:req, jumpptr:req
jumpifstatus3condition \battler, \status, 0x1, \jumpptr
jumpifstatus3condition \battler, \status, TRUE, \jumpptr
.endm
.macro jumpifmovehadnoeffect jumpptr:req

View File

@@ -26,7 +26,7 @@
special CallVerdanturfTentFunction
.endm
@ Buffers the opponents intro speech to STR_VAR_4. Despite being a Verdanturf Tent function, it serves the same purpose for all 3 tents.
@ Buffers the opponents intro speech to STR_VAR_4. Despite being a Verdanturf Tent function, it serves the same purpose for all 3 tents.
.macro battletent_getopponentintro
setvar VAR_0x8004, VERDANTURF_TENT_FUNC_GET_OPPONENT_INTRO
special CallVerdanturfTentFunction
@@ -36,7 +36,7 @@
.macro verdanturftent_save challengeStatus:req
setvar VAR_0x8004, VERDANTURF_TENT_FUNC_SAVE
setvar VAR_0x8005, \challengeStatus
special CallVerdanturfTentFunction
special CallVerdanturfTentFunction
.endm
@ Set the prize item as randomly selected from a list. Randomness unnecessary, as the list is only 1 item
@@ -49,7 +49,7 @@
.macro verdanturftent_giveprize
setvar VAR_0x8004, VERDANTURF_TENT_FUNC_GIVE_PRIZE
special CallVerdanturfTentFunction
.endm
.endm
@ Fallarbor Tent
@@ -79,7 +79,7 @@
setvar VAR_0x8004, FALLARBOR_TENT_FUNC_SAVE
setvar VAR_0x8005, \challengeStatus
special CallFallarborTentFunction
.endm
.endm
@ Set the prize item as randomly selected from a list. Randomness unnecessary, as the list is only 1 item
.macro fallarbortent_setrandomprize
@@ -97,7 +97,7 @@
.macro fallarbortent_getopponentname
setvar VAR_0x8004, FALLARBOR_TENT_FUNC_GET_OPPONENT_NAME
special CallFallarborTentFunction
.endm
.endm
@ Slateport Tent
@@ -127,15 +127,15 @@
setvar VAR_0x8004, SLATEPORT_TENT_FUNC_SAVE
setvar VAR_0x8005, \challengeStatus
special CallSlateportTentFunction
.endm
.endm
@ Set the prize item as randomly selected from a list. Randomness unnecessary, as the list is only 1 item
@ Set the prize item as randomly selected from a list. Randomness unnecessary, as the list is only 1 item
.macro slateporttent_setrandomprize
setvar VAR_0x8004, SLATEPORT_TENT_FUNC_SET_RANDOM_PRIZE
special CallSlateportTentFunction
.endm
@ Give the current prize item. FALSE if no room for prize
@ Give the current prize item. FALSE if no room for prize
.macro slateporttent_giveprize
setvar VAR_0x8004, SLATEPORT_TENT_FUNC_GIVE_PRIZE
special CallSlateportTentFunction
@@ -157,7 +157,7 @@
.macro slateporttent_generateopponentmons
setvar VAR_0x8004, SLATEPORT_TENT_FUNC_GENERATE_OPPONENT_MONS
special CallSlateportTentFunction
.endm
.endm
@ Slateport Tent's version of factory_generaterentalmons
.macro slateporttent_generaterentalmons

File diff suppressed because it is too large Load Diff

View File

@@ -1,131 +1,166 @@
.macro create_movement_action name
enum _\name
.macro create_movement_action name:req, value:req
.macro \name
.byte _\name
.byte \value
.endm
.endm
enum_start
create_movement_action face_down
create_movement_action face_up
create_movement_action face_left
create_movement_action face_right
create_movement_action walk_slow_down
create_movement_action walk_slow_up
create_movement_action walk_slow_left
create_movement_action walk_slow_right
create_movement_action walk_down
create_movement_action walk_up
create_movement_action walk_left
create_movement_action walk_right
create_movement_action jump_2_down
create_movement_action jump_2_up
create_movement_action jump_2_left
create_movement_action jump_2_right
create_movement_action delay_1
create_movement_action delay_2
create_movement_action delay_4
create_movement_action delay_8
create_movement_action delay_16
create_movement_action walk_fast_down
create_movement_action walk_fast_up
create_movement_action walk_fast_left
create_movement_action walk_fast_right
create_movement_action walk_in_place_slow_down
create_movement_action walk_in_place_slow_up
create_movement_action walk_in_place_slow_left
create_movement_action walk_in_place_slow_right
create_movement_action walk_in_place_down
create_movement_action walk_in_place_up
create_movement_action walk_in_place_left
create_movement_action walk_in_place_right
create_movement_action walk_in_place_fast_down
create_movement_action walk_in_place_fast_up
create_movement_action walk_in_place_fast_left
create_movement_action walk_in_place_fast_right
create_movement_action walk_in_place_fastest_down
create_movement_action walk_in_place_fastest_up
create_movement_action walk_in_place_fastest_left
create_movement_action walk_in_place_fastest_right
create_movement_action ride_water_current_down
create_movement_action ride_water_current_up
create_movement_action ride_water_current_left
create_movement_action ride_water_current_right
create_movement_action walk_fastest_down
create_movement_action walk_fastest_up
create_movement_action walk_fastest_left
create_movement_action walk_fastest_right
create_movement_action slide_down
create_movement_action slide_up
create_movement_action slide_left
create_movement_action slide_right
create_movement_action player_run_down
create_movement_action player_run_up
create_movement_action player_run_left
create_movement_action player_run_right
create_movement_action start_anim_in_direction
create_movement_action jump_special_down
create_movement_action jump_special_up
create_movement_action jump_special_left
create_movement_action jump_special_right
create_movement_action face_player
create_movement_action face_away_player
create_movement_action lock_facing_direction
create_movement_action unlock_facing_direction
create_movement_action jump_down
create_movement_action jump_up
create_movement_action jump_left
create_movement_action jump_right
create_movement_action jump_in_place_down
create_movement_action jump_in_place_up
create_movement_action jump_in_place_left
create_movement_action jump_in_place_right
create_movement_action jump_in_place_down_up
create_movement_action jump_in_place_up_down
create_movement_action jump_in_place_left_right
create_movement_action jump_in_place_right_left
create_movement_action face_original_direction
create_movement_action nurse_joy_bow
create_movement_action enable_jump_landing_ground_effect
create_movement_action disable_jump_landing_ground_effect
create_movement_action disable_anim
create_movement_action restore_anim
create_movement_action set_invisible
create_movement_action set_visible
create_movement_action emote_exclamation_mark
create_movement_action emote_question_mark
create_movement_action emote_heart
create_movement_action reveal_trainer
create_movement_action rock_smash_break
create_movement_action cut_tree
create_movement_action set_fixed_priority
create_movement_action clear_fixed_priority
create_movement_action init_affine_anim
create_movement_action clear_affine_anim
create_movement_action hide_reflection
create_movement_action show_reflection
create_movement_action walk_down_start_affine
create_movement_action walk_down_affine
create_movement_action face_down, MOVEMENT_ACTION_FACE_DOWN
create_movement_action face_up, MOVEMENT_ACTION_FACE_UP
create_movement_action face_left, MOVEMENT_ACTION_FACE_LEFT
create_movement_action face_right, MOVEMENT_ACTION_FACE_RIGHT
create_movement_action walk_slow_down, MOVEMENT_ACTION_WALK_SLOW_DOWN
create_movement_action walk_slow_up, MOVEMENT_ACTION_WALK_SLOW_UP
create_movement_action walk_slow_left, MOVEMENT_ACTION_WALK_SLOW_LEFT
create_movement_action walk_slow_right, MOVEMENT_ACTION_WALK_SLOW_RIGHT
create_movement_action walk_down, MOVEMENT_ACTION_WALK_NORMAL_DOWN
create_movement_action walk_up, MOVEMENT_ACTION_WALK_NORMAL_UP
create_movement_action walk_left, MOVEMENT_ACTION_WALK_NORMAL_LEFT
create_movement_action walk_right, MOVEMENT_ACTION_WALK_NORMAL_RIGHT
create_movement_action jump_2_down, MOVEMENT_ACTION_JUMP_2_DOWN
create_movement_action jump_2_up, MOVEMENT_ACTION_JUMP_2_UP
create_movement_action jump_2_left, MOVEMENT_ACTION_JUMP_2_LEFT
create_movement_action jump_2_right, MOVEMENT_ACTION_JUMP_2_RIGHT
create_movement_action delay_1, MOVEMENT_ACTION_DELAY_1
create_movement_action delay_2, MOVEMENT_ACTION_DELAY_2
create_movement_action delay_4, MOVEMENT_ACTION_DELAY_4
create_movement_action delay_8, MOVEMENT_ACTION_DELAY_8
create_movement_action delay_16, MOVEMENT_ACTION_DELAY_16
create_movement_action walk_fast_down, MOVEMENT_ACTION_WALK_FAST_DOWN
create_movement_action walk_fast_up, MOVEMENT_ACTION_WALK_FAST_UP
create_movement_action walk_fast_left, MOVEMENT_ACTION_WALK_FAST_LEFT
create_movement_action walk_fast_right, MOVEMENT_ACTION_WALK_FAST_RIGHT
create_movement_action walk_in_place_slow_down, MOVEMENT_ACTION_WALK_IN_PLACE_SLOW_DOWN
create_movement_action walk_in_place_slow_up, MOVEMENT_ACTION_WALK_IN_PLACE_SLOW_UP
create_movement_action walk_in_place_slow_left, MOVEMENT_ACTION_WALK_IN_PLACE_SLOW_LEFT
create_movement_action walk_in_place_slow_right, MOVEMENT_ACTION_WALK_IN_PLACE_SLOW_RIGHT
create_movement_action walk_in_place_down, MOVEMENT_ACTION_WALK_IN_PLACE_NORMAL_DOWN
create_movement_action walk_in_place_up, MOVEMENT_ACTION_WALK_IN_PLACE_NORMAL_UP
create_movement_action walk_in_place_left, MOVEMENT_ACTION_WALK_IN_PLACE_NORMAL_LEFT
create_movement_action walk_in_place_right, MOVEMENT_ACTION_WALK_IN_PLACE_NORMAL_RIGHT
create_movement_action walk_in_place_fast_down, MOVEMENT_ACTION_WALK_IN_PLACE_FAST_DOWN
create_movement_action walk_in_place_fast_up, MOVEMENT_ACTION_WALK_IN_PLACE_FAST_UP
create_movement_action walk_in_place_fast_left, MOVEMENT_ACTION_WALK_IN_PLACE_FAST_LEFT
create_movement_action walk_in_place_fast_right, MOVEMENT_ACTION_WALK_IN_PLACE_FAST_RIGHT
create_movement_action walk_in_place_faster_down, MOVEMENT_ACTION_WALK_IN_PLACE_FASTER_DOWN
create_movement_action walk_in_place_faster_up, MOVEMENT_ACTION_WALK_IN_PLACE_FASTER_UP
create_movement_action walk_in_place_faster_left, MOVEMENT_ACTION_WALK_IN_PLACE_FASTER_LEFT
create_movement_action walk_in_place_faster_right, MOVEMENT_ACTION_WALK_IN_PLACE_FASTER_RIGHT
create_movement_action ride_water_current_down, MOVEMENT_ACTION_RIDE_WATER_CURRENT_DOWN
create_movement_action ride_water_current_up, MOVEMENT_ACTION_RIDE_WATER_CURRENT_UP
create_movement_action ride_water_current_left, MOVEMENT_ACTION_RIDE_WATER_CURRENT_LEFT
create_movement_action ride_water_current_right, MOVEMENT_ACTION_RIDE_WATER_CURRENT_RIGHT
create_movement_action walk_faster_down, MOVEMENT_ACTION_WALK_FASTER_DOWN
create_movement_action walk_faster_up, MOVEMENT_ACTION_WALK_FASTER_UP
create_movement_action walk_faster_left, MOVEMENT_ACTION_WALK_FASTER_LEFT
create_movement_action walk_faster_right, MOVEMENT_ACTION_WALK_FASTER_RIGHT
create_movement_action slide_down, MOVEMENT_ACTION_SLIDE_DOWN
create_movement_action slide_up, MOVEMENT_ACTION_SLIDE_UP
create_movement_action slide_left, MOVEMENT_ACTION_SLIDE_LEFT
create_movement_action slide_right, MOVEMENT_ACTION_SLIDE_RIGHT
create_movement_action player_run_down, MOVEMENT_ACTION_PLAYER_RUN_DOWN
create_movement_action player_run_up, MOVEMENT_ACTION_PLAYER_RUN_UP
create_movement_action player_run_left, MOVEMENT_ACTION_PLAYER_RUN_LEFT
create_movement_action player_run_right, MOVEMENT_ACTION_PLAYER_RUN_RIGHT
create_movement_action start_anim_in_direction, MOVEMENT_ACTION_START_ANIM_IN_DIRECTION
create_movement_action jump_special_down, MOVEMENT_ACTION_JUMP_SPECIAL_DOWN
create_movement_action jump_special_up, MOVEMENT_ACTION_JUMP_SPECIAL_UP
create_movement_action jump_special_left, MOVEMENT_ACTION_JUMP_SPECIAL_LEFT
create_movement_action jump_special_right, MOVEMENT_ACTION_JUMP_SPECIAL_RIGHT
create_movement_action face_player, MOVEMENT_ACTION_FACE_PLAYER
create_movement_action face_away_player, MOVEMENT_ACTION_FACE_AWAY_PLAYER
create_movement_action lock_facing_direction, MOVEMENT_ACTION_LOCK_FACING_DIRECTION
create_movement_action unlock_facing_direction, MOVEMENT_ACTION_UNLOCK_FACING_DIRECTION
create_movement_action jump_down, MOVEMENT_ACTION_JUMP_DOWN
create_movement_action jump_up, MOVEMENT_ACTION_JUMP_UP
create_movement_action jump_left, MOVEMENT_ACTION_JUMP_LEFT
create_movement_action jump_right, MOVEMENT_ACTION_JUMP_RIGHT
create_movement_action jump_in_place_down, MOVEMENT_ACTION_JUMP_IN_PLACE_DOWN
create_movement_action jump_in_place_up, MOVEMENT_ACTION_JUMP_IN_PLACE_UP
create_movement_action jump_in_place_left, MOVEMENT_ACTION_JUMP_IN_PLACE_LEFT
create_movement_action jump_in_place_right, MOVEMENT_ACTION_JUMP_IN_PLACE_RIGHT
create_movement_action jump_in_place_down_up, MOVEMENT_ACTION_JUMP_IN_PLACE_DOWN_UP
create_movement_action jump_in_place_up_down, MOVEMENT_ACTION_JUMP_IN_PLACE_UP_DOWN
create_movement_action jump_in_place_left_right, MOVEMENT_ACTION_JUMP_IN_PLACE_LEFT_RIGHT
create_movement_action jump_in_place_right_left, MOVEMENT_ACTION_JUMP_IN_PLACE_RIGHT_LEFT
create_movement_action face_original_direction, MOVEMENT_ACTION_FACE_ORIGINAL_DIRECTION
create_movement_action nurse_joy_bow, MOVEMENT_ACTION_NURSE_JOY_BOW_DOWN
create_movement_action enable_jump_landing_ground_effect, MOVEMENT_ACTION_ENABLE_JUMP_LANDING_GROUND_EFFECT
create_movement_action disable_jump_landing_ground_effect, MOVEMENT_ACTION_DISABLE_JUMP_LANDING_GROUND_EFFECT
create_movement_action disable_anim, MOVEMENT_ACTION_DISABLE_ANIMATION
create_movement_action restore_anim, MOVEMENT_ACTION_RESTORE_ANIMATION
create_movement_action set_invisible, MOVEMENT_ACTION_SET_INVISIBLE
create_movement_action set_visible, MOVEMENT_ACTION_SET_VISIBLE
create_movement_action emote_exclamation_mark, MOVEMENT_ACTION_EMOTE_EXCLAMATION_MARK
create_movement_action emote_question_mark, MOVEMENT_ACTION_EMOTE_QUESTION_MARK
create_movement_action emote_heart, MOVEMENT_ACTION_EMOTE_HEART
create_movement_action reveal_trainer, MOVEMENT_ACTION_REVEAL_TRAINER
create_movement_action rock_smash_break, MOVEMENT_ACTION_ROCK_SMASH_BREAK
create_movement_action cut_tree, MOVEMENT_ACTION_CUT_TREE
create_movement_action set_fixed_priority, MOVEMENT_ACTION_SET_FIXED_PRIORITY
create_movement_action clear_fixed_priority, MOVEMENT_ACTION_CLEAR_FIXED_PRIORITY
create_movement_action init_affine_anim, MOVEMENT_ACTION_INIT_AFFINE_ANIM
create_movement_action clear_affine_anim, MOVEMENT_ACTION_CLEAR_AFFINE_ANIM
create_movement_action hide_reflection, MOVEMENT_ACTION_HIDE_REFLECTION
create_movement_action show_reflection, MOVEMENT_ACTION_SHOW_REFLECTION
create_movement_action walk_down_start_affine, MOVEMENT_ACTION_WALK_DOWN_START_AFFINE
create_movement_action walk_down_affine, MOVEMENT_ACTION_WALK_DOWN_AFFINE
create_movement_action acro_wheelie_face_down, MOVEMENT_ACTION_ACRO_WHEELIE_FACE_DOWN
create_movement_action acro_wheelie_face_up, MOVEMENT_ACTION_ACRO_WHEELIE_FACE_UP
create_movement_action acro_wheelie_face_left, MOVEMENT_ACTION_ACRO_WHEELIE_FACE_LEFT
create_movement_action acro_wheelie_face_right, MOVEMENT_ACTION_ACRO_WHEELIE_FACE_RIGHT
create_movement_action acro_pop_wheelie_down, MOVEMENT_ACTION_ACRO_POP_WHEELIE_DOWN
create_movement_action acro_pop_wheelie_up, MOVEMENT_ACTION_ACRO_POP_WHEELIE_UP
create_movement_action acro_pop_wheelie_left, MOVEMENT_ACTION_ACRO_POP_WHEELIE_LEFT
create_movement_action acro_pop_wheelie_right, MOVEMENT_ACTION_ACRO_POP_WHEELIE_RIGHT
create_movement_action acro_end_wheelie_face_down, MOVEMENT_ACTION_ACRO_END_WHEELIE_FACE_DOWN
create_movement_action acro_end_wheelie_face_up, MOVEMENT_ACTION_ACRO_END_WHEELIE_FACE_UP
create_movement_action acro_end_wheelie_face_left, MOVEMENT_ACTION_ACRO_END_WHEELIE_FACE_LEFT
create_movement_action acro_end_wheelie_face_right, MOVEMENT_ACTION_ACRO_END_WHEELIE_FACE_RIGHT
create_movement_action acro_wheelie_hop_face_down, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_FACE_DOWN
create_movement_action acro_wheelie_hop_face_up, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_FACE_UP
create_movement_action acro_wheelie_hop_face_left, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_FACE_LEFT
create_movement_action acro_wheelie_hop_face_right, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_FACE_RIGHT
create_movement_action acro_wheelie_hop_down, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_DOWN
create_movement_action acro_wheelie_hop_up, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_UP
create_movement_action acro_wheelie_hop_left, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_LEFT
create_movement_action acro_wheelie_hop_right, MOVEMENT_ACTION_ACRO_WHEELIE_HOP_RIGHT
create_movement_action acro_wheelie_jump_down, MOVEMENT_ACTION_ACRO_WHEELIE_JUMP_DOWN
create_movement_action acro_wheelie_jump_up, MOVEMENT_ACTION_ACRO_WHEELIE_JUMP_UP
create_movement_action acro_wheelie_jump_left, MOVEMENT_ACTION_ACRO_WHEELIE_JUMP_LEFT
create_movement_action acro_wheelie_jump_right, MOVEMENT_ACTION_ACRO_WHEELIE_JUMP_RIGHT
create_movement_action acro_wheelie_in_place_down, MOVEMENT_ACTION_ACRO_WHEELIE_IN_PLACE_DOWN
create_movement_action acro_wheelie_in_place_up, MOVEMENT_ACTION_ACRO_WHEELIE_IN_PLACE_UP
create_movement_action acro_wheelie_in_place_left, MOVEMENT_ACTION_ACRO_WHEELIE_IN_PLACE_LEFT
create_movement_action acro_wheelie_in_place_right, MOVEMENT_ACTION_ACRO_WHEELIE_IN_PLACE_RIGHT
create_movement_action acro_pop_wheelie_move_down, MOVEMENT_ACTION_ACRO_POP_WHEELIE_MOVE_DOWN
create_movement_action acro_pop_wheelie_move_up, MOVEMENT_ACTION_ACRO_POP_WHEELIE_MOVE_UP
create_movement_action acro_pop_wheelie_move_left, MOVEMENT_ACTION_ACRO_POP_WHEELIE_MOVE_LEFT
create_movement_action acro_pop_wheelie_move_right, MOVEMENT_ACTION_ACRO_POP_WHEELIE_MOVE_RIGHT
create_movement_action acro_wheelie_move_down, MOVEMENT_ACTION_ACRO_WHEELIE_MOVE_DOWN
create_movement_action acro_wheelie_move_up, MOVEMENT_ACTION_ACRO_WHEELIE_MOVE_UP
create_movement_action acro_wheelie_move_left, MOVEMENT_ACTION_ACRO_WHEELIE_MOVE_LEFT
create_movement_action acro_wheelie_move_right, MOVEMENT_ACTION_ACRO_WHEELIE_MOVE_RIGHT
create_movement_action acro_end_wheelie_move_down, MOVEMENT_ACTION_ACRO_END_WHEELIE_MOVE_DOWN
create_movement_action acro_end_wheelie_move_up, MOVEMENT_ACTION_ACRO_END_WHEELIE_MOVE_UP
create_movement_action acro_end_wheelie_move_left, MOVEMENT_ACTION_ACRO_END_WHEELIE_MOVE_LEFT
create_movement_action acro_end_wheelie_move_right, MOVEMENT_ACTION_ACRO_END_WHEELIE_MOVE_RIGHT
create_movement_action walk_diag_northwest, MOVEMENT_ACTION_WALK_NORMAL_DIAGONAL_UP_LEFT
create_movement_action walk_diag_northeast, MOVEMENT_ACTION_WALK_NORMAL_DIAGONAL_UP_RIGHT
create_movement_action walk_diag_southwest, MOVEMENT_ACTION_WALK_NORMAL_DIAGONAL_DOWN_LEFT
create_movement_action walk_diag_southeast, MOVEMENT_ACTION_WALK_NORMAL_DIAGONAL_DOWN_RIGHT
create_movement_action walk_slow_diag_northwest, MOVEMENT_ACTION_WALK_SLOW_DIAGONAL_UP_LEFT
create_movement_action walk_slow_diag_northeast, MOVEMENT_ACTION_WALK_SLOW_DIAGONAL_UP_RIGHT
create_movement_action walk_slow_diag_southwest, MOVEMENT_ACTION_WALK_SLOW_DIAGONAL_DOWN_LEFT
create_movement_action walk_slow_diag_southeast, MOVEMENT_ACTION_WALK_SLOW_DIAGONAL_DOWN_RIGHT
create_movement_action store_lock_anim, MOVEMENT_ACTION_STORE_AND_LOCK_ANIM
create_movement_action free_unlock_anim, MOVEMENT_ACTION_FREE_AND_UNLOCK_ANIM
create_movement_action walk_left_affine, MOVEMENT_ACTION_WALK_LEFT_AFFINE
create_movement_action walk_right_affine, MOVEMENT_ACTION_WALK_RIGHT_AFFINE
create_movement_action levitate, MOVEMENT_ACTION_LEVITATE
create_movement_action stop_levitate, MOVEMENT_ACTION_STOP_LEVITATE
create_movement_action destroy_extra_task, MOVEMENT_ACTION_STOP_LEVITATE_AT_TOP
create_movement_action figure_8, MOVEMENT_ACTION_FIGURE_8
create_movement_action fly_up, MOVEMENT_ACTION_FLY_UP
create_movement_action fly_down, MOVEMENT_ACTION_FLY_DOWN
enum_start 0x8C
create_movement_action walk_diag_northwest
create_movement_action walk_diag_northeast
create_movement_action walk_diag_southwest
create_movement_action walk_diag_southeast
create_movement_action walk_slow_diag_northwest
create_movement_action walk_slow_diag_northeast
create_movement_action walk_slow_diag_southwest
create_movement_action walk_slow_diag_southeast
create_movement_action store_lock_anim
create_movement_action free_unlock_anim
create_movement_action walk_left_affine
create_movement_action walk_right_affine
create_movement_action levitate
create_movement_action stop_levitate
create_movement_action destroy_extra_task
create_movement_action figure_8
create_movement_action fly_up
create_movement_action fly_down
enum_start 0xfe
create_movement_action step_end
create_movement_action step_end, MOVEMENT_ACTION_STEP_END

View File

@@ -145,7 +145,7 @@
.byte 0xff, 0, 0xff, 0
.endm
.macro cry2 sample:req
.macro cry_reverse sample:req
.byte 0x30, 60, 0, 0
.4byte \sample
.byte 0xff, 0, 0xff, 0

View File

@@ -1,35 +0,0 @@
.global RomHeaderNintendoLogo
RomHeaderNintendoLogo:
.space 156
RomHeaderGameTitle:
.space 12
.global RomHeaderGameCode
RomHeaderGameCode:
.space 4
RomHeaderMakerCode:
.space 2
RomHeaderMagic:
.byte 0
RomHeaderMainUnitCode:
.byte 0
RomHeaderDeviceType:
.byte 0
RomHeaderReserved1:
.space 7
.global RomHeaderSoftwareVersion
RomHeaderSoftwareVersion:
.byte 0
RomHeaderChecksum:
.byte 0
RomHeaderReserved2:
.space 2

View File

@@ -219,14 +219,14 @@ struct EventObjectGraphicsInfo
/*0x20*/ const union AffineAnimCmd *const *affineAnims;
};
#define PLAYER_AVATAR_FLAG_ON_FOOT (1 << 0)
#define PLAYER_AVATAR_FLAG_MACH_BIKE (1 << 1)
#define PLAYER_AVATAR_FLAG_ACRO_BIKE (1 << 2)
#define PLAYER_AVATAR_FLAG_SURFING (1 << 3)
#define PLAYER_AVATAR_FLAG_UNDERWATER (1 << 4)
#define PLAYER_AVATAR_FLAG_5 (1 << 5)
#define PLAYER_AVATAR_FLAG_6 (1 << 6)
#define PLAYER_AVATAR_FLAG_DASH (1 << 7)
#define PLAYER_AVATAR_FLAG_ON_FOOT (1 << 0)
#define PLAYER_AVATAR_FLAG_MACH_BIKE (1 << 1)
#define PLAYER_AVATAR_FLAG_ACRO_BIKE (1 << 2)
#define PLAYER_AVATAR_FLAG_SURFING (1 << 3)
#define PLAYER_AVATAR_FLAG_UNDERWATER (1 << 4)
#define PLAYER_AVATAR_FLAG_CONTROLLABLE (1 << 5)
#define PLAYER_AVATAR_FLAG_FORCED_MOVE (1 << 6)
#define PLAYER_AVATAR_FLAG_DASH (1 << 7)
enum
{

View File

@@ -6,17 +6,18 @@
// global.h from pokemon ruby
// IDE support
#if defined(__APPLE__) || defined(__CYGWIN__)
#define _(x) x
#define __(x) x
#define INCBIN(x) {0}
#define INCBIN_U8 INCBIN
#define INCBIN_U16 INCBIN
#define INCBIN_U32 INCBIN
#define INCBIN_S8 INCBIN
#define INCBIN_S16 INCBIN
#define INCBIN_S32 INCBIN
#endif
#if defined(__APPLE__) || defined(__CYGWIN__) || defined(__INTELLISENSE__)
// We define these when using certain IDEs to fool preproc
#define _(x) (x)
#define __(x) (x)
#define INCBIN(...) {0}
#define INCBIN_U8 INCBIN
#define INCBIN_U16 INCBIN
#define INCBIN_U32 INCBIN
#define INCBIN_S8 INCBIN
#define INCBIN_S16 INCBIN
#define INCBIN_S32 INCBIN
#endif // IDE support
// Prevent cross-jump optimization.
#define BLOCK_CROSS_JUMP asm("");

View File

@@ -414,7 +414,7 @@ HIGHLIGHT = FC 02 @ same as fc 01
SHADOW = FC 03 @ same as fc 01
COLOR_HIGHLIGHT_SHADOW = FC 04 @ takes 3 bytes
PALETTE = FC 05 @ used in credits
SIZE = FC 06 @ note that anything other than "SMALL" is invalid
FONT = FC 06 @ Given a font id, or use font constants below instead
RESET_SIZE = FC 07
PAUSE = FC 08 @ manually print the wait byte after this, havent mapped them
PAUSE_UNTIL_PRESS = FC 09
@@ -434,6 +434,14 @@ ENG = FC 16
PAUSE_MUSIC = FC 17
RESUME_MUSIC = FC 18
@ fonts
FONT_SMALL = FC 06 00
FONT_NORMAL = FC 06 01
FONT_SHORT = FC 06 02
FONT_NARROW = FC 06 07
FONT_SMALL_NARROW = FC 06 08
@ colors
TRANSPARENT = 00

View File

@@ -1 +1 @@
gUnneededFireRedVariable
gWindowTileAutoAllocEnabled

View File

@@ -1 +1 @@
gUnknown_03006370
gEReaderData

View File

@@ -1,2 +1,2 @@
gf_rfu_REQ_api
Rfu
gRfuAPIBuffer
gRfu

View File

@@ -3,11 +3,11 @@ gLastSaveCounter
gLastKnownGoodSector
gDamagedSaveSectors
gSaveCounter
gFastSaveSection
gUnknown_03006208
gReadWriteSector
gIncrementalSectorId
gSaveUnusedVar
gSaveFileStatus
gGameContinueCallback
gRamSaveSectionLocations
gRamSaveSectorLocations
gSaveUnusedVar2
gSaveAttemptStatus

File diff suppressed because it is too large Load Diff

View File

@@ -2,6 +2,7 @@
#include "constants/battle_anim.h"
#include "constants/rgb.h"
#include "constants/songs.h"
#include "constants/sound.h"
#include "constants/moves.h"
.include "asm/macros.inc"
.include "asm/macros/battle_anim_script.inc"
@@ -622,7 +623,7 @@ Move_BODY_SLAM:
Move_SUPERSONIC:
loadspritegfx ANIM_TAG_GOLD_RING
monbg ANIM_ATK_PARTNER
monbgprio_2A ANIM_ATTACKER
splitbgprio_foes ANIM_ATTACKER
setalpha 12, 8
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 2, 0, 8, 1
call SupersonicRing
@@ -659,7 +660,7 @@ ScreechRing:
Move_FLAME_WHEEL:
loadspritegfx ANIM_TAG_SMALL_EMBER
monbg ANIM_DEF_PARTNER
monbgprio_2A ANIM_TARGET
splitbgprio_foes ANIM_TARGET
createsprite gFireSpiralOutwardSpriteTemplate, ANIM_ATTACKER, 3, 0, 0, 56, 0
playsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER
delay 2
@@ -702,7 +703,7 @@ Move_PIN_MISSILE:
loadspritegfx ANIM_TAG_NEEDLE
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_TARGET
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
playsewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER
createsprite gPinMissileSpriteTemplate, ANIM_ATTACKER, 2, 20, -8, -8, -8, 20, -32
@@ -731,7 +732,7 @@ Move_ICICLE_SPEAR:
loadspritegfx ANIM_TAG_ICICLE_SPEAR
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_TARGET
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
playsewithpan SE_M_ICY_WIND, SOUND_PAN_ATTACKER
createsprite gIcicleSpearSpriteTemplate, ANIM_ATTACKER, 2, 20, -8, -8, -8, 20, -32
@@ -817,7 +818,7 @@ Move_POISON_STING:
loadspritegfx ANIM_TAG_IMPACT
loadspritegfx ANIM_TAG_POISON_BUBBLE
monbg ANIM_TARGET
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
createsprite gLinearStingerSpriteTemplate, ANIM_TARGET, 2, 20, 0, -8, 0, 20
@@ -836,7 +837,7 @@ Move_TWINEEDLE:
loadspritegfx ANIM_TAG_NEEDLE
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_TARGET
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
loopsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER, 6, 2
createsprite gLinearStingerSpriteTemplate, ANIM_TARGET, 2, 10, -4, 0, -4, 20
@@ -1029,7 +1030,7 @@ Move_SONIC_BOOM:
loadspritegfx ANIM_TAG_AIR_WAVE
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
call SonicBoomProjectile
call SonicBoomProjectile
@@ -1300,7 +1301,7 @@ Move_SPIKE_CANNON:
loadspritegfx ANIM_TAG_NEEDLE
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_TARGET
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
createvisualtask AnimTask_WindUpLunge, 5, ANIM_ATTACKER, -4, 0, 4, 6, 8, 4
waitforvisualfinish
@@ -1668,7 +1669,7 @@ Move_DEFENSE_CURL:
Move_PROTECT:
loadspritegfx ANIM_TAG_PROTECT
monbg ANIM_ATK_PARTNER
monbgprio_28 ANIM_ATTACKER
splitbgprio ANIM_ATTACKER
waitplaysewithpan SE_M_REFLECT, SOUND_PAN_ATTACKER, 16
createsprite gProtectSpriteTemplate, ANIM_ATTACKER, 2, 24, 0, 90
waitforvisualfinish
@@ -1882,7 +1883,7 @@ Move_PAY_DAY:
loadspritegfx ANIM_TAG_COIN
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_TARGET
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
playsewithpan SE_M_RAZOR_WIND2, SOUND_PAN_ATTACKER
createsprite gCoinThrowSpriteTemplate, ANIM_ATTACKER, 2, 20, 0, 0, 0, 1152
@@ -2190,7 +2191,7 @@ Move_BUBBLE_BEAM:
loadspritegfx ANIM_TAG_BUBBLE
loadspritegfx ANIM_TAG_SMALL_BUBBLES
monbg ANIM_TARGET
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
delay 1
call BulbblebeamCreateBubbles
@@ -2234,7 +2235,7 @@ Move_ICY_WIND:
playsewithpan SE_M_ICY_WIND, 0
waitbgfadein
waitforvisualfinish
panse_1B SE_M_GUST, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
panse SE_M_GUST, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
call IcyWindSwirlingSnowballs
delay 5
call IcyWindSwirlingSnowballs
@@ -2287,7 +2288,7 @@ Move_SMOKESCREEN:
Move_CONVERSION:
loadspritegfx ANIM_TAG_CONVERSION
monbg ANIM_ATK_PARTNER
monbgprio_28 ANIM_ATTACKER
splitbgprio ANIM_ATTACKER
setalpha 16, 0
delay 0
playsewithpan SE_M_SWIFT, SOUND_PAN_ATTACKER
@@ -2339,7 +2340,7 @@ Move_CONVERSION:
Move_CONVERSION_2:
loadspritegfx ANIM_TAG_CONVERSION
monbg ANIM_DEF_PARTNER
monbgprio_2A ANIM_TARGET
splitbgprio_foes ANIM_TARGET
setalpha 0, 16
delay 0
playsewithpan SE_M_BARRIER, SOUND_PAN_TARGET
@@ -2551,7 +2552,7 @@ Move_SING:
monbg ANIM_DEF_PARTNER
createvisualtask AnimTask_MusicNotesRainbowBlend, 2
waitforvisualfinish
panse_1B SE_M_SING, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
panse SE_M_SING, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 7, 0, 12
delay 5
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 6, 1, 12
@@ -2657,7 +2658,7 @@ DigSetUp:
loadspritegfx ANIM_TAG_DIRT_MOUND
createsprite gDirtMoundSpriteTemplate, ANIM_ATTACKER, 1, 0, 0, 180
createsprite gDirtMoundSpriteTemplate, ANIM_ATTACKER, 1, 0, 1, 180
monbg_22 ANIM_ATTACKER
monbg_static ANIM_ATTACKER
delay 1
createvisualtask AnimTask_DigDownMovement, 2, FALSE
delay 6
@@ -2667,7 +2668,7 @@ DigSetUp:
call DigThrowDirt
call DigThrowDirt
waitforvisualfinish
clearmonbg_23 ANIM_ATTACKER
clearmonbg_static ANIM_ATTACKER
delay 1
createvisualtask AnimTask_DigDownMovement, 2, TRUE
goto DigEnd
@@ -3156,7 +3157,7 @@ MachPunchAgainstPlayer:
Move_FORESIGHT:
loadspritegfx ANIM_TAG_MAGNIFYING_GLASS
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 16, 0
createsprite gForesightMagnifyingGlassSpriteTemplate, ANIM_TARGET, 2, ANIM_TARGET
delay 17
@@ -3236,7 +3237,7 @@ Move_ROLLOUT:
loadspritegfx ANIM_TAG_MUD_SAND
loadspritegfx ANIM_TAG_ROCKS
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
createvisualtask AnimTask_Rollout, 2
waitforvisualfinish
@@ -3460,7 +3461,7 @@ Move_HEAT_WAVE:
createvisualtask AnimTask_BlendParticle, 5, ANIM_TAG_FLYING_DIRT, 0, 6, 6, RGB_RED
createvisualtask AnimTask_LoadSandstormBackground, 5, TRUE
createvisualtask AnimTask_BlendBackground, 6, 6, RGB_RED
panse_1B SE_M_HEAT_WAVE, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
panse SE_M_HEAT_WAVE, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
delay 4
createvisualtask AnimTask_MoveHeatWaveTargets, 5
delay 12
@@ -3514,15 +3515,15 @@ Move_MEMENTO:
delay 48
playsewithpan SE_M_PSYBEAM2, SOUND_PAN_ATTACKER
waitforvisualfinish
createvisualtask sub_8114470, 2
createvisualtask AnimTask_MementoHandleBg, 2
delay 12
setalpha 0, 16
delay 1
monbg_22 ANIM_TARGET
monbg_static ANIM_TARGET
createvisualtask AnimTask_MoveTargetMementoShadow, 5
playsewithpan SE_M_PSYBEAM, SOUND_PAN_TARGET
waitforvisualfinish
clearmonbg_23 ANIM_TARGET
clearmonbg_static ANIM_TARGET
delay 1
blendoff
delay 1
@@ -3654,7 +3655,7 @@ Move_SUPERPOWER:
loadspritegfx ANIM_TAG_METEOR
loadspritegfx ANIM_TAG_FLAT_ROCK
monbg ANIM_ATK_PARTNER
monbgprio_28 ANIM_ATTACKER
splitbgprio ANIM_ATTACKER
setalpha 12, 8
createsprite gSuperpowerOrbSpriteTemplate, ANIM_TARGET, 2, ANIM_ATTACKER
playsewithpan SE_M_MEGA_KICK, SOUND_PAN_ATTACKER
@@ -3853,7 +3854,7 @@ Move_IMPRISON:
Move_GRUDGE:
loadspritegfx ANIM_TAG_PURPLE_FLAME
monbg ANIM_ATTACKER
monbgprio_29
splitbgprio_all
fadetobg BG_GHOST
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
waitbgfadein
@@ -3870,7 +3871,7 @@ Move_GRUDGE:
Move_CAMOUFLAGE:
monbg ANIM_ATK_PARTNER
monbgprio_28 ANIM_ATTACKER
splitbgprio ANIM_ATTACKER
setalpha 16, 0
createvisualtask AnimTask_SetCamouflageBlend, 5, 2, 3, 0, 14
delay 16
@@ -3968,7 +3969,7 @@ Move_MIST_BALL:
Move_FEATHER_DANCE:
loadspritegfx ANIM_TAG_WHITE_FEATHER
monbg ANIM_DEF_PARTNER
monbgprio_29
splitbgprio_all
playsewithpan SE_M_PETAL_DANCE, SOUND_PAN_TARGET
delay 0
createsprite gFallingFeatherSpriteTemplate, ANIM_TARGET, 0, 0, -16, 64, 2, 104, 11304, 32, 1
@@ -4232,7 +4233,7 @@ Move_GRASS_WHISTLE:
waitforvisualfinish
createvisualtask AnimTask_MusicNotesRainbowBlend, 2
waitforvisualfinish
panse_1B SE_M_GRASSWHISTLE, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
panse SE_M_GRASSWHISTLE, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 7, 1, 0
delay 5
createsprite gWavyMusicNotesSpriteTemplate, ANIM_TARGET, 2, 6, 1, 0
@@ -4464,7 +4465,7 @@ Move_WATER_SPORT:
delay 44
playsewithpan SE_M_SURF, SOUND_PAN_ATTACKER
delay 44
panse_1B SE_M_SURF, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
panse SE_M_SURF, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
end
Move_CALM_MIND:
@@ -4518,7 +4519,7 @@ Move_LEAF_BLADE:
Move_DRAGON_DANCE:
loadspritegfx ANIM_TAG_HOLLOW_ORB
monbg ANIM_ATTACKER
monbgprio_28 ANIM_ATTACKER
splitbgprio ANIM_ATTACKER
delay 1
createvisualtask AnimTask_DragonDanceWaver, 5
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
@@ -4924,7 +4925,7 @@ Move_SCRATCH:
Move_DRAGON_BREATH:
loadspritegfx ANIM_TAG_SMALL_EMBER
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
loopsewithpan SE_M_FLAME_WHEEL, SOUND_PAN_ATTACKER, 7, 7
createsprite gDragonBreathFireSpriteTemplate, ANIM_TARGET, 2, 0, 0, 0, 0, 20
delay 2
@@ -4958,9 +4959,9 @@ Move_DRAGON_BREATH:
Move_ROAR:
loadspritegfx ANIM_TAG_NOISE_LINE
monbg ANIM_ATTACKER
monbgprio_28 ANIM_ATTACKER
splitbgprio ANIM_ATTACKER
setalpha 8, 8
createvisualtask SoundTask_PlayDoubleCry, 2, ANIM_ATTACKER, 2
createvisualtask SoundTask_PlayDoubleCry, 2, ANIM_ATTACKER, DOUBLE_CRY_ROAR
createvisualtask AnimTask_ScaleMonAndRestore, 5, -5, -5, 10, ANIM_ATTACKER, 1
call RoarEffect
delay 20
@@ -4985,7 +4986,7 @@ RoarEffect:
Move_GROWL:
loadspritegfx ANIM_TAG_NOISE_LINE
createvisualtask SoundTask_PlayDoubleCry, 2, ANIM_ATTACKER, 255
createvisualtask SoundTask_PlayDoubleCry, 2, ANIM_ATTACKER, DOUBLE_CRY_GROWL
call RoarEffect
delay 10
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 1, 0, 9, 1
@@ -5122,7 +5123,7 @@ Move_BUBBLE:
Move_SMOG:
loadspritegfx ANIM_TAG_PURPLE_GAS_CLOUD
monbg ANIM_DEF_PARTNER
monbgprio_29
splitbgprio_all
setalpha 12, 8
loopsewithpan SE_M_MIST, SOUND_PAN_TARGET, 17, 10
call SmogCloud
@@ -5185,7 +5186,7 @@ Move_FAINT_ATTACK:
Move_SAND_ATTACK:
loadspritegfx ANIM_TAG_MUD_SAND
monbg ANIM_ATK_PARTNER
monbgprio_28 ANIM_ATTACKER
splitbgprio ANIM_ATTACKER
setalpha 12, 8
playsewithpan SE_M_SAND_ATTACK, SOUND_PAN_ATTACKER
createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, 0, -10, 0, 0, 3
@@ -5343,7 +5344,7 @@ Move_CLAMP:
Move_ICE_BEAM:
monbg ANIM_TARGET
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
loadspritegfx ANIM_TAG_ICE_CRYSTALS
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 1, 1, 0, 7, RGB_BLACK
@@ -5474,45 +5475,45 @@ SolarBeamAbsorbEffect:
delay 2
return
SolarBeamUnleash:
call SetSolarbeamBg
panse_1B SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
createvisualtask AnimTask_CreateSmallSolarbeamOrbs, 5
createsprite gSolarbeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 0
call SetSolarBeamBg
panse SE_M_SOLAR_BEAM, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
createvisualtask AnimTask_CreateSmallSolarBeamOrbs, 5
createsprite gSolarBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 0
delay 4
createsprite gSolarbeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 1
createsprite gSolarBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 1
delay 4
createvisualtask AnimTask_BlendBattleAnimPal, 10, 4, 1, 0, 10, RGB(25, 31, 0)
createsprite gSolarbeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 2
createsprite gSolarBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 2
delay 4
createvisualtask AnimTask_ShakeMon2, 5, ANIM_TARGET, 2, 0, 65, 1
createsprite gSolarbeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 3
createsprite gSolarBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 3
delay 4
createsprite gSolarbeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 4
createsprite gSolarBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 4
delay 4
createsprite gSolarbeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 5
createsprite gSolarBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 5
delay 4
createsprite gSolarbeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 6
createsprite gSolarBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 6
delay 4
call SolarBeamUnleash1
call SolarBeamUnleash1
waitforvisualfinish
createvisualtask AnimTask_BlendBattleAnimPal, 10, 4, 1, 10, 0, RGB(25, 31, 0)
call UnsetSolarbeamBg
call UnsetSolarBeamBg
goto SolarBeamEnd
SolarBeamUnleash1:
createsprite gSolarbeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 0
createsprite gSolarBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 0
delay 4
createsprite gSolarbeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 1
createsprite gSolarBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 1
delay 4
createsprite gSolarbeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 2
createsprite gSolarBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 2
delay 4
createsprite gSolarbeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 3
createsprite gSolarBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 3
delay 4
createsprite gSolarbeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 4
createsprite gSolarBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 4
delay 4
createsprite gSolarbeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 5
createsprite gSolarBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 5
delay 4
createsprite gSolarbeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 6
createsprite gSolarBeamBigOrbSpriteTemplate, ANIM_TARGET, 3, 15, 0, 20, 6
delay 4
return
@@ -5527,7 +5528,7 @@ BlizzardContinue:
createvisualtask AnimTask_StartSlidingBg, 5, -2304, 0, 1, -1
waitbgfadein
waitforvisualfinish
panse_1B SE_M_BLIZZARD, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
panse SE_M_BLIZZARD, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
call BlizzardIceCrystals
call BlizzardIceCrystals
playsewithpan SE_M_BLIZZARD2, SOUND_PAN_TARGET
@@ -5573,7 +5574,7 @@ Move_POWDER_SNOW:
monbg ANIM_DEF_PARTNER
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 31, 1, 0, 3, RGB_BLACK
waitforvisualfinish
panse_1B SE_M_GUST, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
panse SE_M_GUST, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
call PowderSnowSnowballs
call PowderSnowSnowballs
playsewithpan SE_M_GUST2, SOUND_PAN_TARGET
@@ -5606,11 +5607,11 @@ Move_HYDRO_PUMP:
loadspritegfx ANIM_TAG_WATER_ORB
loadspritegfx ANIM_TAG_WATER_IMPACT
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 40, 1
delay 6
panse_1B SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
panse SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
createvisualtask AnimTask_StartSinAnimTimer, 5, 100
call HydroPumpBeams
call HydroPumpBeams
@@ -5655,7 +5656,7 @@ Move_SIGNAL_BEAM:
loadspritegfx ANIM_TAG_DUCK
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 25, 1
delay 6
panse_1B SE_M_BUBBLE_BEAM, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +1, 0
panse SE_M_BUBBLE_BEAM, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +1, 0
createvisualtask AnimTask_StartSinAnimTimer, 5, 100
call SignalBeamOrbs
call SignalBeamOrbs
@@ -5695,7 +5696,7 @@ Move_ABSORB:
loadspritegfx ANIM_TAG_BLUE_STAR
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_DEF_PARTNER
monbgprio_2A ANIM_TARGET
splitbgprio_foes ANIM_TARGET
setalpha 12, 8
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 1, 1, 0, 4, RGB(13, 31, 12)
waitforvisualfinish
@@ -5748,7 +5749,7 @@ Move_MEGA_DRAIN:
loadspritegfx ANIM_TAG_BLUE_STAR
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_DEF_PARTNER
monbgprio_2A ANIM_TARGET
splitbgprio_foes ANIM_TARGET
setalpha 12, 8
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 1, 1, 0, 8, RGB(13, 31, 12)
waitforvisualfinish
@@ -5809,7 +5810,7 @@ Move_GIGA_DRAIN:
loadspritegfx ANIM_TAG_BLUE_STAR
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_DEF_PARTNER
monbgprio_2A ANIM_TARGET
splitbgprio_foes ANIM_TARGET
setalpha 12, 8
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 1, 1, 0, 12, RGB(13, 31, 12)
waitforvisualfinish
@@ -5880,7 +5881,7 @@ Move_LEECH_LIFE:
loadspritegfx ANIM_TAG_BLUE_STAR
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_DEF_PARTNER
monbgprio_2A ANIM_TARGET
splitbgprio_foes ANIM_TARGET
setalpha 12, 8
delay 1
createsprite gLeechLifeNeedleSpriteTemplate, ANIM_ATTACKER, 2, -20, 15, 12
@@ -6032,7 +6033,7 @@ Move_BONEMERANG:
loadspritegfx ANIM_TAG_BONE
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
playsewithpan SE_M_BONEMERANG, SOUND_PAN_ATTACKER
createsprite gBonemerangSpriteTemplate, ANIM_ATTACKER, 2
@@ -6052,7 +6053,7 @@ Move_BONE_CLUB:
loadspritegfx ANIM_TAG_BONE
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
playsewithpan SE_M_BONEMERANG, SOUND_PAN_TARGET
createsprite gSpinningBoneSpriteTemplate, ANIM_ATTACKER, 2, -42, -25, 0, 0, 15
@@ -6146,7 +6147,7 @@ Move_GUST:
loadspritegfx ANIM_TAG_GUST
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
playsewithpan SE_M_GUST, SOUND_PAN_TARGET
createsprite gEllipticalGustSpriteTemplate, ANIM_ATTACKER, 2, 0, -16
@@ -6164,7 +6165,7 @@ Move_WING_ATTACK:
loadspritegfx ANIM_TAG_GUST
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
loopsewithpan SE_M_WING_ATTACK, SOUND_PAN_ATTACKER, 20, 2
createvisualtask AnimTask_TranslateMonElliptical, 2, 0, 12, 4, 1, 4
@@ -6197,7 +6198,7 @@ Move_AEROBLAST:
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_DEF_PARTNER
call SetSkyBg
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
call AeroblastBeam
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 5, 0, 50, 1
@@ -6237,7 +6238,7 @@ Move_WATER_GUN:
loadspritegfx ANIM_TAG_SMALL_BUBBLES
loadspritegfx ANIM_TAG_WATER_IMPACT
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
createsprite gWaterGunProjectileSpriteTemplate, ANIM_ATTACKER, 2, 20, 0, 0, 0, 40, -25
playsewithpan SE_M_BUBBLE, SOUND_PAN_ATTACKER
@@ -6297,19 +6298,19 @@ Move_CRABHAMMER:
Move_SURF:
createvisualtask AnimTask_CreateSurfWave, 2, FALSE
delay 24
panse_1B SE_M_SURF, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
panse SE_M_SURF, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
waitforvisualfinish
end
Move_FLAMETHROWER:
loadspritegfx ANIM_TAG_SMALL_EMBER
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 46, 1
delay 6
createvisualtask AnimTask_StartSinAnimTimer, 5, 100
panse_1B SE_M_FLAMETHROWER, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
panse SE_M_FLAMETHROWER, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
call FlamethrowerCreateFlames
call FlamethrowerCreateFlames
call FlamethrowerCreateFlames
@@ -6358,7 +6359,7 @@ Move_SANDSTORM:
Move_WHIRLPOOL:
loadspritegfx ANIM_TAG_WATER_ORB
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
delay 0
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 0, 4, 2, 0, 7, RGB(0, 13, 23)
@@ -6445,7 +6446,7 @@ Move_KARATE_CHOP:
loadspritegfx ANIM_TAG_HANDS_AND_FEET
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
playsewithpan SE_M_DOUBLE_TEAM, SOUND_PAN_TARGET
createsprite gKarateChopSpriteTemplate, ANIM_ATTACKER, 2, -16, 0, 0, 0, 10, 1, 3, 0
@@ -6722,7 +6723,7 @@ Move_SUNNY_DAY:
setalpha 13, 3
createvisualtask AnimTask_BlendBattleAnimPal, 10, 0x781, 1, 0, 6, RGB_WHITE
waitforvisualfinish
panse_26 SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +1, 0
panse_adjustnone SE_M_PETAL_DANCE, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +1, 0
call SunnyDayLightRay
call SunnyDayLightRay
call SunnyDayLightRay
@@ -6742,7 +6743,7 @@ SunnyDayLightRay:
Move_COTTON_SPORE:
loadspritegfx ANIM_TAG_SPORE
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
loopsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET, 18, 10
call CreateCottonSpores
call CreateCottonSpores
@@ -6988,7 +6989,7 @@ FireSpreadEffect:
Move_LEER:
loadspritegfx ANIM_TAG_LEER
monbg ANIM_ATTACKER
monbgprio_28 ANIM_ATTACKER
splitbgprio ANIM_ATTACKER
setalpha 8, 8
playsewithpan SE_M_LEER, SOUND_PAN_ATTACKER
createsprite gLeerSpriteTemplate, ANIM_ATTACKER, 2, 24, -12
@@ -7008,7 +7009,7 @@ Move_DREAM_EATER:
loadspritegfx ANIM_TAG_ORBS
loadspritegfx ANIM_TAG_BLUE_STAR
monbg ANIM_DEF_PARTNER
monbgprio_2A ANIM_TARGET
splitbgprio_foes ANIM_TARGET
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
call SetPsychicBackground
setalpha 8, 8
@@ -7076,7 +7077,7 @@ Move_POISON_GAS:
loadspritegfx ANIM_TAG_POISON_BUBBLE
delay 0
monbg ANIM_DEF_PARTNER
monbgprio_29
splitbgprio_all
setalpha 12, 8
delay 0
playsewithpan SE_M_MIST, SOUND_PAN_ATTACKER
@@ -7221,7 +7222,7 @@ Move_STEEL_WING:
createvisualtask AnimTask_MetallicShine, 5, 0, 0, 0
waitforvisualfinish
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
loopsewithpan SE_M_WING_ATTACK, SOUND_PAN_ATTACKER, 20, 2
createvisualtask AnimTask_TranslateMonElliptical, 2, 0, 12, 4, 1, 4
@@ -7304,7 +7305,7 @@ Move_METAL_CLAW:
Move_NIGHT_SHADE:
monbg ANIM_ATTACKER
monbgprio_28 ANIM_ATTACKER
splitbgprio ANIM_ATTACKER
playsewithpan SE_M_PSYBEAM, SOUND_PAN_ATTACKER
fadetobg BG_GHOST
waitbgfadein
@@ -7475,7 +7476,7 @@ Move_SPIDER_WEB:
delay 0
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 5, 1, 2, 0, 9, RGB_BLACK
waitforvisualfinish
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
loopsewithpan SE_M_STRING_SHOT, SOUND_PAN_ATTACKER, 9, 6
call SpiderWebThread
call SpiderWebThread
@@ -7546,7 +7547,7 @@ RazorWindUnleash:
Move_DISABLE:
loadspritegfx ANIM_TAG_SPARKLE_4
monbg ANIM_TARGET
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 8, 8
playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER
createsprite gSpinningSparkleSpriteTemplate, ANIM_ATTACKER, 13, 24, -16
@@ -7597,9 +7598,9 @@ RecoverAbsorbEffect:
Move_MIMIC:
loadspritegfx ANIM_TAG_ORBS
setalpha 11, 5
monbg_22 ANIM_DEF_PARTNER
monbgprio_29
panse_1B SE_M_MINIMIZE, SOUND_PAN_TARGET, SOUND_PAN_ATTACKER, -3, 0
monbg_static ANIM_DEF_PARTNER
splitbgprio_all
panse SE_M_MINIMIZE, SOUND_PAN_TARGET, SOUND_PAN_ATTACKER, -3, 0
createvisualtask AnimTask_ShrinkTargetCopy, 5, 128, 24
delay 15
createsprite gMimicOrbSpriteTemplate, ANIM_TARGET, 2, -12, 24
@@ -7609,7 +7610,7 @@ Move_MIMIC:
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_ATTACKER
createvisualtask AnimTask_BlendColorCycle, 2, 2, 0, 2, 0, 11, RGB_WHITE
waitforvisualfinish
clearmonbg_23 ANIM_DEF_PARTNER
clearmonbg_static ANIM_DEF_PARTNER
blendoff
end
@@ -7943,7 +7944,7 @@ Move_PERISH_SONG:
createsprite gPerishSongMusicNoteSpriteTemplate, ANIM_ATTACKER, 4, 15, 0, 240
createsprite gPerishSongMusicNote2SpriteTemplate, ANIM_ATTACKER, 4, 15, 0, 0
delay 20
panse_1B SE_M_PERISH_SONG, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
panse SE_M_PERISH_SONG, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
delay 80
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 1, 3, 0, 16, RGB_BLACK
createvisualtask AnimTask_SetGrayscaleOrOriginalPal, 5, 4, 0
@@ -8070,7 +8071,7 @@ Move_WILL_O_WISP:
loadspritegfx ANIM_TAG_WISP_FIRE
loadspritegfx ANIM_TAG_WISP_ORB
monbg ANIM_DEF_PARTNER
monbgprio_2A ANIM_TARGET
splitbgprio_foes ANIM_TARGET
playsewithpan SE_M_EMBER, SOUND_PAN_ATTACKER
waitplaysewithpan SE_M_EMBER, SOUND_PAN_ATTACKER, 10
createvisualtask SoundTask_AdjustPanningVar, 2, SOUND_PAN_ATTACKER, SOUND_PAN_ATTACKER, 1, 0
@@ -8084,7 +8085,7 @@ Move_WILL_O_WISP:
delay 40
createvisualtask SoundTask_AdjustPanningVar, 2, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 2, 0
waitforvisualfinish
monbgprio_29
splitbgprio_all
playsewithpan SE_M_FLAME_WHEEL2, SOUND_PAN_TARGET
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 13, 1
createsprite gWillOWispFireSpriteTemplate, ANIM_ATTACKER, 2, 0
@@ -8150,7 +8151,7 @@ Move_WISH:
loadspritegfx ANIM_TAG_SPARKLE_2
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 1, 3, 0, 10, RGB_BLACK
waitforvisualfinish
panse_27 SE_M_REFLECT, SOUND_PAN_TARGET, SOUND_PAN_ATTACKER, -3, 0
panse_adjustall SE_M_REFLECT, SOUND_PAN_TARGET, SOUND_PAN_ATTACKER, -3, 0
createsprite gWishStarSpriteTemplate, ANIM_ATTACKER, 40
waitforvisualfinish
delay 60
@@ -8499,14 +8500,15 @@ Move_BLAZE_KICK:
Move_HYPER_VOICE:
loadspritegfx ANIM_TAG_THIN_RING
createvisualtask SoundTask_PlayCryWithEcho, 5, 0
createvisualtask SoundTask_PlayCryWithEcho, 5, FALSE
call HyperVoiceEffect
waitforvisualfinish
delay 8
createvisualtask SoundTask_PlayCryWithEcho, 5, 1
createvisualtask SoundTask_PlayCryWithEcho, 5, TRUE
call HyperVoiceEffect
waitforvisualfinish
end
HyperVoiceEffect:
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 31, 3, 8, 0, RGB_YELLOW
createvisualtask AnimTask_ScaleMonAndRestore, 5, -5, -5, 5, ANIM_ATTACKER, 0
@@ -8552,7 +8554,7 @@ Move_SHEER_COLD:
waitbgfadein
loadspritegfx ANIM_TAG_ICE_CUBE
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
createvisualtask AnimTask_FrozenIceCube, 2
waitplaysewithpan SE_M_HAIL, SOUND_PAN_TARGET, 17
@@ -8566,7 +8568,7 @@ Move_SHEER_COLD:
Move_ARM_THRUST:
loadspritegfx ANIM_TAG_HANDS_AND_FEET
loadspritegfx ANIM_TAG_IMPACT
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
createvisualtask AnimTask_RotateMonSpriteToSide, 5, 8, 5, 0, 0
delay 6
@@ -8591,7 +8593,7 @@ ArmThrustLeft:
goto ArmThrustContinue
Move_MUDDY_WATER:
panse_1B SE_M_WHIRLPOOL, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
panse SE_M_WHIRLPOOL, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
createvisualtask AnimTask_CreateSurfWave, 2, TRUE
waitforvisualfinish
end
@@ -8684,12 +8686,12 @@ DragonClawFireSpiral:
Move_MUD_SHOT:
loadspritegfx ANIM_TAG_BROWN_ORB
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
createvisualtask AnimTask_ShakeMon, 5, ANIM_ATTACKER, 0, 2, 46, 1
delay 6
createvisualtask AnimTask_StartSinAnimTimer, 5, 100
panse_1B SE_M_WHIRLPOOL, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +1, 0
panse SE_M_WHIRLPOOL, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +1, 0
call MudShotOrbs
call MudShotOrbs
call MudShotOrbs
@@ -8717,7 +8719,7 @@ Move_METEOR_MASH:
loadspritegfx ANIM_TAG_GOLD_STARS
loadspritegfx ANIM_TAG_IMPACT
loadspritegfx ANIM_TAG_HANDS_AND_FEET
panse_1B SE_M_BARRIER, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +3, 0
panse SE_M_BARRIER, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +3, 0
fadetobg BG_COSMIC
waitbgfadein
waitforvisualfinish
@@ -8789,7 +8791,7 @@ Move_FRENZY_PLANT:
loadspritegfx ANIM_TAG_ROOTS
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_TARGET
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 0, 1, 2, 0, 5, RGB_BLACK
waitforvisualfinish
@@ -8848,7 +8850,7 @@ Move_FRENZY_PLANT:
Move_METAL_SOUND:
loadspritegfx ANIM_TAG_METAL_SOUND_WAVES
monbg ANIM_DEF_PARTNER
monbgprio_2A ANIM_TARGET
splitbgprio_foes ANIM_TARGET
createvisualtask AnimTask_ShakeMon2, 2, ANIM_ATTACKER, 2, 0, 8, 1
call MetalSoundRings
call MetalSoundRings
@@ -8860,7 +8862,7 @@ Move_METAL_SOUND:
waitforvisualfinish
end
MetalSoundRings:
panse_1B SE_M_SCREECH, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
panse SE_M_SCREECH, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
createsprite gMetalSoundSpriteTemplate, ANIM_TARGET, 2, 16, 0, 0, 0, 30, 0
delay 2
return
@@ -9154,11 +9156,11 @@ Move_ROCK_TOMB:
Move_SILVER_WIND:
loadspritegfx ANIM_TAG_SPARKLE_6
panse_1B SE_M_GUST, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
panse SE_M_GUST, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
playsewithpan SE_M_MORNING_SUN, 0
delay 0
monbg ANIM_DEF_PARTNER
monbgprio_29
splitbgprio_all
delay 0
createvisualtask AnimTask_BlendBattleAnimPalExclude, 10, ANIM_TARGET, 0, 0, 4, RGB_BLACK
createvisualtask AnimTask_GetTargetSide, 2
@@ -9368,7 +9370,7 @@ Move_HYDRO_CANNON:
delay 10
createvisualtask AnimTask_InvertScreenColor, 2, 257, 257, 257
delay 30
panse_1B SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
panse SE_M_HYDRO_PUMP, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, +2, 0
call HydroCannonBeam
createvisualtask AnimTask_ShakeMon, 5, ANIM_TARGET, 10, 0, 40, 1
createsprite gWaterHitSplatSpriteTemplate, ANIM_TARGET, 2, 0, 0, ANIM_TARGET, 0
@@ -9494,7 +9496,7 @@ Move_WATER_PULSE:
loadspritegfx ANIM_TAG_SMALL_BUBBLES
loadspritegfx ANIM_TAG_BLUE_RING_2
monbg ANIM_TARGET
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
playsewithpan SE_M_BUBBLE3, SOUND_PAN_ATTACKER
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 2, 1, 0, 0, 7, RGB(0, 25, 28)
delay 10
@@ -9531,7 +9533,7 @@ Move_PSYCHO_BOOST:
delay 6
createvisualtask AnimTask_BlendColorCycle, 2, 1, 2, 8, 0, 10, RGB_BLACK
delay 0
monbgprio_28 ANIM_ATTACKER
splitbgprio ANIM_ATTACKER
setalpha 8, 8
delay 10
createvisualtask AnimTask_ShakeMon, 2, ANIM_ATTACKER, 3, 0, 240, 0
@@ -9591,7 +9593,7 @@ Move_DOOM_DESIRE:
Move_SKY_UPPERCUT:
loadspritegfx ANIM_TAG_IMPACT
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
fadetobg BG_IN_AIR
waitbgfadeout
playsewithpan SE_M_SKY_UPPERCUT, SOUND_PAN_ATTACKER
@@ -9650,7 +9652,7 @@ Move_TWISTER:
loadspritegfx ANIM_TAG_IMPACT
loadspritegfx ANIM_TAG_ROCKS
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
playsewithpan SE_M_TWISTER, SOUND_PAN_TARGET
createsprite gTwisterLeafSpriteTemplate, ANIM_TARGET, 2, 120, 70, 5, 70, 30
delay 1
@@ -10189,26 +10191,26 @@ UnsetSkyBg:
waitbgfadein
return
SetSolarbeamBg:
SetSolarBeamBg:
createvisualtask AnimTask_IsContest, 2
jumprettrue SetSolarbeamBgContest
jumprettrue SetSolarBeamBgContest
createvisualtask AnimTask_IsTargetPlayerSide, 2
jumpretfalse SetSolarbeamBgOpponent
goto SetSolarbeamBgPlayer
SetSolarbeamBgContinue:
jumpretfalse SetSolarBeamBgOpponent
goto SetSolarBeamBgPlayer
SetSolarBeamBgContinue:
waitbgfadein
return
SetSolarbeamBgContest:
fadetobg BG_SOLARBEAM_CONTESTS
goto SetSolarbeamBgContinue
SetSolarbeamBgPlayer:
fadetobg BG_SOLARBEAM_PLAYER
goto SetSolarbeamBgContinue
SetSolarbeamBgOpponent:
fadetobg BG_SOLARBEAM_OPPONENT
goto SetSolarbeamBgContinue
SetSolarBeamBgContest:
fadetobg BG_SOLAR_BEAM_CONTESTS
goto SetSolarBeamBgContinue
SetSolarBeamBgPlayer:
fadetobg BG_SOLAR_BEAM_PLAYER
goto SetSolarBeamBgContinue
SetSolarBeamBgOpponent:
fadetobg BG_SOLAR_BEAM_OPPONENT
goto SetSolarBeamBgContinue
UnsetSolarbeamBg:
UnsetSolarBeamBg:
restorebg
waitbgfadein
return
@@ -10267,7 +10269,7 @@ Status_Freeze:
playsewithpan SE_M_ICY_WIND, 0
loadspritegfx ANIM_TAG_ICE_CUBE
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
waitplaysewithpan SE_M_HAIL, SOUND_PAN_TARGET, 17
createvisualtask AnimTask_FrozenIceCube, 2
waitforvisualfinish
@@ -10296,7 +10298,7 @@ Status_Nightmare:
General_CastformChange:
createvisualtask AnimTask_IsMonInvisible, 2
jumpreteq 1, CastformChangeSkipAnim
jumpreteq TRUE, CastformChangeSkipAnim
goto CastformChangeContinue
CastformChangeContinue:
monbg ANIM_ATTACKER
@@ -10384,7 +10386,7 @@ Status_FireSpin:
Status_Whirlpool:
loadspritegfx ANIM_TAG_WATER_ORB
monbg ANIM_DEF_PARTNER
monbgprio_28 ANIM_TARGET
splitbgprio ANIM_TARGET
setalpha 12, 8
delay 0
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 0, 4, 2, 0, 7, RGB(0, 13, 23)

File diff suppressed because it is too large Load Diff

View File

@@ -12,7 +12,7 @@
.section script_data, "aw", %progbits
.align 2
gBattlescriptsForBallThrow:: @ 82DBD08
gBattlescriptsForBallThrow::
.4byte BattleScript_BallThrow @ ITEM_NONE
.4byte BattleScript_BallThrow @ ITEM_MASTER_BALL
.4byte BattleScript_BallThrow @ ITEM_ULTRA_BALL
@@ -28,7 +28,7 @@ gBattlescriptsForBallThrow:: @ 82DBD08
.4byte BattleScript_BallThrow @ ITEM_PREMIER_BALL
.align 2
gBattlescriptsForUsingItem:: @ 82DBD3C
gBattlescriptsForUsingItem::
.4byte BattleScript_PlayerUsesItem
.4byte BattleScript_OpponentUsesHealItem @ AI_ITEM_FULL_RESTORE
.4byte BattleScript_OpponentUsesHealItem @ AI_ITEM_HEAL_HP
@@ -37,11 +37,11 @@ gBattlescriptsForUsingItem:: @ 82DBD3C
.4byte BattleScript_OpponentUsesGuardSpec @ AI_ITEM_GUARD_SPEC
.align 2
gBattlescriptsForRunningByItem:: @ 82DBD54
gBattlescriptsForRunningByItem::
.4byte BattleScript_RunByUsingItem
.align 2
gBattlescriptsForSafariActions:: @ 82DBD58
gBattlescriptsForSafariActions::
.4byte BattleScript_ActionWatchesCarefully
.4byte BattleScript_ActionGetNear
.4byte BattleScript_ActionThrowPokeblock

View File

@@ -13,7 +13,7 @@
enum MON_4
.align 2
gContestAI_ScriptsTable:: @ 82DE350
gContestAI_ScriptsTable::
.4byte AI_CheckBadMove @ CONTEST_AI_CHECK_BAD_MOVE
.4byte AI_CheckCombo @ CONTEST_AI_CHECK_COMBO
.4byte AI_CheckBoring @ CONTEST_AI_CHECK_BORING
@@ -48,7 +48,7 @@ gContestAI_ScriptsTable:: @ 82DE350
.4byte AI_Nothing @ CONTEST_AI_DUMMY_25
@ Unused. Encourages improving condition on the 1st appeal, or startling mons if the users turn is later
@ Unused. Encourages improving condition on the 1st appeal, or startling mons if the users turn is later
AI_CheckTiming:
if_appeal_num_not_eq 0, AI_CheckTiming_SkipCondition
if_effect_not_eq CONTEST_EFFECT_IMPROVE_CONDITION_PREVENT_NERVOUSNESS, AI_CheckTiming_SkipCondition
@@ -388,7 +388,7 @@ AI_CGM_AppealAsGoodAsPrevOnes_Last:
score +20
end
@ Encourages move more for each opponent who will have a turn before the user
@ Encourages move more for each opponent who will have a turn before the user
AI_CGM_AppealAsGoodAsPrevOne:
if_user_order_eq MON_1, AI_CGM_AppealAsGoodAsPrevOne_1stUp
if_user_order_eq MON_2, AI_CGM_AppealAsGoodAsPrevOne_2ndUp
@@ -456,7 +456,7 @@ AI_CGM_BetterWhenAudienceExcited_Not1stUp:
score +10
end
@ Encourage move more for each condition star the prev mons have
@ Encourage move more for each condition star the prev mons have
AI_CGM_WorsenConditionOfPrevMons:
if_user_order_eq MON_1, AI_CGM_End
goto AI_CGM_WorsenConditionOfPrevMons_CheckMon1

6
data/ereader_link_data.s Normal file
View File

@@ -0,0 +1,6 @@
.section .rodata
.align 2
gEReaderLinkData_Start::
.incbin "data/ereader_link_data.bin"
gEReaderLinkData_End::

View File

@@ -44,6 +44,7 @@
#include "constants/script_menu.h"
#include "constants/secret_bases.h"
#include "constants/songs.h"
#include "constants/sound.h"
#include "constants/species.h"
#include "constants/trade.h"
#include "constants/trainer_hill.h"
@@ -61,7 +62,7 @@
@ 81DB67C
.include "data/script_cmd_table.inc"
gSpecialVars:: @ 81DBA0C
gSpecialVars::
.4byte gSpecialVar_0x8000
.4byte gSpecialVar_0x8001
.4byte gSpecialVar_0x8002
@@ -87,7 +88,7 @@ gSpecialVars:: @ 81DBA0C
.include "data/specials.inc"
gStdScripts:: @ 81DC2A0
gStdScripts::
.4byte Std_ObtainItem @ STD_OBTAIN_ITEM
.4byte Std_FindItem @ STD_FIND_ITEM
.4byte Std_MsgboxNPC @ MSGBOX_NPC
@@ -98,8 +99,8 @@ gStdScripts:: @ 81DC2A0
.4byte Std_ObtainDecoration @ STD_OBTAIN_DECORATION
.4byte Std_RegisteredInMatchCall @ STD_REGISTER_MATCH_CALL
.4byte Std_MsgboxGetPoints @ MSGBOX_GETPOINTS
.4byte Std_10
gStdScripts_End:: @ 81DC2CC
.4byte Std_MsgboxPokenav @ MSGBOX_POKENAV
gStdScripts_End::
.include "data/maps/PetalburgCity/scripts.inc"
.include "data/maps/SlateportCity/scripts.inc"
@@ -576,21 +577,18 @@ gStdScripts_End:: @ 81DC2CC
.include "data/scripts/new_game.inc"
.include "data/scripts/hall_of_fame.inc"
EventScript_WhiteOut:: @ 8271857
EventScript_WhiteOut::
call EverGrandeCity_HallOfFame_EventScript_ResetEliteFour
goto EventScript_ResetMrBriney
end
EventScript_ResetMrBriney:: @ 8271862
compare VAR_BRINEY_LOCATION, 1
goto_if_eq EventScript_MoveMrBrineyToHouse
compare VAR_BRINEY_LOCATION, 2
goto_if_eq EventScript_MoveMrBrineyToDewford
compare VAR_BRINEY_LOCATION, 3
goto_if_eq EventScript_MoveMrBrineyToRoute109
EventScript_ResetMrBriney::
goto_if_eq VAR_BRINEY_LOCATION, 1, EventScript_MoveMrBrineyToHouse
goto_if_eq VAR_BRINEY_LOCATION, 2, EventScript_MoveMrBrineyToDewford
goto_if_eq VAR_BRINEY_LOCATION, 3, EventScript_MoveMrBrineyToRoute109
end
EventScript_MoveMrBrineyToHouse:: @ 8271884
EventScript_MoveMrBrineyToHouse::
setflag FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN
setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
setflag FLAG_HIDE_ROUTE_109_MR_BRINEY
@@ -600,7 +598,7 @@ EventScript_MoveMrBrineyToHouse:: @ 8271884
clearflag FLAG_HIDE_BRINEYS_HOUSE_PEEKO
end
EventScript_MoveMrBrineyToDewford:: @ 827189A
EventScript_MoveMrBrineyToDewford::
setflag FLAG_HIDE_ROUTE_109_MR_BRINEY
setflag FLAG_HIDE_ROUTE_109_MR_BRINEY_BOAT
setflag FLAG_HIDE_ROUTE_104_MR_BRINEY
@@ -611,7 +609,7 @@ EventScript_MoveMrBrineyToDewford:: @ 827189A
clearflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
end
EventScript_MoveMrBrineyToRoute109:: @ 82718B3
EventScript_MoveMrBrineyToRoute109::
setflag FLAG_HIDE_ROUTE_104_MR_BRINEY
setflag FLAG_HIDE_ROUTE_104_MR_BRINEY_BOAT
setflag FLAG_HIDE_BRINEYS_HOUSE_MR_BRINEY
@@ -622,7 +620,7 @@ EventScript_MoveMrBrineyToRoute109:: @ 82718B3
clearflag FLAG_HIDE_ROUTE_109_MR_BRINEY_BOAT
end
EverGrandeCity_HallOfFame_EventScript_ResetEliteFour:: @ 82718CC
EverGrandeCity_HallOfFame_EventScript_ResetEliteFour::
clearflag FLAG_DEFEATED_ELITE_4_SIDNEY
clearflag FLAG_DEFEATED_ELITE_4_PHOEBE
clearflag FLAG_DEFEATED_ELITE_4_GLACIA
@@ -630,7 +628,7 @@ EverGrandeCity_HallOfFame_EventScript_ResetEliteFour:: @ 82718CC
setvar VAR_ELITE_4_STATE, 0
return
Common_EventScript_UpdateBrineyLocation:: @ 82718DE
Common_EventScript_UpdateBrineyLocation::
goto_if_unset FLAG_RECEIVED_POKENAV, Common_EventScript_NopReturn
goto_if_set FLAG_DEFEATED_PETALBURG_GYM, Common_EventScript_NopReturn
goto_if_unset FLAG_HIDE_ROUTE_104_MR_BRINEY_BOAT, EventScript_SetBrineyLocation_House
@@ -638,15 +636,15 @@ Common_EventScript_UpdateBrineyLocation:: @ 82718DE
goto_if_unset FLAG_HIDE_ROUTE_109_MR_BRINEY, EventScript_SetBrineyLocation_Route109
return
EventScript_SetBrineyLocation_House:: @ 827190C
EventScript_SetBrineyLocation_House::
setvar VAR_BRINEY_LOCATION, 1
return
EventScript_SetBrineyLocation_Dewford:: @ 8271912
EventScript_SetBrineyLocation_Dewford::
setvar VAR_BRINEY_LOCATION, 2
return
EventScript_SetBrineyLocation_Route109:: @ 8271918
EventScript_SetBrineyLocation_Route109::
setvar VAR_BRINEY_LOCATION, 3
return
@@ -656,32 +654,32 @@ EventScript_SetBrineyLocation_Route109:: @ 8271918
.include "data/scripts/pc.inc"
@ scripts/notices.inc? signs.inc? See comment about text/notices.inc
Common_EventScript_ShowPokemartSign:: @ 8271E6A
Common_EventScript_ShowPokemartSign::
msgbox gText_PokemartSign, MSGBOX_SIGN
end
Common_EventScript_ShowPokemonCenterSign:: @ 8271E73
Common_EventScript_ShowPokemonCenterSign::
msgbox gText_PokemonCenterSign, MSGBOX_SIGN
end
Common_ShowEasyChatScreen:: @ 8271E7C
Common_ShowEasyChatScreen::
fadescreen FADE_TO_BLACK
special ShowEasyChatScreen
fadescreen FADE_FROM_BLACK
return
Common_EventScript_ReadyPetalburgGymForBattle:: @ 8271E84
Common_EventScript_ReadyPetalburgGymForBattle::
clearflag FLAG_HIDE_PETALBURG_GYM_GREETER
setflag FLAG_PETALBURG_MART_EXPANDED_ITEMS
return
Common_EventScript_BufferTrendyPhrase:: @ 8271E8B
Common_EventScript_BufferTrendyPhrase::
dotimebasedevents
setvar VAR_0x8004, 0
special BufferTrendyPhraseString
return
EventScript_BackupMrBrineyLocation:: @ 8271E95
EventScript_BackupMrBrineyLocation::
copyvar VAR_0x8008, VAR_BRINEY_LOCATION
setvar VAR_BRINEY_LOCATION, 0
return
@@ -690,34 +688,34 @@ EventScript_BackupMrBrineyLocation:: @ 8271E95
.include "data/scripts/rival_graphics.inc"
.include "data/scripts/set_gym_trainers.inc"
Common_EventScript_ShowBagIsFull:: @ 8272054
Common_EventScript_ShowBagIsFull::
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
release
end
Common_EventScript_BagIsFull:: @ 827205E
Common_EventScript_BagIsFull::
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
return
Common_EventScript_ShowNoRoomForDecor:: @ 8272067
Common_EventScript_ShowNoRoomForDecor::
msgbox gText_NoRoomLeftForAnother, MSGBOX_DEFAULT
release
end
Common_EventScript_NoRoomForDecor:: @ 8272071
Common_EventScript_NoRoomForDecor::
msgbox gText_NoRoomLeftForAnother, MSGBOX_DEFAULT
return
Common_EventScript_SetAbnormalWeather:: @ 827207A
Common_EventScript_SetAbnormalWeather::
setweather WEATHER_ABNORMAL
return
Common_EventScript_PlayGymBadgeFanfare:: @ 827207E
Common_EventScript_PlayGymBadgeFanfare::
playfanfare MUS_OBTAIN_BADGE
waitfanfare
return
Common_EventScript_OutOfCenterPartyHeal:: @ 8272083
Common_EventScript_OutOfCenterPartyHeal::
fadescreen FADE_TO_BLACK
playfanfare MUS_HEAL
waitfanfare
@@ -725,7 +723,7 @@ Common_EventScript_OutOfCenterPartyHeal:: @ 8272083
fadescreen FADE_FROM_BLACK
return
EventScript_RegionMap:: @ 827208F
EventScript_RegionMap::
lockall
msgbox Common_Text_LookCloserAtMap, MSGBOX_DEFAULT
fadescreen FADE_TO_BLACK
@@ -734,12 +732,12 @@ EventScript_RegionMap:: @ 827208F
releaseall
end
Common_EventScript_PlayBrineysBoatMusic:: @ 82720A0
Common_EventScript_PlayBrineysBoatMusic::
setflag FLAG_DONT_TRANSITION_MUSIC
playbgm MUS_SAILING, FALSE
return
Common_EventScript_StopBrineysBoatMusic:: @ 82720A8
Common_EventScript_StopBrineysBoatMusic::
clearflag FLAG_DONT_TRANSITION_MUSIC
fadedefaultbgm
return
@@ -747,13 +745,13 @@ Common_EventScript_StopBrineysBoatMusic:: @ 82720A8
.include "data/scripts/prof_birch.inc"
@ Below could be split as ferry.inc aside from the Rusturf tunnel script
Common_EventScript_FerryDepart:: @ 82721E2
Common_EventScript_FerryDepart::
delay 60
applymovement VAR_0x8004, Movement_FerryDepart
waitmovement 0
return
Movement_FerryDepart: @ 82721F0
Movement_FerryDepart:
walk_slow_right
walk_slow_right
walk_slow_right
@@ -763,7 +761,7 @@ Movement_FerryDepart: @ 82721F0
walk_right
step_end
EventScript_HideMrBriney:: @ 82721F8
EventScript_HideMrBriney::
setflag FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN
setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
setflag FLAG_HIDE_ROUTE_109_MR_BRINEY
@@ -775,7 +773,7 @@ EventScript_HideMrBriney:: @ 82721F8
setvar VAR_BRINEY_LOCATION, 0
return
RusturfTunnel_EventScript_SetRusturfTunnelOpen:: @ 8272216
RusturfTunnel_EventScript_SetRusturfTunnelOpen::
removeobject LOCALID_WANDAS_BF
removeobject LOCALID_WANDA
clearflag FLAG_HIDE_VERDANTURF_TOWN_WANDAS_HOUSE_WANDAS_BOYFRIEND
@@ -784,9 +782,9 @@ RusturfTunnel_EventScript_SetRusturfTunnelOpen:: @ 8272216
setflag FLAG_RUSTURF_TUNNEL_OPENED
return
EventScript_UnusedBoardFerry:: @ 827222B
EventScript_UnusedBoardFerry::
delay 30
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterUp
waitmovement 0
showobjectat OBJ_EVENT_ID_PLAYER, 0
delay 30
@@ -795,15 +793,13 @@ EventScript_UnusedBoardFerry:: @ 827222B
delay 30
return
Movement_UnusedBoardFerry: @ 827224E
Movement_UnusedBoardFerry:
walk_up
step_end
Common_EventScript_FerryDepartIsland:: @ 8272250
compare VAR_FACING, DIR_SOUTH
call_if_eq Ferry_EventScript_DepartIslandSouth
compare VAR_FACING, DIR_WEST
call_if_eq Ferry_EventScript_DepartIslandWest
Common_EventScript_FerryDepartIsland::
call_if_eq VAR_FACING, DIR_SOUTH, Ferry_EventScript_DepartIslandSouth
call_if_eq VAR_FACING, DIR_WEST, Ferry_EventScript_DepartIslandWest
delay 30
hideobjectat OBJ_EVENT_ID_PLAYER, 0
call Common_EventScript_FerryDepart
@@ -812,14 +808,14 @@ Common_EventScript_FerryDepartIsland:: @ 8272250
.include "data/scripts/cave_of_origin.inc"
.include "data/scripts/kecleon.inc"
Common_EventScript_NameReceivedPartyMon:: @ 82723DD
Common_EventScript_NameReceivedPartyMon::
fadescreen FADE_TO_BLACK
special ChangePokemonNickname
waitstate
return
Common_EventScript_PlayerHandedOverTheItem:: @ 82723E4
bufferitemname 0, VAR_0x8004
Common_EventScript_PlayerHandedOverTheItem::
bufferitemname STR_VAR_1, VAR_0x8004
playfanfare MUS_OBTAIN_TMHM
message gText_PlayerHandedOverTheItem
waitmessage
@@ -837,32 +833,32 @@ Common_EventScript_PlayerHandedOverTheItem:: @ 82723E4
.include "data/text/obtain_item.inc"
@ The below and surf.inc could be split into some text/notices.inc
gText_PokemartSign:: @ 8272B6A
gText_PokemartSign::
.string "Selected items for your convenience!\n"
.string "POKéMON MART$"
gText_PokemonCenterSign:: @ 8272B9E
gText_PokemonCenterSign::
.string "Rejuvenate your tired partners!\n"
.string "POKéMON CENTER$"
gText_MomOrDadMightLikeThisProgram:: @ 8272BCF
gText_MomOrDadMightLikeThisProgram::
.string "{STR_VAR_1} might like this program.\n"
.string " \p"
.string "Better get going!$"
gText_WhichFloorWouldYouLike:: @ 8272C1D
gText_WhichFloorWouldYouLike::
.string "Welcome to LILYCOVE DEPARTMENT STORE.\p"
.string "Which floor would you like?$"
gText_SandstormIsVicious:: @ 8272C5F
gText_SandstormIsVicious::
.string "The sandstorm is vicious.\n"
.string "It's impossible to keep going.$"
gText_SelectWithoutRegisteredItem:: @ 8272C98
gText_SelectWithoutRegisteredItem::
.string "An item in the BAG can be\n"
.string "registered to SELECT for easy use.$"
gText_PokemonTrainerSchoolEmail:: @ 8272CD5
gText_PokemonTrainerSchoolEmail::
.string "There's an e-mail from POKéMON TRAINER\n"
.string "SCHOOL.\p"
.string " \p"
@@ -871,25 +867,25 @@ gText_PokemonTrainerSchoolEmail:: @ 8272CD5
.string "move sets chosen for POKéMON.\p"
.string " $"
gText_PlayerHouseBootPC:: @ 8272D87
gText_PlayerHouseBootPC::
.string "{PLAYER} booted up the PC.$"
gText_PokeblockLinkCanceled:: @ 8272D9C
gText_PokeblockLinkCanceled::
.string "The link was canceled.$"
gText_UnusedNicknameReceivedPokemon:: @ 8272DB3
gText_UnusedNicknameReceivedPokemon::
.string "Want to give a nickname to\n"
.string "the {STR_VAR_2} you received?$"
gText_PlayerWhitedOut:: @ 8272DE3
gText_PlayerWhitedOut::
.string "{PLAYER} is out of usable\n"
.string "POKéMON!\p{PLAYER} whited out!$"
gText_RegisteredTrainerinPokeNav:: @ 8272E0F
gText_RegisteredTrainerinPokeNav::
.string "Registered {STR_VAR_1} {STR_VAR_2}\n"
.string "in the POKéNAV.$"
gText_ComeBackWithSecretPower:: @ 8272E30
gText_ComeBackWithSecretPower::
.string "Do you know the TM SECRET POWER?\p"
.string "Our group, we love the TM SECRET\n"
.string "POWER.\p"
@@ -898,7 +894,7 @@ gText_ComeBackWithSecretPower:: @ 8272E30
.string "We'll accept you as a member and sell\n"
.string "you good stuff in secrecy.$"
gText_PokerusExplanation:: @ 8272F07
gText_PokerusExplanation::
.string "Your POKéMON may be infected with\n"
.string "POKéRUS.\p"
.string "Little is known about the POKéRUS\n"
@@ -909,104 +905,104 @@ gText_PokerusExplanation:: @ 8272F07
.include "data/text/surf.inc"
gText_DoorOpenedFarAway:: @ 827301B
gText_DoorOpenedFarAway::
.string "It sounded as if a door opened\n"
.string "somewhere far away.$"
gText_BigHoleInTheWall:: @ 827304E
gText_BigHoleInTheWall::
.string "There is a big hole in the wall.$"
gText_SorryWirelessClubAdjustments:: @ 827306F
gText_SorryWirelessClubAdjustments::
.string "I'm terribly sorry.\n"
.string "The POKéMON WIRELESS CLUB is\l"
.string "undergoing adjustments now.$"
gText_UndergoingAdjustments:: @ 82730BC
gText_UndergoingAdjustments::
.string "It appears to be undergoing\n"
.string "adjustments$"
@ Unused
gText_SorryTradeCenterInspections:: @ 82730E5
gText_SorryTradeCenterInspections::
.string "I'm terribly sorry. The TRADE CENTER\n"
.string "is undergoing inspections.$"
@ Unused
gText_SorryRecordCornerPreparation:: @ 8273125
gText_SorryRecordCornerPreparation::
.string "I'm terribly sorry. The RECORD CORNER\n"
.string "is under preparation.$"
gText_PlayerHandedOverTheItem:: @ 8273161
gText_PlayerHandedOverTheItem::
.string "{PLAYER} handed over the\n"
.string "{STR_VAR_1}.$"
gText_ThankYouForAccessingMysteryGift:: @ 8273178
gText_ThankYouForAccessingMysteryGift::
.string "Thank you for accessing the\n"
.string "MYSTERY GIFT System.$"
gText_PlayerFoundOneTMHM:: @ 82731A9
gText_PlayerFoundOneTMHM::
.string "{PLAYER} found one {STR_VAR_1}\n"
.string "{STR_VAR_2}!$"
gText_Sudowoodo_Attacked:: @ 82731BD
gText_Sudowoodo_Attacked::
.string "The weird tree doesn't like the\n"
.string "WAILMER PAIL!\p"
.string "The weird tree attacked!$"
gText_LegendaryFlewAway:: @ 8273204
gText_LegendaryFlewAway::
.string "The {STR_VAR_1} flew away!$"
.include "data/text/pc_transfer.inc"
.include "data/text/mevent.inc"
.include "data/text/questionnaire.inc"
.include "data/text/abnormal_weather.inc"
EventScript_SelectWithoutRegisteredItem:: @ 82736B3
EventScript_SelectWithoutRegisteredItem::
msgbox gText_SelectWithoutRegisteredItem, MSGBOX_SIGN
end
.include "data/scripts/field_poison.inc"
Common_EventScript_NopReturn:: @ 827374E
Common_EventScript_NopReturn::
return
@ Unused
EventScript_CableClub_SetVarResult1:: @ 827374F
EventScript_CableClub_SetVarResult1::
setvar VAR_RESULT, 1
return
EventScript_CableClub_SetVarResult0:: @ 8273755
EventScript_CableClub_SetVarResult0::
setvar VAR_RESULT, 0
return
Common_EventScript_UnionRoomAttendant:: @ 827375B
Common_EventScript_UnionRoomAttendant::
call CableClub_EventScript_UnionRoomAttendant
end
Common_EventScript_WirelessClubAttendant:: @ 8273761
Common_EventScript_WirelessClubAttendant::
call CableClub_EventScript_WirelessClubAttendant
end
Common_EventScript_DirectCornerAttendant:: @ 8273767
Common_EventScript_DirectCornerAttendant::
call CableClub_EventScript_DirectCornerAttendant
end
Common_EventScript_RemoveStaticPokemon:: @ 827376D
Common_EventScript_RemoveStaticPokemon::
fadescreenswapbuffers FADE_TO_BLACK
removeobject VAR_LAST_TALKED
fadescreenswapbuffers FADE_FROM_BLACK
release
end
Common_EventScript_LegendaryFlewAway:: @ 8273776
Common_EventScript_LegendaryFlewAway::
fadescreenswapbuffers FADE_TO_BLACK
removeobject VAR_LAST_TALKED
fadescreenswapbuffers FADE_FROM_BLACK
bufferspeciesname 0, VAR_0x8004
bufferspeciesname STR_VAR_1, VAR_0x8004
msgbox gText_LegendaryFlewAway, MSGBOX_DEFAULT
release
end
.include "data/scripts/pc_transfer.inc"
.include "data/scripts/mevent.inc"
.include "data/scripts/questionnaire.inc"
.include "data/scripts/abnormal_weather.inc"
.include "data/scripts/trainer_script.inc"
.include "data/scripts/berry_tree.inc"
@@ -1026,7 +1022,7 @@ Common_EventScript_LegendaryFlewAway:: @ 8273776
.include "data/scripts/mauville_man.inc"
.include "data/scripts/field_move_scripts.inc"
.include "data/scripts/item_ball_scripts.inc"
.include "data/scripts/mystery_event_club.inc"
.include "data/scripts/profile_man.inc"
.include "data/scripts/day_care.inc"
.include "data/scripts/flash.inc"
.include "data/scripts/players_house.inc"

View File

@@ -4,7 +4,7 @@
.section script_data, "aw", %progbits
.align 2
gFieldEffectScriptPointers:: @ 82DB9D4
gFieldEffectScriptPointers::
.4byte gFieldEffectScript_ExclamationMarkIcon1 @ FLDEFF_EXCLAMATION_MARK_ICON
.4byte gFieldEffectScript_UseCutOnTallGrass @ FLDEFF_USE_CUT_ON_GRASS
.4byte gFieldEffectScript_UseCutOnTree @ FLDEFF_USE_CUT_ON_TREE
@@ -50,7 +50,7 @@ gFieldEffectScriptPointers:: @ 82DB9D4
.4byte gFieldEffectScript_HotSpringsWater @ FLDEFF_HOT_SPRINGS_WATER
.4byte gFieldEffectScript_UseWaterfall @ FLDEFF_USE_WATERFALL
.4byte gFieldEffectScript_UseDive @ FLDEFF_USE_DIVE
.4byte gFieldEffectScript_Pokeball @ FLDEFF_POKEBALL
.4byte gFieldEffectScript_PokeballTrail @ FLDEFF_POKEBALL_TRAIL
.4byte gFieldEffectScript_HeartIcon @ FLDEFF_HEART_ICON
.4byte gFieldEffectScript_Nop47 @ FLDEFF_NOP_47
.4byte gFieldEffectScript_Nop48 @ FLDEFF_NOP_48
@@ -75,274 +75,274 @@ gFieldEffectScriptPointers:: @ 82DB9D4
.4byte gFieldEffectScript_UseRockClimb @ FLDEFF_USE_ROCK_CLIMB
.4byte gFieldEffectScript_RockClimbDust @ FLDEFF_ROCK_CLIMB_DUST
gFieldEffectScript_ExclamationMarkIcon1:: @ 82DBAE0
gFieldEffectScript_ExclamationMarkIcon1::
field_eff_callnative FldEff_ExclamationMarkIcon
field_eff_end
gFieldEffectScript_UseCutOnTallGrass:: @ 82DBAE6
gFieldEffectScript_UseCutOnTallGrass::
field_eff_callnative FldEff_UseCutOnGrass
field_eff_end
gFieldEffectScript_UseCutOnTree:: @ 82DBAEC
gFieldEffectScript_UseCutOnTree::
field_eff_callnative FldEff_UseCutOnTree
field_eff_end
gFieldEffectScript_Shadow:: @ 82DBAF2
gFieldEffectScript_Shadow::
field_eff_callnative FldEff_Shadow
field_eff_end
gFieldEffectScript_TallGrass:: @ 82DBAF8
gFieldEffectScript_TallGrass::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_TallGrass
field_eff_end
gFieldEffectScript_Ripple:: @ 82DBB02
gFieldEffectScript_Ripple::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_Ripple
field_eff_end
gFieldEffectScript_FieldMoveShowMon:: @ 82DBB0C
gFieldEffectScript_FieldMoveShowMon::
field_eff_callnative FldEff_FieldMoveShowMon
field_eff_end
gFieldEffectScript_Ash:: @ 82DBB12
gFieldEffectScript_Ash::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_Ash
field_eff_end
gFieldEffectScript_SurfBlob:: @ 82DBB1C
gFieldEffectScript_SurfBlob::
field_eff_callnative FldEff_SurfBlob
field_eff_end
gFieldEffectScript_UseSurf:: @ 82DBB22
gFieldEffectScript_UseSurf::
field_eff_callnative FldEff_UseSurf
field_eff_end
gFieldEffectScript_GroundImpactDust:: @ 82DBB28
gFieldEffectScript_GroundImpactDust::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_Dust
field_eff_end
gFieldEffectScript_UseSecretPowerCave:: @ 82DBB32
gFieldEffectScript_UseSecretPowerCave::
field_eff_callnative FldEff_UseSecretPowerCave
field_eff_end
gFieldEffectScript_JumpTallGrass:: @ 82DBB38
gFieldEffectScript_JumpTallGrass::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_JumpTallGrass
field_eff_end
gFieldEffectScript_SandFootprints:: @ 82DBB42
gFieldEffectScript_SandFootprints::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_SandFootprints
field_eff_end
gFieldEffectScript_JumpBigSplash:: @ 82DBB4C
gFieldEffectScript_JumpBigSplash::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_JumpBigSplash
field_eff_end
gFieldEffectScript_Splash:: @ 82DBB56
gFieldEffectScript_Splash::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_Splash
field_eff_end
gFieldEffectScript_JumpSmallSplash:: @ 82DBB60
gFieldEffectScript_JumpSmallSplash::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_JumpSmallSplash
field_eff_end
gFieldEffectScript_LongGrass:: @ 82DBB6A
gFieldEffectScript_LongGrass::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_LongGrass
field_eff_end
gFieldEffectScript_JumpLongGrass:: @ 82DBB74
gFieldEffectScript_JumpLongGrass::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_JumpLongGrass
field_eff_end
gFieldEffectScript_UnusedGrass:: @ 82DBB7E
gFieldEffectScript_UnusedGrass::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_UnusedGrass
field_eff_end
gFieldEffectScript_UnusedGrass2:: @ 82DBB88
gFieldEffectScript_UnusedGrass2::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_UnusedGrass2
field_eff_end
gFieldEffectScript_UnusedSand:: @ 82DBB92
gFieldEffectScript_UnusedSand::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_UnusedSand
field_eff_end
gFieldEffectScript_WaterSurfacing:: @ 82DBB9C
gFieldEffectScript_WaterSurfacing::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_WaterSurfacing
field_eff_end
gFieldEffectScript_BerryTreeGrowthSparkle:: @ 82DBBA6
gFieldEffectScript_BerryTreeGrowthSparkle::
field_eff_callnative FldEff_BerryTreeGrowthSparkle
field_eff_end
gFieldEffectScript_DeepSandFootprints:: @ 82DBBAC
gFieldEffectScript_DeepSandFootprints::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_DeepSandFootprints
field_eff_end
gFieldEffectScript_PokeCenterHeal:: @ 82DBBB6
gFieldEffectScript_PokeCenterHeal::
field_eff_loadfadedpal gSpritePalette_PokeballGlow
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_PokecenterHeal
field_eff_end
gFieldEffectScript_UseSecretPowerTree:: @ 82DBBC5
gFieldEffectScript_UseSecretPowerTree::
field_eff_callnative FldEff_UseSecretPowerTree
field_eff_end
gFieldEffectScript_UseSecretPowerShrub:: @ 82DBBCB
gFieldEffectScript_UseSecretPowerShrub::
field_eff_callnative FldEff_UseSecretPowerShrub
field_eff_end
gFieldEffectScript_TreeDisguise:: @ 82DBBD1
gFieldEffectScript_TreeDisguise::
field_eff_callnative ShowTreeDisguiseFieldEffect
field_eff_end
gFieldEffectScript_MountainDisguise:: @ 82DBBD7
gFieldEffectScript_MountainDisguise::
field_eff_callnative ShowMountainDisguiseFieldEffect
field_eff_end
gFieldEffectScript_NPCUseFly:: @ 82DBBDD
gFieldEffectScript_NPCUseFly::
field_eff_callnative FldEff_NPCFlyOut
field_eff_end
gFieldEffectScript_UseFly:: @ 82DBBE3
gFieldEffectScript_UseFly::
field_eff_callnative FldEff_UseFly
field_eff_end
gFieldEffectScript_FlyIn:: @ 82DBBE9
gFieldEffectScript_FlyIn::
field_eff_callnative FldEff_FlyIn
field_eff_end
gFieldEffectScript_QuestionMarkIcon:: @ 82DBBEF
gFieldEffectScript_QuestionMarkIcon::
field_eff_callnative FldEff_QuestionMarkIcon
field_eff_end
gFieldEffectScript_FeetInFlowingWater:: @ 82DBBF5
gFieldEffectScript_FeetInFlowingWater::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_FeetInFlowingWater
field_eff_end
gFieldEffectScript_BikeTireTracks:: @ 82DBBFF
gFieldEffectScript_BikeTireTracks::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_BikeTireTracks
field_eff_end
gFieldEffectScript_SandDisguisePlaceholder:: @ 82DBC09
gFieldEffectScript_SandDisguisePlaceholder::
field_eff_callnative ShowSandDisguiseFieldEffect
field_eff_end
gFieldEffectScript_UseRockSmash:: @ 82DBC0F
gFieldEffectScript_UseRockSmash::
field_eff_callnative FldEff_UseRockSmash
field_eff_end
gFieldEffectScript_UseStrength:: @ 82DBC15
gFieldEffectScript_UseStrength::
field_eff_callnative FldEff_UseStrength
field_eff_end
gFieldEffectScript_UseDig:: @ 82DBC1B
gFieldEffectScript_UseDig::
field_eff_callnative FldEff_UseDig
field_eff_end
gFieldEffectScript_SandPile:: @ 82DBC21
gFieldEffectScript_SandPile::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_SandPile
field_eff_end
gFieldEffectScript_ShortGrass:: @ 82DBC2B
gFieldEffectScript_ShortGrass::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_ShortGrass
field_eff_end
gFieldEffectScript_HotSpringsWater:: @ 82DBC35
gFieldEffectScript_HotSpringsWater::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_HotSpringsWater
field_eff_end
gFieldEffectScript_UseWaterfall:: @ 82DBC3F
gFieldEffectScript_UseWaterfall::
field_eff_callnative FldEff_UseWaterfall
field_eff_end
gFieldEffectScript_UseDive:: @ 82DBC45
gFieldEffectScript_UseDive::
field_eff_callnative FldEff_UseDive
field_eff_end
gFieldEffectScript_Pokeball:: @ 82DBC4B
gFieldEffectScript_PokeballTrail::
field_eff_loadpal gSpritePalette_Pokeball
field_eff_callnative FldEff_Pokeball
field_eff_callnative FldEff_PokeballTrail
field_eff_end
gFieldEffectScript_HeartIcon:: @ 82DBC56
gFieldEffectScript_HeartIcon::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_HeartIcon
field_eff_end
gFieldEffectScript_Nop47:: @ 82DBC60
gFieldEffectScript_Nop47::
field_eff_callnative FldEff_Nop47
field_eff_end
gFieldEffectScript_Nop48:: @ 82DBC66
gFieldEffectScript_Nop48::
field_eff_callnative FldEff_Nop48
field_eff_end
gFieldEffectScript_AshPuff:: @ 82DBC6C
gFieldEffectScript_AshPuff::
field_eff_loadfadedpal_callnative gSpritePalette_Ash, FldEff_AshPuff
field_eff_end
gFieldEffectScript_AshLaunch:: @ 82DBC76
gFieldEffectScript_AshLaunch::
field_eff_loadfadedpal_callnative gSpritePalette_Ash, FldEff_AshLaunch
field_eff_end
gFieldEffectScript_SweetScent:: @ 82DBC80
gFieldEffectScript_SweetScent::
field_eff_callnative FldEff_SweetScent
field_eff_end
gFieldEffectScript_SandPillar:: @ 82DBC86
gFieldEffectScript_SandPillar::
field_eff_loadfadedpal_callnative gSpritePalette_SandPillar, FldEff_SandPillar
field_eff_end
gFieldEffectScript_Bubbles:: @ 82DBC90
gFieldEffectScript_Bubbles::
field_eff_loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_Bubbles
field_eff_end
gFieldEffectScript_Sparkle:: @ 82DBC9A
gFieldEffectScript_Sparkle::
field_eff_loadfadedpal_callnative gSpritePalette_SmallSparkle, FldEff_Sparkle
field_eff_end
gFieldEffectScript_ShowSecretPowerCave:: @ 82DBCA4
gFieldEffectScript_ShowSecretPowerCave::
field_eff_loadfadedpal_callnative gSpritePalette_SecretPower_Cave, FldEff_SecretPowerCave
field_eff_end
gFieldEffectScript_ShowSecretPowerTree:: @ 82DBCAE
gFieldEffectScript_ShowSecretPowerTree::
field_eff_loadfadedpal_callnative gSpritePalette_SecretPower_Plant, FldEff_SecretPowerTree
field_eff_end
gFieldEffectScript_ShowSecretPowerShrub:: @ 82DBCB8
gFieldEffectScript_ShowSecretPowerShrub::
field_eff_loadfadedpal_callnative gSpritePalette_SecretPower_Plant, FldEff_SecretPowerShrub
field_eff_end
gFieldEffectScript_ShowCutGrass:: @ 82DBCC2
gFieldEffectScript_ShowCutGrass::
field_eff_loadfadedpal_callnative gSpritePalette_CutGrass, FldEff_CutGrass
field_eff_end
gFieldEffectScript_FieldMoveShowMonInit:: @ 82DBCCC
gFieldEffectScript_FieldMoveShowMonInit::
field_eff_callnative FldEff_FieldMoveShowMonInit
field_eff_end
gFieldEffectScript_UsePuzzleEffect:: @ 82DBCD2
gFieldEffectScript_UsePuzzleEffect::
field_eff_callnative FldEff_UsePuzzleEffect
field_eff_end
gFieldEffectScript_SecretBaseBootPC:: @ 82DBCD8
gFieldEffectScript_SecretBaseBootPC::
field_eff_callnative FldEff_SecretBasePCTurnOn
field_eff_end
gFieldEffectScript_HallOfFameRecord:: @ 82DBCDE
gFieldEffectScript_HallOfFameRecord::
field_eff_loadfadedpal gSpritePalette_PokeballGlow
field_eff_loadfadedpal_callnative gSpritePalette_HofMonitor, FldEff_HallOfFameRecord
field_eff_end
gFieldEffectScript_UseTeleport:: @ 82DBCED
gFieldEffectScript_UseTeleport::
field_eff_callnative FldEff_UseTeleport
field_eff_end
gFieldEffectScript_RayquazaSpotlight:: @ 82DBCF3
gFieldEffectScript_RayquazaSpotlight::
field_eff_callnative FldEff_RayquazaSpotlight
field_eff_end
gFieldEffectScript_DestroyDeoxysRock:: @ 82DBCF9
gFieldEffectScript_DestroyDeoxysRock::
field_eff_callnative FldEff_DestroyDeoxysRock
field_eff_end
gFieldEffectScript_MoveDeoxysRock:: @ 82DBCFF
gFieldEffectScript_MoveDeoxysRock::
field_eff_callnative FldEff_MoveDeoxysRock
field_eff_end

View File

@@ -1,76 +0,0 @@
.include "asm/macros.inc"
.include "constants/constants.inc"
.section .rodata
.align 2
gFont8LatinGlyphs:: @ 862BAE4
.incbin "graphics/fonts/font8.latfont"
.align 2
gFont8LatinGlyphWidths:: @ 8633AE4
.include "graphics/fonts/font8_latin_widths.inc"
.align 2
gFont0LatinGlyphs:: @ 8633CE4
.incbin "graphics/fonts/font0.latfont"
.align 2
gFont0LatinGlyphWidths:: @ 863BCE4
.include "graphics/fonts/font0_latin_widths.inc"
.align 2
gFont7LatinGlyphs:: @ 863BEE4
.incbin "graphics/fonts/font7.latfont"
.align 2
gFont7LatinGlyphWidths:: @ 8643EE4
.include "graphics/fonts/font7_latin_widths.inc"
.align 2
gFont2LatinGlyphs:: @ 86440E4
.incbin "graphics/fonts/font2.latfont"
.align 2
gFont2LatinGlyphWidths:: @ 864C0E4
.include "graphics/fonts/font2_latin_widths.inc"
.align 2
gFont1LatinGlyphs:: @ 864C2E4
.incbin "graphics/fonts/font1.latfont"
.align 2
gFont1LatinGlyphWidths:: @ 86542E4
.include "graphics/fonts/font1_latin_widths.inc"
.align 2
gFont0JapaneseGlyphs:: @ 86544E4
.incbin "graphics/fonts/font0.hwjpnfont"
.align 2
gFont1JapaneseGlyphs:: @ 86584E4
.incbin "graphics/fonts/font1.hwjpnfont"
.align 2
gUnusedJapaneseFireRedLeafGreenMaleFontGlyphs:: @ 865C4E4
.incbin "graphics/fonts/unused_frlg_male.fwjpnfont"
.align 2
gUnusedJapaneseFireRedLeafGreenMaleFontGlyphWidths:: @ 86644E4
.include "graphics/fonts/unused_japanese_frlg_male_font_widths.inc"
.align 2
gUnusedJapaneseFireRedLeafGreenFemaleFontGlyphs:: @ 86646E4
.incbin "graphics/fonts/unused_frlg_female.fwjpnfont"
.align 2
gUnusedJapaneseFireRedLeafGreenFemaleFontGlyphWidths:: @ 866C6E4
.include "graphics/fonts/unused_japanese_frlg_female_font_widths.inc"
.align 2
gFont2JapaneseGlyphs:: @ 866C8E4
.incbin "graphics/fonts/font2.fwjpnfont"
.align 2
gFont2JapaneseGlyphWidths:: @ 86748E4
.include "graphics/fonts/font2_japanese_widths.inc"

View File

@@ -1,42 +1,41 @@
AbandonedShip_CaptainsOffice_MapScripts:: @ 82387E1
AbandonedShip_CaptainsOffice_MapScripts::
.byte 0
AbandonedShip_CaptainsOffice_EventScript_CaptSternAide:: @ 82387E2
AbandonedShip_CaptainsOffice_EventScript_CaptSternAide::
lock
faceplayer
goto_if_set FLAG_EXCHANGED_SCANNER, AbandonedShip_CaptainsOffice_EventScript_ThisIsSSCactus
checkitem ITEM_SCANNER, 1
compare VAR_RESULT, TRUE
goto_if_eq AbandonedShip_CaptainsOffice_EventScript_CanYouDeliverScanner
checkitem ITEM_SCANNER
goto_if_eq VAR_RESULT, TRUE, AbandonedShip_CaptainsOffice_EventScript_CanYouDeliverScanner
goto_if_set FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_4_SCANNER, AbandonedShip_CaptainsOffice_EventScript_ThisIsSSCactus
msgbox AbandonedShip_CaptainsOffice_Text_NoSuccessFindingScanner, MSGBOX_DEFAULT
release
end
AbandonedShip_CaptainsOffice_EventScript_CanYouDeliverScanner:: @ 8238810
AbandonedShip_CaptainsOffice_EventScript_CanYouDeliverScanner::
msgbox AbandonedShip_CaptainsOffice_Text_OhCanYouDeliverScanner, MSGBOX_DEFAULT
release
end
AbandonedShip_CaptainsOffice_EventScript_ThisIsSSCactus:: @ 823881A
AbandonedShip_CaptainsOffice_EventScript_ThisIsSSCactus::
msgbox AbandonedShip_CaptainsOffice_Text_ThisIsSSCactus, MSGBOX_DEFAULT
release
end
AbandonedShip_CaptainsOffice_Text_NoSuccessFindingScanner: @ 8238824
AbandonedShip_CaptainsOffice_Text_NoSuccessFindingScanner:
.string "I'm investigating this ship on behalf\n"
.string "of CAPT. STERN.\p"
.string "He also asked me to find a SCANNER,\n"
.string "but I haven't had any success…$"
AbandonedShip_CaptainsOffice_Text_OhCanYouDeliverScanner: @ 823889D
AbandonedShip_CaptainsOffice_Text_OhCanYouDeliverScanner:
.string "Oh! That's a SCANNER!\p"
.string "Listen, can I get you to deliver that\n"
.string "to CAPT. STERN?\p"
.string "I want to investigate this ship a\n"
.string "little more.$"
AbandonedShip_CaptainsOffice_Text_ThisIsSSCactus: @ 8238918
AbandonedShip_CaptainsOffice_Text_ThisIsSSCactus:
.string "This ship is called S.S. CACTUS.\n"
.string "It seems to be from an earlier era.$"

View File

@@ -1,26 +1,26 @@
AbandonedShip_Corridors_1F_MapScripts:: @ 82379A4
AbandonedShip_Corridors_1F_MapScripts::
.byte 0
AbandonedShip_Corridors_1F_EventScript_Youngster:: @ 82379A5
AbandonedShip_Corridors_1F_EventScript_Youngster::
msgbox AbandonedShip_Corridors_1F_Text_IsntItFunHere, MSGBOX_NPC
end
AbandonedShip_Corridors_1F_EventScript_Charlie:: @ 82379AE
AbandonedShip_Corridors_1F_EventScript_Charlie::
trainerbattle_single TRAINER_CHARLIE, AbandonedShip_Corridors_1F_Text_CharlieIntro, AbandonedShip_Corridors_1F_Text_CharlieDefeat
msgbox AbandonedShip_Corridors_1F_Text_CharliePostBattle, MSGBOX_AUTOCLOSE
end
AbandonedShip_Corridors_1F_Text_CharlieIntro: @ 82379C5
AbandonedShip_Corridors_1F_Text_CharlieIntro:
.string "What's so funny about having my inner\n"
.string "tube aboard the ship?$"
AbandonedShip_Corridors_1F_Text_CharlieDefeat: @ 8237A01
AbandonedShip_Corridors_1F_Text_CharlieDefeat:
.string "Whoa, you overwhelmed me!$"
AbandonedShip_Corridors_1F_Text_CharliePostBattle: @ 8237A1B
AbandonedShip_Corridors_1F_Text_CharliePostBattle:
.string "It's not easy throwing POKé BALLS\n"
.string "while hanging on to an inner tube!$"
AbandonedShip_Corridors_1F_Text_IsntItFunHere: @ 8237A60
AbandonedShip_Corridors_1F_Text_IsntItFunHere:
.string "Isn't it fun here?\n"
.string "I get excited just being here!$"

View File

@@ -1,35 +1,34 @@
AbandonedShip_Corridors_B1F_MapScripts:: @ 8237D84
AbandonedShip_Corridors_B1F_MapScripts::
map_script MAP_SCRIPT_ON_RESUME, AbandonedShip_Corridors_B1F_OnResume
map_script MAP_SCRIPT_ON_LOAD, AbandonedShip_Corridors_B1F_OnLoad
.byte 0
AbandonedShip_Corridors_B1F_OnResume: @ 8237D8F
setdivewarp MAP_ABANDONED_SHIP_UNDERWATER1, 255, 5, 4
AbandonedShip_Corridors_B1F_OnResume:
setdivewarp MAP_ABANDONED_SHIP_UNDERWATER1, 5, 4
end
AbandonedShip_Corridors_B1F_OnLoad: @ 8237D98
AbandonedShip_Corridors_B1F_OnLoad:
call_if_unset FLAG_USED_STORAGE_KEY, AbandonedShip_Corridors_B1F_EventScript_LockStorageRoom
call_if_set FLAG_USED_STORAGE_KEY, AbandonedShip_Corridors_B1F_EventScript_UnlockStorageRoom
end
AbandonedShip_Corridors_B1F_EventScript_LockStorageRoom:: @ 8237DAB
setmetatile 11, 4, METATILE_InsideShip_IntactDoor_Bottom_Locked, 1
AbandonedShip_Corridors_B1F_EventScript_LockStorageRoom::
setmetatile 11, 4, METATILE_InsideShip_IntactDoor_Bottom_Locked, TRUE
return
AbandonedShip_Corridors_B1F_EventScript_UnlockStorageRoom:: @ 8237DB5
setmetatile 11, 4, METATILE_InsideShip_IntactDoor_Bottom_Unlocked, 1
AbandonedShip_Corridors_B1F_EventScript_UnlockStorageRoom::
setmetatile 11, 4, METATILE_InsideShip_IntactDoor_Bottom_Unlocked, TRUE
return
AbandonedShip_Corridors_B1F_EventScript_TuberM:: @ 8237DBF
AbandonedShip_Corridors_B1F_EventScript_TuberM::
msgbox AbandonedShip_Corridors_B1F_Text_YayItsAShip, MSGBOX_NPC
end
AbandonedShip_Corridors_B1F_EventScript_StorageRoomDoor:: @ 8237DC8
AbandonedShip_Corridors_B1F_EventScript_StorageRoomDoor::
lockall
goto_if_set FLAG_USED_STORAGE_KEY, AbandonedShip_Corridors_B1F_EventScript_DoorIsUnlocked
checkitem ITEM_STORAGE_KEY, 1
compare VAR_RESULT, FALSE
goto_if_eq AbandonedShip_Corridors_B1F_EventScript_DoorIsLocked
checkitem ITEM_STORAGE_KEY
goto_if_eq VAR_RESULT, FALSE, AbandonedShip_Corridors_B1F_EventScript_DoorIsLocked
msgbox AbandonedShip_Corridors_B1F_Text_InsertedStorageKey, MSGBOX_DEFAULT
playse SE_PIN
removeitem ITEM_STORAGE_KEY
@@ -39,49 +38,49 @@ AbandonedShip_Corridors_B1F_EventScript_StorageRoomDoor:: @ 8237DC8
releaseall
end
AbandonedShip_Corridors_B1F_EventScript_DoorIsLocked:: @ 8237DFF
AbandonedShip_Corridors_B1F_EventScript_DoorIsLocked::
msgbox AbandonedShip_Corridors_B1F_Text_DoorIsLocked, MSGBOX_DEFAULT
releaseall
end
AbandonedShip_Corridors_B1F_EventScript_DoorIsUnlocked:: @ 8237E09
AbandonedShip_Corridors_B1F_EventScript_DoorIsUnlocked::
msgbox AbandonedShip_Text_TheDoorIsOpen, MSGBOX_DEFAULT
releaseall
end
AbandonedShip_Corridors_B1F_EventScript_Duncan:: @ 8237E13
AbandonedShip_Corridors_B1F_EventScript_Duncan::
trainerbattle_single TRAINER_DUNCAN, AbandonedShip_Corridors_B1F_Text_DuncanIntro, AbandonedShip_Corridors_B1F_Text_DuncanDefeat
msgbox AbandonedShip_Corridors_B1F_Text_DuncanPostBattle, MSGBOX_AUTOCLOSE
end
AbandonedShip_Corridors_B1F_Text_DuncanIntro: @ 8237E2A
AbandonedShip_Corridors_B1F_Text_DuncanIntro:
.string "When we go out to sea, we SAILORS\n"
.string "always bring our POKéMON.\l"
.string "How about a quick battle?$"
AbandonedShip_Corridors_B1F_Text_DuncanDefeat: @ 8237E80
AbandonedShip_Corridors_B1F_Text_DuncanDefeat:
.string "Whoops, I'm sunk!$"
AbandonedShip_Corridors_B1F_Text_DuncanPostBattle: @ 8237E92
AbandonedShip_Corridors_B1F_Text_DuncanPostBattle:
.string "The ship's bottom has sunk into the\n"
.string "depths.\p"
.string "If a POKéMON knew how to go underwater,\n"
.string "we might make some progress…$"
AbandonedShip_Corridors_B1F_Text_YayItsAShip: @ 8237F03
AbandonedShip_Corridors_B1F_Text_YayItsAShip:
.string "Yay!\n"
.string "It's a ship!$"
AbandonedShip_Corridors_B1F_Text_DoorIsLocked: @ 8237F15
AbandonedShip_Corridors_B1F_Text_DoorIsLocked:
.string "The door is locked.\p"
.string "“STORAGE” is painted on the door.$"
AbandonedShip_Corridors_B1F_Text_InsertedStorageKey: @ 8237F4B
AbandonedShip_Corridors_B1F_Text_InsertedStorageKey:
.string "{PLAYER} inserted and turned the\n"
.string "STORAGE KEY.\p"
.string "The inserted KEY stuck fast,\n"
.string "but the door opened.$"
AbandonedShip_Text_TheDoorIsOpen: @ 8237FA5
AbandonedShip_Text_TheDoorIsOpen:
.string "The door is open.$"

View File

@@ -1,8 +1,8 @@
AbandonedShip_Deck_MapScripts:: @ 823799A
AbandonedShip_Deck_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, AbandonedShip_Deck_OnTransition
.byte 0
AbandonedShip_Deck_OnTransition: @ 82379A0
AbandonedShip_Deck_OnTransition:
setflag FLAG_LANDMARK_ABANDONED_SHIP
end

View File

@@ -1,13 +1,13 @@
AbandonedShip_HiddenFloorCorridors_MapScripts:: @ 823896C
AbandonedShip_HiddenFloorCorridors_MapScripts::
map_script MAP_SCRIPT_ON_RESUME, AbandonedShip_HiddenFloorCorridors_OnResume
map_script MAP_SCRIPT_ON_LOAD, AbandonedShip_HiddenFloorCorridors_OnLoad
.byte 0
AbandonedShip_HiddenFloorCorridors_OnResume: @ 8238977
setdivewarp MAP_ABANDONED_SHIP_UNDERWATER1, 255, 5, 4
AbandonedShip_HiddenFloorCorridors_OnResume:
setdivewarp MAP_ABANDONED_SHIP_UNDERWATER1, 5, 4
end
AbandonedShip_HiddenFloorCorridors_OnLoad: @ 8238980
AbandonedShip_HiddenFloorCorridors_OnLoad:
call_if_unset FLAG_USED_ROOM_1_KEY, AbandonedShip_HiddenFloorCorridors_EventScript_LockRoom1
call_if_unset FLAG_USED_ROOM_2_KEY, AbandonedShip_HiddenFloorCorridors_EventScript_LockRoom2
call_if_unset FLAG_USED_ROOM_4_KEY, AbandonedShip_HiddenFloorCorridors_EventScript_LockRoom4
@@ -18,44 +18,43 @@ AbandonedShip_HiddenFloorCorridors_OnLoad: @ 8238980
call_if_set FLAG_USED_ROOM_6_KEY, AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom6
end
AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom1:: @ 82389C9
setmetatile 3, 8, METATILE_InsideShip_IntactDoor_Bottom_Unlocked, 1
AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom1::
setmetatile 3, 8, METATILE_InsideShip_IntactDoor_Bottom_Unlocked, TRUE
return
AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom2:: @ 82389D3
setmetatile 6, 8, METATILE_InsideShip_IntactDoor_Bottom_Unlocked, 1
AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom2::
setmetatile 6, 8, METATILE_InsideShip_IntactDoor_Bottom_Unlocked, TRUE
return
AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom4:: @ 82389DD
setmetatile 3, 3, METATILE_InsideShip_DoorIndent_Unlocked, 0
AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom4::
setmetatile 3, 3, METATILE_InsideShip_DoorIndent_Unlocked, FALSE
return
AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom6:: @ 82389E7
setmetatile 9, 3, METATILE_InsideShip_DoorIndent_Unlocked, 0
AbandonedShip_HiddenFloorCorridors_EventScript_UnlockRoom6::
setmetatile 9, 3, METATILE_InsideShip_DoorIndent_Unlocked, FALSE
return
AbandonedShip_HiddenFloorCorridors_EventScript_LockRoom1:: @ 82389F1
setmetatile 3, 8, METATILE_InsideShip_IntactDoor_Bottom_Locked, 1
AbandonedShip_HiddenFloorCorridors_EventScript_LockRoom1::
setmetatile 3, 8, METATILE_InsideShip_IntactDoor_Bottom_Locked, TRUE
return
AbandonedShip_HiddenFloorCorridors_EventScript_LockRoom2:: @ 82389FB
setmetatile 6, 8, METATILE_InsideShip_IntactDoor_Bottom_Locked, 1
AbandonedShip_HiddenFloorCorridors_EventScript_LockRoom2::
setmetatile 6, 8, METATILE_InsideShip_IntactDoor_Bottom_Locked, TRUE
return
AbandonedShip_HiddenFloorCorridors_EventScript_LockRoom4:: @ 8238A05
setmetatile 3, 3, METATILE_InsideShip_DoorIndent_Locked, 0
AbandonedShip_HiddenFloorCorridors_EventScript_LockRoom4::
setmetatile 3, 3, METATILE_InsideShip_DoorIndent_Locked, FALSE
return
AbandonedShip_HiddenFloorCorridors_EventScript_LockRoom6:: @ 8238A0F
setmetatile 9, 3, METATILE_InsideShip_DoorIndent_Locked, 0
AbandonedShip_HiddenFloorCorridors_EventScript_LockRoom6::
setmetatile 9, 3, METATILE_InsideShip_DoorIndent_Locked, FALSE
return
AbandonedShip_HiddenFloorCorridors_EventScript_Room1Door:: @ 8238A19
AbandonedShip_HiddenFloorCorridors_EventScript_Room1Door::
lockall
goto_if_set FLAG_USED_ROOM_1_KEY, AbandonedShip_HiddenFloorCorridors_EventScript_TheDoorIsOpen
checkitem ITEM_ROOM_1_KEY, 1
compare VAR_RESULT, FALSE
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_Rm1IsLocked
checkitem ITEM_ROOM_1_KEY
goto_if_eq VAR_RESULT, FALSE, AbandonedShip_HiddenFloorCorridors_EventScript_Rm1IsLocked
msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
playse SE_PIN
removeitem ITEM_ROOM_1_KEY
@@ -65,12 +64,11 @@ AbandonedShip_HiddenFloorCorridors_EventScript_Room1Door:: @ 8238A19
releaseall
end
AbandonedShip_HiddenFloorCorridors_EventScript_Room2Door:: @ 8238A50
AbandonedShip_HiddenFloorCorridors_EventScript_Room2Door::
lockall
goto_if_set FLAG_USED_ROOM_2_KEY, AbandonedShip_HiddenFloorCorridors_EventScript_TheDoorIsOpen
checkitem ITEM_ROOM_2_KEY, 1
compare VAR_RESULT, FALSE
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_Rm2IsLocked
checkitem ITEM_ROOM_2_KEY
goto_if_eq VAR_RESULT, FALSE, AbandonedShip_HiddenFloorCorridors_EventScript_Rm2IsLocked
msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
playse SE_PIN
removeitem ITEM_ROOM_2_KEY
@@ -80,12 +78,11 @@ AbandonedShip_HiddenFloorCorridors_EventScript_Room2Door:: @ 8238A50
releaseall
end
AbandonedShip_HiddenFloorCorridors_EventScript_Room4Door:: @ 8238A87
AbandonedShip_HiddenFloorCorridors_EventScript_Room4Door::
lockall
goto_if_set FLAG_USED_ROOM_4_KEY, AbandonedShip_HiddenFloorCorridors_EventScript_TheDoorIsOpen
checkitem ITEM_ROOM_4_KEY, 1
compare VAR_RESULT, FALSE
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_Rm4IsLocked
checkitem ITEM_ROOM_4_KEY
goto_if_eq VAR_RESULT, FALSE, AbandonedShip_HiddenFloorCorridors_EventScript_Rm4IsLocked
msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
playse SE_PIN
removeitem ITEM_ROOM_4_KEY
@@ -95,12 +92,11 @@ AbandonedShip_HiddenFloorCorridors_EventScript_Room4Door:: @ 8238A87
releaseall
end
AbandonedShip_HiddenFloorCorridors_EventScript_Room6Door:: @ 8238ABE
AbandonedShip_HiddenFloorCorridors_EventScript_Room6Door::
lockall
goto_if_set FLAG_USED_ROOM_6_KEY, AbandonedShip_HiddenFloorCorridors_EventScript_TheDoorIsOpen
checkitem ITEM_ROOM_6_KEY, 1
compare VAR_RESULT, FALSE
goto_if_eq AbandonedShip_HiddenFloorCorridors_EventScript_Rm6IsLocked
checkitem ITEM_ROOM_6_KEY
goto_if_eq VAR_RESULT, FALSE, AbandonedShip_HiddenFloorCorridors_EventScript_Rm6IsLocked
msgbox AbandonedShip_HiddenFloorCorridors_Text_InsertedKey, MSGBOX_DEFAULT
playse SE_PIN
removeitem ITEM_ROOM_6_KEY
@@ -110,48 +106,48 @@ AbandonedShip_HiddenFloorCorridors_EventScript_Room6Door:: @ 8238ABE
releaseall
end
AbandonedShip_HiddenFloorCorridors_EventScript_Rm1IsLocked:: @ 8238AF5
AbandonedShip_HiddenFloorCorridors_EventScript_Rm1IsLocked::
msgbox AbandonedShip_HiddenFloorCorridors_Text_Rm1DoorIsLocked, MSGBOX_DEFAULT
releaseall
end
AbandonedShip_HiddenFloorCorridors_EventScript_Rm2IsLocked:: @ 8238AFF
AbandonedShip_HiddenFloorCorridors_EventScript_Rm2IsLocked::
msgbox AbandonedShip_HiddenFloorCorridors_Text_Rm2DoorIsLocked, MSGBOX_DEFAULT
releaseall
end
AbandonedShip_HiddenFloorCorridors_EventScript_Rm4IsLocked:: @ 8238B09
AbandonedShip_HiddenFloorCorridors_EventScript_Rm4IsLocked::
msgbox AbandonedShip_HiddenFloorCorridors_Text_Rm4DoorIsLocked, MSGBOX_DEFAULT
releaseall
end
AbandonedShip_HiddenFloorCorridors_EventScript_Rm6IsLocked:: @ 8238B13
AbandonedShip_HiddenFloorCorridors_EventScript_Rm6IsLocked::
msgbox AbandonedShip_HiddenFloorCorridors_Text_Rm6DoorIsLocked, MSGBOX_DEFAULT
releaseall
end
AbandonedShip_HiddenFloorCorridors_EventScript_TheDoorIsOpen:: @ 8238B1D
AbandonedShip_HiddenFloorCorridors_EventScript_TheDoorIsOpen::
msgbox AbandonedShip_Text_TheDoorIsOpen, MSGBOX_DEFAULT
releaseall
end
AbandonedShip_HiddenFloorCorridors_Text_Rm1DoorIsLocked: @ 8238B27
AbandonedShip_HiddenFloorCorridors_Text_Rm1DoorIsLocked:
.string "The door is locked.\p"
.string "“RM. 1” is painted on the door.$"
AbandonedShip_HiddenFloorCorridors_Text_Rm2DoorIsLocked: @ 8238B5B
AbandonedShip_HiddenFloorCorridors_Text_Rm2DoorIsLocked:
.string "The door is locked.\p"
.string "“RM. 2” is painted on the door.$"
AbandonedShip_HiddenFloorCorridors_Text_Rm4DoorIsLocked: @ 8238B8F
AbandonedShip_HiddenFloorCorridors_Text_Rm4DoorIsLocked:
.string "The door is locked.\p"
.string "“RM. 4” is painted on the door.$"
AbandonedShip_HiddenFloorCorridors_Text_Rm6DoorIsLocked: @ 8238BC3
AbandonedShip_HiddenFloorCorridors_Text_Rm6DoorIsLocked:
.string "The door is locked.\p"
.string "“RM. 6” is painted on the door.$"
AbandonedShip_HiddenFloorCorridors_Text_InsertedKey: @ 8238BF7
AbandonedShip_HiddenFloorCorridors_Text_InsertedKey:
.string "{PLAYER} inserted and turned the\n"
.string "KEY.\p"
.string "The inserted KEY stuck fast,\n"

View File

@@ -1,8 +1,8 @@
AbandonedShip_HiddenFloorRooms_MapScripts:: @ 8238C49
AbandonedShip_HiddenFloorRooms_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, AbandonedShip_HiddenFloorRooms_OnFrame
.byte 0
AbandonedShip_HiddenFloorRooms_OnFrame: @ 8238C4F
AbandonedShip_HiddenFloorRooms_OnFrame:
map_script_2 VAR_TEMP_1, 0, AbandonedShip_HiddenFloorRooms_EventScript_DoHiddenItemSparkle
.2byte 0
@@ -13,16 +13,13 @@ AbandonedShip_HiddenFloorRooms_OnFrame: @ 8238C4F
@ Upper row, left column (Rm 4)
@ Upper row, middle column (Rm 5)
@ Upper row, right column (Rm 6)
AbandonedShip_HiddenFloorRooms_EventScript_DoHiddenItemSparkle:: @ 8238C59
AbandonedShip_HiddenFloorRooms_EventScript_DoHiddenItemSparkle::
setvar VAR_TEMP_1, 1
getplayerxy VAR_TEMP_2, VAR_TEMP_3
setvar VAR_TEMP_4, 1
compare VAR_TEMP_2, 21
call_if_eq AbandonedShip_HiddenFloorRooms_EventScript_InMiddleRoomColumn
compare VAR_TEMP_2, 36
call_if_eq AbandonedShip_HiddenFloorRooms_EventScript_InRightRoomColumn
compare VAR_TEMP_3, 2
call_if_eq AbandonedShip_HiddenFloorRooms_EventScript_InUpperRoomRow
call_if_eq VAR_TEMP_2, 21, AbandonedShip_HiddenFloorRooms_EventScript_InMiddleRoomColumn
call_if_eq VAR_TEMP_2, 36, AbandonedShip_HiddenFloorRooms_EventScript_InRightRoomColumn
call_if_eq VAR_TEMP_3, 2, AbandonedShip_HiddenFloorRooms_EventScript_InUpperRoomRow
switch VAR_TEMP_4
case 1, AbandonedShip_HiddenFloorRooms_EventScript_EnterRm1
case 2, AbandonedShip_HiddenFloorRooms_EventScript_EnterRm2
@@ -32,94 +29,89 @@ AbandonedShip_HiddenFloorRooms_EventScript_DoHiddenItemSparkle:: @ 8238C59
case 6, AbandonedShip_HiddenFloorRooms_EventScript_EnterRm6
end
AbandonedShip_HiddenFloorRooms_EventScript_InMiddleRoomColumn:: @ 8238CD1
AbandonedShip_HiddenFloorRooms_EventScript_InMiddleRoomColumn::
addvar VAR_TEMP_4, 1
return
AbandonedShip_HiddenFloorRooms_EventScript_InRightRoomColumn:: @ 8238CD7
AbandonedShip_HiddenFloorRooms_EventScript_InRightRoomColumn::
addvar VAR_TEMP_4, 2
return
AbandonedShip_HiddenFloorRooms_EventScript_InUpperRoomRow:: @ 8238CDD
AbandonedShip_HiddenFloorRooms_EventScript_InUpperRoomRow::
addvar VAR_TEMP_4, 3
return
AbandonedShip_HiddenFloorRooms_EventScript_EnterRm1:: @ 8238CE3
AbandonedShip_HiddenFloorRooms_EventScript_EnterRm1::
delay 20
dofieldeffectsparkle 10, 10, 0
specialvar VAR_RESULT, FoundAbandonedShipRoom4Key
compare VAR_RESULT, FALSE
call_if_eq AbandonedShip_HiddenFloorRooms_EventScript_Rm4KeySparkle
call_if_eq VAR_RESULT, FALSE, AbandonedShip_HiddenFloorRooms_EventScript_Rm4KeySparkle
waitfieldeffect FLDEFF_SPARKLE
delay 10
end
AbandonedShip_HiddenFloorRooms_EventScript_EnterRm2:: @ 8238D0C
AbandonedShip_HiddenFloorRooms_EventScript_EnterRm2::
end
AbandonedShip_HiddenFloorRooms_EventScript_EnterRm3:: @ 8238D0D
AbandonedShip_HiddenFloorRooms_EventScript_EnterRm3::
specialvar VAR_RESULT, FoundAbandonedShipRoom1Key
compare VAR_RESULT, TRUE
goto_if_eq AbandonedShip_HiddenFloorRooms_EventScript_Rm3NoSparkle
goto_if_eq VAR_RESULT, TRUE, AbandonedShip_HiddenFloorRooms_EventScript_Rm3NoSparkle
delay 20
compare VAR_RESULT, FALSE
call_if_eq AbandonedShip_HiddenFloorRooms_EventScript_Rm1KeySparkle
call_if_eq VAR_RESULT, FALSE, AbandonedShip_HiddenFloorRooms_EventScript_Rm1KeySparkle
waitfieldeffect FLDEFF_SPARKLE
delay 10
end
AbandonedShip_HiddenFloorRooms_EventScript_Rm3NoSparkle:: @ 8238D32
AbandonedShip_HiddenFloorRooms_EventScript_Rm3NoSparkle::
end
AbandonedShip_HiddenFloorRooms_EventScript_EnterRm4:: @ 8238D33
AbandonedShip_HiddenFloorRooms_EventScript_EnterRm4::
delay 20
dofieldeffectsparkle 8, 5, 0
dofieldeffectsparkle 11, 3, 0
specialvar VAR_RESULT, FoundAbandonedShipRoom6Key
compare VAR_RESULT, FALSE
call_if_eq AbandonedShip_HiddenFloorRooms_EventScript_Rm6KeySparkle
call_if_eq VAR_RESULT, FALSE, AbandonedShip_HiddenFloorRooms_EventScript_Rm6KeySparkle
waitfieldeffect FLDEFF_SPARKLE
delay 10
end
AbandonedShip_HiddenFloorRooms_EventScript_EnterRm5:: @ 8238D6B
AbandonedShip_HiddenFloorRooms_EventScript_EnterRm5::
delay 20
dofieldeffectsparkle 16, 3, 0
dofieldeffectsparkle 25, 2, 0
dofieldeffectsparkle 24, 6, 0
specialvar VAR_RESULT, FoundAbandonedShipRoom2Key
compare VAR_RESULT, FALSE
call_if_eq AbandonedShip_HiddenFloorRooms_EventScript_Rm2KeySparkle
call_if_eq VAR_RESULT, FALSE, AbandonedShip_HiddenFloorRooms_EventScript_Rm2KeySparkle
waitfieldeffect FLDEFF_SPARKLE
delay 10
end
AbandonedShip_HiddenFloorRooms_EventScript_EnterRm6:: @ 8238DB2
AbandonedShip_HiddenFloorRooms_EventScript_EnterRm6::
end
AbandonedShip_HiddenFloorRooms_EventScript_Rm1KeySparkle:: @ 8238DB3
AbandonedShip_HiddenFloorRooms_EventScript_Rm1KeySparkle::
dofieldeffectsparkle 42, 10, 0
return
AbandonedShip_HiddenFloorRooms_EventScript_Rm2KeySparkle:: @ 8238DC3
AbandonedShip_HiddenFloorRooms_EventScript_Rm2KeySparkle::
dofieldeffectsparkle 20, 5, 0
return
AbandonedShip_HiddenFloorRooms_EventScript_Rm4KeySparkle:: @ 8238DD3
AbandonedShip_HiddenFloorRooms_EventScript_Rm4KeySparkle::
dofieldeffectsparkle 1, 12, 0
return
AbandonedShip_HiddenFloorRooms_EventScript_Rm6KeySparkle:: @ 8238DE3
AbandonedShip_HiddenFloorRooms_EventScript_Rm6KeySparkle::
dofieldeffectsparkle 1, 2, 0
return
AbandonedShip_HiddenFloorRooms_EventScript_Trash:: @ 8238DF3
AbandonedShip_HiddenFloorRooms_EventScript_Trash::
lockall
msgbox AbandonedShip_HiddenFloorRooms_Text_BrightShinyTrash, MSGBOX_DEFAULT
releaseall
end
AbandonedShip_HiddenFloorRooms_Text_BrightShinyTrash: @ 8238DFE
AbandonedShip_HiddenFloorRooms_Text_BrightShinyTrash:
.string "It's bright and shiny!\n"
.string "But it's just trash…$"

View File

@@ -1,3 +1,3 @@
AbandonedShip_Room_B1F_MapScripts:: @ 82380A5
AbandonedShip_Room_B1F_MapScripts::
.byte 0

View File

@@ -1,151 +1,149 @@
AbandonedShip_Rooms2_1F_MapScripts:: @ 82380A6
AbandonedShip_Rooms2_1F_MapScripts::
.byte 0
AbandonedShip_Rooms2_1F_EventScript_Dan:: @ 82380A7
AbandonedShip_Rooms2_1F_EventScript_Dan::
trainerbattle_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_DanIntro, AbandonedShip_Rooms2_1F_Text_DanDefeat, AbandonedShip_Rooms2_1F_Text_DanNotEnoughMons, AbandonedShip_Rooms2_1F_EventScript_RegisterDan
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq AbandonedShip_Rooms2_1F_EventScript_DanRematch
goto_if_eq VAR_RESULT, TRUE, AbandonedShip_Rooms2_1F_EventScript_DanRematch
msgbox AbandonedShip_Rooms2_1F_Text_DanPostBattle, MSGBOX_DEFAULT
release
end
AbandonedShip_Rooms2_1F_EventScript_RegisterDan:: @ 82380D7
AbandonedShip_Rooms2_1F_EventScript_RegisterDan::
msgbox AbandonedShip_Rooms2_1F_Text_KiraRegister, MSGBOX_DEFAULT @ Kira speaks for both when registering KiraAndDan
register_matchcall TRAINER_KIRA_AND_DAN_1
release
end
AbandonedShip_Rooms2_1F_EventScript_DanRematch:: @ 82380F0
AbandonedShip_Rooms2_1F_EventScript_DanRematch::
trainerbattle_rematch_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_DanRematchIntro, AbandonedShip_Rooms2_1F_Text_DanRematchDefeat, AbandonedShip_Rooms2_1F_Text_DanRematchNotEnoughMons
msgbox AbandonedShip_Rooms2_1F_Text_DanPostRematch, MSGBOX_AUTOCLOSE
end
AbandonedShip_Rooms2_1F_EventScript_Kira:: @ 823810B
AbandonedShip_Rooms2_1F_EventScript_Kira::
trainerbattle_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_KiraIntro, AbandonedShip_Rooms2_1F_Text_KiraDefeat, AbandonedShip_Rooms2_1F_Text_KiraNotEnoughMons, AbandonedShip_Rooms2_1F_EventScript_RegisterKira
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq AbandonedShip_Rooms2_1F_EventScript_KiraRematch
goto_if_eq VAR_RESULT, TRUE, AbandonedShip_Rooms2_1F_EventScript_KiraRematch
msgbox AbandonedShip_Rooms2_1F_Text_KiraPostBattle, MSGBOX_DEFAULT
release
end
AbandonedShip_Rooms2_1F_EventScript_RegisterKira:: @ 823813B
AbandonedShip_Rooms2_1F_EventScript_RegisterKira::
msgbox AbandonedShip_Rooms2_1F_Text_KiraRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_KIRA_AND_DAN_1
release
end
AbandonedShip_Rooms2_1F_EventScript_KiraRematch:: @ 8238154
AbandonedShip_Rooms2_1F_EventScript_KiraRematch::
trainerbattle_rematch_double TRAINER_KIRA_AND_DAN_1, AbandonedShip_Rooms2_1F_Text_KiraRematchIntro, AbandonedShip_Rooms2_1F_Text_KiraRematchDefeat, AbandonedShip_Rooms2_1F_Text_KiraRematchNotEnoughMons
msgbox AbandonedShip_Rooms2_1F_Text_KiraPostRematch, MSGBOX_AUTOCLOSE
end
AbandonedShip_Rooms2_1F_EventScript_Jani:: @ 823816F
AbandonedShip_Rooms2_1F_EventScript_Jani::
trainerbattle_single TRAINER_JANI, AbandonedShip_Rooms2_1F_Text_JaniIntro, AbandonedShip_Rooms2_1F_Text_JaniDefeat
msgbox AbandonedShip_Rooms2_1F_Text_JaniPostBattle, MSGBOX_AUTOCLOSE
end
AbandonedShip_Rooms2_1F_EventScript_Garrison:: @ 8238186
AbandonedShip_Rooms2_1F_EventScript_Garrison::
trainerbattle_single TRAINER_GARRISON, AbandonedShip_Rooms2_1F_Text_GarrisonIntro, AbandonedShip_Rooms2_1F_Text_GarrisonDefeat
msgbox AbandonedShip_Rooms2_1F_Text_GarrisonPostBattle, MSGBOX_AUTOCLOSE
end
AbandonedShip_Rooms2_1F_Text_DanIntro: @ 823819D
AbandonedShip_Rooms2_1F_Text_DanIntro:
.string "DAN: While searching for treasures,\n"
.string "we discovered a TRAINER!$"
AbandonedShip_Rooms2_1F_Text_DanDefeat: @ 82381DA
AbandonedShip_Rooms2_1F_Text_DanDefeat:
.string "DAN: We couldn't win even though\n"
.string "we worked together…$"
AbandonedShip_Rooms2_1F_Text_DanPostBattle: @ 823820F
AbandonedShip_Rooms2_1F_Text_DanPostBattle:
.string "DAN: We can't find any treasures…\n"
.string "I wonder if someone got them already?$"
AbandonedShip_Rooms2_1F_Text_DanNotEnoughMons: @ 8238257
AbandonedShip_Rooms2_1F_Text_DanNotEnoughMons:
.string "DAN: You don't even have two POKéMON.\n"
.string "You can't expect to beat us like that.$"
AbandonedShip_Rooms2_1F_Text_KiraIntro: @ 82382A4
AbandonedShip_Rooms2_1F_Text_KiraIntro:
.string "KIRA: Oh?\n"
.string "We were searching for treasures.\l"
.string "But we discovered a TRAINER instead!$"
AbandonedShip_Rooms2_1F_Text_KiraDefeat: @ 82382F4
AbandonedShip_Rooms2_1F_Text_KiraDefeat:
.string "KIRA: Ooh, so strong!$"
AbandonedShip_Rooms2_1F_Text_KiraPostBattle: @ 823830A
AbandonedShip_Rooms2_1F_Text_KiraPostBattle:
.string "KIRA: Where could the treasures be?\p"
.string "I've already decided what I'm buying\n"
.string "when we find the treasures!$"
AbandonedShip_Rooms2_1F_Text_KiraNotEnoughMons: @ 823836F
AbandonedShip_Rooms2_1F_Text_KiraNotEnoughMons:
.string "KIRA: Oh, you don't have two POKéMON?\n"
.string "We'll have to battle some other time!$"
AbandonedShip_Rooms2_1F_Text_KiraRegister: @ 82383BB
AbandonedShip_Rooms2_1F_Text_KiraRegister:
.string "KIRA: Oh, you make me so angry!\n"
.string "I'm going to register you for that!$"
AbandonedShip_Rooms2_1F_Text_DanRematchIntro: @ 82383FF
AbandonedShip_Rooms2_1F_Text_DanRematchIntro:
.string "DAN: We've been searching for\n"
.string "treasures all this time.\p"
.string "Our POKéMON have grown stronger, too.\n"
.string "Let us show you, okay?$"
AbandonedShip_Rooms2_1F_Text_DanRematchDefeat: @ 8238473
AbandonedShip_Rooms2_1F_Text_DanRematchDefeat:
.string "DAN: You're strong, as usual!$"
AbandonedShip_Rooms2_1F_Text_DanPostRematch: @ 8238491
AbandonedShip_Rooms2_1F_Text_DanPostRematch:
.string "DAN: We can't find any treasures,\n"
.string "we lose at POKéMON…\p"
.string "I want to go home… But if I say that,\n"
.string "she gets all angry with me…$"
AbandonedShip_Rooms2_1F_Text_DanRematchNotEnoughMons: @ 8238509
AbandonedShip_Rooms2_1F_Text_DanRematchNotEnoughMons:
.string "DAN: You don't even have two POKéMON.\n"
.string "You can't expect to beat us like that.$"
AbandonedShip_Rooms2_1F_Text_KiraRematchIntro: @ 8238556
AbandonedShip_Rooms2_1F_Text_KiraRematchIntro:
.string "KIRA: Oh? We meet again!\p"
.string "Just like us, you still haven't given up\n"
.string "searching for treasures, have you?\p"
.string "Want to make it so the loser has\n"
.string "to give up searching?$"
AbandonedShip_Rooms2_1F_Text_KiraRematchDefeat: @ 82385F2
AbandonedShip_Rooms2_1F_Text_KiraRematchDefeat:
.string "KIRA: Oh, we lost again…$"
AbandonedShip_Rooms2_1F_Text_KiraPostRematch: @ 823860B
AbandonedShip_Rooms2_1F_Text_KiraPostRematch:
.string "KIRA: We're not leaving until we raise\n"
.string "our POKéMON some more and we find\l"
.string "the treasures here!$"
AbandonedShip_Rooms2_1F_Text_KiraRematchNotEnoughMons: @ 8238668
AbandonedShip_Rooms2_1F_Text_KiraRematchNotEnoughMons:
.string "KIRA: Oh, you don't have two POKéMON?\n"
.string "We'll have to battle some other time!$"
AbandonedShip_Rooms2_1F_Text_JaniIntro: @ 82386B4
AbandonedShip_Rooms2_1F_Text_JaniIntro:
.string "I'm not good at swimming,\n"
.string "but I am good at battles!$"
AbandonedShip_Rooms2_1F_Text_JaniDefeat: @ 82386E8
AbandonedShip_Rooms2_1F_Text_JaniDefeat:
.string "Oops.\n"
.string "That didn't go very well.$"
AbandonedShip_Rooms2_1F_Text_JaniPostBattle: @ 8238708
AbandonedShip_Rooms2_1F_Text_JaniPostBattle:
.string "Walking around barefoot in this ship\n"
.string "is kind of gross.$"
AbandonedShip_Rooms2_1F_Text_GarrisonIntro: @ 823873F
AbandonedShip_Rooms2_1F_Text_GarrisonIntro:
.string "Strength and compassion…\n"
.string "Those are a TRAINER's treasures!$"
AbandonedShip_Rooms2_1F_Text_GarrisonDefeat: @ 8238779
AbandonedShip_Rooms2_1F_Text_GarrisonDefeat:
.string "Ah, there is something about you\n"
.string "that sparkles.$"
AbandonedShip_Rooms2_1F_Text_GarrisonPostBattle: @ 82387A9
AbandonedShip_Rooms2_1F_Text_GarrisonPostBattle:
.string "In a cabin somewhere on board,\n"
.string "I saw something sparkle.$"

View File

@@ -1,11 +1,11 @@
AbandonedShip_Rooms2_B1F_MapScripts:: @ 8238024
AbandonedShip_Rooms2_B1F_MapScripts::
.byte 0
AbandonedShip_Rooms2_B1F_EventScript_Camper:: @ 8238025
AbandonedShip_Rooms2_B1F_EventScript_Camper::
msgbox AbandonedShip_Rooms2_B1F_Text_PerfectPlaceToGoExploring, MSGBOX_NPC
end
AbandonedShip_Rooms2_B1F_Text_PerfectPlaceToGoExploring: @ 823802E
AbandonedShip_Rooms2_B1F_Text_PerfectPlaceToGoExploring:
.string "This is a perfect place to go exploring!\n"
.string "It's exciting here!\p"
.string "I bet there're amazing treasures on\n"

View File

@@ -1,25 +1,24 @@
AbandonedShip_Rooms_1F_MapScripts:: @ 8237A92
AbandonedShip_Rooms_1F_MapScripts::
.byte 0
AbandonedShip_Rooms_1F_EventScript_Gentleman:: @ 8237A93
AbandonedShip_Rooms_1F_EventScript_Gentleman::
msgbox AbandonedShip_Rooms_1F_Text_TakingALookAround, MSGBOX_NPC
end
AbandonedShip_Rooms_1F_EventScript_Demetrius:: @ 8237A9C
AbandonedShip_Rooms_1F_EventScript_Demetrius::
trainerbattle_single TRAINER_DEMETRIUS, AbandonedShip_Rooms_1F_Text_DemetriusIntro, AbandonedShip_Rooms_1F_Text_DemetriusDefeat
msgbox AbandonedShip_Rooms_1F_Text_DemetriusPostBattle, MSGBOX_AUTOCLOSE
end
AbandonedShip_Rooms_1F_EventScript_Thalia:: @ 8237AB3
AbandonedShip_Rooms_1F_EventScript_Thalia::
trainerbattle_single TRAINER_THALIA_1, AbandonedShip_Rooms_1F_Text_ThaliaIntro, AbandonedShip_Rooms_1F_Text_ThaliaDefeat, AbandonedShip_Rooms_1F_EventScript_RegisterThalia
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq AbandonedShip_Rooms_1F_EventScript_ThaliaRematch
goto_if_eq VAR_RESULT, TRUE, AbandonedShip_Rooms_1F_EventScript_ThaliaRematch
msgbox AbandonedShip_Rooms_1F_Text_ThaliaPostBattle, MSGBOX_DEFAULT
release
end
AbandonedShip_Rooms_1F_EventScript_RegisterThalia:: @ 8237ADF
AbandonedShip_Rooms_1F_EventScript_RegisterThalia::
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox AbandonedShip_Rooms_1F_Text_ThaliaRegister, MSGBOX_DEFAULT
@@ -27,52 +26,52 @@ AbandonedShip_Rooms_1F_EventScript_RegisterThalia:: @ 8237ADF
release
end
AbandonedShip_Rooms_1F_EventScript_ThaliaRematch:: @ 8237AFE
AbandonedShip_Rooms_1F_EventScript_ThaliaRematch::
trainerbattle_rematch TRAINER_THALIA_1, AbandonedShip_Rooms_1F_Text_ThaliaRematchIntro, AbandonedShip_Rooms_1F_Text_ThaliaRematchDefeat
msgbox AbandonedShip_Rooms_1F_Text_ThaliaPostRematch, MSGBOX_AUTOCLOSE
end
AbandonedShip_Rooms_1F_Text_TakingALookAround: @ 8237B15
AbandonedShip_Rooms_1F_Text_TakingALookAround:
.string "Ships of this sort are rare, so I'm\n"
.string "taking a look around.\p"
.string "Hmhm…\n"
.string "There appear to be other cabins…$"
AbandonedShip_Rooms_1F_Text_ThaliaIntro: @ 8237B76
AbandonedShip_Rooms_1F_Text_ThaliaIntro:
.string "What on earth would compel you to\n"
.string "come here? You must be curious!$"
AbandonedShip_Rooms_1F_Text_ThaliaDefeat: @ 8237BB8
AbandonedShip_Rooms_1F_Text_ThaliaDefeat:
.string "Not just curious, but also strong…$"
AbandonedShip_Rooms_1F_Text_ThaliaPostBattle: @ 8237BDB
AbandonedShip_Rooms_1F_Text_ThaliaPostBattle:
.string "The man next door…\p"
.string "He says he's just sightseeing,\n"
.string "but I don't know about that.$"
AbandonedShip_Rooms_1F_Text_ThaliaRegister: @ 8237C2A
AbandonedShip_Rooms_1F_Text_ThaliaRegister:
.string "You're such a tough TRAINER!\n"
.string "Let me register you as a memento!$"
AbandonedShip_Rooms_1F_Text_ThaliaRematchIntro: @ 8237C69
AbandonedShip_Rooms_1F_Text_ThaliaRematchIntro:
.string "What on earth would compel you to\n"
.string "come back? You must really be curious!$"
AbandonedShip_Rooms_1F_Text_ThaliaRematchDefeat: @ 8237CB2
AbandonedShip_Rooms_1F_Text_ThaliaRematchDefeat:
.string "Aren't you too strong?$"
AbandonedShip_Rooms_1F_Text_ThaliaPostRematch: @ 8237CC9
AbandonedShip_Rooms_1F_Text_ThaliaPostRematch:
.string "I'm sure that man's up to something!\n"
.string "He just acts so suspiciously!$"
AbandonedShip_Rooms_1F_Text_DemetriusIntro: @ 8237D0C
AbandonedShip_Rooms_1F_Text_DemetriusIntro:
.string "Waaah!\n"
.string "I've been found! …Huh?$"
AbandonedShip_Rooms_1F_Text_DemetriusDefeat: @ 8237D2A
AbandonedShip_Rooms_1F_Text_DemetriusDefeat:
.string "Oh, you're not my mom.$"
AbandonedShip_Rooms_1F_Text_DemetriusPostBattle: @ 8237D41
AbandonedShip_Rooms_1F_Text_DemetriusPostBattle:
.string "I'm in trouble with my mom, so I ran.\n"
.string "Keep it a secret where I am!$"

View File

@@ -1,16 +1,16 @@
AbandonedShip_Rooms_B1F_MapScripts:: @ 8237FB7
AbandonedShip_Rooms_B1F_MapScripts::
map_script MAP_SCRIPT_ON_RESUME, AbandonedShip_Rooms_B1F_OnResume
.byte 0
AbandonedShip_Rooms_B1F_OnResume: @ 8237FBD
setdivewarp MAP_ABANDONED_SHIP_UNDERWATER2, 255, 17, 4
AbandonedShip_Rooms_B1F_OnResume:
setdivewarp MAP_ABANDONED_SHIP_UNDERWATER2, 17, 4
end
AbandonedShip_Rooms_B1F_EventScript_FatMan:: @ 8237FC6
AbandonedShip_Rooms_B1F_EventScript_FatMan::
msgbox AbandonedShip_Rooms_B1F_Text_GettingQueasy, MSGBOX_NPC
end
AbandonedShip_Rooms_B1F_Text_GettingQueasy: @ 8237FCF
AbandonedShip_Rooms_B1F_Text_GettingQueasy:
.string "Urrrrppp…\p"
.string "I'm getting queasy just being aboard\n"
.string "this ship…\p"

View File

@@ -1,8 +1,8 @@
AbandonedShip_Underwater1_MapScripts:: @ 8238096
AbandonedShip_Underwater1_MapScripts::
map_script MAP_SCRIPT_ON_RESUME, AbandonedShip_Underwater1_OnResume
.byte 0
AbandonedShip_Underwater1_OnResume: @ 823809C
setdivewarp MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS, 255, 0, 10
AbandonedShip_Underwater1_OnResume:
setdivewarp MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS, 0, 10
end

View File

@@ -1,8 +1,8 @@
AbandonedShip_Underwater2_MapScripts:: @ 823895D
AbandonedShip_Underwater2_MapScripts::
map_script MAP_SCRIPT_ON_RESUME, AbandonedShip_Underwater2_OnResume
.byte 0
AbandonedShip_Underwater2_OnResume: @ 8238963
setdivewarp MAP_ABANDONED_SHIP_ROOMS_B1F, 255, 13, 7
AbandonedShip_Underwater2_OnResume:
setdivewarp MAP_ABANDONED_SHIP_ROOMS_B1F, 13, 7
end

View File

@@ -1,8 +1,8 @@
AlteringCave_MapScripts:: @ 823B177
AlteringCave_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, AlteringCave_OnTransition
.byte 0
AlteringCave_OnTransition: @ 823B17D
AlteringCave_OnTransition:
setflag FLAG_LANDMARK_ALTERING_CAVE
end

View File

@@ -1,69 +1,64 @@
AncientTomb_MapScripts:: @ 8238FB3
AncientTomb_MapScripts::
map_script MAP_SCRIPT_ON_RESUME, AncientTomb_OnResume
map_script MAP_SCRIPT_ON_LOAD, AncientTomb_OnLoad
map_script MAP_SCRIPT_ON_TRANSITION, AncientTomb_OnTransition
.byte 0
AncientTomb_OnResume: @ 8238FC3
AncientTomb_OnResume:
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, AncientTomb_EventScript_TryRemoveRegisteel
end
AncientTomb_EventScript_TryRemoveRegisteel:: @ 8238FCD
AncientTomb_EventScript_TryRemoveRegisteel::
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn
goto_if_ne VAR_RESULT, B_OUTCOME_CAUGHT, Common_EventScript_NopReturn
removeobject VAR_LAST_TALKED
return
AncientTomb_OnTransition: @ 8238FE1
AncientTomb_OnTransition:
setflag FLAG_LANDMARK_ANCIENT_TOMB
call_if_unset FLAG_DEFEATED_REGISTEEL, AncientTomb_EventScript_ShowRegisteel
end
AncientTomb_EventScript_ShowRegisteel:: @ 8238FEE
AncientTomb_EventScript_ShowRegisteel::
clearflag FLAG_HIDE_REGISTEEL
return
AncientTomb_OnLoad: @ 8238FF2
AncientTomb_OnLoad:
call_if_unset FLAG_SYS_REGISTEEL_PUZZLE_COMPLETED, AncientTomb_EventScript_HideRegiEntrance
end
AncientTomb_EventScript_HideRegiEntrance:: @ 8238FFC
setmetatile 7, 19, METATILE_Cave_EntranceCover, 1
setmetatile 8, 19, METATILE_Cave_EntranceCover, 1
setmetatile 9, 19, METATILE_Cave_EntranceCover, 1
setmetatile 7, 20, METATILE_Cave_SealedChamberBraille_Mid, 1
setmetatile 8, 20, METATILE_Cave_SealedChamberBraille_Mid, 1
setmetatile 9, 20, METATILE_Cave_SealedChamberBraille_Mid, 1
AncientTomb_EventScript_HideRegiEntrance::
setmetatile 7, 19, METATILE_Cave_EntranceCover, TRUE
setmetatile 8, 19, METATILE_Cave_EntranceCover, TRUE
setmetatile 9, 19, METATILE_Cave_EntranceCover, TRUE
setmetatile 7, 20, METATILE_Cave_SealedChamberBraille_Mid, TRUE
setmetatile 8, 20, METATILE_Cave_SealedChamberBraille_Mid, TRUE
setmetatile 9, 20, METATILE_Cave_SealedChamberBraille_Mid, TRUE
return
AncientTomb_EventScript_CaveEntranceMiddle:: @ 8239033
AncientTomb_EventScript_CaveEntranceMiddle::
lockall
goto_if_set FLAG_SYS_REGISTEEL_PUZZLE_COMPLETED, AncientTomb_EventScript_BigHoleInWall
braillemessage AncientTomb_Braille_ShineInTheMiddle
waitbuttonpress
closebraillemessage
braillemsgbox AncientTomb_Braille_ShineInTheMiddle
releaseall
end
AncientTomb_EventScript_BigHoleInWall:: @ 8239046
AncientTomb_EventScript_BigHoleInWall::
msgbox gText_BigHoleInTheWall, MSGBOX_DEFAULT
releaseall
end
AncientTomb_EventScript_CaveEntranceSide:: @ 8239050
AncientTomb_EventScript_CaveEntranceSide::
lockall
braillemessage AncientTomb_Braille_ShineInTheMiddle
waitbuttonpress
closebraillemessage
braillemsgbox AncientTomb_Braille_ShineInTheMiddle
releaseall
end
AncientTomb_EventScript_Registeel:: @ 823905A
AncientTomb_EventScript_Registeel::
lock
faceplayer
waitse
playmoncry SPECIES_REGISTEEL, 2
playmoncry SPECIES_REGISTEEL, CRY_MODE_ENCOUNTER
delay 40
waitmoncry
setwildbattle SPECIES_REGISTEEL, 40, ITEM_NONE
@@ -72,22 +67,19 @@ AncientTomb_EventScript_Registeel:: @ 823905A
waitstate
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq AncientTomb_EventScript_DefeatedRegisteel
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq AncientTomb_EventScript_RanFromRegisteel
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq AncientTomb_EventScript_RanFromRegisteel
goto_if_eq VAR_RESULT, B_OUTCOME_WON, AncientTomb_EventScript_DefeatedRegisteel
goto_if_eq VAR_RESULT, B_OUTCOME_RAN, AncientTomb_EventScript_RanFromRegisteel
goto_if_eq VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED, AncientTomb_EventScript_RanFromRegisteel
setflag FLAG_DEFEATED_REGISTEEL
release
end
AncientTomb_EventScript_DefeatedRegisteel:: @ 82390A1
AncientTomb_EventScript_DefeatedRegisteel::
setflag FLAG_DEFEATED_REGISTEEL
goto Common_EventScript_RemoveStaticPokemon
end
AncientTomb_EventScript_RanFromRegisteel:: @ 82390AA
AncientTomb_EventScript_RanFromRegisteel::
setvar VAR_0x8004, SPECIES_REGISTEEL
goto Common_EventScript_LegendaryFlewAway
end

View File

@@ -1,8 +1,8 @@
AquaHideout_1F_MapScripts:: @ 8233493
AquaHideout_1F_MapScripts::
.byte 0
@ The below two entrance guards give hints about what to do to progress the story
AquaHideout_1F_EventScript_HideoutEntranceGrunt1:: @ 8233494
AquaHideout_1F_EventScript_HideoutEntranceGrunt1::
lock
faceplayer
goto_if_set FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT, AquaHideout_1F_EventScript_SlateportHint1
@@ -11,17 +11,17 @@ AquaHideout_1F_EventScript_HideoutEntranceGrunt1:: @ 8233494
release
end
AquaHideout_1F_EventScript_MagmaHideoutHint1:: @ 82334B2
AquaHideout_1F_EventScript_MagmaHideoutHint1::
msgbox AquaHideout_1F_Text_WhereMightMagmaHideoutBe, MSGBOX_DEFAULT
release
end
AquaHideout_1F_EventScript_SlateportHint1:: @ 82334BC
AquaHideout_1F_EventScript_SlateportHint1::
msgbox AquaHideout_1F_Text_BossWentToJackASubmarine, MSGBOX_DEFAULT
release
end
AquaHideout_1F_EventScript_HideoutEntranceGrunt2:: @ 82334C6
AquaHideout_1F_EventScript_HideoutEntranceGrunt2::
lock
faceplayer
goto_if_set FLAG_GROUDON_AWAKENED_MAGMA_HIDEOUT, AquaHideout_1F_EventScript_SlateportHint2
@@ -30,27 +30,27 @@ AquaHideout_1F_EventScript_HideoutEntranceGrunt2:: @ 82334C6
release
end
AquaHideout_1F_EventScript_MagmaHideoutHint2:: @ 82334E4
AquaHideout_1F_EventScript_MagmaHideoutHint2::
msgbox AquaHideout_1F_Text_TeamMagmaAtMtChimney, MSGBOX_DEFAULT
release
end
AquaHideout_1F_EventScript_SlateportHint2:: @ 82334EE
AquaHideout_1F_EventScript_SlateportHint2::
msgbox AquaHideout_1F_Text_BossIsInSlateportCity, MSGBOX_DEFAULT
release
end
AquaHideout_1F_EventScript_Grunt1:: @ 82334F8
AquaHideout_1F_EventScript_Grunt1::
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_1, AquaHideout_1F_Text_Grunt1Intro, AquaHideout_1F_Text_Grunt1Defeat, AquaHideout_1F_EventScript_Grunt1Defeated
msgbox AquaHideout_1F_Text_Grunt1PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_1F_EventScript_Grunt1Defeated:: @ 8233513
AquaHideout_1F_EventScript_Grunt1Defeated::
msgbox AquaHideout_1F_Text_Grunt1PostBattle, MSGBOX_DEFAULT
release
end
AquaHideout_1F_Text_OurBossIsSnatchingSomething: @ 823351D
AquaHideout_1F_Text_OurBossIsSnatchingSomething:
.string "What? What? What do you want with \n"
.string "TEAM AQUA?\p"
.string "Our BOSS isn't here! He's gone off to\n"
@@ -60,7 +60,7 @@ AquaHideout_1F_Text_OurBossIsSnatchingSomething: @ 823351D
.string "Wahaha! Do you really think I'd tell\n"
.string "you something that crucial?$"
AquaHideout_1F_Text_WhereMightMagmaHideoutBe: @ 82335E3
AquaHideout_1F_Text_WhereMightMagmaHideoutBe:
.string "What? What?\n"
.string "Are you a TEAM MAGMA grunt?\p"
.string "I hear that TEAM MAGMA is trying to\n"
@@ -68,7 +68,7 @@ AquaHideout_1F_Text_WhereMightMagmaHideoutBe: @ 82335E3
.string "HIDEOUT.\p"
.string "But where might their HIDEOUT be?$"
AquaHideout_1F_Text_BossWentToJackASubmarine: @ 823367D
AquaHideout_1F_Text_BossWentToJackASubmarine:
.string "What? What? What do you want with \n"
.string "TEAM AQUA?\p"
.string "Our BOSS isn't here!\n"
@@ -78,7 +78,7 @@ AquaHideout_1F_Text_BossWentToJackASubmarine: @ 823367D
.string "Wahaha! Do you really think I'd tell\n"
.string "you something that crucial?$"
AquaHideout_1F_Text_BossIsOnRoute122: @ 8233739
AquaHideout_1F_Text_BossIsOnRoute122:
.string "What? What? What do you want with \n"
.string "TEAM AQUA?\p"
.string "Our BOSS isn't here! He's on his way to\n"
@@ -88,14 +88,14 @@ AquaHideout_1F_Text_BossIsOnRoute122: @ 8233739
.string "Wahaha! Do you really think I'd tell\n"
.string "you something that crucial?$"
AquaHideout_1F_Text_TeamMagmaAtMtChimney: @ 82337FA
AquaHideout_1F_Text_TeamMagmaAtMtChimney:
.string "What? What?\n"
.string "Are you a TEAM MAGMA grunt?\p"
.string "I hear that TEAM MAGMA is after\n"
.string "an awesome POKéMON at MT. CHIMNEY.\p"
.string "But what is that POKéMON like?$"
AquaHideout_1F_Text_BossIsInSlateportCity: @ 8233884
AquaHideout_1F_Text_BossIsInSlateportCity:
.string "What? What? What do you want with\n"
.string "TEAM AQUA?\p"
.string "Our BOSS isn't here!\n"
@@ -105,15 +105,15 @@ AquaHideout_1F_Text_BossIsInSlateportCity: @ 8233884
.string "Wahaha! Do you really think I'd tell\n"
.string "you something that crucial?$"
AquaHideout_1F_Text_Grunt1Intro: @ 823393D
AquaHideout_1F_Text_Grunt1Intro:
.string "Ayiyiyi!\n"
.string "Suspicious character spotted!$"
AquaHideout_1F_Text_Grunt1Defeat: @ 8233964
AquaHideout_1F_Text_Grunt1Defeat:
.string "Grrrrr…\n"
.string "I lost it!$"
AquaHideout_1F_Text_Grunt1PostBattle: @ 8233977
AquaHideout_1F_Text_Grunt1PostBattle:
.string "I took the loss for the TEAM,\n"
.string "but I did my job…$"

View File

@@ -1,167 +1,160 @@
AquaHideout_B1F_MapScripts:: @ 82339A7
AquaHideout_B1F_MapScripts::
map_script MAP_SCRIPT_ON_RESUME, AquaHideout_B1F_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, AquaHideout_B1F_OnTransition
.byte 0
AquaHideout_B1F_OnResume: @ 82339B2
AquaHideout_B1F_OnResume:
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, AquaHideout_B1F_EventScript_TryRemoveElectrode
end
AquaHideout_B1F_EventScript_TryRemoveElectrode:: @ 82339BC
AquaHideout_B1F_EventScript_TryRemoveElectrode::
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne Common_EventScript_NopReturn
goto_if_ne VAR_RESULT, B_OUTCOME_CAUGHT, Common_EventScript_NopReturn
removeobject VAR_LAST_TALKED
return
AquaHideout_B1F_OnTransition: @ 82339D0
AquaHideout_B1F_OnTransition:
call_if_unset FLAG_DEFEATED_ELECTRODE_1_AQUA_HIDEOUT, AquaHideout_B1F_EventScript_ShowElectrode1
call_if_unset FLAG_DEFEATED_ELECTRODE_2_AQUA_HIDEOUT, AquaHideout_B1F_EventScript_ShowElectrode2
end
AquaHideout_B1F_EventScript_ShowElectrode1:: @ 82339E3
AquaHideout_B1F_EventScript_ShowElectrode1::
clearflag FLAG_HIDE_AQUA_HIDEOUT_B1F_ELECTRODE_1
return
AquaHideout_B1F_EventScript_ShowElectrode2:: @ 82339E7
AquaHideout_B1F_EventScript_ShowElectrode2::
clearflag FLAG_HIDE_AQUA_HIDEOUT_B1F_ELECTRODE_2
return
AquaHideout_B1F_EventScript_Electrode1:: @ 82339EB
AquaHideout_B1F_EventScript_Electrode1::
lock
faceplayer
setwildbattle SPECIES_ELECTRODE, 30, ITEM_NONE
waitse
playmoncry SPECIES_ELECTRODE, 2
playmoncry SPECIES_ELECTRODE, CRY_MODE_ENCOUNTER
delay 40
waitmoncry
setflag FLAG_SYS_CTRL_OBJ_DELETE
dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq AquaHideout_B1F_EventScript_DefeatedElectrode1
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq AquaHideout_B1F_EventScript_DefeatedElectrode1
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq AquaHideout_B1F_EventScript_DefeatedElectrode1
goto_if_eq VAR_RESULT, B_OUTCOME_WON, AquaHideout_B1F_EventScript_DefeatedElectrode1
goto_if_eq VAR_RESULT, B_OUTCOME_RAN, AquaHideout_B1F_EventScript_DefeatedElectrode1
goto_if_eq VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED, AquaHideout_B1F_EventScript_DefeatedElectrode1
setflag FLAG_DEFEATED_ELECTRODE_1_AQUA_HIDEOUT
release
end
AquaHideout_B1F_EventScript_DefeatedElectrode1:: @ 8233A2F
AquaHideout_B1F_EventScript_DefeatedElectrode1::
setflag FLAG_DEFEATED_ELECTRODE_1_AQUA_HIDEOUT
goto Common_EventScript_RemoveStaticPokemon
end
AquaHideout_B1F_EventScript_Electrode2:: @ 8233A38
AquaHideout_B1F_EventScript_Electrode2::
lock
faceplayer
setwildbattle SPECIES_ELECTRODE, 30, ITEM_NONE
waitse
playmoncry SPECIES_ELECTRODE, 2
playmoncry SPECIES_ELECTRODE, CRY_MODE_ENCOUNTER
delay 40
waitmoncry
setflag FLAG_SYS_CTRL_OBJ_DELETE
dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq AquaHideout_B1F_EventScript_DefeatedElectrode2
compare VAR_RESULT, B_OUTCOME_RAN
goto_if_eq AquaHideout_B1F_EventScript_DefeatedElectrode2
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq AquaHideout_B1F_EventScript_DefeatedElectrode2
goto_if_eq VAR_RESULT, B_OUTCOME_WON, AquaHideout_B1F_EventScript_DefeatedElectrode2
goto_if_eq VAR_RESULT, B_OUTCOME_RAN, AquaHideout_B1F_EventScript_DefeatedElectrode2
goto_if_eq VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED, AquaHideout_B1F_EventScript_DefeatedElectrode2
setflag FLAG_DEFEATED_ELECTRODE_2_AQUA_HIDEOUT
release
end
AquaHideout_B1F_EventScript_DefeatedElectrode2:: @ 8233A7C
AquaHideout_B1F_EventScript_DefeatedElectrode2::
setflag FLAG_DEFEATED_ELECTRODE_2_AQUA_HIDEOUT
goto Common_EventScript_RemoveStaticPokemon
end
AquaHideout_B1F_EventScript_Grunt2:: @ 8233A85
AquaHideout_B1F_EventScript_Grunt2::
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_2, AquaHideout_B1F_Text_Grunt2Intro, AquaHideout_B1F_Text_Grunt2Defeat, AquaHideout_B1F_EventScript_Grunt2Defeated
msgbox AquaHideout_B1F_Text_Grunt2PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B1F_EventScript_Grunt2Defeated:: @ 8233AA0
AquaHideout_B1F_EventScript_Grunt2Defeated::
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox AquaHideout_B1F_Text_Grunt2PostBattle, MSGBOX_DEFAULT
release
end
AquaHideout_B1F_EventScript_Grunt3:: @ 8233AB0
AquaHideout_B1F_EventScript_Grunt3::
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_3, AquaHideout_B1F_Text_Grunt3Intro, AquaHideout_B1F_Text_Grunt3Defeat, AquaHideout_B1F_EventScript_Grunt3Defeated
msgbox AquaHideout_B1F_Text_Grunt3PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B1F_EventScript_Grunt3Defeated:: @ 8233ACB
AquaHideout_B1F_EventScript_Grunt3Defeated::
msgbox AquaHideout_B1F_Text_Grunt3PostBattle, MSGBOX_DEFAULT
release
end
AquaHideout_B1F_EventScript_Grunt5:: @ 8233AD5
AquaHideout_B1F_EventScript_Grunt5::
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_5, AquaHideout_B1F_Text_Grunt5Intro, AquaHideout_B1F_Text_Grunt5Defeat
msgbox AquaHideout_B1F_Text_Grunt5PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B1F_EventScript_Grunt7:: @ 8233AEC
AquaHideout_B1F_EventScript_Grunt7::
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_7, AquaHideout_B1F_Text_Grunt7Intro, AquaHideout_B1F_Text_Grunt7Defeat
msgbox AquaHideout_B1F_Text_Grunt7PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B1F_Text_Grunt2Intro: @ 8233B03
AquaHideout_B1F_Text_Grunt2Intro:
.string "If you want to know the secret about\n"
.string "our HIDEOUT, you have me to beat!$"
AquaHideout_B1F_Text_Grunt2Defeat: @ 8233B4A
AquaHideout_B1F_Text_Grunt2Defeat:
.string "I can't win at all…$"
AquaHideout_B1F_Text_Grunt2PostBattle: @ 8233B5E
AquaHideout_B1F_Text_Grunt2PostBattle:
.string "Our HIDEOUT's secret?\p"
.string "Well, let's just say…\n"
.string "There's a submarine at the far end!\p"
.string "But, by now…\n"
.string "Kekekeke…$"
AquaHideout_B1F_Text_Grunt3Intro: @ 8233BC5
AquaHideout_B1F_Text_Grunt3Intro:
.string "Fuel supply loaded A-OK!\n"
.string "In-cruise snacks loaded A-OK!\p"
.string "Nothing left to do but KO a pesky\n"
.string "meddler!$"
AquaHideout_B1F_Text_Grunt3Defeat: @ 8233C27
AquaHideout_B1F_Text_Grunt3Defeat:
.string "I took a serious licking!$"
AquaHideout_B1F_Text_Grunt3PostBattle: @ 8233C41
AquaHideout_B1F_Text_Grunt3PostBattle:
.string "Humph!\n"
.string "This was supposed to happen!\p"
.string "My mission was to just hold you up!$"
AquaHideout_B1F_Text_Grunt5Intro: @ 8233C89
AquaHideout_B1F_Text_Grunt5Intro:
.string "Yawn… Keeping watch over the\n"
.string "HIDEOUT bores me. I'll take you on.$"
AquaHideout_B1F_Text_Grunt5Defeat: @ 8233CCA
AquaHideout_B1F_Text_Grunt5Defeat:
.string "Yawn…\n"
.string "Oh, I lost…$"
AquaHideout_B1F_Text_Grunt5PostBattle: @ 8233CDC
AquaHideout_B1F_Text_Grunt5PostBattle:
.string "If you scurry too much, other TEAM\n"
.string "AQUA members might get you.$"
AquaHideout_B1F_Text_Grunt7Intro: @ 8233D1B
AquaHideout_B1F_Text_Grunt7Intro:
.string "Hey!\n"
.string "You there!\p"
.string "Which do you think is cooler?\n"
.string "TEAM AQUA's uniform or TEAM MAGMA's?$"
AquaHideout_B1F_Text_Grunt7Defeat: @ 8233D6E
AquaHideout_B1F_Text_Grunt7Defeat:
.string "I lost in a cool way…$"
AquaHideout_B1F_Text_Grunt7PostBattle: @ 8233D84
AquaHideout_B1F_Text_Grunt7PostBattle:
.string "If you have a cool uniform, you look\n"
.string "good even in a loss, don't you think?$"

View File

@@ -1,19 +1,19 @@
.set LOCALID_MATT, 1
.set LOCALID_SUBMARINE, 4
AquaHideout_B2F_MapScripts:: @ 8233DCF
AquaHideout_B2F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, AquaHideout_B2F_OnTransition
.byte 0
AquaHideout_B2F_OnTransition: @ 8233DD5
AquaHideout_B2F_OnTransition:
call_if_set FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE, AquaHideout_B2F_EventScript_PreventMattNoticing
end
AquaHideout_B2F_EventScript_PreventMattNoticing:: @ 8233DDF
AquaHideout_B2F_EventScript_PreventMattNoticing::
setvar VAR_TEMP_1, 1
return
AquaHideout_B2F_EventScript_MattNoticePlayer:: @ 8233DE5
AquaHideout_B2F_EventScript_MattNoticePlayer::
lockall
setvar VAR_0x8008, LOCALID_MATT
playse SE_PIN
@@ -25,23 +25,23 @@ AquaHideout_B2F_EventScript_MattNoticePlayer:: @ 8233DE5
releaseall
end
AquaHideout_B2F_EventScript_Matt:: @ 8233E09
AquaHideout_B2F_EventScript_Matt::
trainerbattle_single TRAINER_MATT, AquaHideout_B2F_Text_MattIntro, AquaHideout_B2F_Text_MattDefeat, AquaHideout_B2F_EventScript_SubmarineEscape
msgbox AquaHideout_B2F_Text_MattPostBattle, MSGBOX_DEFAULT
release
end
AquaHideout_B2F_EventScript_SubmarineEscape:: @ 8233E25
AquaHideout_B2F_EventScript_SubmarineEscape::
setvar VAR_0x8008, LOCALID_MATT
setvar VAR_0x8009, LOCALID_SUBMARINE
applymovement VAR_0x8008, Common_Movement_WalkInPlaceFastestLeft
applymovement VAR_0x8008, Common_Movement_WalkInPlaceFasterLeft
waitmovement 0
delay 20
applymovement VAR_0x8008, Common_Movement_FacePlayer
waitmovement 0
msgbox AquaHideout_B2F_Text_OurBossGotThroughHisPreparations, MSGBOX_DEFAULT
closemessage
applymovement VAR_0x8008, Common_Movement_WalkInPlaceFastestLeft
applymovement VAR_0x8008, Common_Movement_WalkInPlaceFasterLeft
applymovement VAR_0x8009, AquaHideout_B2F_Movement_SumbarineDepartLeft
waitmovement 0
removeobject VAR_0x8009
@@ -54,7 +54,7 @@ AquaHideout_B2F_EventScript_SubmarineEscape:: @ 8233E25
release
end
AquaHideout_B2F_Movement_SumbarineDepartLeft: @ 8233E80
AquaHideout_B2F_Movement_SumbarineDepartLeft:
walk_left
walk_left
walk_left
@@ -62,34 +62,34 @@ AquaHideout_B2F_Movement_SumbarineDepartLeft: @ 8233E80
step_end
@ Unused
AquaHideout_B2F_Movement_SumbarineDepartRight: @ 8233E85
AquaHideout_B2F_Movement_SumbarineDepartRight:
walk_right
walk_right
walk_right
walk_right
step_end
AquaHideout_B2F_EventScript_Grunt4:: @ 8233E8A
AquaHideout_B2F_EventScript_Grunt4::
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_4, AquaHideout_B2F_Text_Grunt4Intro, AquaHideout_B2F_Text_Grunt4Defeat, AquaHideout_B2F_EventScript_Grunt4Defeated
msgbox AquaHideout_B2F_Text_Grunt4PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B2F_EventScript_Grunt4Defeated:: @ 8233EA5
AquaHideout_B2F_EventScript_Grunt4Defeated::
msgbox AquaHideout_B2F_Text_Grunt4PostBattle, MSGBOX_DEFAULT
release
end
AquaHideout_B2F_EventScript_Grunt6:: @ 8233EAF
AquaHideout_B2F_EventScript_Grunt6::
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_6, AquaHideout_B2F_Text_Grunt6Intro, AquaHideout_B2F_Text_Grunt6Defeat
msgbox AquaHideout_B2F_Text_Grunt6PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B2F_EventScript_Grunt8:: @ 8233EC6
AquaHideout_B2F_EventScript_Grunt8::
trainerbattle_single TRAINER_GRUNT_AQUA_HIDEOUT_8, AquaHideout_B2F_Text_Grunt8Intro, AquaHideout_B2F_Text_Grunt8Defeat
msgbox AquaHideout_B2F_Text_Grunt8PostBattle, MSGBOX_AUTOCLOSE
end
AquaHideout_B2F_Text_MattIntro: @ 8233EDD
AquaHideout_B2F_Text_MattIntro:
.string "Hehehe…\p"
.string "Got here already, did you?\n"
.string "We underestimated you!\p"
@@ -99,16 +99,16 @@ AquaHideout_B2F_Text_MattIntro: @ 8233EDD
.string "I'm not stalling for time.\n"
.string "I'm going to pulverize you!$"
AquaHideout_B2F_Text_MattDefeat: @ 8233F8D
AquaHideout_B2F_Text_MattDefeat:
.string "Hehehe…\n"
.string "So, I lost, too…$"
AquaHideout_B2F_Text_OurBossGotThroughHisPreparations: @ 8233FA6
AquaHideout_B2F_Text_OurBossGotThroughHisPreparations:
.string "Hehehe!\p"
.string "While I was toying with you, our BOSS\n"
.string "got through his preparations!$"
AquaHideout_B2F_Text_MattPostBattle: @ 8233FF2
AquaHideout_B2F_Text_MattPostBattle:
.string "Hehehe!\p"
.string "Our BOSS has already gone on his way to\n"
.string "some cave under the sea!\p"
@@ -118,19 +118,19 @@ AquaHideout_B2F_Text_MattPostBattle: @ 8233FF2
.string "But will you find it then?\n"
.string "Hehehe!$"
AquaHideout_B2F_Text_Grunt4Intro: @ 82340B4
AquaHideout_B2F_Text_Grunt4Intro:
.string "Wahahah, I grew weary of waiting!\n"
.string "You owe me a battle, too!$"
AquaHideout_B2F_Text_Grunt4Defeat: @ 82340F0
AquaHideout_B2F_Text_Grunt4Defeat:
.string "Tired of waiting…\n"
.string "Lost and dazed…$"
AquaHideout_B2F_Text_Grunt4PostBattle: @ 8234112
AquaHideout_B2F_Text_Grunt4PostBattle:
.string "BOSS…\n"
.string "Is this good enough?$"
AquaHideout_B2F_Text_Grunt6Intro: @ 823412D
AquaHideout_B2F_Text_Grunt6Intro:
.string "Warp panels, the HIDEOUT's pride\n"
.string "and joy!\p"
.string "You're clueless about where you are,\n"
@@ -138,25 +138,25 @@ AquaHideout_B2F_Text_Grunt6Intro: @ 823412D
.string "Fluster and tire out the enemy, then\n"
.string "lower the boom! That's our plan!$"
AquaHideout_B2F_Text_Grunt6Defeat: @ 82341CE
AquaHideout_B2F_Text_Grunt6Defeat:
.string "What's wrong with you?\n"
.string "You're not tired at all!$"
AquaHideout_B2F_Text_Grunt6PostBattle: @ 82341FE
AquaHideout_B2F_Text_Grunt6PostBattle:
.string "That reminds me… I can't remember\n"
.string "where I put the MASTER BALL.\p"
.string "If I fail to guard it, our BOSS will\n"
.string "chew me out…$"
AquaHideout_B2F_Text_Grunt8Intro: @ 823426F
AquaHideout_B2F_Text_Grunt8Intro:
.string "When I joined TEAM AQUA, the first\n"
.string "thing I had to learn was how these\l"
.string "warp panels connected.$"
AquaHideout_B2F_Text_Grunt8Defeat: @ 82342CC
AquaHideout_B2F_Text_Grunt8Defeat:
.string "I was too occupied thinking about\n"
.string "the warp panels…$"
AquaHideout_B2F_Text_Grunt8PostBattle: @ 82342FF
AquaHideout_B2F_Text_Grunt8PostBattle:
.string "I'll have to learn about how I can\n"
.string "battle more effectively…$"

View File

@@ -1,3 +1,3 @@
AquaHideout_UnusedRubyMap1_MapScripts:: @ 823929B
AquaHideout_UnusedRubyMap1_MapScripts::
.byte 0

View File

@@ -1,3 +1,3 @@
AquaHideout_UnusedRubyMap2_MapScripts:: @ 823929C
AquaHideout_UnusedRubyMap2_MapScripts::
.byte 0

View File

@@ -1,3 +1,3 @@
AquaHideout_UnusedRubyMap3_MapScripts:: @ 823929D
AquaHideout_UnusedRubyMap3_MapScripts::
.byte 0

View File

@@ -1,3 +1,3 @@
ArtisanCave_1F_MapScripts:: @ 823AFB7
ArtisanCave_1F_MapScripts::
.byte 0

View File

@@ -1,8 +1,8 @@
ArtisanCave_B1F_MapScripts:: @ 823AFAD
ArtisanCave_B1F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, ArtisanCave_B1F_OnTransition
.byte 0
ArtisanCave_B1F_OnTransition: @ 823AFB3
ArtisanCave_B1F_OnTransition:
setflag FLAG_LANDMARK_ARTISAN_CAVE
end

View File

@@ -1,3 +1,3 @@
BattleColosseum_2P_MapScripts:: @ 823B77D
BattleColosseum_2P_MapScripts::
.byte 0

View File

@@ -1,3 +1,3 @@
BattleColosseum_4P_MapScripts:: @ 823B780
BattleColosseum_4P_MapScripts::
.byte 0

View File

@@ -7,7 +7,7 @@
.set LOCALID_PLAYER, 8
.set LOCALID_ANNOUNCER, 9
BattleFrontier_BattleArenaBattleRoom_MapScripts:: @ 8257487
BattleFrontier_BattleArenaBattleRoom_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattleArenaBattleRoom_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleArenaBattleRoom_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleArenaBattleRoom_OnWarp
@@ -17,50 +17,47 @@ BattleFrontier_BattleArenaBattleRoom_MapScripts:: @ 8257487
@ On this map the player (OBJ_EVENT_ID_PLAYER) is hidden
@ The player is represented instead by LOCALID_PLAYER, which has the gfx id VAR_OBJ_GFX_ID_1
BattleFrontier_BattleArenaBattleRoom_OnResume: @ 825749C
BattleFrontier_BattleArenaBattleRoom_OnResume:
special OffsetCameraForBattle
end
BattleFrontier_BattleArenaBattleRoom_OnTransition: @ 82574A0
BattleFrontier_BattleArenaBattleRoom_OnTransition:
frontier_settrainers
call BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfx
end
BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfx:: @ 82574AE
BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfx::
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfxMale
compare VAR_RESULT, FEMALE
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfxFemale
goto_if_eq VAR_RESULT, MALE, BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfxMale
goto_if_eq VAR_RESULT, FEMALE, BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfxFemale
return
BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfxMale:: @ 82574C6
BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfxMale::
setvar VAR_OBJ_GFX_ID_1, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL
return
BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfxFemale:: @ 82574CC
BattleFrontier_BattleArenaBattleRoom_EventScript_SetPlayerGfxFemale::
setvar VAR_OBJ_GFX_ID_1, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL
return
BattleFrontier_BattleArenaBattleRoom_OnFrame: @ 82574D2
BattleFrontier_BattleArenaBattleRoom_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleArenaBattleRoom_EventScript_EnterRoom
.2byte 0
BattleFrontier_BattleArenaBattleRoom_EventScript_EnterRoom:: @ 82574DC
BattleFrontier_BattleArenaBattleRoom_EventScript_EnterRoom::
lockall
showobjectat LOCALID_PLAYER, MAP_BATTLE_FRONTIER_BATTLE_ARENA_BATTLE_ROOM
applymovement LOCALID_PLAYER, BattleFrontier_BattleArenaBattleRoom_Movement_PlayerEnter
waitmovement 0
frontier_get FRONTIER_DATA_BATTLE_NUM
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_AnnounceTrainers
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleArenaBattleRoom_EventScript_AnnounceTrainers
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceDown
applymovement LOCALID_PLAYER, BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceLeft
setvar VAR_TEMP_2, 1
frontier_set FRONTIER_DATA_RECORD_DISABLED, TRUE
goto BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleArenaBattleRoom_EventScript_AnnounceTrainers:: @ 825752E
BattleFrontier_BattleArenaBattleRoom_EventScript_AnnounceTrainers::
tower_setopponent
addobject LOCALID_OPPONENT
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_OpponentEnter
@@ -97,7 +94,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AnnounceTrainers:: @ 825752E
call BattleFrontier_BattleArenaBattleRoom_EventScript_DoArenaBattle
switch VAR_RESULT
case 1, BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedOpponent
BattleFrontier_BattleArenaBattleRoom_EventScript_DeclareOpponentWinner:: @ 82575DB
BattleFrontier_BattleArenaBattleRoom_EventScript_DeclareOpponentWinner::
applymovement LOCALID_ANNOUNCER, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
applymovement LOCALID_BLACK_BELT_1, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
applymovement LOCALID_BLACK_BELT_2, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
@@ -108,12 +105,12 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_DeclareOpponentWinner:: @ 82575
waitmovement 0
arena_gettrainername
msgbox BattleFrontier_BattleArenaBattleRoom_Text_WinnerIsOpponent, MSGBOX_DEFAULT
BattleFrontier_BattleArenaBattleRoom_EventScript_WarpToLobbyLost:: @ 8257615
BattleFrontier_BattleArenaBattleRoom_EventScript_WarpToLobbyLost::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_LOBBY, 255, 7, 8
warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_LOBBY, 7, 8
waitstate
BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedOpponent:: @ 8257630
BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedOpponent::
call BattleFrontier_BattleArenaBattleRoom_EventScript_DeclarePlayerWinner
frontier_get FRONTIER_DATA_BATTLE_NUM
addvar VAR_RESULT, 1
@@ -134,27 +131,19 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedOpponent:: @ 8257630
playfanfare MUS_HEAL
waitfanfare
special HealPlayerParty
BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent:: @ 82576B0
BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent::
frontier_getbrainstatus
copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_TycoonUpNext
goto_if_ne VAR_RESULT, FRONTIER_BRAIN_NOT_READY, BattleFrontier_BattleArenaBattleRoom_EventScript_TycoonUpNext
frontier_get FRONTIER_DATA_BATTLE_NUM
compare VAR_RESULT, 1
call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor2ndOpponent
compare VAR_RESULT, 2
call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor3rdOpponent
compare VAR_RESULT, 3
call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor4thOpponent
compare VAR_RESULT, 4
call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor5thOpponent
compare VAR_RESULT, 5
call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor6thOpponent
compare VAR_RESULT, 6
call_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor7thOpponent
call_if_eq VAR_RESULT, 1, BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor2ndOpponent
call_if_eq VAR_RESULT, 2, BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor3rdOpponent
call_if_eq VAR_RESULT, 3, BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor4thOpponent
call_if_eq VAR_RESULT, 4, BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor5thOpponent
call_if_eq VAR_RESULT, 5, BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor6thOpponent
call_if_eq VAR_RESULT, 6, BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor7thOpponent
call BattleFrontier_EventScript_GetCantRecordBattle
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponentNoRecord
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponentNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge
@@ -163,7 +152,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent:: @ 82576B0
case 3, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponentNoRecord:: @ 8257768
BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponentNoRecord::
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge
@@ -171,7 +160,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponentNoRecord:: @
case 2, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleArenaBattleRoom_EventScript_AskRecordBattle:: @ 825779E
BattleFrontier_BattleArenaBattleRoom_EventScript_AskRecordBattle::
message BattleFrontier_BattleArenaBattleRoom_Text_RecordLastBattle
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -180,18 +169,18 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskRecordBattle:: @ 825779E
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_RecordBattle
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleArenaBattleRoom_EventScript_RecordBattle:: @ 82577D0
BattleFrontier_BattleArenaBattleRoom_EventScript_RecordBattle::
call BattleFrontier_EventScript_SaveBattle
goto BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleArenaBattleRoom_EventScript_AskPauseChallenge:: @ 82577DA
BattleFrontier_BattleArenaBattleRoom_EventScript_AskPauseChallenge::
msgbox BattleFrontier_BattleArenaBattleRoom_Text_SaveAndShutDown, MSGBOX_YESNO
switch VAR_RESULT
case NO, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
case YES, BattleFrontier_BattleArenaBattleRoom_EventScript_PauseChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge:: @ 8257808
BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge::
message BattleFrontier_BattleArenaBattleRoom_Text_RetireFromChallenge
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -200,50 +189,50 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge:: @ 8257808
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_WarpToLobbyLost
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge:: @ 825783A
BattleFrontier_BattleArenaBattleRoom_EventScript_ContinueChallenge::
closemessage
applymovement LOCALID_PLAYER, BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceRight
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceRight
waitmovement 0
goto BattleFrontier_BattleArenaBattleRoom_EventScript_AnnounceTrainers
waitstate
BattleFrontier_BattleArenaBattleRoom_EventScript_ReturnToLobbyWon:: @ 8257852
BattleFrontier_BattleArenaBattleRoom_EventScript_ReturnToLobbyWon::
delay 60
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_LOBBY, 255, 7, 8
warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_LOBBY, 7, 8
waitstate
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor2ndOpponent:: @ 8257870
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor2ndOpponent::
message BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor2ndOpponent
waitmessage
return
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor3rdOpponent:: @ 8257877
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor3rdOpponent::
message BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor3rdOpponent
waitmessage
return
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor4thOpponent:: @ 825787E
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor4thOpponent::
message BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor4thOpponent
waitmessage
return
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor5thOpponent:: @ 8257885
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor5thOpponent::
message BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor5thOpponent
waitmessage
return
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor6thOpponent:: @ 825788C
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor6thOpponent::
message BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor6thOpponent
waitmessage
return
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor7thOpponent:: @ 8257893
BattleFrontier_BattleArenaBattleRoom_EventScript_ReadyFor7thOpponent::
message BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor7thOpponent
waitmessage
return
BattleFrontier_BattleArenaBattleRoom_EventScript_PauseChallenge:: @ 825789A
BattleFrontier_BattleArenaBattleRoom_EventScript_PauseChallenge::
message BattleFrontier_BattleArenaBattleRoom_Text_SavingPleaseWait
waitmessage
arena_save CHALLENGE_STATUS_PAUSED
@@ -253,17 +242,15 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_PauseChallenge:: @ 825789A
frontier_reset
end
BattleFrontier_BattleArenaBattleRoom_EventScript_TycoonUpNext:: @ 82578BC
compare VAR_TEMP_2, 1
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon
BattleFrontier_BattleArenaBattleRoom_EventScript_TycoonUpNext::
goto_if_eq VAR_TEMP_2, 1, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon
msgbox BattleFrontier_BattleArenaBattleRoom_Text_NowFaceTycoon, MSGBOX_DEFAULT
setvar VAR_TEMP_2, 1
BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon:: @ 82578D4
BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon::
message BattleFrontier_BattleArenaBattleRoom_Text_PreparedForTycoon
waitmessage
call BattleFrontier_EventScript_GetCantRecordBattle
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoonNoRecord
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoonNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta
@@ -272,7 +259,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon:: @ 82578D4
case 3, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon
BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoonNoRecord:: @ 825792B
BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoonNoRecord::
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta
@@ -280,7 +267,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoonNoRecord:: @ 8
case 2, BattleFrontier_BattleArenaBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleArenaBattleRoom_EventScript_AskReadyForTycoon
BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta:: @ 8257961
BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta::
call BattleFrontier_EventScript_SetBrainObjectGfx
applymovement LOCALID_PLAYER, BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceRight
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceRight
@@ -309,8 +296,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta:: @ 8257961
case FRONTIER_BRAIN_STREAK, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaSilver
case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaGold
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
compare VAR_RESULT, FALSE
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaSilver
goto_if_ne VAR_RESULT, FALSE, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaSilver
msgbox BattleFrontier_BattleArenaBattleRoom_Text_GretaYoureChallenger, MSGBOX_DEFAULT
closemessage
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
@@ -321,18 +307,16 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGreta:: @ 8257961
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_GretaWalkBackToCenter
waitmovement 0
msgbox BattleFrontier_BattleArenaBattleRoom_Text_YouLookWeakTakeThingsEasy, MSGBOX_DEFAULT
BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaSilver:: @ 8257A3F
BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaSilver::
msgbox BattleFrontier_BattleArenaBattleRoom_Text_IgniteMyPassionForBattle, MSGBOX_DEFAULT
call BattleFrontier_BattleArenaBattleRoom_EventScript_StartArenaBattle
compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedGretaSilver
goto_if_eq VAR_RESULT, 1, BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedGretaSilver
goto BattleFrontier_BattleArenaBattleRoom_EventScript_DeclareOpponentWinner
BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedGretaSilver:: @ 8257A5C
BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedGretaSilver::
call BattleFrontier_BattleArenaBattleRoom_EventScript_DeclarePlayerWinner
frontier_getsymbols
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_ReturnToLobbyWon
goto_if_ne VAR_RESULT, 0, BattleFrontier_BattleArenaBattleRoom_EventScript_ReturnToLobbyWon
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_OpponentStepForwardLong
waitmovement 0
msgbox BattleFrontier_BattleArenaBattleRoom_Text_GretaYoureToughAfterAll, MSGBOX_DEFAULT
@@ -344,10 +328,9 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedGretaSilver:: @ 8257A5C
msgbox BattleFrontier_BattleArenaBattleRoom_Text_GoingToBeFunNextTime, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaBattleRoom_EventScript_ReturnToLobbyWon
BattleFrontier_BattleArenaBattleRoom_EventScript_IntroGretaGold:: @ 8257AA5
BattleFrontier_BattleArenaBattleRoom_EventScript_IntroGretaGold::
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
compare VAR_RESULT, FALSE
goto_if_ne BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaGold
goto_if_ne VAR_RESULT, FALSE, BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaGold
msgbox BattleFrontier_BattleArenaBattleRoom_Text_GretaLookingForwardToSeeingAgain, MSGBOX_DEFAULT
closemessage
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
@@ -358,18 +341,16 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_IntroGretaGold:: @ 8257AA5
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_GretaWalkBackToCenter
waitmovement 0
msgbox BattleFrontier_BattleArenaBattleRoom_Text_WontAllowHalfheartedEffort, MSGBOX_DEFAULT
BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaGold:: @ 8257AF8
BattleFrontier_BattleArenaBattleRoom_EventScript_BattleGretaGold::
msgbox BattleFrontier_BattleArenaBattleRoom_Text_LetsGetThisStarted, MSGBOX_DEFAULT
call BattleFrontier_BattleArenaBattleRoom_EventScript_StartArenaBattle
compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedGretaGold
goto_if_eq VAR_RESULT, 1, BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedGretaGold
goto BattleFrontier_BattleArenaBattleRoom_EventScript_DeclareOpponentWinner
BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedGretaGold:: @ 8257B15
BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedGretaGold::
call BattleFrontier_BattleArenaBattleRoom_EventScript_DeclarePlayerWinner
frontier_getsymbols
compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattleArenaBattleRoom_EventScript_ReturnToLobbyWon
goto_if_eq VAR_RESULT, 2, BattleFrontier_BattleArenaBattleRoom_EventScript_ReturnToLobbyWon
applymovement LOCALID_OPPONENT, BattleFrontier_BattleArenaBattleRoom_Movement_OpponentStepForwardLong
waitmovement 0
msgbox BattleFrontier_BattleArenaBattleRoom_Text_GretaBlownAway, MSGBOX_DEFAULT
@@ -381,12 +362,12 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_DefeatedGretaGold:: @ 8257B15
msgbox BattleFrontier_BattleArenaBattleRoom_Text_IfWeBattleAgainWontLose, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaBattleRoom_EventScript_ReturnToLobbyWon
BattleFrontier_BattleArenaBattleRoom_EventScript_StartArenaBattle:: @ 8257B5E
BattleFrontier_BattleArenaBattleRoom_EventScript_StartArenaBattle::
msgbox BattleFrontier_BattleArenaBattleRoom_Text_SetKOTourneyBegin, MSGBOX_DEFAULT
call BattleFrontier_BattleArenaBattleRoom_EventScript_DoArenaBattle
return
BattleFrontier_BattleArenaBattleRoom_EventScript_DoArenaBattle:: @ 8257B6C
BattleFrontier_BattleArenaBattleRoom_EventScript_DoArenaBattle::
closemessage
setvar VAR_TEMP_2, 0
frontier_set FRONTIER_DATA_RECORD_DISABLED, FALSE
@@ -400,7 +381,7 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_DoArenaBattle:: @ 8257B6C
frontier_resetsketch
return
BattleFrontier_BattleArenaBattleRoom_EventScript_DeclarePlayerWinner:: @ 8257BA9
BattleFrontier_BattleArenaBattleRoom_EventScript_DeclarePlayerWinner::
applymovement LOCALID_ANNOUNCER, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
applymovement LOCALID_BLACK_BELT_1, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
applymovement LOCALID_BLACK_BELT_2, BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown
@@ -414,39 +395,39 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_DeclarePlayerWinner:: @ 8257BA9
call BattleFrontier_EventScript_IncrementWinStreak
return
BattleFrontier_BattleArenaBattleRoom_Movement_PlayerEnter: @ 8257BE2
BattleFrontier_BattleArenaBattleRoom_Movement_PlayerEnter:
walk_right
walk_right
BattleFrontier_BattleArenaBattleRoom_Movement_PlayerStepForwardLong: @ 8257BE4
BattleFrontier_BattleArenaBattleRoom_Movement_PlayerStepForwardLong:
walk_right
BattleFrontier_BattleArenaBattleRoom_Movement_PlayerStepForward: @ 8257BE5
BattleFrontier_BattleArenaBattleRoom_Movement_PlayerStepForward:
walk_right
step_end
BattleFrontier_BattleArenaBattleRoom_Movement_PlayerWalkBackToLine: @ 8257BE7
BattleFrontier_BattleArenaBattleRoom_Movement_PlayerWalkBackToLine:
walk_left
walk_left
walk_in_place_fastest_right
walk_in_place_faster_right
step_end
BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceLeft: @ 8257BEB
walk_in_place_fastest_up
BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceLeft:
walk_in_place_faster_up
step_end
BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceRight: @ 8257BED
walk_in_place_fastest_right
BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceRight:
walk_in_place_faster_right
step_end
BattleFrontier_BattleArenaBattleRoom_Movement_OpponentEnter: @ 8257BEF
BattleFrontier_BattleArenaBattleRoom_Movement_OpponentEnter:
walk_left
walk_left
BattleFrontier_BattleArenaBattleRoom_Movement_OpponentStepForwardLong: @ 8257BF1
BattleFrontier_BattleArenaBattleRoom_Movement_OpponentStepForwardLong:
walk_left
BattleFrontier_BattleArenaBattleRoom_Movement_OpponentStepForward: @ 8257BF2
BattleFrontier_BattleArenaBattleRoom_Movement_OpponentStepForward:
walk_left
step_end
BattleFrontier_BattleArenaBattleRoom_Movement_GretaEnter: @ 8257BF4
BattleFrontier_BattleArenaBattleRoom_Movement_GretaEnter:
walk_fast_left
walk_fast_left
walk_fast_left
@@ -454,7 +435,7 @@ BattleFrontier_BattleArenaBattleRoom_Movement_GretaEnter: @ 8257BF4
walk_fast_left
step_end
BattleFrontier_BattleArenaBattleRoom_Movement_OpponentExit: @ 8257BFA
BattleFrontier_BattleArenaBattleRoom_Movement_OpponentExit:
walk_right
walk_right
walk_right
@@ -464,30 +445,30 @@ BattleFrontier_BattleArenaBattleRoom_Movement_OpponentExit: @ 8257BFA
walk_right
step_end
BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown: @ 8257C02
BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceDown:
disable_jump_landing_ground_effect
jump_in_place_down
step_end
BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceUp: @ 8257C05
BattleFrontier_BattleArenaBattleRoom_Movement_JumpInPlaceUp:
disable_jump_landing_ground_effect
jump_in_place_up
step_end
BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceDown: @ 8257C08
walk_in_place_fastest_down
BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceDown:
walk_in_place_faster_down
step_end
@ Unused, redundant
BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceRight2: @ 8257C0A
walk_in_place_fastest_right
BattleFrontier_BattleArenaBattleRoom_Movement_WalkInPlaceRight2:
walk_in_place_faster_right
step_end
BattleFrontier_BattleArenaBattleRoom_OnWarp: @ 8257C0C
BattleFrontier_BattleArenaBattleRoom_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleArenaBattleRoom_EventScript_SetUpRoomObjects
.2byte 0
BattleFrontier_BattleArenaBattleRoom_EventScript_SetUpRoomObjects:: @ 8257C16
BattleFrontier_BattleArenaBattleRoom_EventScript_SetUpRoomObjects::
hideobjectat LOCALID_PLAYER, MAP_BATTLE_FRONTIER_BATTLE_ARENA_BATTLE_ROOM
removeobject LOCALID_OPPONENT
call BattleFrontier_BattleDomeBattleRoom_EventScript_SetPlayerGfx
@@ -495,109 +476,109 @@ BattleFrontier_BattleArenaBattleRoom_EventScript_SetUpRoomObjects:: @ 8257C16
setvar VAR_TEMP_1, 1
end
BattleFrontier_BattleArenaBattleRoom_Movement_GretaLookAroundPlayer: @ 8257C30
BattleFrontier_BattleArenaBattleRoom_Movement_GretaLookAroundPlayer:
walk_down
walk_in_place_fastest_left
walk_in_place_faster_left
delay_16
delay_16
delay_16
delay_16
walk_up
walk_up
walk_in_place_fastest_left
walk_in_place_faster_left
step_end
BattleFrontier_BattleArenaBattleRoom_Movement_GretaWalkBackToCenter: @ 8257C3A
BattleFrontier_BattleArenaBattleRoom_Movement_GretaWalkBackToCenter:
walk_down
walk_in_place_fastest_left
walk_in_place_faster_left
step_end
BattleFrontier_BattleArenaBattleRoom_Text_PlayerStepForward: @ 8257C3D
BattleFrontier_BattleArenaBattleRoom_Text_PlayerStepForward:
.string "REFEREE: TRAINER {PLAYER}!\n"
.string "Step forward, please!$"
BattleFrontier_BattleArenaBattleRoom_Text_OpponentStepForward: @ 8257C68
BattleFrontier_BattleArenaBattleRoom_Text_OpponentStepForward:
.string "REFEREE: TRAINER {STR_VAR_1}!\n"
.string "Step forward, please!$"
BattleFrontier_BattleArenaBattleRoom_Text_SetKOTourneyBegin: @ 8257C93
BattleFrontier_BattleArenaBattleRoom_Text_SetKOTourneyBegin:
.string "REFEREE: Set KO Tourney!\n"
.string "Begin!$"
BattleFrontier_BattleArenaBattleRoom_Text_WinnerIsPlayer: @ 8257CB3
BattleFrontier_BattleArenaBattleRoom_Text_WinnerIsPlayer:
.string "REFEREE: The winner is {PLAYER}!$"
BattleFrontier_BattleArenaBattleRoom_Text_WinnerIsOpponent: @ 8257CCE
BattleFrontier_BattleArenaBattleRoom_Text_WinnerIsOpponent:
.string "REFEREE: The winner is {STR_VAR_1}!$"
BattleFrontier_BattleArenaBattleRoom_Text_MonsWillBeRestored: @ 8257CE9
BattleFrontier_BattleArenaBattleRoom_Text_MonsWillBeRestored:
.string "Your POKéMON will be restored to\n"
.string "full health.$"
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor2ndOpponent: @ 8257D17
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor2ndOpponent:
.string "Next up, your second opponent!\n"
.string "Are you ready to move on?$"
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor3rdOpponent: @ 8257D50
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor3rdOpponent:
.string "Next up, your third opponent!\n"
.string "Are you ready to move on?$"
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor4thOpponent: @ 8257D88
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor4thOpponent:
.string "Next up, your fourth opponent!\n"
.string "Are you ready to move on?$"
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor5thOpponent: @ 8257DC1
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor5thOpponent:
.string "Next up, your fifth opponent!\n"
.string "Are you ready to move on?$"
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor6thOpponent: @ 8257DF9
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor6thOpponent:
.string "Next up, your sixth opponent!\n"
.string "Are you ready to move on?$"
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor7thOpponent: @ 8257E31
BattleFrontier_BattleArenaBattleRoom_Text_ReadyFor7thOpponent:
.string "Next up, your seventh opponent!\n"
.string "Are you ready to move on?$"
BattleFrontier_BattleArenaBattleRoom_Text_SaveAndShutDown: @ 8257E6B
BattleFrontier_BattleArenaBattleRoom_Text_SaveAndShutDown:
.string "Would you like to save the game and\n"
.string "shut down now?$"
BattleFrontier_BattleArenaBattleRoom_Text_RetireFromChallenge: @ 8257E9E
BattleFrontier_BattleArenaBattleRoom_Text_RetireFromChallenge:
.string "Would you like to retire from your\n"
.string "Set KO Tourney challenge?$"
BattleFrontier_BattleArenaBattleRoom_Text_SavingPleaseWait: @ 8257EDB
BattleFrontier_BattleArenaBattleRoom_Text_SavingPleaseWait:
.string "I am saving your game data.\n"
.string "Please wait.$"
BattleFrontier_BattleArenaBattleRoom_Text_RecordLastBattle: @ 8257F04
BattleFrontier_BattleArenaBattleRoom_Text_RecordLastBattle:
.string "Would you like to record your last\n"
.string "battle on your FRONTIER PASS?$"
BattleFrontier_BattleArenaBattleRoom_Text_NowFaceTycoon: @ 8257F45
BattleFrontier_BattleArenaBattleRoom_Text_NowFaceTycoon:
.string "My dear challenger!\p"
.string "Your skill level is truly astounding!\p"
.string "We now would like you to face our\n"
.string "leader, the ARENA TYCOON!$"
BattleFrontier_BattleArenaBattleRoom_Text_PreparedForTycoon: @ 8257FBB
BattleFrontier_BattleArenaBattleRoom_Text_PreparedForTycoon:
.string "A battle with the ARENA TYCOON!\n"
.string "Are you prepared?$"
BattleFrontier_BattleArenaBattleRoom_Text_MakeWayForGreta: @ 8257FED
BattleFrontier_BattleArenaBattleRoom_Text_MakeWayForGreta:
.string "REFEREE: The ARENA TYCOON!\n"
.string "Make way for GRETA!$"
BattleFrontier_BattleArenaBattleRoom_Text_GretaYoureChallenger: @ 825801C
BattleFrontier_BattleArenaBattleRoom_Text_GretaYoureChallenger:
.string "GRETA: Hey!\n"
.string "Howdy!\p"
.string "…Wait, are you the challenger?$"
BattleFrontier_BattleArenaBattleRoom_Text_IsThatRight: @ 825804E
BattleFrontier_BattleArenaBattleRoom_Text_IsThatRight:
.string "Is that right? Hmm…\n"
.string "Hmhm…$"
BattleFrontier_BattleArenaBattleRoom_Text_YouLookWeakTakeThingsEasy: @ 8258068
BattleFrontier_BattleArenaBattleRoom_Text_YouLookWeakTakeThingsEasy:
.string "I don't know how to say it, but…\n"
.string "To put it bluntly, you look pretty weak.\l"
.string "Are you sure you're up for me?\p"
@@ -605,53 +586,53 @@ BattleFrontier_BattleArenaBattleRoom_Text_YouLookWeakTakeThingsEasy: @ 8258068
.string "Well, all right!\n"
.string "We'll take things easy to start with!$"
BattleFrontier_BattleArenaBattleRoom_Text_IgniteMyPassionForBattle: @ 825810D
BattleFrontier_BattleArenaBattleRoom_Text_IgniteMyPassionForBattle:
.string "Okay! Let's see you ignite my passion\n"
.string "for battle!$"
BattleFrontier_BattleArenaBattleRoom_Text_GretaYoureToughAfterAll: @ 825813F
BattleFrontier_BattleArenaBattleRoom_Text_GretaYoureToughAfterAll:
.string "GRETA: Ow, wait a second!\n"
.string "You are tough after all!\p"
.string "I like you!\n"
.string "Let's see your FRONTIER PASS.$"
BattleFrontier_BattleArenaBattleRoom_Text_ReceivedGutsSymbol: @ 825819C
BattleFrontier_BattleArenaBattleRoom_Text_ReceivedGutsSymbol:
.string "The Guts Symbol was embossed on\n"
.string "the FRONTIER PASS!$"
BattleFrontier_BattleArenaBattleRoom_Text_GoingToBeFunNextTime: @ 82581CF
BattleFrontier_BattleArenaBattleRoom_Text_GoingToBeFunNextTime:
.string "Hmm…\p"
.string "It's going to be fun the next time!\n"
.string "I'm looking forward to it!$"
BattleFrontier_BattleArenaBattleRoom_Text_GretaLookingForwardToSeeingAgain: @ 8258213
BattleFrontier_BattleArenaBattleRoom_Text_GretaLookingForwardToSeeingAgain:
.string "GRETA: Hey! Howdy!\n"
.string "You finally won your way up to me!\p"
.string "I was getting worried waiting for you!\n"
.string "I was really looking forward to seeing\l"
.string "you again!$"
BattleFrontier_BattleArenaBattleRoom_Text_SoAreYouReady: @ 82582A2
BattleFrontier_BattleArenaBattleRoom_Text_SoAreYouReady:
.string "… … …\n"
.string "So, are you ready?$"
BattleFrontier_BattleArenaBattleRoom_Text_WontAllowHalfheartedEffort: @ 82582BB
BattleFrontier_BattleArenaBattleRoom_Text_WontAllowHalfheartedEffort:
.string "I won't allow a halfhearted effort!\n"
.string "Be ready for a thrashing!$"
BattleFrontier_BattleArenaBattleRoom_Text_LetsGetThisStarted: @ 82582F9
BattleFrontier_BattleArenaBattleRoom_Text_LetsGetThisStarted:
.string "Come on, REFEREE!\n"
.string "Let's get this started!$"
BattleFrontier_BattleArenaBattleRoom_Text_GretaBlownAway: @ 8258323
BattleFrontier_BattleArenaBattleRoom_Text_GretaBlownAway:
.string "GRETA: Gaaah! Blown away!\n"
.string "Let's see your FRONTIER PASS!$"
BattleFrontier_BattleArenaBattleRoom_Text_GutsSymbolTookGoldenShine: @ 825835B
BattleFrontier_BattleArenaBattleRoom_Text_GutsSymbolTookGoldenShine:
.string "The Guts Symbol took on\n"
.string "a golden shine!$"
BattleFrontier_BattleArenaBattleRoom_Text_IfWeBattleAgainWontLose: @ 8258383
BattleFrontier_BattleArenaBattleRoom_Text_IfWeBattleAgainWontLose:
.string "Arrrgh!\n"
.string "This is so infuriating!\p"
.string "If we ever battle again, I won't lose!\n"

View File

@@ -1,14 +1,14 @@
.set LOCALID_ATTENDANT, 1
BattleFrontier_BattleArenaCorridor_MapScripts:: @ 82573B9
BattleFrontier_BattleArenaCorridor_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleArenaCorridor_OnFrame
.byte 0
BattleFrontier_BattleArenaCorridor_OnFrame: @ 82573BF
BattleFrontier_BattleArenaCorridor_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleArenaCorridor_EventScript_WalkToBattleRoom
.2byte 0
BattleFrontier_BattleArenaCorridor_EventScript_WalkToBattleRoom:: @ 82573C9
BattleFrontier_BattleArenaCorridor_EventScript_WalkToBattleRoom::
delay 16
setvar VAR_TEMP_0, 1
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaCorridor_Movement_AttendantWalkToDoor
@@ -22,11 +22,11 @@ BattleFrontier_BattleArenaCorridor_EventScript_WalkToBattleRoom:: @ 82573C9
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaCorridor_Movement_PlayerEnterDoor
waitmovement 0
setvar VAR_0x8006, 0
warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_BATTLE_ROOM, 255, 7, 5
warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_BATTLE_ROOM, 7, 5
waitstate
end
BattleFrontier_BattleArenaCorridor_Movement_PlayerWalkToDoor: @ 8257417
BattleFrontier_BattleArenaCorridor_Movement_PlayerWalkToDoor:
walk_up
walk_left
walk_left
@@ -49,12 +49,12 @@ BattleFrontier_BattleArenaCorridor_Movement_PlayerWalkToDoor: @ 8257417
walk_right
step_end
BattleFrontier_BattleArenaCorridor_Movement_PlayerEnterDoor: @ 825742C
BattleFrontier_BattleArenaCorridor_Movement_PlayerEnterDoor:
walk_right
set_invisible
step_end
BattleFrontier_BattleArenaCorridor_Movement_AttendantWalkToDoor: @ 825742F
BattleFrontier_BattleArenaCorridor_Movement_AttendantWalkToDoor:
walk_left
walk_left
walk_left
@@ -77,16 +77,16 @@ BattleFrontier_BattleArenaCorridor_Movement_AttendantWalkToDoor: @ 825742F
walk_right
step_end
BattleFrontier_BattleArenaCorridor_Movement_AttendantFacePlayer: @ 8257444
walk_in_place_fastest_left
BattleFrontier_BattleArenaCorridor_Movement_AttendantFacePlayer:
walk_in_place_faster_left
step_end
BattleFrontier_BattleArenaCorridor_Movement_AttendantMoveOutOfWay: @ 8257446
BattleFrontier_BattleArenaCorridor_Movement_AttendantMoveOutOfWay:
walk_up
walk_in_place_fastest_down
walk_in_place_faster_down
step_end
BattleFrontier_BattleArenaCorridor_Text_PleaseStepIn: @ 8257449
BattleFrontier_BattleArenaCorridor_Text_PleaseStepIn:
.string "Your battles shall be waged in\n"
.string "the next room. Please step in!$"

View File

@@ -1,20 +1,20 @@
.set LOCALID_ATTENDANT, 1
BattleFrontier_BattleArenaLobby_MapScripts:: @ 8255C36
BattleFrontier_BattleArenaLobby_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleArenaLobby_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleArenaLobby_OnWarp
.byte 0
BattleFrontier_BattleArenaLobby_OnWarp: @ 8255C41
BattleFrontier_BattleArenaLobby_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleArenaLobby_EventScript_TurnPlayerNorth
.2byte 0
BattleFrontier_BattleArenaLobby_EventScript_TurnPlayerNorth:: @ 8255C4B
BattleFrontier_BattleArenaLobby_EventScript_TurnPlayerNorth::
setvar VAR_TEMP_1, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end
BattleFrontier_BattleArenaLobby_OnFrame: @ 8255C55
BattleFrontier_BattleArenaLobby_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleArenaLobby_EventScript_GetChallengeStatus
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattleArenaLobby_EventScript_QuitWithoutSaving
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattleArenaLobby_EventScript_ResumeChallenge
@@ -22,11 +22,11 @@ BattleFrontier_BattleArenaLobby_OnFrame: @ 8255C55
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattleArenaLobby_EventScript_LostChallenge
.2byte 0
BattleFrontier_BattleArenaLobby_EventScript_GetChallengeStatus:: @ 8255C7F
BattleFrontier_BattleArenaLobby_EventScript_GetChallengeStatus::
frontier_getstatus
end
BattleFrontier_BattleArenaLobby_EventScript_QuitWithoutSaving:: @ 8255C88
BattleFrontier_BattleArenaLobby_EventScript_QuitWithoutSaving::
lockall
msgbox BattleFrontier_BattleArenaLobby_Text_DidntSaveBeforeShuttingDown, MSGBOX_DEFAULT
closemessage
@@ -37,17 +37,16 @@ BattleFrontier_BattleArenaLobby_EventScript_QuitWithoutSaving:: @ 8255C88
releaseall
end
BattleFrontier_BattleArenaLobby_EventScript_WonChallenge:: @ 8255CCF
BattleFrontier_BattleArenaLobby_EventScript_WonChallenge::
lockall
frontier_isbrain
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_DefeatedTycoon
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleArenaLobby_EventScript_DefeatedTycoon
msgbox BattleFrontier_BattleArenaLobby_Text_CongratsOnSevenWins, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_GiveBattlePoints
BattleFrontier_BattleArenaLobby_EventScript_DefeatedTycoon:: @ 8255CF0
BattleFrontier_BattleArenaLobby_EventScript_DefeatedTycoon::
msgbox BattleFrontier_BattleArenaLobby_Text_CongratsOnDefeatingTycoon, MSGBOX_DEFAULT
BattleFrontier_BattleArenaLobby_EventScript_GiveBattlePoints:: @ 8255CF8
BattleFrontier_BattleArenaLobby_EventScript_GiveBattlePoints::
msgbox BattleFrontier_BattleArenaLobby_Text_PleaseAcceptBattlePoints, MSGBOX_DEFAULT
frontier_givepoints
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
@@ -60,7 +59,7 @@ BattleFrontier_BattleArenaLobby_EventScript_GiveBattlePoints:: @ 8255CF8
releaseall
end
BattleFrontier_BattleArenaLobby_EventScript_LostChallenge:: @ 8255D2B
BattleFrontier_BattleArenaLobby_EventScript_LostChallenge::
lockall
message BattleFrontier_BattleArenaLobby_Text_ThankYouWaitWhileSave
waitmessage
@@ -72,7 +71,7 @@ BattleFrontier_BattleArenaLobby_EventScript_LostChallenge:: @ 8255D2B
releaseall
end
BattleFrontier_BattleArenaLobby_EventScript_SaveAfterChallenge:: @ 8255D59
BattleFrontier_BattleArenaLobby_EventScript_SaveAfterChallenge::
frontier_checkairshow
special LoadPlayerParty
special HealPlayerParty
@@ -80,8 +79,7 @@ BattleFrontier_BattleArenaLobby_EventScript_SaveAfterChallenge:: @ 8255D59
playse SE_SAVE
waitse
call BattleFrontier_EventScript_GetCantRecordBattle
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_EndSaveAfterChallenge
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleArenaLobby_EventScript_EndSaveAfterChallenge
message BattleFrontier_BattleArenaLobby_Text_RecordLastMatch
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -90,12 +88,12 @@ BattleFrontier_BattleArenaLobby_EventScript_SaveAfterChallenge:: @ 8255D59
case 0, BattleFrontier_BattleArenaLobby_EventScript_RecordMatch
case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_EndSaveAfterChallenge
BattleFrontier_BattleArenaLobby_EventScript_RecordMatch:: @ 8255DBA
BattleFrontier_BattleArenaLobby_EventScript_RecordMatch::
call BattleFrontier_EventScript_SaveBattle
BattleFrontier_BattleArenaLobby_EventScript_EndSaveAfterChallenge:: @ 8255DBF
BattleFrontier_BattleArenaLobby_EventScript_EndSaveAfterChallenge::
return
BattleFrontier_BattleArenaLobby_EventScript_ResumeChallenge:: @ 8255DC0
BattleFrontier_BattleArenaLobby_EventScript_ResumeChallenge::
lockall
message BattleFrontier_BattleArenaLobby_Text_LookingForwardToArrivalSaveGame
waitmessage
@@ -106,14 +104,14 @@ BattleFrontier_BattleArenaLobby_EventScript_ResumeChallenge:: @ 8255DC0
setvar VAR_TEMP_0, 255
goto BattleFrontier_BattleArenaLobby_EventScript_EnterChallenge
BattleFrontier_BattleArenaLobby_EventScript_Attendant:: @ 8255DF4
BattleFrontier_BattleArenaLobby_EventScript_Attendant::
lock
faceplayer
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_ARENA
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
special SavePlayerParty
msgbox BattleFrontier_BattleArenaLobby_Text_WelcomeToBattleArena, MSGBOX_DEFAULT
BattleFrontier_BattleArenaLobby_EventScript_AskTakeChallenge:: @ 8255E0B
BattleFrontier_BattleArenaLobby_EventScript_AskTakeChallenge::
message BattleFrontier_BattleArenaLobby_Text_WishToTakeChallenge
waitmessage
multichoice 17, 6, MULTI_CHALLENGEINFO, FALSE
@@ -123,7 +121,7 @@ BattleFrontier_BattleArenaLobby_EventScript_AskTakeChallenge:: @ 8255E0B
case 2, BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge
BattleFrontier_BattleArenaLobby_EventScript_TryEnterChallenge:: @ 8255E47
BattleFrontier_BattleArenaLobby_EventScript_TryEnterChallenge::
message BattleFrontier_BattleArenaLobby_Text_WhichLevelMode
waitmessage
multichoice 17, 6, MULTI_LEVEL_MODE, FALSE
@@ -131,8 +129,7 @@ BattleFrontier_BattleArenaLobby_EventScript_TryEnterChallenge:: @ 8255E47
case FRONTIER_LVL_TENT, BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge
frontier_checkineligible
compare VAR_0x8004, TRUE
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMons
goto_if_eq VAR_0x8004, TRUE, BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMons
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
msgbox BattleFrontier_BattleArenaLobby_Text_SelectThreeMons, MSGBOX_DEFAULT
fadescreen FADE_TO_BLACK
@@ -141,15 +138,14 @@ BattleFrontier_BattleArenaLobby_EventScript_TryEnterChallenge:: @ 8255E47
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special ChoosePartyForBattleFrontier
waitstate
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_LoadPartyAndCancelChallenge
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleArenaLobby_EventScript_LoadPartyAndCancelChallenge
msgbox BattleFrontier_BattleArenaLobby_Text_OkayToSave, MSGBOX_YESNO
switch VAR_RESULT
case NO, BattleFrontier_BattleArenaLobby_EventScript_LoadPartyAndCancelChallenge
case YES, BattleFrontier_BattleArenaLobby_EventScript_SaveBeforeChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_LoadPartyAndCancelChallenge
BattleFrontier_BattleArenaLobby_EventScript_SaveBeforeChallenge:: @ 8255EE8
BattleFrontier_BattleArenaLobby_EventScript_SaveBeforeChallenge::
setvar VAR_TEMP_0, 0
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
arena_init
@@ -161,53 +157,50 @@ BattleFrontier_BattleArenaLobby_EventScript_SaveBeforeChallenge:: @ 8255EE8
delay 2
call Common_EventScript_SaveGame
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleArenaLobby_EventScript_CancelChallengeSaveFailed
BattleFrontier_BattleArenaLobby_EventScript_EnterChallenge:: @ 8255F54
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleArenaLobby_EventScript_CancelChallengeSaveFailed
BattleFrontier_BattleArenaLobby_EventScript_EnterChallenge::
special SavePlayerParty
frontier_setpartyorder FRONTIER_PARTY_SIZE
msgbox BattleFrontier_BattleArenaLobby_Text_GuideYouToArena, MSGBOX_DEFAULT
closemessage
frontier_get FRONTIER_DATA_LVL_MODE
compare VAR_RESULT, FRONTIER_LVL_50
call_if_eq BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLv50
compare VAR_RESULT, FRONTIER_LVL_OPEN
call_if_eq BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLvOpen
warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_CORRIDOR, 255, 9, 13
call_if_eq VAR_RESULT, FRONTIER_LVL_50, BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLv50
call_if_eq VAR_RESULT, FRONTIER_LVL_OPEN, BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLvOpen
warp MAP_BATTLE_FRONTIER_BATTLE_ARENA_CORRIDOR, 9, 13
setvar VAR_TEMP_0, 0
waitstate
end
BattleFrontier_BattleArenaLobby_EventScript_ExplainChallenge:: @ 8255F9F
BattleFrontier_BattleArenaLobby_EventScript_ExplainChallenge::
msgbox BattleFrontier_BattleArenaLobby_Text_ExplainChallenge, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_AskTakeChallenge
BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMons:: @ 8255FAC
BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMons::
switch VAR_RESULT
case FRONTIER_LVL_50, BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMonsLv50
case FRONTIER_LVL_OPEN, BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMonsLvOpen
BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMonsLv50:: @ 8255FC7
BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMonsLv50::
msgbox BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_EndCancelChallenge
BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 8255FD4
BattleFrontier_BattleArenaLobby_EventScript_NotEnoughValidMonsLvOpen::
msgbox BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_EndCancelChallenge
BattleFrontier_BattleArenaLobby_EventScript_CancelChallengeSaveFailed:: @ 8255FE1
BattleFrontier_BattleArenaLobby_EventScript_CancelChallengeSaveFailed::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
goto BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge
BattleFrontier_BattleArenaLobby_EventScript_LoadPartyAndCancelChallenge:: @ 8255FF8
BattleFrontier_BattleArenaLobby_EventScript_LoadPartyAndCancelChallenge::
special LoadPlayerParty
BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge:: @ 8255FFB
BattleFrontier_BattleArenaLobby_EventScript_CancelChallenge::
msgbox BattleFrontier_BattleArenaLobby_Text_AwaitAnotherChallenge, MSGBOX_DEFAULT
BattleFrontier_BattleArenaLobby_EventScript_EndCancelChallenge:: @ 8256003
BattleFrontier_BattleArenaLobby_EventScript_EndCancelChallenge::
release
end
BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLv50:: @ 8256005
BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLv50::
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToLeftDoor
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToLeftDoor
waitmovement 0
@@ -220,7 +213,7 @@ BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLv50:: @ 8256005
waitdooranim
return
BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToLeftDoor: @ 8256034
BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToLeftDoor:
walk_up
walk_up
walk_up
@@ -232,12 +225,12 @@ BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToLeftDoor: @ 8256034
walk_up
step_end
BattleFrontier_BattleArenaLobby_Movement_AttendantEnterDoor: @ 825603E
BattleFrontier_BattleArenaLobby_Movement_AttendantEnterDoor:
walk_up
set_invisible
step_end
BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToLeftDoor: @ 8256041
BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToLeftDoor:
walk_up
walk_up
walk_up
@@ -247,16 +240,16 @@ BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToLeftDoor: @ 8256041
walk_left
walk_left
walk_left
walk_in_place_fastest_up
walk_in_place_faster_up
step_end
BattleFrontier_BattleArenaLobby_Movement_PlayerEnterDoor: @ 825604C
BattleFrontier_BattleArenaLobby_Movement_PlayerEnterDoor:
walk_up
walk_up
set_invisible
step_end
BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLvOpen:: @ 8256050
BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLvOpen::
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToRightDoor
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToRightDoor
waitmovement 0
@@ -269,7 +262,7 @@ BattleFrontier_BattleArenaLobby_EventScript_WalkToDoorLvOpen:: @ 8256050
waitdooranim
return
BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToRightDoor: @ 825607F
BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToRightDoor:
walk_up
walk_up
walk_up
@@ -280,7 +273,7 @@ BattleFrontier_BattleArenaLobby_Movement_AttendantWalkToRightDoor: @ 825607F
walk_up
step_end
BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToRightDoor: @ 8256088
BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToRightDoor:
walk_up
walk_up
walk_up
@@ -289,10 +282,10 @@ BattleFrontier_BattleArenaLobby_Movement_PlayerWalkToRightDoor: @ 8256088
walk_right
walk_right
walk_right
walk_in_place_fastest_up
walk_in_place_faster_up
step_end
BattleFrontier_BattleArenaLobby_EventScript_ShowResults:: @ 8256092
BattleFrontier_BattleArenaLobby_EventScript_ShowResults::
lockall
frontier_results FRONTIER_FACILITY_ARENA
waitbuttonpress
@@ -300,29 +293,29 @@ BattleFrontier_BattleArenaLobby_EventScript_ShowResults:: @ 8256092
releaseall
end
BattleFrontier_BattleArenaLobby_EventScript_Youngster:: @ 82560A6
BattleFrontier_BattleArenaLobby_EventScript_Youngster::
msgbox BattleFrontier_BattleArenaLobby_Text_BadIdeaToNotAttack, MSGBOX_NPC
end
BattleFrontier_BattleArenaLobby_EventScript_Man:: @ 82560AF
BattleFrontier_BattleArenaLobby_EventScript_Man::
msgbox BattleFrontier_BattleArenaLobby_Text_LandingHitsWorked, MSGBOX_NPC
end
BattleFrontier_BattleArenaLobby_EventScript_Camper:: @ 82560B8
BattleFrontier_BattleArenaLobby_EventScript_Camper::
msgbox BattleFrontier_BattleArenaLobby_Text_MatchWasDeclaredDraw, MSGBOX_NPC
end
BattleFrontier_BattleArenaLobby_EventScript_Woman:: @ 82560C1
BattleFrontier_BattleArenaLobby_EventScript_Woman::
msgbox BattleFrontier_BattleArenaLobby_Text_OrderOfMonsImportant, MSGBOX_NPC
end
BattleFrontier_BattleArenaLobby_EventScript_RulesBoard:: @ 82560CA
BattleFrontier_BattleArenaLobby_EventScript_RulesBoard::
lockall
msgbox BattleFrontier_BattleArenaLobby_Text_RulesAreListed, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard:: @ 82560D9
BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard::
message BattleFrontier_BattleArenaLobby_Text_ReadWhichHeading
waitmessage
multichoice 17, 2, MULTI_BATTLE_ARENA_RULES, FALSE
@@ -335,45 +328,45 @@ BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard:: @ 82560D9
case MULTI_B_PRESSED, BattleFrontier_BattleArenaLobby_EventScript_ExitRules
end
BattleFrontier_BattleArenaLobby_EventScript_BattleRules:: @ 825612C
BattleFrontier_BattleArenaLobby_EventScript_BattleRules::
msgbox BattleFrontier_BattleArenaLobby_Text_ExplainBattleRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleArenaLobby_EventScript_MindRules:: @ 825613A
BattleFrontier_BattleArenaLobby_EventScript_MindRules::
msgbox BattleFrontier_BattleArenaLobby_Text_ExplainMindRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleArenaLobby_EventScript_SkillRules:: @ 8256148
BattleFrontier_BattleArenaLobby_EventScript_SkillRules::
msgbox BattleFrontier_BattleArenaLobby_Text_ExplainSkillRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleArenaLobby_EventScript_BodyRules:: @ 8256156
BattleFrontier_BattleArenaLobby_EventScript_BodyRules::
msgbox BattleFrontier_BattleArenaLobby_Text_ExplainBodyRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleArenaLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleArenaLobby_EventScript_ExitRules:: @ 8256164
BattleFrontier_BattleArenaLobby_EventScript_ExitRules::
releaseall
end
BattleFrontier_BattleArenaLobby_Text_WelcomeToBattleArena: @ 8256166
BattleFrontier_BattleArenaLobby_Text_WelcomeToBattleArena:
.string "Where the battling spirit of TRAINERS\n"
.string "is put to the test!\p"
.string "I welcome you to the BATTLE ARENA!\p"
.string "I am your guide to the Set KO Tourney!$"
BattleFrontier_BattleArenaLobby_Text_WishToTakeChallenge: @ 82561EA
BattleFrontier_BattleArenaLobby_Text_WishToTakeChallenge:
.string "Now, do you wish to take\n"
.string "the BATTLE ARENA challenge?$"
BattleFrontier_BattleArenaLobby_Text_AwaitAnotherChallenge: @ 825621F
BattleFrontier_BattleArenaLobby_Text_AwaitAnotherChallenge:
.string "We await your challenge on\n"
.string "another occasion!$"
BattleFrontier_BattleArenaLobby_Text_ExplainChallenge: @ 825624C
BattleFrontier_BattleArenaLobby_Text_ExplainChallenge:
.string "In the BATTLE ARENA, we undertake\n"
.string "the Set KO Tourney.\p"
.string "All participants enter with a team of\n"
@@ -394,20 +387,20 @@ BattleFrontier_BattleArenaLobby_Text_ExplainChallenge: @ 825624C
.string "seven TRAINERS in succession,\l"
.string "we will present you with Battle Points.$"
BattleFrontier_BattleArenaLobby_Text_OkayToSave: @ 82564CE
BattleFrontier_BattleArenaLobby_Text_OkayToSave:
.string "Before showing you to the BATTLE\n"
.string "ARENA, you must save. Is that okay?$"
BattleFrontier_BattleArenaLobby_Text_WhichLevelMode: @ 8256513
BattleFrontier_BattleArenaLobby_Text_WhichLevelMode:
.string "The BATTLE ARENA offers two levels\n"
.string "of challenge, Level 50 and Open Level.\l"
.string "Which is your choice?$"
BattleFrontier_BattleArenaLobby_Text_SelectThreeMons: @ 8256573
BattleFrontier_BattleArenaLobby_Text_SelectThreeMons:
.string "Very well, now select your\n"
.string "three POKéMON, please.$"
BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLvOpen: @ 82565A5
BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLvOpen:
.string "My dear challenger!\p"
.string "You do not have the three POKéMON\n"
.string "required for entry.\p"
@@ -419,7 +412,7 @@ BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLvOpen: @ 82565A5
.string "When you have made your preparations,\n"
.string "please do return.$"
BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLv50: @ 82566A8
BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLv50:
.string "My dear challenger!\p"
.string "You do not have the three POKéMON\n"
.string "required for entry.\p"
@@ -433,11 +426,11 @@ BattleFrontier_BattleArenaLobby_Text_NotEnoughValidMonsLv50: @ 82566A8
.string "When you have made your preparations,\n"
.string "please do return.$"
BattleFrontier_BattleArenaLobby_Text_GuideYouToArena: @ 82567E6
BattleFrontier_BattleArenaLobby_Text_GuideYouToArena:
.string "I shall now guide you to\n"
.string "the BATTLE ARENA.$"
BattleFrontier_BattleArenaLobby_Text_DidntSaveBeforeShuttingDown: @ 8256811
BattleFrontier_BattleArenaLobby_Text_DidntSaveBeforeShuttingDown:
.string "My dear challenger!\p"
.string "You did not save the game before\n"
.string "shutting down, did you?\p"
@@ -447,67 +440,67 @@ BattleFrontier_BattleArenaLobby_Text_DidntSaveBeforeShuttingDown: @ 8256811
.string "You may, of course, start with a fresh\n"
.string "challenge.$"
BattleFrontier_BattleArenaLobby_Text_CongratsOnSevenWins: @ 82568E7
BattleFrontier_BattleArenaLobby_Text_CongratsOnSevenWins:
.string "We congratulate you for your splendid\n"
.string "string of wins over seven TRAINERS!$"
BattleFrontier_BattleArenaLobby_Text_RecordAchievement: @ 8256931
BattleFrontier_BattleArenaLobby_Text_RecordAchievement:
.string "Your achievement will be recorded.\n"
.string "Please wait while I save the game.$"
@ Unused
BattleFrontier_BattleArenaLobby_Text_PresentYouWithPrize: @ 8256977
BattleFrontier_BattleArenaLobby_Text_PresentYouWithPrize:
.string "In commemoration of your 7-win streak,\n"
.string "we present you with this prize.$"
@ Unused
BattleFrontier_BattleArenaLobby_Text_ReceivedPrize: @ 82569BE
BattleFrontier_BattleArenaLobby_Text_ReceivedPrize:
.string "{PLAYER} received the prize\n"
.string "{STR_VAR_1}.$"
@ Unused
BattleFrontier_BattleArenaLobby_Text_BagFullReturnForPrize: @ 82569D8
BattleFrontier_BattleArenaLobby_Text_BagFullReturnForPrize:
.string "Oh?\n"
.string "Your BAG seems to be full.\p"
.string "I urge you to clear space and\n"
.string "return for your prize.$"
BattleFrontier_BattleArenaLobby_Text_ThankYouWaitWhileSave: @ 8256A2C
BattleFrontier_BattleArenaLobby_Text_ThankYouWaitWhileSave:
.string "Thank you so much for participating!\p"
.string "Please wait while I save the game.$"
BattleFrontier_BattleArenaLobby_Text_AwaitAnotherChallenge2: @ 8256A74
BattleFrontier_BattleArenaLobby_Text_AwaitAnotherChallenge2:
.string "We await your challenge on\n"
.string "another occasion!$"
BattleFrontier_BattleArenaLobby_Text_LookingForwardToArrivalSaveGame: @ 8256AA1
BattleFrontier_BattleArenaLobby_Text_LookingForwardToArrivalSaveGame:
.string "We have been looking forward to\n"
.string "your arrival.\p"
.string "Before I show you to the BATTLE\n"
.string "ARENA, I must save the game.\l"
.string "Please wait.$"
BattleFrontier_BattleArenaLobby_Text_RecordLastMatch: @ 8256B19
BattleFrontier_BattleArenaLobby_Text_RecordLastMatch:
.string "Shall I record your last BATTLE ARENA\n"
.string "match on your FRONTIER PASS?$"
BattleFrontier_BattleArenaLobby_Text_BadIdeaToNotAttack: @ 8256B5C
BattleFrontier_BattleArenaLobby_Text_BadIdeaToNotAttack:
.string "I lost on the REFEREE's decision…\p"
.string "I don't think it was a good idea to only\n"
.string "use defensive moves and not attack…$"
BattleFrontier_BattleArenaLobby_Text_LandingHitsWorked: @ 8256BCB
BattleFrontier_BattleArenaLobby_Text_LandingHitsWorked:
.string "I won in judging!\p"
.string "Landing hits consistently on\n"
.string "the opponent's POKéMON worked!$"
BattleFrontier_BattleArenaLobby_Text_MatchWasDeclaredDraw: @ 8256C19
BattleFrontier_BattleArenaLobby_Text_MatchWasDeclaredDraw:
.string "Our match was declared a draw.\p"
.string "When we ran out of time, both my\n"
.string "POKéMON and the opponent's had about\l"
.string "the same amount of HP left.$"
BattleFrontier_BattleArenaLobby_Text_OrderOfMonsImportant: @ 8256C9A
BattleFrontier_BattleArenaLobby_Text_OrderOfMonsImportant:
.string "In the BATTLE ARENA, the order of\n"
.string "POKéMON is totally important.\p"
.string "For example, if your first POKéMON\n"
@@ -518,13 +511,13 @@ BattleFrontier_BattleArenaLobby_Text_OrderOfMonsImportant: @ 8256C9A
.string "I think that will be a good way of\n"
.string "making an effective team.$"
BattleFrontier_BattleArenaLobby_Text_RulesAreListed: @ 8256DB8
BattleFrontier_BattleArenaLobby_Text_RulesAreListed:
.string "The Set KO Tourney's rules are listed.$"
BattleFrontier_BattleArenaLobby_Text_ReadWhichHeading: @ 8256DDF
BattleFrontier_BattleArenaLobby_Text_ReadWhichHeading:
.string "Which heading do you want to read?$"
BattleFrontier_BattleArenaLobby_Text_ExplainBattleRules: @ 8256E02
BattleFrontier_BattleArenaLobby_Text_ExplainBattleRules:
.string "The Set KO Tourney has special rules,\n"
.string "unlike standard battles.\p"
.string "First, one battle lasts only\n"
@@ -536,7 +529,7 @@ BattleFrontier_BattleArenaLobby_Text_ExplainBattleRules: @ 8256E02
.string "Also, a POKéMON cannot be switched out\n"
.string "until its battle's outcome is decided.$"
BattleFrontier_BattleArenaLobby_Text_ExplainMindRules: @ 8256F43
BattleFrontier_BattleArenaLobby_Text_ExplainMindRules:
.string "The first judging factor is “Mind.”\n"
.string "This factor evaluates how aggressive\l"
.string "the battlers were.\p"
@@ -544,7 +537,7 @@ BattleFrontier_BattleArenaLobby_Text_ExplainMindRules: @ 8256F43
.string "the TRAINERS ordered the use of\l"
.string "offensive moves.$"
BattleFrontier_BattleArenaLobby_Text_ExplainSkillRules: @ 8256FF2
BattleFrontier_BattleArenaLobby_Text_ExplainSkillRules:
.string "The second judging factor is “Skill.”\n"
.string "This factor evaluates how effectively\l"
.string "POKéMON moves were used.\p"
@@ -563,7 +556,7 @@ BattleFrontier_BattleArenaLobby_Text_ExplainSkillRules: @ 8256FF2
.string "hit with a move, its Skill rating will not\l"
.string "go down.$"
BattleFrontier_BattleArenaLobby_Text_ExplainBodyRules: @ 8257202
BattleFrontier_BattleArenaLobby_Text_ExplainBodyRules:
.string "The third judging factor is “Body.”\n"
.string "This factor is based on how much HP\l"
.string "remained at the end of a battle.\p"
@@ -571,13 +564,13 @@ BattleFrontier_BattleArenaLobby_Text_ExplainBodyRules: @ 8257202
.string "HP a POKéMON had at the start of\l"
.string "battle, and what remained at the end.$"
BattleFrontier_BattleArenaLobby_Text_CongratsOnDefeatingTycoon: @ 82572D9
BattleFrontier_BattleArenaLobby_Text_CongratsOnDefeatingTycoon:
.string "A victory snatched from the ARENA\n"
.string "TYCOON, and a seven-TRAINER sweep!\p"
.string "We congratulate you on your most\n"
.string "splendid challenge!$"
BattleFrontier_BattleArenaLobby_Text_PleaseAcceptBattlePoints: @ 8257353
BattleFrontier_BattleArenaLobby_Text_PleaseAcceptBattlePoints:
.string "My dear challenger, in recognition of\n"
.string "your indefatigable spirit, please\l"
.string "accept these Battle Point(s).$"

File diff suppressed because it is too large Load Diff

View File

@@ -1,19 +1,18 @@
.set LOCALID_ATTENDANT, 1
BattleFrontier_BattleDomeCorridor_MapScripts:: @ 824B0FE
BattleFrontier_BattleDomeCorridor_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleDomeCorridor_OnFrame
.byte 0
BattleFrontier_BattleDomeCorridor_OnFrame: @ 824B104
BattleFrontier_BattleDomeCorridor_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleDomeCorridor_EventScript_EnterCorridor
.2byte 0
BattleFrontier_BattleDomeCorridor_EventScript_EnterCorridor:: @ 824B10E
BattleFrontier_BattleDomeCorridor_EventScript_EnterCorridor::
delay 16
setvar VAR_TEMP_0, 1
frontier_get FRONTIER_DATA_LVL_MODE
compare VAR_RESULT, FRONTIER_LVL_OPEN
goto_if_eq BattleFrontier_BattleDomeCorridor_EventScript_WalkToBattleRoomLvOpen
goto_if_eq VAR_RESULT, FRONTIER_LVL_OPEN, BattleFrontier_BattleDomeCorridor_EventScript_WalkToBattleRoomLvOpen
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLv50
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLv50
waitmovement 0
@@ -26,7 +25,7 @@ BattleFrontier_BattleDomeCorridor_EventScript_EnterCorridor:: @ 824B10E
waitdooranim
goto BattleFrontier_BattleDomeCorridor_EventScript_WarpToPreBattleRoom
BattleFrontier_BattleDomeCorridor_EventScript_WalkToBattleRoomLvOpen:: @ 824B161
BattleFrontier_BattleDomeCorridor_EventScript_WalkToBattleRoomLvOpen::
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLvOpen
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLvOpen
waitmovement 0
@@ -37,14 +36,14 @@ BattleFrontier_BattleDomeCorridor_EventScript_WalkToBattleRoomLvOpen:: @ 824B161
waitmovement 0
closedoor 37, 3
waitdooranim
BattleFrontier_BattleDomeCorridor_EventScript_WarpToPreBattleRoom:: @ 824B18F
BattleFrontier_BattleDomeCorridor_EventScript_WarpToPreBattleRoom::
waitmovement 0
setvar VAR_0x8006, 0
warp MAP_BATTLE_FRONTIER_BATTLE_DOME_PRE_BATTLE_ROOM, 255, 5, 7
warp MAP_BATTLE_FRONTIER_BATTLE_DOME_PRE_BATTLE_ROOM, 5, 7
waitstate
end
BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLv50: @ 824B1A1
BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLv50:
walk_up
walk_left
walk_left
@@ -56,16 +55,16 @@ BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLv50: @ 824B1A1
walk_left
walk_left
walk_left
walk_in_place_fastest_up
walk_in_place_faster_up
step_end
BattleFrontier_BattleDomeCorridor_Movement_PlayerEnterDoorLv50: @ 824B1AE
BattleFrontier_BattleDomeCorridor_Movement_PlayerEnterDoorLv50:
walk_up
walk_up
set_invisible
step_end
BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLv50: @ 824B1B2
BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLv50:
walk_left
walk_left
walk_left
@@ -79,12 +78,12 @@ BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLv50: @ 824B1B2
walk_up
step_end
BattleFrontier_BattleDomeCorridor_Movement_AttendantEnterDoorLv50: @ 824B1BE
BattleFrontier_BattleDomeCorridor_Movement_AttendantEnterDoorLv50:
walk_up
set_invisible
step_end
BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLvOpen: @ 824B1C1
BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLvOpen:
walk_up
walk_right
walk_right
@@ -100,16 +99,16 @@ BattleFrontier_BattleDomeCorridor_Movement_PlayerWalkToDoorLvOpen: @ 824B1C1
walk_right
walk_right
walk_right
walk_in_place_fastest_up
walk_in_place_faster_up
step_end
BattleFrontier_BattleDomeCorridor_Movement_PlayerEnterDoorLvOpen: @ 824B1D2
BattleFrontier_BattleDomeCorridor_Movement_PlayerEnterDoorLvOpen:
walk_up
walk_up
set_invisible
step_end
BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLvOpen: @ 824B1D6
BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLvOpen:
walk_right
walk_right
walk_right
@@ -127,13 +126,13 @@ BattleFrontier_BattleDomeCorridor_Movement_AttendantWalkToDoorLvOpen: @ 824B1D6
walk_up
step_end
BattleFrontier_BattleDomeCorridor_Movement_AttendantEnterDoorLvOpen: @ 824B1E6
BattleFrontier_BattleDomeCorridor_Movement_AttendantEnterDoorLvOpen:
walk_up
set_invisible
step_end
@ Unused
BattleFrontier_BattleDomeCorridor_Movement_WalkToBattleRoomMidRight: @ 824B1E9
BattleFrontier_BattleDomeCorridor_Movement_WalkToBattleRoomMidRight:
walk_up
walk_right
walk_right

View File

@@ -1,26 +1,26 @@
.set LOCALID_ATTENDANT_SINGLES, 1
.set LOCALID_ATTENDANT_DOUBLES, 6
BattleFrontier_BattleDomeLobby_MapScripts:: @ 82497E2
BattleFrontier_BattleDomeLobby_MapScripts::
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattleDomeLobby_OnResume
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleDomeLobby_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleDomeLobby_OnWarp
.byte 0
BattleFrontier_BattleDomeLobby_OnResume: @ 82497F2
BattleFrontier_BattleDomeLobby_OnResume:
dome_initresultstree
end
BattleFrontier_BattleDomeLobby_OnWarp: @ 82497FB
BattleFrontier_BattleDomeLobby_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleDomeLobby_EventScript_TurnPlayerNorth
.2byte 0
BattleFrontier_BattleDomeLobby_EventScript_TurnPlayerNorth:: @ 8249805
BattleFrontier_BattleDomeLobby_EventScript_TurnPlayerNorth::
setvar VAR_TEMP_1, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end
BattleFrontier_BattleDomeLobby_OnFrame: @ 824980F
BattleFrontier_BattleDomeLobby_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleDomeLobby_EventScript_GetChallengeStatus
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattleDomeLobby_EventScript_QuitWithoutSaving
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattleDomeLobby_EventScript_ResumeChallenge
@@ -28,11 +28,11 @@ BattleFrontier_BattleDomeLobby_OnFrame: @ 824980F
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattleDomeLobby_EventScript_LostChallenge
.2byte 0
BattleFrontier_BattleDomeLobby_EventScript_GetChallengeStatus:: @ 8249839
BattleFrontier_BattleDomeLobby_EventScript_GetChallengeStatus::
frontier_getstatus
end
BattleFrontier_BattleDomeLobby_EventScript_QuitWithoutSaving:: @ 8249842
BattleFrontier_BattleDomeLobby_EventScript_QuitWithoutSaving::
lockall
msgbox BattleFrontier_BattleDomeLobby_Text_DidntSaveBeforeQuitting, MSGBOX_DEFAULT
closemessage
@@ -44,18 +44,17 @@ BattleFrontier_BattleDomeLobby_EventScript_QuitWithoutSaving:: @ 8249842
releaseall
end
BattleFrontier_BattleDomeLobby_EventScript_WonChallenge:: @ 824989B
BattleFrontier_BattleDomeLobby_EventScript_WonChallenge::
call BattleFrontier_EventScript_IncrementWinStreak
lockall
frontier_isbrain
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_DefeatedAce
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleDomeLobby_EventScript_DefeatedAce
msgbox BattleFrontier_BattleDomeLobby_Text_CongratsForWinningTourney, MSGBOX_DEFAULT
goto BattleFrontier_BattleDomeLobby_EventScript_GiveBattlePoints
BattleFrontier_BattleDomeLobby_EventScript_DefeatedAce:: @ 82498C1
BattleFrontier_BattleDomeLobby_EventScript_DefeatedAce::
msgbox BattleFrontier_BattleDomeLobby_Text_CongratsDefeatedTucker, MSGBOX_DEFAULT
BattleFrontier_BattleDomeLobby_EventScript_GiveBattlePoints:: @ 82498C9
BattleFrontier_BattleDomeLobby_EventScript_GiveBattlePoints::
msgbox BattleFrontier_BattleDomeLobby_Text_AwardTheseBattlePoints, MSGBOX_DEFAULT
frontier_givepoints
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
@@ -71,7 +70,7 @@ BattleFrontier_BattleDomeLobby_EventScript_GiveBattlePoints:: @ 82498C9
special HealPlayerParty
goto BattleFrontier_BattleDomeLobby_EventScript_AskRecordBattle
BattleFrontier_BattleDomeLobby_EventScript_LostChallenge:: @ 8249940
BattleFrontier_BattleDomeLobby_EventScript_LostChallenge::
lockall
msgbox BattleFrontier_BattleDomeLobby_Text_ThankYouForPlaying, MSGBOX_DEFAULT
message BattleFrontier_BattleDomeLobby_Text_RecordWillBeSaved
@@ -83,13 +82,12 @@ BattleFrontier_BattleDomeLobby_EventScript_LostChallenge:: @ 8249940
dome_set DOME_DATA_ATTEMPTED_CHALLENGE, TRUE
special LoadPlayerParty
special HealPlayerParty
BattleFrontier_BattleDomeLobby_EventScript_AskRecordBattle:: @ 8249991
BattleFrontier_BattleDomeLobby_EventScript_AskRecordBattle::
dome_save 0
playse SE_SAVE
waitse
call BattleFrontier_EventScript_GetCantRecordBattle
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_EndChallenge
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleDomeLobby_EventScript_EndChallenge
message BattleFrontier_BattleDomeLobby_Text_RecordLastMatch
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -98,16 +96,16 @@ BattleFrontier_BattleDomeLobby_EventScript_AskRecordBattle:: @ 8249991
case 0, BattleFrontier_BattleDomeLobby_EventScript_RecordBattle
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_EndChallenge
BattleFrontier_BattleDomeLobby_EventScript_RecordBattle:: @ 82499E4
BattleFrontier_BattleDomeLobby_EventScript_RecordBattle::
call BattleFrontier_EventScript_SaveBattle
BattleFrontier_BattleDomeLobby_EventScript_EndChallenge:: @ 82499E9
BattleFrontier_BattleDomeLobby_EventScript_EndChallenge::
msgbox BattleFrontier_BattleDomeLobby_Text_HopeToSeeYouAgain, MSGBOX_DEFAULT
closemessage
setvar VAR_TEMP_0, 255
releaseall
end
BattleFrontier_BattleDomeLobby_EventScript_ResumeChallenge:: @ 82499F9
BattleFrontier_BattleDomeLobby_EventScript_ResumeChallenge::
lockall
msgbox BattleFrontier_BattleDomeLobby_Text_WeveBeenWaitingForYou, MSGBOX_DEFAULT
message BattleFrontier_BattleDomeLobby_Text_OkayToSaveBeforeChallenge2
@@ -119,7 +117,7 @@ BattleFrontier_BattleDomeLobby_EventScript_ResumeChallenge:: @ 82499F9
setvar VAR_TEMP_0, 255
goto BattleFrontier_BattleDomeLobby_EventScript_EnterChallenge
BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendant:: @ 8249A35
BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendant::
lock
faceplayer
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_DOME
@@ -127,7 +125,7 @@ BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendant:: @ 8249A35
goto BattleFrontier_BattleDomeLobby_EventScript_AttendantWelcome
end
BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendant:: @ 8249A47
BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendant::
lock
faceplayer
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_DOME
@@ -135,17 +133,13 @@ BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendant:: @ 8249A47
goto BattleFrontier_BattleDomeLobby_EventScript_AttendantWelcome
end
BattleFrontier_BattleDomeLobby_EventScript_AttendantWelcome:: @ 8249A59
BattleFrontier_BattleDomeLobby_EventScript_AttendantWelcome::
special SavePlayerParty
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_WelcomeSingles
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_WelcomeDoubles
BattleFrontier_BattleDomeLobby_EventScript_AskTakeChallenge:: @ 8249A72
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_TakeSinglesChallenge
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_TakeDoublesChallenge
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleDomeLobby_EventScript_WelcomeSingles
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleDomeLobby_EventScript_WelcomeDoubles
BattleFrontier_BattleDomeLobby_EventScript_AskTakeChallenge::
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleDomeLobby_EventScript_TakeSinglesChallenge
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleDomeLobby_EventScript_TakeDoublesChallenge
waitmessage
multichoice 17, 6, MULTI_CHALLENGEINFO, FALSE
switch VAR_RESULT
@@ -154,7 +148,7 @@ BattleFrontier_BattleDomeLobby_EventScript_AskTakeChallenge:: @ 8249A72
case 2, BattleFrontier_BattleDomeLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_CancelChallenge
BattleFrontier_BattleDomeLobby_EventScript_TryEnterChallenge:: @ 8249ABF
BattleFrontier_BattleDomeLobby_EventScript_TryEnterChallenge::
message BattleFrontier_BattleDomeLobby_Text_WhichLevelMode
waitmessage
multichoice 17, 6, MULTI_LEVEL_MODE, FALSE
@@ -162,8 +156,7 @@ BattleFrontier_BattleDomeLobby_EventScript_TryEnterChallenge:: @ 8249ABF
case FRONTIER_LVL_TENT, BattleFrontier_BattleDomeLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_CancelChallenge
frontier_checkineligible
compare VAR_0x8004, TRUE
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMons
goto_if_eq VAR_0x8004, TRUE, BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMons
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
msgbox BattleFrontier_BattleDomeLobby_Text_SelectThreeMons, MSGBOX_DEFAULT
fadescreen FADE_TO_BLACK
@@ -172,15 +165,14 @@ BattleFrontier_BattleDomeLobby_EventScript_TryEnterChallenge:: @ 8249ABF
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special ChoosePartyForBattleFrontier
waitstate
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_LoadPartyCancelChallenge
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleDomeLobby_EventScript_LoadPartyCancelChallenge
msgbox BattleFrontier_BattleDomeLobby_Text_OkayToSaveBeforeChallenge, MSGBOX_YESNO
switch VAR_RESULT
case NO, BattleFrontier_BattleDomeLobby_EventScript_LoadPartyCancelChallenge
case YES, BattleFrontier_BattleDomeLobby_EventScript_SaveBeforeChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_LoadPartyCancelChallenge
BattleFrontier_BattleDomeLobby_EventScript_SaveBeforeChallenge:: @ 8249B60
BattleFrontier_BattleDomeLobby_EventScript_SaveBeforeChallenge::
setvar VAR_TEMP_0, 0
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
dome_init
@@ -191,10 +183,9 @@ BattleFrontier_BattleDomeLobby_EventScript_SaveBeforeChallenge:: @ 8249B60
delay 2
call Common_EventScript_SaveGame
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleDomeLobby_EventScript_CancelChallengeSaveFailed
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleDomeLobby_EventScript_CancelChallengeSaveFailed
dome_inittrainers
BattleFrontier_BattleDomeLobby_EventScript_EnterChallenge:: @ 8249BC2
BattleFrontier_BattleDomeLobby_EventScript_EnterChallenge::
special SavePlayerParty
frontier_setpartyorder FRONTIER_PARTY_SIZE
dome_settrainers
@@ -202,125 +193,115 @@ BattleFrontier_BattleDomeLobby_EventScript_EnterChallenge:: @ 8249BC2
closemessage
call BattleFrontier_BattleDomeLobby_EventScript_WalkToDoor
special HealPlayerParty
warp MAP_BATTLE_FRONTIER_BATTLE_DOME_CORRIDOR, 255, 23, 6
warp MAP_BATTLE_FRONTIER_BATTLE_DOME_CORRIDOR, 23, 6
setvar VAR_TEMP_0, 0
waitstate
end
BattleFrontier_BattleDomeLobby_EventScript_ExplainChallenge:: @ 8249BFA
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_ExplainSinglesChallenge
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_ExplainDoublesChallenge
BattleFrontier_BattleDomeLobby_EventScript_ExplainChallenge::
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleDomeLobby_EventScript_ExplainSinglesChallenge
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleDomeLobby_EventScript_ExplainDoublesChallenge
goto BattleFrontier_BattleDomeLobby_EventScript_AskTakeChallenge
BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMons:: @ 8249C15
BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMons::
switch VAR_RESULT
case FRONTIER_LVL_50, BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMonsLv50
case FRONTIER_LVL_OPEN, BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMonsLvOpen
BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMonsLv50:: @ 8249C30
BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMonsLv50::
msgbox BattleFrontier_BattleDomeLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
goto BattleFrontier_BattleDomeLobby_EventScript_EndCancelChallenge
BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 8249C3D
BattleFrontier_BattleDomeLobby_EventScript_NotEnoughValidMonsLvOpen::
msgbox BattleFrontier_BattleDomeLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
goto BattleFrontier_BattleDomeLobby_EventScript_EndCancelChallenge
BattleFrontier_BattleDomeLobby_EventScript_CancelChallengeSaveFailed:: @ 8249C4A
BattleFrontier_BattleDomeLobby_EventScript_CancelChallengeSaveFailed::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
goto BattleFrontier_BattleDomeLobby_EventScript_CancelChallenge
BattleFrontier_BattleDomeLobby_EventScript_LoadPartyCancelChallenge:: @ 8249C61
BattleFrontier_BattleDomeLobby_EventScript_LoadPartyCancelChallenge::
special LoadPlayerParty
BattleFrontier_BattleDomeLobby_EventScript_CancelChallenge:: @ 8249C64
BattleFrontier_BattleDomeLobby_EventScript_CancelChallenge::
msgbox BattleFrontier_BattleDomeLobby_Text_HopeToSeeYouAgain, MSGBOX_DEFAULT
BattleFrontier_BattleDomeLobby_EventScript_EndCancelChallenge:: @ 8249C6C
BattleFrontier_BattleDomeLobby_EventScript_EndCancelChallenge::
release
end
BattleFrontier_BattleDomeLobby_EventScript_WalkToDoor:: @ 8249C6E
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendantWalkToDoor
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendantWalkToDoor
BattleFrontier_BattleDomeLobby_EventScript_WalkToDoor::
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendantWalkToDoor
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendantWalkToDoor
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleDomeLobby_Movement_WalkToDoor
waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_OpenSinglesDoor
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_OpenDoublesDoor
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleDomeLobby_EventScript_OpenSinglesDoor
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleDomeLobby_EventScript_OpenDoublesDoor
waitdooranim
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendantEnterDoor
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendantEnterDoor
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendantEnterDoor
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendantEnterDoor
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleDomeLobby_Movement_PlayerEnterDoor
waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_CloseSinglesDoor
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_CloseDoublesDoor
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleDomeLobby_EventScript_CloseSinglesDoor
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleDomeLobby_EventScript_CloseDoublesDoor
waitdooranim
return
BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendantWalkToDoor:: @ 8249CDD
BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendantWalkToDoor::
applymovement LOCALID_ATTENDANT_SINGLES, BattleFrontier_BattleDomeLobby_Movement_WalkToDoor
return
BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendantWalkToDoor:: @ 8249CE5
BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendantWalkToDoor::
applymovement LOCALID_ATTENDANT_DOUBLES, BattleFrontier_BattleDomeLobby_Movement_WalkToDoor
return
BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendantEnterDoor:: @ 8249CED
BattleFrontier_BattleDomeLobby_EventScript_SinglesAttendantEnterDoor::
applymovement LOCALID_ATTENDANT_SINGLES, BattleFrontier_BattleDomeLobby_Movement_AttendantEnterDoor
return
BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendantEnterDoor:: @ 8249CF5
BattleFrontier_BattleDomeLobby_EventScript_DoublesAttendantEnterDoor::
applymovement LOCALID_ATTENDANT_DOUBLES, BattleFrontier_BattleDomeLobby_Movement_AttendantEnterDoor
return
BattleFrontier_BattleDomeLobby_EventScript_WelcomeSingles:: @ 8249CFD
BattleFrontier_BattleDomeLobby_EventScript_WelcomeSingles::
msgbox BattleFrontier_BattleDomeLobby_Text_WelcomeSingleBattle, MSGBOX_DEFAULT
return
BattleFrontier_BattleDomeLobby_EventScript_WelcomeDoubles:: @ 8249D06
BattleFrontier_BattleDomeLobby_EventScript_WelcomeDoubles::
msgbox BattleFrontier_BattleDomeLobby_Text_WelcomeDoubleBattle, MSGBOX_DEFAULT
return
BattleFrontier_BattleDomeLobby_EventScript_TakeSinglesChallenge:: @ 8249D0F
BattleFrontier_BattleDomeLobby_EventScript_TakeSinglesChallenge::
message BattleFrontier_BattleDomeLobby_Text_TakeSinglesChallenge
return
BattleFrontier_BattleDomeLobby_EventScript_TakeDoublesChallenge:: @ 8249D15
BattleFrontier_BattleDomeLobby_EventScript_TakeDoublesChallenge::
message BattleFrontier_BattleDomeLobby_Text_TakeDoublesChallenge
return
BattleFrontier_BattleDomeLobby_EventScript_ExplainSinglesChallenge:: @ 8249D1B
BattleFrontier_BattleDomeLobby_EventScript_ExplainSinglesChallenge::
msgbox BattleFrontier_BattleDomeLobby_Text_ExplainSinglesChallenge, MSGBOX_DEFAULT
return
BattleFrontier_BattleDomeLobby_EventScript_ExplainDoublesChallenge:: @ 8249D24
BattleFrontier_BattleDomeLobby_EventScript_ExplainDoublesChallenge::
msgbox BattleFrontier_BattleDomeLobby_Text_ExplainDoublesChallenge, MSGBOX_DEFAULT
return
BattleFrontier_BattleDomeLobby_EventScript_OpenSinglesDoor:: @ 8249D2D
BattleFrontier_BattleDomeLobby_EventScript_OpenSinglesDoor::
opendoor 5, 4
return
BattleFrontier_BattleDomeLobby_EventScript_OpenDoublesDoor:: @ 8249D33
BattleFrontier_BattleDomeLobby_EventScript_OpenDoublesDoor::
opendoor 17, 4
return
BattleFrontier_BattleDomeLobby_EventScript_CloseSinglesDoor:: @ 8249D39
BattleFrontier_BattleDomeLobby_EventScript_CloseSinglesDoor::
closedoor 5, 4
return
BattleFrontier_BattleDomeLobby_EventScript_CloseDoublesDoor:: @ 8249D3F
BattleFrontier_BattleDomeLobby_EventScript_CloseDoublesDoor::
closedoor 17, 4
return
BattleFrontier_BattleDomeLobby_Movement_WalkToDoor: @ 8249D45
BattleFrontier_BattleDomeLobby_Movement_WalkToDoor:
walk_up
walk_up
walk_up
@@ -328,18 +309,18 @@ BattleFrontier_BattleDomeLobby_Movement_WalkToDoor: @ 8249D45
walk_up
step_end
BattleFrontier_BattleDomeLobby_Movement_AttendantEnterDoor: @ 8249D4B
BattleFrontier_BattleDomeLobby_Movement_AttendantEnterDoor:
walk_up
set_invisible
step_end
BattleFrontier_BattleDomeLobby_Movement_PlayerEnterDoor: @ 8249D4E
BattleFrontier_BattleDomeLobby_Movement_PlayerEnterDoor:
walk_up
walk_up
set_invisible
step_end
BattleFrontier_BattleDomeLobby_EventScript_ShowSinglesResults:: @ 8249D52
BattleFrontier_BattleDomeLobby_EventScript_ShowSinglesResults::
lockall
frontier_results FRONTIER_FACILITY_DOME, FRONTIER_MODE_SINGLES
waitbuttonpress
@@ -347,7 +328,7 @@ BattleFrontier_BattleDomeLobby_EventScript_ShowSinglesResults:: @ 8249D52
releaseall
end
BattleFrontier_BattleDomeLobby_EventScript_ShowDoublesResults:: @ 8249D6B
BattleFrontier_BattleDomeLobby_EventScript_ShowDoublesResults::
lockall
frontier_results FRONTIER_FACILITY_DOME, FRONTIER_MODE_DOUBLES
waitbuttonpress
@@ -355,76 +336,72 @@ BattleFrontier_BattleDomeLobby_EventScript_ShowDoublesResults:: @ 8249D6B
releaseall
end
BattleFrontier_BattleDomeLobby_EventScript_ShowPrevTourneyTree:: @ 8249D84
BattleFrontier_BattleDomeLobby_EventScript_ShowPrevTourneyTree::
dome_get DOME_DATA_PREV_TOURNEY_TYPE
compare VAR_RESULT, 0
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsSinglesLv50
compare VAR_RESULT, 1
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsDoublesLv50
compare VAR_RESULT, 2
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsSinglesLvOpen
compare VAR_RESULT, 3
call_if_eq BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsDoublesLvOpen
call_if_eq VAR_RESULT, 0, BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsSinglesLv50
call_if_eq VAR_RESULT, 1, BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsDoublesLv50
call_if_eq VAR_RESULT, 2, BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsSinglesLvOpen
call_if_eq VAR_RESULT, 3, BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsDoublesLvOpen
fadescreen FADE_TO_BLACK
dome_showprevtourneytree
waitstate
end
BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsSinglesLv50:: @ 8249DC9
BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsSinglesLv50::
msgbox BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsSinglesLv50, MSGBOX_SIGN
return
BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsDoublesLv50:: @ 8249DD2
BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsDoublesLv50::
msgbox BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsDoublesLv50, MSGBOX_SIGN
return
BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsSinglesLvOpen:: @ 8249DDB
BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsSinglesLvOpen::
msgbox BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsSinglesLvOpen, MSGBOX_SIGN
return
BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsDoublesLvOpen:: @ 8249DE4
BattleFrontier_BattleDomeLobby_EventScript_PrevTourneyResultsDoublesLvOpen::
msgbox BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsDoublesLvOpen, MSGBOX_SIGN
return
BattleFrontier_BattleDomeLobby_EventScript_Maniac:: @ 8249DED
BattleFrontier_BattleDomeLobby_EventScript_Maniac::
dome_getwinnersname
msgbox BattleFrontier_BattleDomeLobby_Text_LastWinnerWasTough, MSGBOX_NPC
end
BattleFrontier_BattleDomeLobby_EventScript_Lass:: @ 8249DFE
BattleFrontier_BattleDomeLobby_EventScript_Lass::
msgbox BattleFrontier_BattleDomeLobby_Text_WinnersGainReputation, MSGBOX_NPC
end
BattleFrontier_BattleDomeLobby_EventScript_FatMan:: @ 8249E07
BattleFrontier_BattleDomeLobby_EventScript_FatMan::
msgbox BattleFrontier_BattleDomeLobby_Text_TrashedInFirstRound, MSGBOX_NPC
end
BattleFrontier_BattleDomeLobby_EventScript_Man:: @ 8249E10
BattleFrontier_BattleDomeLobby_EventScript_Man::
msgbox BattleFrontier_BattleDomeLobby_Text_NeedToCheckOpponentCarefully, MSGBOX_NPC
end
@ A few OutsideWest event scripts are inserted here instead, two of which are unused
BattleFrontier_OutsideWest_EventScript_Man3:: @ 8249E19
BattleFrontier_OutsideWest_EventScript_Man3::
msgbox BattleFrontier_OutsideWest_Text_LongDreamedAboutBattleFrontier, MSGBOX_NPC
end
@ Unused
BattleFrontier_OutsideWest_EventScript_BattleDomeSign2:: @ 8249E22
BattleFrontier_OutsideWest_EventScript_BattleDomeSign2::
msgbox BattleFrontier_OutsideWest_Text_BattleDomeSign2, MSGBOX_NPC
end
@ Unused
BattleFrontier_OutsideWest_EventScript_UnderConstructionSign:: @ 8249E2B
BattleFrontier_OutsideWest_EventScript_UnderConstructionSign::
msgbox BattleFrontier_OutsideWest_Text_QuestionMarkUnderConstruction, MSGBOX_NPC
end
BattleFrontier_BattleDomeLobby_EventScript_RulesBoard:: @ 8249E34
BattleFrontier_BattleDomeLobby_EventScript_RulesBoard::
lockall
msgbox BattleFrontier_BattleDomeLobby_Text_RulesAreListed, MSGBOX_DEFAULT
goto BattleFrontier_BattleDomeLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleDomeLobby_EventScript_ReadRulesBoard:: @ 8249E43
BattleFrontier_BattleDomeLobby_EventScript_ReadRulesBoard::
message BattleFrontier_BattleDomeLobby_Text_ReadWhichHeading
waitmessage
multichoice 17, 4, MULTI_BATTLE_DOME_RULES, FALSE
@@ -436,40 +413,40 @@ BattleFrontier_BattleDomeLobby_EventScript_ReadRulesBoard:: @ 8249E43
case MULTI_B_PRESSED, BattleFrontier_BattleDomeLobby_EventScript_ExitRules
end
BattleFrontier_BattleDomeLobby_EventScript_RulesMatchup:: @ 8249E8B
BattleFrontier_BattleDomeLobby_EventScript_RulesMatchup::
msgbox BattleFrontier_BattleDomeLobby_Text_ExplainMatchupRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleDomeLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleDomeLobby_EventScript_RulesTourneyTree:: @ 8249E99
BattleFrontier_BattleDomeLobby_EventScript_RulesTourneyTree::
msgbox BattleFrontier_BattleDomeLobby_Text_ExplainTourneyTree, MSGBOX_DEFAULT
goto BattleFrontier_BattleDomeLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleDomeLobby_EventScript_RulesDoubleKO:: @ 8249EA7
BattleFrontier_BattleDomeLobby_EventScript_RulesDoubleKO::
msgbox BattleFrontier_BattleDomeLobby_Text_ExplainDoubleKORules, MSGBOX_DEFAULT
goto BattleFrontier_BattleDomeLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleDomeLobby_EventScript_ExitRules:: @ 8249EB5
BattleFrontier_BattleDomeLobby_EventScript_ExitRules::
releaseall
end
BattleFrontier_BattleDomeLobby_Text_WelcomeSingleBattle: @ 8249EB7
BattleFrontier_BattleDomeLobby_Text_WelcomeSingleBattle:
.string "Where the strategies of TRAINERS\n"
.string "are put to the test!\p"
.string "Welcome to the BATTLE DOME!\p"
.string "I am your guide to the SINGLE BATTLE\n"
.string "Tournament.$"
BattleFrontier_BattleDomeLobby_Text_TakeSinglesChallenge: @ 8249F3A
BattleFrontier_BattleDomeLobby_Text_TakeSinglesChallenge:
.string "Would you like to challenge\n"
.string "the SINGLE BATTLE Tournament?$"
BattleFrontier_BattleDomeLobby_Text_HopeToSeeYouAgain: @ 8249F74
BattleFrontier_BattleDomeLobby_Text_HopeToSeeYouAgain:
.string "We hope to see you again.$"
BattleFrontier_BattleDomeLobby_Text_ExplainSinglesChallenge: @ 8249F8E
BattleFrontier_BattleDomeLobby_Text_ExplainSinglesChallenge:
.string "The SINGLE BATTLE Tournament\n"
.string "is exactly as the name suggests--\l"
.string "a tournament of SINGLE BATTLES.\p"
@@ -490,20 +467,20 @@ BattleFrontier_BattleDomeLobby_Text_ExplainSinglesChallenge: @ 8249F8E
.string "If you don't save before interrupting,\n"
.string "you will be disqualified.$"
BattleFrontier_BattleDomeLobby_Text_OkayToSaveBeforeChallenge: @ 824A1C6
BattleFrontier_BattleDomeLobby_Text_OkayToSaveBeforeChallenge:
.string "Before I show you to the BATTLE DOME,\n"
.string "I must save the data. Is that okay?$"
BattleFrontier_BattleDomeLobby_Text_WhichLevelMode: @ 824A210
BattleFrontier_BattleDomeLobby_Text_WhichLevelMode:
.string "The tournament offers two levels\n"
.string "of challenge, Level 50 and Open Level.\l"
.string "Which is your choice?$"
BattleFrontier_BattleDomeLobby_Text_SelectThreeMons: @ 824A26E
BattleFrontier_BattleDomeLobby_Text_SelectThreeMons:
.string "Now select the three POKéMON that\n"
.string "you wish to enter, please.$"
BattleFrontier_BattleDomeLobby_Text_NotEnoughValidMonsLvOpen: @ 824A2AB
BattleFrontier_BattleDomeLobby_Text_NotEnoughValidMonsLvOpen:
.string "Excuse me!\p"
.string "You don't have three eligible POKéMON.\p"
.string "Also, the POKéMON must be holding\n"
@@ -511,7 +488,7 @@ BattleFrontier_BattleDomeLobby_Text_NotEnoughValidMonsLvOpen: @ 824A2AB
.string "EGGS{STR_VAR_1} ineligible.\p"
.string "Please come see me when you are ready.$"
BattleFrontier_BattleDomeLobby_Text_NotEnoughValidMonsLv50: @ 824A353
BattleFrontier_BattleDomeLobby_Text_NotEnoughValidMonsLv50:
.string "Excuse me!\p"
.string "You don't have three eligible POKéMON.\p"
.string "You must have three different POKéMON\n"
@@ -521,63 +498,63 @@ BattleFrontier_BattleDomeLobby_Text_NotEnoughValidMonsLv50: @ 824A353
.string "EGGS{STR_VAR_1} ineligible.\p"
.string "Please come see me when you are ready.$"
BattleFrontier_BattleDomeLobby_Text_ShowYouToBattleDome: @ 824A437
BattleFrontier_BattleDomeLobby_Text_ShowYouToBattleDome:
.string "I will now show you to\n"
.string "the BATTLE DOME.$"
BattleFrontier_BattleDomeLobby_Text_DidntSaveBeforeQuitting: @ 824A45F
BattleFrontier_BattleDomeLobby_Text_DidntSaveBeforeQuitting:
.string "Excuse me!\p"
.string "You didn't save before you quit your\n"
.string "challenge last time.\p"
.string "Because of that, your challenge so far\n"
.string "has been disqualified. Sorry!$"
BattleFrontier_BattleDomeLobby_Text_CongratsForWinningTourney: @ 824A4E9
BattleFrontier_BattleDomeLobby_Text_CongratsForWinningTourney:
.string "Congratulations for winning\n"
.string "your Battle Tournament!$"
@ Unused
BattleFrontier_BattleDomeLobby_Text_HereIsYourPrize: @ 824A51D
BattleFrontier_BattleDomeLobby_Text_HereIsYourPrize:
.string "Here is your prize for your Battle\n"
.string "Tournament victory.$"
@ Used by Verdanturf Tent
BattleFrontier_BattleDomeLobby_Text_ReceivedPrize: @ 824A554
BattleFrontier_BattleDomeLobby_Text_ReceivedPrize:
.string "{PLAYER} received the prize\n"
.string "{STR_VAR_1}.$"
@ Unused
BattleFrontier_BattleDomeLobby_Text_BagFullMakeRoom: @ 824A56E
BattleFrontier_BattleDomeLobby_Text_BagFullMakeRoom:
.string "Oh, your BAG appears to be full.\p"
.string "Please make room in your BAG, then come\n"
.string "see me.$"
BattleFrontier_BattleDomeLobby_Text_ThankYouForPlaying: @ 824A5BF
BattleFrontier_BattleDomeLobby_Text_ThankYouForPlaying:
.string "Thank you for playing!$"
BattleFrontier_BattleDomeLobby_Text_RecordWillBeSaved: @ 824A5D6
BattleFrontier_BattleDomeLobby_Text_RecordWillBeSaved:
.string "Your record will be saved.\n"
.string "Please wait.$"
BattleFrontier_BattleDomeLobby_Text_WeveBeenWaitingForYou: @ 824A5FE
BattleFrontier_BattleDomeLobby_Text_WeveBeenWaitingForYou:
.string "We've been waiting for you!$"
BattleFrontier_BattleDomeLobby_Text_OkayToSaveBeforeChallenge2: @ 824A61A
BattleFrontier_BattleDomeLobby_Text_OkayToSaveBeforeChallenge2:
.string "Before I show you to the BATTLE DOME,\n"
.string "I must save the data. Is that okay?$"
BattleFrontier_BattleDomeLobby_Text_WelcomeDoubleBattle: @ 824A664
BattleFrontier_BattleDomeLobby_Text_WelcomeDoubleBattle:
.string "Where the strategies of TRAINERS\n"
.string "are put to the test!\p"
.string "Welcome to the BATTLE DOME!\p"
.string "I am your guide to the DOUBLE BATTLE\n"
.string "Tournament.$"
BattleFrontier_BattleDomeLobby_Text_TakeDoublesChallenge: @ 824A6E7
BattleFrontier_BattleDomeLobby_Text_TakeDoublesChallenge:
.string "Would you like to challenge\n"
.string "the DOUBLE BATTLE Tournament?$"
BattleFrontier_BattleDomeLobby_Text_ExplainDoublesChallenge: @ 824A721
BattleFrontier_BattleDomeLobby_Text_ExplainDoublesChallenge:
.string "The DOUBLE BATTLE Tournament\n"
.string "is exactly as the name suggests--\l"
.string "a tournament of DOUBLE BATTLES.\p"
@@ -598,23 +575,23 @@ BattleFrontier_BattleDomeLobby_Text_ExplainDoublesChallenge: @ 824A721
.string "If you don't save before interrupting,\n"
.string "you will be disqualified.$"
BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsSinglesLv50: @ 824A966
BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsSinglesLv50:
.string "They're the results of the last\n"
.string "Level 50 SINGLE BATTLE Tournament.$"
BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsDoublesLv50: @ 824A9A9
BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsDoublesLv50:
.string "They're the results of the last\n"
.string "Level 50 DOUBLE BATTLE Tournament.$"
BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsSinglesLvOpen: @ 824A9EC
BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsSinglesLvOpen:
.string "They're the results of the last\n"
.string "Open Level SINGLE BATTLE Tournament.$"
BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsDoublesLvOpen: @ 824AA31
BattleFrontier_BattleDomeLobby_Text_PrevTourneyResultsDoublesLvOpen:
.string "They're the results of the last\n"
.string "Open Level DOUBLE BATTLE Tournament.$"
BattleFrontier_BattleDomeLobby_Text_LastWinnerWasTough: @ 824AA76
BattleFrontier_BattleDomeLobby_Text_LastWinnerWasTough:
.string "Did you see it?\n"
.string "The last Battle Tournament?\p"
.string "The winner, {STR_VAR_1}, was seriously\n"
@@ -622,21 +599,21 @@ BattleFrontier_BattleDomeLobby_Text_LastWinnerWasTough: @ 824AA76
.string "You should check out the results\n"
.string "on the monitor beside the PC.$"
BattleFrontier_OutsideWest_Text_LongDreamedAboutBattleFrontier: @ 824AB06
BattleFrontier_OutsideWest_Text_LongDreamedAboutBattleFrontier:
.string "The BATTLE FRONTIER…\n"
.string "I've long dreamed about a place like it.$"
@ Functionally unused
BattleFrontier_OutsideWest_Text_BattleDomeSign2: @ 824AB44
BattleFrontier_OutsideWest_Text_BattleDomeSign2:
.string "The BATTLE DOME\n"
.string "Become the Unbeatable Superstar!$"
@ Functionally unused
BattleFrontier_OutsideWest_Text_QuestionMarkUnderConstruction: @ 824AB75
BattleFrontier_OutsideWest_Text_QuestionMarkUnderConstruction:
.string "The ??????\n"
.string "Under Construction!$"
BattleFrontier_BattleDomeLobby_Text_WinnersGainReputation: @ 824AB94
BattleFrontier_BattleDomeLobby_Text_WinnersGainReputation:
.string "When a TRAINER chains tournament\n"
.string "wins at the BATTLE DOME, he or she\l"
.string "gains a reputation as a star.\p"
@@ -645,48 +622,48 @@ BattleFrontier_BattleDomeLobby_Text_WinnersGainReputation: @ 824AB94
.string "A true superstar is a TRAINER who\n"
.string "can keep winning tournaments.$"
BattleFrontier_BattleDomeLobby_Text_TrashedInFirstRound: @ 824AC76
BattleFrontier_BattleDomeLobby_Text_TrashedInFirstRound:
.string "I ran into one of the tournament\n"
.string "favorites in the very first round.\p"
.string "Of course I got trashed…$"
BattleFrontier_BattleDomeLobby_Text_NeedToCheckOpponentCarefully: @ 824ACD3
BattleFrontier_BattleDomeLobby_Text_NeedToCheckOpponentCarefully:
.string "I would've won if I'd kept this POKéMON\n"
.string "held in reserve.\p"
.string "You need to check your opponent's\n"
.string "POKéMON carefully before choosing\l"
.string "your battling POKéMON.$"
BattleFrontier_BattleDomeLobby_Text_CongratsDefeatedTucker: @ 824AD67
BattleFrontier_BattleDomeLobby_Text_CongratsDefeatedTucker:
.string "Congratulations!\p"
.string "You defeated the DOME ACE and won\n"
.string "the Battle Tournament!$"
BattleFrontier_BattleDomeLobby_Text_AwardTheseBattlePoints: @ 824ADB1
BattleFrontier_BattleDomeLobby_Text_AwardTheseBattlePoints:
.string "In recognition of your strategy--\n"
.string "a thing of beauty it was, too--\l"
.string "we award you these Battle Point(s)!$"
BattleFrontier_BattleDomeLobby_Text_RecordLastMatch: @ 824AE17
BattleFrontier_BattleDomeLobby_Text_RecordLastMatch:
.string "Would you like to record your\n"
.string "last BATTLE DOME match on your\l"
.string "FRONTIER PASS?$"
BattleFrontier_BattleDomeLobby_Text_RulesAreListed: @ 824AE63
BattleFrontier_BattleDomeLobby_Text_RulesAreListed:
.string "The Battle Tournament rules\n"
.string "are listed.$"
BattleFrontier_BattleDomeLobby_Text_ReadWhichHeading: @ 824AE8B
BattleFrontier_BattleDomeLobby_Text_ReadWhichHeading:
.string "Which heading do you want to read?$"
BattleFrontier_BattleDomeLobby_Text_ExplainMatchupRules: @ 824AEAE
BattleFrontier_BattleDomeLobby_Text_ExplainMatchupRules:
.string "The tournament matchups are drawn up\n"
.string "based on the toughness of POKéMON\l"
.string "held by TRAINERS.\p"
.string "The matchups avoid having tough\n"
.string "TRAINERS face each other right away.$"
BattleFrontier_BattleDomeLobby_Text_ExplainTourneyTree: @ 824AF4C
BattleFrontier_BattleDomeLobby_Text_ExplainTourneyTree:
.string "The tournament chart, or as we call it,\n"
.string "the “Tree,” is available for viewing\l"
.string "in the Waiting Room from any guide.\p"
@@ -697,7 +674,7 @@ BattleFrontier_BattleDomeLobby_Text_ExplainTourneyTree: @ 824AF4C
.string "by TRAINERS, and the battle styles of\l"
.string "TRAINERS.$"
BattleFrontier_BattleDomeLobby_Text_ExplainDoubleKORules: @ 824B073
BattleFrontier_BattleDomeLobby_Text_ExplainDoubleKORules:
.string "If battling POKéMON faint at the same\n"
.string "time--a double KO--in a tournament\l"
.string "match, the REFEREES will review\l"

View File

@@ -1,38 +1,36 @@
.set LOCALID_ATTENDANT, 1
BattleFrontier_BattleDomePreBattleRoom_MapScripts:: @ 824B1F9
BattleFrontier_BattleDomePreBattleRoom_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleDomePreBattleRoom_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleDomePreBattleRoom_OnWarp
.byte 0
BattleFrontier_BattleDomePreBattleRoom_OnWarp: @ 824B204
BattleFrontier_BattleDomePreBattleRoom_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_TurnPlayerNorth
.2byte 0
BattleFrontier_BattleDomePreBattleRoom_EventScript_TurnPlayerNorth:: @ 824B20E
BattleFrontier_BattleDomePreBattleRoom_EventScript_TurnPlayerNorth::
setvar VAR_TEMP_1, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end
BattleFrontier_BattleDomePreBattleRoom_OnFrame: @ 824B218
BattleFrontier_BattleDomePreBattleRoom_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_EnterRoom
.2byte 0
BattleFrontier_BattleDomePreBattleRoom_EventScript_EnterRoom:: @ 824B222
compare VAR_0x8006, 1
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_ReturnFromBattle
BattleFrontier_BattleDomePreBattleRoom_EventScript_EnterRoom::
goto_if_eq VAR_0x8006, 1, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReturnFromBattle
frontier_set FRONTIER_DATA_RECORD_DISABLED, TRUE
setvar VAR_TEMP_0, 1
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleDomePreBattleRoom_Movement_PlayerEnter
waitmovement 0
lockall
BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound:: @ 824B24F
BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound::
call BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForNextRoundMessage
waitmessage
switch VAR_RESULT @ No case?
call BattleFrontier_EventScript_GetCantRecordBattle
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRoundNoRecord
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRoundNoRecord
multichoice 16, 0, MULTI_TOURNEY_WITH_RECORD, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowOpponentInfo
@@ -43,7 +41,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound:: @ 824B
case 5, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRoundNoRecord:: @ 824B2C1
BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRoundNoRecord::
multichoice 16, 2, MULTI_TOURNEY_NO_RECORD, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowOpponentInfo
@@ -53,7 +51,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRoundNoRecord:
case 4, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
BattleFrontier_BattleDomePreBattleRoom_EventScript_AskRecordBattle:: @ 824B30D
BattleFrontier_BattleDomePreBattleRoom_EventScript_AskRecordBattle::
message BattleFrontier_BattleDomePreBattleRoom_Text_RecordLastMatch
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -62,18 +60,18 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_AskRecordBattle:: @ 824B30D
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_RecordBattle
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
BattleFrontier_BattleDomePreBattleRoom_EventScript_RecordBattle:: @ 824B33F
BattleFrontier_BattleDomePreBattleRoom_EventScript_RecordBattle::
call BattleFrontier_EventScript_SaveBattle
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
BattleFrontier_BattleDomePreBattleRoom_EventScript_AskPauseChallenge:: @ 824B349
BattleFrontier_BattleDomePreBattleRoom_EventScript_AskPauseChallenge::
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_SaveAndQuitGame, MSGBOX_YESNO
switch VAR_RESULT
case NO, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
case YES, BattleFrontier_BattleDomePreBattleRoom_EventScript_PauseChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
BattleFrontier_BattleDomePreBattleRoom_EventScript_AskRetireChallenge:: @ 824B377
BattleFrontier_BattleDomePreBattleRoom_EventScript_AskRetireChallenge::
message BattleFrontier_BattleDomePreBattleRoom_Text_RetireYourChallenge
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -82,11 +80,11 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_AskRetireChallenge:: @ 824B37
case 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_RetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
BattleFrontier_BattleDomePreBattleRoom_EventScript_RetireChallenge:: @ 824B3A9
BattleFrontier_BattleDomePreBattleRoom_EventScript_RetireChallenge::
dome_resolvewinners DOME_PLAYER_RETIRED
goto BattleFrontier_BattleDomeBattleRoom_EventScript_WarpToLobbyLost
BattleFrontier_BattleDomePreBattleRoom_EventScript_PauseChallenge:: @ 824B3BB
BattleFrontier_BattleDomePreBattleRoom_EventScript_PauseChallenge::
message BattleFrontier_BattleDomePreBattleRoom_Text_SavingDataPleaseWait
waitmessage
dome_save CHALLENGE_STATUS_PAUSED
@@ -96,21 +94,21 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_PauseChallenge:: @ 824B3BB
frontier_reset
end
BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowOpponentInfo:: @ 824B3DD
BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowOpponentInfo::
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_PlayersNextOpponentIsTrainer, MSGBOX_DEFAULT
fadescreen FADE_TO_BLACK
dome_showopponentinfo
waitstate
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowTourneyTree:: @ 824B3F5
BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowTourneyTree::
call BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowRoundMessage
fadescreen FADE_TO_BLACK
dome_showtourneytree
waitstate
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowRoundMessage:: @ 824B40A
BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowRoundMessage::
frontier_get FRONTIER_DATA_BATTLE_NUM
switch VAR_RESULT
case DOME_ROUND1, BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInRound1
@@ -119,23 +117,23 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_ShowRoundMessage:: @ 824B40A
case DOME_FINAL, BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInFinals
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInRound1:: @ 824B449
BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInRound1::
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInRound1, MSGBOX_DEFAULT
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInRound2:: @ 824B452
BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInRound2::
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInRound2, MSGBOX_DEFAULT
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInSemifinals:: @ 824B45B
BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInSemifinals::
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInSemifinals, MSGBOX_DEFAULT
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInFinals:: @ 824B464
BattleFrontier_BattleDomePreBattleRoom_EventScript_TourneyInFinals::
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInFinals, MSGBOX_DEFAULT
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_ContinueChallenge:: @ 824B46D
BattleFrontier_BattleDomePreBattleRoom_EventScript_ContinueChallenge::
message BattleFrontier_BattleDomePreBattleRoom_Text_ChooseTwoMons
waitmessage
waitbuttonpress
@@ -146,8 +144,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_ContinueChallenge:: @ 824B46D
special ChoosePartyForBattleFrontier
waitstate
frontier_resetsketch
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
dome_set DOME_DATA_SELECTED_MONS
dome_reduceparty
dome_setopponent
@@ -163,12 +160,12 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_ContinueChallenge:: @ 824B46D
waitmovement 0
closedoor 5, 1
waitdooranim
warp MAP_BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM, 255, 9, 5
warp MAP_BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM, 9, 5
setvar VAR_TEMP_0, 0
waitstate
end
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForNextRoundMessage:: @ 824B4FB
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForNextRoundMessage::
frontier_get FRONTIER_DATA_BATTLE_NUM
switch VAR_RESULT
case DOME_ROUND1, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForRound1
@@ -177,19 +174,19 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForNextRoundMessage:: @
case DOME_FINAL, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForFinals
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForRound1:: @ 824B53A
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForRound1::
message BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForRound1
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForRound2:: @ 824B540
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForRound2::
message BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForRound2
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForSemifinals:: @ 824B546
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForSemifinals::
message BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForSemifinals
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForFinals:: @ 824B54C
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForFinals::
frontier_getbrainstatus
switch VAR_RESULT
case FRONTIER_BRAIN_SILVER, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerSilver
@@ -199,27 +196,27 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForFinals:: @ 824B54C
message BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForFinals
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerSilver:: @ 824B58B
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerSilver::
goto_if_set FLAG_TEMP_1, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerSilverShort
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerSilver, MSGBOX_DEFAULT
setflag FLAG_TEMP_1
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerGold:: @ 824B5A0
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerGold::
goto_if_set FLAG_TEMP_1, BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerGoldShort
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerGold, MSGBOX_DEFAULT
setflag FLAG_TEMP_1
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerSilverShort:: @ 824B5B5
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerSilverShort::
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerSilverShort, MSGBOX_DEFAULT
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerGoldShort:: @ 824B5BE
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReadyForTuckerGoldShort::
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerGoldShort, MSGBOX_DEFAULT
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReturnFromBattle:: @ 824B5C7
BattleFrontier_BattleDomePreBattleRoom_EventScript_ReturnFromBattle::
setvar VAR_TEMP_0, 1
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_RestoreMonsToFullHealth, MSGBOX_DEFAULT
special LoadPlayerParty
@@ -233,7 +230,7 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_ReturnFromBattle:: @ 824B5C7
waitstate
goto BattleFrontier_BattleDomePreBattleRoom_EventScript_AskReadyForNextRound
BattleFrontier_BattleDomePreBattleRoom_EventScript_RoundCompleteMessage:: @ 824B600
BattleFrontier_BattleDomePreBattleRoom_EventScript_RoundCompleteMessage::
frontier_get FRONTIER_DATA_BATTLE_NUM
switch VAR_RESULT
case DOME_ROUND2, BattleFrontier_BattleDomePreBattleRoom_EventScript_Round1Complete
@@ -241,136 +238,136 @@ BattleFrontier_BattleDomePreBattleRoom_EventScript_RoundCompleteMessage:: @ 824B
case DOME_FINAL, BattleFrontier_BattleDomePreBattleRoom_EventScript_SemifinalsComplete
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_Round1Complete:: @ 824B634
BattleFrontier_BattleDomePreBattleRoom_EventScript_Round1Complete::
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_Round1Complete, MSGBOX_DEFAULT
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_Round2Complete:: @ 824B63D
BattleFrontier_BattleDomePreBattleRoom_EventScript_Round2Complete::
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_Round2Complete, MSGBOX_DEFAULT
return
BattleFrontier_BattleDomePreBattleRoom_EventScript_SemifinalsComplete:: @ 824B646
BattleFrontier_BattleDomePreBattleRoom_EventScript_SemifinalsComplete::
msgbox BattleFrontier_BattleDomePreBattleRoom_Text_SemifinalsComplete, MSGBOX_DEFAULT
return
BattleFrontier_BattleDomePreBattleRoom_Movement_AttendantMoveAside: @ 824B64F
BattleFrontier_BattleDomePreBattleRoom_Movement_AttendantMoveAside:
walk_right
face_left
step_end
BattleFrontier_BattleDomePreBattleRoom_Movement_PlayerEnter: @ 824B652
BattleFrontier_BattleDomePreBattleRoom_Movement_PlayerEnter:
walk_up
walk_up
walk_up
walk_up
step_end
BattleFrontier_BattleDomePreBattleRoom_Movement_PlayerWalkToDoor: @ 824B657
BattleFrontier_BattleDomePreBattleRoom_Movement_PlayerWalkToDoor:
walk_up
step_end
BattleFrontier_BattleDomePreBattleRoom_Movement_PlayerEnterDoor: @ 824B659
BattleFrontier_BattleDomePreBattleRoom_Movement_PlayerEnterDoor:
walk_up
set_invisible
step_end
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForRound1: @ 824B65C
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForRound1:
.string "Your 1st-round match is next.\n"
.string "Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForRound2: @ 824B689
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForRound2:
.string "Your 2nd-round match is next.\n"
.string "Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForSemifinals: @ 824B6B6
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForSemifinals:
.string "Your semifinal match is next.\n"
.string "Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForFinals: @ 824B6E3
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForFinals:
.string "Your final match is next.\n"
.string "Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_ChooseTwoMons: @ 824B70C
BattleFrontier_BattleDomePreBattleRoom_Text_ChooseTwoMons:
.string "Please choose the two POKéMON\n"
.string "that are to appear in battle.$"
BattleFrontier_BattleDomePreBattleRoom_Text_RightThisWay: @ 824B748
BattleFrontier_BattleDomePreBattleRoom_Text_RightThisWay:
.string "Right this way, please.$"
BattleFrontier_BattleDomePreBattleRoom_Text_RestoreMonsToFullHealth: @ 824B760
BattleFrontier_BattleDomePreBattleRoom_Text_RestoreMonsToFullHealth:
.string "Thank you for competing!\p"
.string "I'll restore your POKéMON to\n"
.string "full health.$"
BattleFrontier_BattleDomePreBattleRoom_Text_Round1Complete: @ 824B7A3
BattleFrontier_BattleDomePreBattleRoom_Text_Round1Complete:
.string "All 1st-round matches have been\n"
.string "completed.\p"
.string "These are the teams that advanced!$"
BattleFrontier_BattleDomePreBattleRoom_Text_Round2Complete: @ 824B7F1
BattleFrontier_BattleDomePreBattleRoom_Text_Round2Complete:
.string "All 2nd-round matches have been\n"
.string "completed.\p"
.string "These are the teams that advanced!$"
BattleFrontier_BattleDomePreBattleRoom_Text_SemifinalsComplete: @ 824B83F
BattleFrontier_BattleDomePreBattleRoom_Text_SemifinalsComplete:
.string "All semifinal matches have been\n"
.string "completed.\p"
.string "These are the teams that advanced!$"
@ Unused
BattleFrontier_BattleDomePreBattleRoom_Text_CongratsReadyForRound2: @ 824B88D
BattleFrontier_BattleDomePreBattleRoom_Text_CongratsReadyForRound2:
.string "Congratulations for getting through\n"
.string "the 1st round.\p"
.string "The 2nd round is next.\n"
.string "Are you ready?$"
@ Unused
BattleFrontier_BattleDomePreBattleRoom_Text_CongratsReadyForSemifinals: @ 824B8E6
BattleFrontier_BattleDomePreBattleRoom_Text_CongratsReadyForSemifinals:
.string "Congratulations for advancing\n"
.string "to the semifinals.\p"
.string "The best four teams meet in this round.\n"
.string "Are you ready?$"
@ Unused
BattleFrontier_BattleDomePreBattleRoom_Text_CongratsReadyForFinals: @ 824B94E
BattleFrontier_BattleDomePreBattleRoom_Text_CongratsReadyForFinals:
.string "Congratulations for advancing\n"
.string "to the final match.\p"
.string "You're one win from the championship.\n"
.string "Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_PlayersNextOpponentIsTrainer: @ 824B9B5
BattleFrontier_BattleDomePreBattleRoom_Text_PlayersNextOpponentIsTrainer:
.string "{PLAYER}'s next opponent\n"
.string "is this TRAINER.$"
BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInRound1: @ 824B9D9
BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInRound1:
.string "The tournament is in the 1st round.$"
BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInRound2: @ 824B9FD
BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInRound2:
.string "The tournament is in the 2nd round.$"
BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInSemifinals: @ 824BA21
BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInSemifinals:
.string "The tournament is in the semifinals.$"
BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInFinals: @ 824BA46
BattleFrontier_BattleDomePreBattleRoom_Text_TourneyInFinals:
.string "The tournament is up to the final.$"
BattleFrontier_BattleDomePreBattleRoom_Text_SaveAndQuitGame: @ 824BA69
BattleFrontier_BattleDomePreBattleRoom_Text_SaveAndQuitGame:
.string "Would you like to save and\n"
.string "quit the game?$"
BattleFrontier_BattleDomePreBattleRoom_Text_RetireYourChallenge: @ 824BA93
BattleFrontier_BattleDomePreBattleRoom_Text_RetireYourChallenge:
.string "Would you like to retire from your\n"
.string "Battle Tournament challenge?$"
BattleFrontier_BattleDomePreBattleRoom_Text_SavingDataPleaseWait: @ 824BAD3
BattleFrontier_BattleDomePreBattleRoom_Text_SavingDataPleaseWait:
.string "I am saving your data.\n"
.string "Please wait.$"
BattleFrontier_BattleDomePreBattleRoom_Text_RecordLastMatch: @ 824BAF7
BattleFrontier_BattleDomePreBattleRoom_Text_RecordLastMatch:
.string "Should I record your last match\n"
.string "on your FRONTIER PASS?$"
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerSilver: @ 824BB2E
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerSilver:
.string "Congratulations for advancing\n"
.string "to the final match.\p"
.string "For the final match, you will challenge\n"
@@ -378,19 +375,19 @@ BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerSilver: @ 824BB2E
.string "Are you ready?$"
@ Identical to ReadyForTuckerSilver
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerGold: @ 824BBAC
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerGold:
.string "Congratulations for advancing\n"
.string "to the final match.\p"
.string "For the final match, you will challenge\n"
.string "the DOME ACE TUCKER.\p"
.string "Are you ready?$"
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerSilverShort: @ 824BC2A
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerSilverShort:
.string "Your final battle against TUCKER is\n"
.string "next. Are you ready?$"
@ Identical again
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerGoldShort: @ 824BC63
BattleFrontier_BattleDomePreBattleRoom_Text_ReadyForTuckerGoldShort:
.string "Your final battle against TUCKER is\n"
.string "next. Are you ready?$"

View File

@@ -7,7 +7,7 @@
.set LOCALID_SCIENTIST_6, 7
.set LOCALID_PLAYER, 8
BattleFrontier_BattleFactoryBattleRoom_MapScripts:: @ 825ADAB
BattleFrontier_BattleFactoryBattleRoom_MapScripts::
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
@@ -16,50 +16,46 @@ BattleFrontier_BattleFactoryBattleRoom_MapScripts:: @ 825ADAB
@ On this map the player (OBJ_EVENT_ID_PLAYER) is hidden
@ The player is represented instead by LOCALID_PLAYER, which has the gfx id VAR_OBJ_GFX_ID_F
BattleFrontier_BattleFactoryBattleRoom_OnTransition: @ 825ADBB
BattleFrontier_BattleFactoryBattleRoom_OnTransition:
frontier_settrainers
checkplayergender
compare VAR_RESULT, MALE
call_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_SetPlayerGfxMale
compare VAR_RESULT, FEMALE
call_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_SetPlayerGfxFemale
call_if_eq VAR_RESULT, MALE, BattleFrontier_BattleFactoryBattleRoom_EventScript_SetPlayerGfxMale
call_if_eq VAR_RESULT, FEMALE, 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_SetUpFactoryHeadObj
goto_if_ne VAR_RESULT, FRONTIER_BRAIN_NOT_READY, BattleFrontier_BattleFactoryBattleRoom_EventScript_SetUpFactoryHeadObj
end
BattleFrontier_BattleFactoryBattleRoom_EventScript_SetUpFactoryHeadObj:: @ 825ADF3
BattleFrontier_BattleFactoryBattleRoom_EventScript_SetUpFactoryHeadObj::
call BattleFrontier_EventScript_SetBrainObjectGfx
setobjectxyperm LOCALID_OPPONENT, 7, 9
end
BattleFrontier_BattleFactoryBattleRoom_OnWarp: @ 825AE00
BattleFrontier_BattleFactoryBattleRoom_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleFactoryBattleRoom_EventScript_HideObjects
.2byte 0
BattleFrontier_BattleFactoryBattleRoom_EventScript_HideObjects:: @ 825AE0A
BattleFrontier_BattleFactoryBattleRoom_EventScript_HideObjects::
setvar VAR_TEMP_1, 1
hideobjectat OBJ_EVENT_ID_PLAYER, MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM
compare VAR_TEMP_F, FRONTIER_BRAIN_NOT_READY
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_EndHideObjects
goto_if_ne VAR_TEMP_F, FRONTIER_BRAIN_NOT_READY, BattleFrontier_BattleFactoryBattleRoom_EventScript_EndHideObjects
hideobjectat LOCALID_OPPONENT, MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM
BattleFrontier_BattleFactoryBattleRoom_EventScript_EndHideObjects:: @ 825AE24
BattleFrontier_BattleFactoryBattleRoom_EventScript_EndHideObjects::
end
BattleFrontier_BattleFactoryBattleRoom_EventScript_SetPlayerGfxMale:: @ 825AE25
BattleFrontier_BattleFactoryBattleRoom_EventScript_SetPlayerGfxMale::
setvar VAR_OBJ_GFX_ID_F, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL
return
BattleFrontier_BattleFactoryBattleRoom_EventScript_SetPlayerGfxFemale:: @ 825AE2B
BattleFrontier_BattleFactoryBattleRoom_EventScript_SetPlayerGfxFemale::
setvar VAR_OBJ_GFX_ID_F, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL
return
BattleFrontier_BattleFactoryBattleRoom_OnFrame: @ 825AE31
BattleFrontier_BattleFactoryBattleRoom_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleFactoryBattleRoom_EventScript_EnterRoom
.2byte 0
BattleFrontier_BattleFactoryBattleRoom_EventScript_EnterRoomFactoryHeadBattle:: @ 825AE3B
BattleFrontier_BattleFactoryBattleRoom_EventScript_EnterRoomFactoryHeadBattle::
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_GetAMoveOn, MSGBOX_DEFAULT
closemessage
applymovement LOCALID_OPPONENT, BattleFrontier_BattleFactoryBattleRoom_Movement_NolandMoveToBattle
@@ -70,9 +66,8 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_EnterRoomFactoryHeadBattle::
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleOpponent
end
BattleFrontier_BattleFactoryBattleRoom_EventScript_EnterRoom:: @ 825AE67
compare VAR_TEMP_F, FRONTIER_BRAIN_NOT_READY
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_EnterRoomFactoryHeadBattle
BattleFrontier_BattleFactoryBattleRoom_EventScript_EnterRoom::
goto_if_ne VAR_TEMP_F, FRONTIER_BRAIN_NOT_READY, BattleFrontier_BattleFactoryBattleRoom_EventScript_EnterRoomFactoryHeadBattle
applymovement LOCALID_PLAYER, BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerEnterRoom
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerEnterRoom
waitmovement 0
@@ -83,9 +78,8 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_EnterRoom:: @ 825AE67
addobject LOCALID_OPPONENT
applymovement LOCALID_OPPONENT, BattleFrontier_BattleFactoryBattleRoom_Movement_OpponentEnter
waitmovement 0
BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleOpponent:: @ 825AEA7
compare VAR_TEMP_F, FRONTIER_BRAIN_NOT_READY
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNoland
BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleOpponent::
goto_if_ne VAR_TEMP_F, FRONTIER_BRAIN_NOT_READY, BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNoland
palace_getopponentintro
lockall
msgbox gStringVar4, MSGBOX_DEFAULT
@@ -99,53 +93,49 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleOpponent:: @ 825AEA7
waitstate
switch VAR_RESULT
case 1, BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedOpponent
BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyLost:: @ 825AEF8
BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyLost::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobby
BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedOpponent:: @ 825AF0F
BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedOpponent::
factory_get FACTORY_DATA_WIN_STREAK_SWAPS
compare VAR_RESULT, MAX_STREAK
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_IncrementWinStreak
goto_if_eq VAR_RESULT, MAX_STREAK, 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_IncrementWinStreak:: @ 825AF3E
BattleFrontier_BattleFactoryBattleRoom_EventScript_IncrementWinStreak::
call BattleFrontier_EventScript_IncrementWinStreak
BattleFrontier_BattleFactoryBattleRoom_EventScript_IncrementBattleNum:: @ 825AF43
BattleFrontier_BattleFactoryBattleRoom_EventScript_IncrementBattleNum::
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_WarpToLobbyWon
setvar VAR_0x8006, 1
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM, 255, 8, 8
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM, 8, 8
waitstate
BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyWon:: @ 825AF85
BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyWon::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobby
BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNoland:: @ 825AF9C
BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNoland::
switch VAR_TEMP_F
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_BattleNolandSilver
goto_if_ne VAR_RESULT, FALSE, BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNolandSilver
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_NolandImFactoryHead, MSGBOX_DEFAULT
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNolandSilver:: @ 825AFEF
BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNolandSilver::
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_ShakeOutKnowledgeBringItOn, MSGBOX_DEFAULT
call BattleFrontier_BattleFactoryBattleRoom_EventScript_DoNolandBattle
compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNolandSilver
goto_if_eq VAR_RESULT, 1, BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNolandSilver
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyLost
BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNolandSilver:: @ 825B00C
BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNolandSilver::
frontier_getsymbols
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNoland
goto_if_ne VAR_RESULT, 0, BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNoland
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_NolandLetsSeeFrontierPass, MSGBOX_DEFAULT
closemessage
applymovement LOCALID_PLAYER, BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerApproachNoland
@@ -158,23 +148,20 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNolandSilver:: @ 825B
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_NextTimeNoHoldsBarred, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNoland
BattleFrontier_BattleFactoryBattleRoom_EventScript_IntroNolandGold:: @ 825B051
BattleFrontier_BattleFactoryBattleRoom_EventScript_IntroNolandGold::
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
compare VAR_RESULT, FALSE
goto_if_ne BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNolandGold
goto_if_ne VAR_RESULT, FALSE, BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNolandGold
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_HarderLookThanLastTime, MSGBOX_DEFAULT
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNolandGold:: @ 825B07E
BattleFrontier_BattleFactoryBattleRoom_EventScript_BattleNolandGold::
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_AllRightBringItOn, MSGBOX_DEFAULT
call BattleFrontier_BattleFactoryBattleRoom_EventScript_DoNolandBattle
compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNolandGold
goto_if_eq VAR_RESULT, 1, BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNolandGold
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyLost
BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNolandGold:: @ 825B09B
BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNolandGold::
frontier_getsymbols
compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNoland
goto_if_eq VAR_RESULT, 2, BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNoland
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_OutOfMyLeagueLetsSeePass, MSGBOX_DEFAULT
waitmessage
applymovement LOCALID_PLAYER, BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerApproachNoland
@@ -187,7 +174,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNolandGold:: @ 825B09
msgbox BattleFrontier_BattleFactoryBattleRoom_Text_LastTimeILoseToYou, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNoland
BattleFrontier_BattleFactoryBattleRoom_EventScript_DoNolandBattle:: @ 825B0E0
BattleFrontier_BattleFactoryBattleRoom_EventScript_DoNolandBattle::
closemessage
frontier_set FRONTIER_DATA_RECORD_DISABLED, FALSE
special HealPlayerParty
@@ -197,16 +184,14 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_DoNolandBattle:: @ 825B0E0
waitstate
return
BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNoland:: @ 825B105
BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNoland::
factory_get FACTORY_DATA_WIN_STREAK_SWAPS
compare VAR_RESULT, MAX_STREAK
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_IncrementWinStreak
goto_if_eq VAR_RESULT, MAX_STREAK, 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_IncrementBattleNum
goto_if_eq VAR_RESULT, MAX_STREAK, BattleFrontier_BattleFactoryBattleRoom_EventScript_IncrementBattleNum
addvar VAR_RESULT, 1
factory_set FACTORY_DATA_WIN_STREAK, VAR_RESULT
frontier_get FRONTIER_DATA_BATTLE_NUM
@@ -214,7 +199,7 @@ BattleFrontier_BattleFactoryBattleRoom_EventScript_DefeatedNoland:: @ 825B105
goto BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyWon
end
BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerEnterRoom: @ 825B17B
BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerEnterRoom:
walk_up
walk_up
walk_up
@@ -223,11 +208,11 @@ BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerEnterRoom: @ 825B17B
face_right
step_end
BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerApproachNoland: @ 825B182
BattleFrontier_BattleFactoryBattleRoom_Movement_PlayerApproachNoland:
walk_right
step_end
BattleFrontier_BattleFactoryBattleRoom_Movement_OpponentEnter: @ 825B184
BattleFrontier_BattleFactoryBattleRoom_Movement_OpponentEnter:
walk_down
walk_down
walk_down
@@ -236,41 +221,40 @@ BattleFrontier_BattleFactoryBattleRoom_Movement_OpponentEnter: @ 825B184
face_left
step_end
BattleFrontier_BattleFactoryBattleRoom_Movement_NolandMoveToBattle: @ 825B18B
BattleFrontier_BattleFactoryBattleRoom_Movement_NolandMoveToBattle:
walk_up
walk_up
walk_up
face_left
step_end
BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobby:: @ 825B190
BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobby::
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
compare VAR_RESULT, FRONTIER_MODE_DOUBLES
goto_if_eq BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyDoubles
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 255, 4, 8
goto_if_eq VAR_RESULT, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyDoubles
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 4, 8
waitstate
end
BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyDoubles:: @ 825B1AA
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 255, 14, 8
BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyDoubles::
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY, 14, 8
waitstate
end
BattleFrontier_BattleFactoryBattleRoom_EventScript_ScientistsFaceBattle:: @ 825B1B4
applymovement LOCALID_SCIENTIST_1, Common_Movement_WalkInPlaceFastestRight
applymovement LOCALID_SCIENTIST_2, Common_Movement_WalkInPlaceFastestRight
applymovement LOCALID_SCIENTIST_3, Common_Movement_WalkInPlaceFastestRight
applymovement LOCALID_SCIENTIST_4, Common_Movement_WalkInPlaceFastestLeft
applymovement LOCALID_SCIENTIST_5, Common_Movement_WalkInPlaceFastestLeft
applymovement LOCALID_SCIENTIST_6, Common_Movement_WalkInPlaceFastestLeft
BattleFrontier_BattleFactoryBattleRoom_EventScript_ScientistsFaceBattle::
applymovement LOCALID_SCIENTIST_1, Common_Movement_WalkInPlaceFasterRight
applymovement LOCALID_SCIENTIST_2, Common_Movement_WalkInPlaceFasterRight
applymovement LOCALID_SCIENTIST_3, Common_Movement_WalkInPlaceFasterRight
applymovement LOCALID_SCIENTIST_4, Common_Movement_WalkInPlaceFasterLeft
applymovement LOCALID_SCIENTIST_5, Common_Movement_WalkInPlaceFasterLeft
applymovement LOCALID_SCIENTIST_6, Common_Movement_WalkInPlaceFasterLeft
waitmovement 0
return
BattleFrontier_BattleFactoryBattleRoom_Text_GetAMoveOn: @ 825B1E2
BattleFrontier_BattleFactoryBattleRoom_Text_GetAMoveOn:
.string "Hey, hey!\n"
.string "Get a move on!$"
BattleFrontier_BattleFactoryBattleRoom_Text_NolandImFactoryHead: @ 825B1FB
BattleFrontier_BattleFactoryBattleRoom_Text_NolandImFactoryHead:
.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"
@@ -287,26 +271,26 @@ BattleFrontier_BattleFactoryBattleRoom_Text_NolandImFactoryHead: @ 825B1FB
.string "conditions as you.\p"
.string "I'll be using rental POKéMON, too!$"
BattleFrontier_BattleFactoryBattleRoom_Text_ShakeOutKnowledgeBringItOn: @ 825B3F1
BattleFrontier_BattleFactoryBattleRoom_Text_ShakeOutKnowledgeBringItOn:
.string "Shake out every last bit of your\n"
.string "knowledge and bring it on!$"
BattleFrontier_BattleFactoryBattleRoom_Text_NolandLetsSeeFrontierPass: @ 825B42D
BattleFrontier_BattleFactoryBattleRoom_Text_NolandLetsSeeFrontierPass:
.string "NOLAND: Smart going!\n"
.string "Let's see your FRONTIER PASS.$"
BattleFrontier_BattleFactoryBattleRoom_Text_ReceivedKnowledgeSymbol: @ 825B460
BattleFrontier_BattleFactoryBattleRoom_Text_ReceivedKnowledgeSymbol:
.string "The Knowledge Symbol was embossed\n"
.string "on the FRONTIER PASS!$"
BattleFrontier_BattleFactoryBattleRoom_Text_NextTimeNoHoldsBarred: @ 825B498
BattleFrontier_BattleFactoryBattleRoom_Text_NextTimeNoHoldsBarred:
.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_HarderLookThanLastTime: @ 825B517
BattleFrontier_BattleFactoryBattleRoom_Text_HarderLookThanLastTime:
.string "NOLAND: Hey, hey! How's it going?\n"
.string "You keeping up with your studies?\p"
.string "…Oh?\p"
@@ -315,21 +299,21 @@ BattleFrontier_BattleFactoryBattleRoom_Text_HarderLookThanLastTime: @ 825B517
.string "Now, this should be fun!\n"
.string "I'm getting excited, hey!$"
BattleFrontier_BattleFactoryBattleRoom_Text_AllRightBringItOn: @ 825B5CF
BattleFrontier_BattleFactoryBattleRoom_Text_AllRightBringItOn:
.string "All right!\n"
.string "Bring it on!$"
BattleFrontier_BattleFactoryBattleRoom_Text_OutOfMyLeagueLetsSeePass: @ 825B5E7
BattleFrontier_BattleFactoryBattleRoom_Text_OutOfMyLeagueLetsSeePass:
.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_KnowledgeSymbolTookGoldenShine: @ 825B640
BattleFrontier_BattleFactoryBattleRoom_Text_KnowledgeSymbolTookGoldenShine:
.string "The Knowledge Symbol took on\n"
.string "a golden shine!$"
BattleFrontier_BattleFactoryBattleRoom_Text_LastTimeILoseToYou: @ 825B66D
BattleFrontier_BattleFactoryBattleRoom_Text_LastTimeILoseToYou:
.string "Pfft, man!\p"
.string "That's absolutely the last time\n"
.string "I lose to you!\p"

View File

@@ -1,21 +1,21 @@
.set LOCALID_ATTENDANT_SINGLES, 1
.set LOCALID_ATTENDANT_DOUBLES, 6
BattleFrontier_BattleFactoryLobby_MapScripts:: @ 82583E8
BattleFrontier_BattleFactoryLobby_MapScripts::
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_OnWarp: @ 82583F3
BattleFrontier_BattleFactoryLobby_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleFactoryLobby_EventScript_TurnPlayerNorth
.2byte 0
BattleFrontier_BattleFactoryLobby_EventScript_TurnPlayerNorth:: @ 82583FD
BattleFrontier_BattleFactoryLobby_EventScript_TurnPlayerNorth::
setvar VAR_TEMP_1, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end
BattleFrontier_BattleFactoryLobby_OnFrame: @ 8258407
BattleFrontier_BattleFactoryLobby_OnFrame:
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
@@ -23,11 +23,11 @@ BattleFrontier_BattleFactoryLobby_OnFrame: @ 8258407
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattleFactoryLobby_EventScript_LostChallenge
.2byte 0
BattleFrontier_BattleFactoryLobby_EventScript_GetChallengeStatus:: @ 8258431
BattleFrontier_BattleFactoryLobby_EventScript_GetChallengeStatus::
frontier_getstatus
end
BattleFrontier_BattleFactoryLobby_EventScript_QuitWithoutSaving:: @ 825843A
BattleFrontier_BattleFactoryLobby_EventScript_QuitWithoutSaving::
lockall
msgbox BattleFrontier_BattleFactoryLobby_Text_DidntSaveBeforeQuitting, MSGBOX_DEFAULT
closemessage
@@ -40,19 +40,18 @@ BattleFrontier_BattleFactoryLobby_EventScript_QuitWithoutSaving:: @ 825843A
releaseall
end
BattleFrontier_BattleFactoryLobby_EventScript_WonChallenge:: @ 825849B
BattleFrontier_BattleFactoryLobby_EventScript_WonChallenge::
lockall
frontier_isbrain
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_DefeatedFactoryHead
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleFactoryLobby_EventScript_DefeatedFactoryHead
msgbox BattleFrontier_BattleFactoryLobby_Text_CongratsSevenWins, MSGBOX_DEFAULT
waitmessage
goto BattleFrontier_BattleFactoryLobby_EventScript_GiveBattlePoints
BattleFrontier_BattleFactoryLobby_EventScript_DefeatedFactoryHead:: @ 82584BD
BattleFrontier_BattleFactoryLobby_EventScript_DefeatedFactoryHead::
msgbox BattleFrontier_BattleFactoryLobby_Text_CongratsForDefeatingHead, MSGBOX_DEFAULT
waitmessage
BattleFrontier_BattleFactoryLobby_EventScript_GiveBattlePoints:: @ 82584C6
BattleFrontier_BattleFactoryLobby_EventScript_GiveBattlePoints::
msgbox BattleFrontier_BattleFactoryLobby_Text_AwardBattlePoints, MSGBOX_DEFAULT
frontier_givepoints
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
@@ -66,7 +65,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_GiveBattlePoints:: @ 82584C6
goto BattleFrontier_BattleFactoryLobby_EventScript_AskRecordBattle
end
BattleFrontier_BattleFactoryLobby_EventScript_LostChallenge:: @ 8258506
BattleFrontier_BattleFactoryLobby_EventScript_LostChallenge::
lockall
message BattleFrontier_BattleFactoryLobby_Text_ReturnMonsSaveResults
waitmessage
@@ -77,10 +76,9 @@ BattleFrontier_BattleFactoryLobby_EventScript_LostChallenge:: @ 8258506
playse SE_SAVE
waitse
BattleFrontier_BattleFactoryLobby_EventScript_AskRecordBattle:: @ 825853B
BattleFrontier_BattleFactoryLobby_EventScript_AskRecordBattle::
call BattleFrontier_EventScript_GetCantRecordBattle
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle
message BattleFrontier_BattleFactoryLobby_Text_RecordLastMatch
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -89,16 +87,16 @@ BattleFrontier_BattleFactoryLobby_EventScript_AskRecordBattle:: @ 825853B
case 0, BattleFrontier_BattleFactoryLobby_EventScript_RecordBattle
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle
BattleFrontier_BattleFactoryLobby_EventScript_RecordBattle:: @ 825857D
BattleFrontier_BattleFactoryLobby_EventScript_RecordBattle::
call BattleFrontier_EventScript_SaveBattle
BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle:: @ 8258582
BattleFrontier_BattleFactoryLobby_EventScript_EndRecordBattle::
msgbox BattleFrontier_BattleFactoryLobby_Text_LookForwardToNextVisit, MSGBOX_DEFAULT
closemessage
setvar VAR_TEMP_0, 255
releaseall
end
BattleFrontier_BattleFactoryLobby_EventScript_ResumeChallenge:: @ 8258592
BattleFrontier_BattleFactoryLobby_EventScript_ResumeChallenge::
lockall
message BattleFrontier_BattleFactoryLobby_Text_WaitingForYouToResume
waitmessage
@@ -110,7 +108,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_ResumeChallenge:: @ 8258592
setvar VAR_0x8006, 2
goto BattleFrontier_BattleFactoryLobby_EventScript_EnterChallenge
BattleFrontier_BattleFactoryLobby_EventScript_SinglesAttendant:: @ 82585CB
BattleFrontier_BattleFactoryLobby_EventScript_SinglesAttendant::
lock
faceplayer
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_FACTORY
@@ -118,23 +116,19 @@ BattleFrontier_BattleFactoryLobby_EventScript_SinglesAttendant:: @ 82585CB
goto BattleFrontier_BattleFactoryLobby_EventScript_Attendant
end
BattleFrontier_BattleFactoryLobby_EventScript_DoublesAttendant:: @ 82585DD
BattleFrontier_BattleFactoryLobby_EventScript_DoublesAttendant::
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_FACTORY
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
goto BattleFrontier_BattleFactoryLobby_EventScript_Attendant
end
BattleFrontier_BattleFactoryLobby_EventScript_Attendant:: @ 82585ED
BattleFrontier_BattleFactoryLobby_EventScript_Attendant::
special SavePlayerParty
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForSingleBattle
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
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_TakeSinglesChallenge
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_TakeDoublesChallenge
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForSingleBattle
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForDoubleBattle
BattleFrontier_BattleFactoryLobby_EventScript_AskTakeChallenge::
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleFactoryLobby_EventScript_TakeSinglesChallenge
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleFactoryLobby_EventScript_TakeDoublesChallenge
waitmessage
multichoice 17, 6, MULTI_CHALLENGEINFO, FALSE
switch VAR_RESULT
@@ -143,7 +137,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_AskTakeChallenge:: @ 8258606
case 2, BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
BattleFrontier_BattleFactoryLobby_EventScript_TryEnterChallenge:: @ 8258653
BattleFrontier_BattleFactoryLobby_EventScript_TryEnterChallenge::
message BattleFrontier_BattleFactoryLobby_Text_WhichLevelMode
waitmessage
multichoice 17, 6, MULTI_LEVEL_MODE, FALSE
@@ -157,7 +151,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_TryEnterChallenge:: @ 8258653
case YES, BattleFrontier_BattleFactoryLobby_EventScript_SaveBeforeChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_LoadPartyAndCancelChallenge
BattleFrontier_BattleFactoryLobby_EventScript_SaveBeforeChallenge:: @ 82586B9
BattleFrontier_BattleFactoryLobby_EventScript_SaveBeforeChallenge::
setvar VAR_TEMP_0, 0
factory_init
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_SAVING
@@ -167,90 +161,85 @@ BattleFrontier_BattleFactoryLobby_EventScript_SaveBeforeChallenge:: @ 82586B9
delay 2
call Common_EventScript_SaveGame
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleFactoryLobby_EventScript_CancelChallengeSaveFailed
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleFactoryLobby_EventScript_CancelChallengeSaveFailed
setvar VAR_0x8006, 0
BattleFrontier_BattleFactoryLobby_EventScript_EnterChallenge:: @ 825871A
BattleFrontier_BattleFactoryLobby_EventScript_EnterChallenge::
special SavePlayerParty
msgbox BattleFrontier_BattleFactoryLobby_Text_StepThisWay, MSGBOX_DEFAULT
closemessage
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_TalkedToSinglesAttendant
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_TalkedToDoublesAttendant
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleFactoryLobby_EventScript_TalkedToSinglesAttendant
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleFactoryLobby_EventScript_TalkedToDoublesAttendant
applymovement VAR_LAST_TALKED, BattleFrontier_BattleFactoryLobby_Movement_AttendantEnterDoor
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleFactoryLobby_Movement_PlayerEnterDoor
waitmovement 0
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM, 255, 8, 13
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM, 8, 13
setvar VAR_TEMP_0, 0
waitstate
end
BattleFrontier_BattleFactoryLobby_EventScript_TalkedToSinglesAttendant:: @ 825875C
BattleFrontier_BattleFactoryLobby_EventScript_TalkedToSinglesAttendant::
setvar VAR_LAST_TALKED, LOCALID_ATTENDANT_SINGLES
return
BattleFrontier_BattleFactoryLobby_EventScript_TalkedToDoublesAttendant:: @ 8258762
BattleFrontier_BattleFactoryLobby_EventScript_TalkedToDoublesAttendant::
setvar VAR_LAST_TALKED, LOCALID_ATTENDANT_DOUBLES
return
BattleFrontier_BattleFactoryLobby_EventScript_ExplainChallenge:: @ 8258768
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_ExplainSinglesChallenge
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleFactoryLobby_EventScript_ExplainDoublesChallenge
BattleFrontier_BattleFactoryLobby_EventScript_ExplainChallenge::
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleFactoryLobby_EventScript_ExplainSinglesChallenge
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleFactoryLobby_EventScript_ExplainDoublesChallenge
goto BattleFrontier_BattleFactoryLobby_EventScript_AskTakeChallenge
BattleFrontier_BattleFactoryLobby_EventScript_CancelChallengeSaveFailed:: @ 8258783
BattleFrontier_BattleFactoryLobby_EventScript_CancelChallengeSaveFailed::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
goto BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge
BattleFrontier_BattleFactoryLobby_EventScript_LoadPartyAndCancelChallenge:: @ 825879A
BattleFrontier_BattleFactoryLobby_EventScript_LoadPartyAndCancelChallenge::
special LoadPlayerParty
BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge:: @ 825879D
BattleFrontier_BattleFactoryLobby_EventScript_CancelChallenge::
msgbox BattleFrontier_BattleFactoryLobby_Text_LookForwardToNextVisit, MSGBOX_DEFAULT
release
end
BattleFrontier_BattleFactoryLobby_Movement_AttendantEnterDoor: @ 82587A7
BattleFrontier_BattleFactoryLobby_Movement_AttendantEnterDoor:
walk_up
walk_up
walk_up
set_invisible
step_end
BattleFrontier_BattleFactoryLobby_Movement_PlayerEnterDoor: @ 82587AC
BattleFrontier_BattleFactoryLobby_Movement_PlayerEnterDoor:
walk_up
walk_up
walk_up
walk_up
step_end
BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForSingleBattle:: @ 82587B1
BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForSingleBattle::
msgbox BattleFrontier_BattleFactoryLobby_Text_WelcomeForSingleBattle, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForDoubleBattle:: @ 82587BA
BattleFrontier_BattleFactoryLobby_EventScript_WelcomeForDoubleBattle::
msgbox BattleFrontier_BattleFactoryLobby_Text_WelcomeForDoubleBattle, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryLobby_EventScript_TakeSinglesChallenge:: @ 82587C3
BattleFrontier_BattleFactoryLobby_EventScript_TakeSinglesChallenge::
message BattleFrontier_BattleFactoryLobby_Text_TakeSinglesChallenge
return
BattleFrontier_BattleFactoryLobby_EventScript_TakeDoublesChallenge:: @ 82587C9
BattleFrontier_BattleFactoryLobby_EventScript_TakeDoublesChallenge::
message BattleFrontier_BattleFactoryLobby_Text_TakeDoublesChallenge
return
BattleFrontier_BattleFactoryLobby_EventScript_ExplainSinglesChallenge:: @ 82587CF
BattleFrontier_BattleFactoryLobby_EventScript_ExplainSinglesChallenge::
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSinglesChallenge, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryLobby_EventScript_ExplainDoublesChallenge:: @ 82587D8
BattleFrontier_BattleFactoryLobby_EventScript_ExplainDoublesChallenge::
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainDoublesChallenge, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryLobby_EventScript_ShowSinglesResults:: @ 82587E1
BattleFrontier_BattleFactoryLobby_EventScript_ShowSinglesResults::
lockall
frontier_results FRONTIER_FACILITY_FACTORY, FRONTIER_MODE_SINGLES
waitbuttonpress
@@ -258,7 +247,7 @@ BattleFrontier_BattleFactoryLobby_EventScript_ShowSinglesResults:: @ 82587E1
releaseall
end
BattleFrontier_BattleFactoryLobby_EventScript_ShowDoublesResults:: @ 82587FA
BattleFrontier_BattleFactoryLobby_EventScript_ShowDoublesResults::
lockall
frontier_results FRONTIER_FACILITY_FACTORY, FRONTIER_MODE_DOUBLES
waitbuttonpress
@@ -266,31 +255,31 @@ BattleFrontier_BattleFactoryLobby_EventScript_ShowDoublesResults:: @ 82587FA
releaseall
end
BattleFrontier_BattleFactoryLobby_EventScript_Woman:: @ 8258813
BattleFrontier_BattleFactoryLobby_EventScript_Woman::
msgbox BattleFrontier_BattleFactoryLobby_Text_NeedKnowledgeOfMonsMoves, MSGBOX_NPC
end
BattleFrontier_BattleFactoryLobby_EventScript_Camper:: @ 825881C
BattleFrontier_BattleFactoryLobby_EventScript_Camper::
msgbox BattleFrontier_BattleFactoryLobby_Text_SwappedForWeakMon, MSGBOX_NPC
end
BattleFrontier_BattleFactoryLobby_EventScript_Picnicker:: @ 8258825
BattleFrontier_BattleFactoryLobby_EventScript_Picnicker::
lock
msgbox BattleFrontier_BattleFactoryLobby_Text_NeedToCheckOpponentsMons, MSGBOX_DEFAULT
release
end
BattleFrontier_BattleFactoryLobby_EventScript_FatMan:: @ 8258830
BattleFrontier_BattleFactoryLobby_EventScript_FatMan::
msgbox BattleFrontier_BattleFactoryLobby_Text_CantFigureOutStaffHints, MSGBOX_NPC
end
BattleFrontier_BattleFactoryLobby_EventScript_RulesBoard:: @ 8258839
BattleFrontier_BattleFactoryLobby_EventScript_RulesBoard::
lockall
msgbox BattleFrontier_BattleFactoryLobby_Text_RulesAreListed, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard:: @ 8258848
BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard::
message BattleFrontier_BattleFactoryLobby_Text_ReadWhichHeading
waitmessage
multichoice 17, 0, MULTI_BATTLE_FACTORY_RULES, FALSE
@@ -304,47 +293,47 @@ BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard:: @ 8258848
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryLobby_EventScript_ExitRules
end
BattleFrontier_BattleFactoryLobby_EventScript_RulesBasics:: @ 82588A6
BattleFrontier_BattleFactoryLobby_EventScript_RulesBasics::
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainBasicRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapPartner:: @ 82588B4
BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapPartner::
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSwapPartnerRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapNumber:: @ 82588C2
BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapNumber::
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNumberRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapNotes:: @ 82588D0
BattleFrontier_BattleFactoryLobby_EventScript_RulesSwapNotes::
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNotesRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleFactoryLobby_EventScript_RulesOpenLv:: @ 82588DE
BattleFrontier_BattleFactoryLobby_EventScript_RulesOpenLv::
msgbox BattleFrontier_BattleFactoryLobby_Text_ExplainOpenLvRules, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattleFactoryLobby_EventScript_ExitRules:: @ 82588EC
BattleFrontier_BattleFactoryLobby_EventScript_ExitRules::
releaseall
end
BattleFrontier_BattleFactoryLobby_Text_WelcomeForSingleBattle: @ 82588EE
BattleFrontier_BattleFactoryLobby_Text_WelcomeForSingleBattle:
.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_TakeSinglesChallenge: @ 825897A
BattleFrontier_BattleFactoryLobby_Text_TakeSinglesChallenge:
.string "Would you like to take the Battle\n"
.string "Swap Single challenge?$"
BattleFrontier_BattleFactoryLobby_Text_ExplainSinglesChallenge: @ 82589B3
BattleFrontier_BattleFactoryLobby_Text_ExplainSinglesChallenge:
.string "The Battle Swap Single Tournament\n"
.string "is a SINGLE BATTLE competition using\l"
.string "only rental POKéMON.\p"
@@ -362,26 +351,26 @@ BattleFrontier_BattleFactoryLobby_Text_ExplainSinglesChallenge: @ 82589B3
.string "If you don't save, you will be\n"
.string "disqualified from your challenge.$"
BattleFrontier_BattleFactoryLobby_Text_LookForwardToNextVisit: @ 8258BC5
BattleFrontier_BattleFactoryLobby_Text_LookForwardToNextVisit:
.string "We look forward to your next visit.$"
BattleFrontier_BattleFactoryLobby_Text_WhichLevelMode: @ 8258BE9
BattleFrontier_BattleFactoryLobby_Text_WhichLevelMode:
.string "Which level do you wish to challenge?\n"
.string "Level 50 or Open Level?$"
BattleFrontier_BattleFactoryLobby_Text_OkayToSaveBeforeChallenge: @ 8258C27
BattleFrontier_BattleFactoryLobby_Text_OkayToSaveBeforeChallenge:
.string "Before you begin your challenge,\n"
.string "I need to save the game. Is that okay?$"
@ Unused
BattleFrontier_BattleFactoryLobby_Text_WillHoldMonsForSafekeeping: @ 8258C6F
BattleFrontier_BattleFactoryLobby_Text_WillHoldMonsForSafekeeping:
.string "Okay, I will hold your POKéMON for\n"
.string "safekeeping while you compete.$"
BattleFrontier_BattleFactoryLobby_Text_StepThisWay: @ 8258CB1
BattleFrontier_BattleFactoryLobby_Text_StepThisWay:
.string "Please step this way.$"
BattleFrontier_BattleFactoryLobby_Text_ReturnMonsSaveResults: @ 8258CC7
BattleFrontier_BattleFactoryLobby_Text_ReturnMonsSaveResults:
.string "Thank you for participating!\p"
.string "I will return your POKéMON in exchange\n"
.string "for our rental POKéMON.\p"
@@ -389,58 +378,58 @@ BattleFrontier_BattleFactoryLobby_Text_ReturnMonsSaveResults: @ 8258CC7
.string "Please wait.$"
@ Unused
BattleFrontier_BattleFactoryLobby_Text_ReturnMons: @ 8258D54
BattleFrontier_BattleFactoryLobby_Text_ReturnMons:
.string "I will return your POKéMON in exchange\n"
.string "for our rental POKéMON.$"
BattleFrontier_BattleFactoryLobby_Text_CongratsSevenWins: @ 8258D93
BattleFrontier_BattleFactoryLobby_Text_CongratsSevenWins:
.string "Congratulations! You've won seven\n"
.string "straight Battle Swap matches!$"
@ Unused
BattleFrontier_BattleFactoryLobby_Text_AwardBattlePointsForStreak: @ 8258DD3
BattleFrontier_BattleFactoryLobby_Text_AwardBattlePointsForStreak:
.string "In recognition of your 7-win streak,\n"
.string "we award you these Battle Point(s).$"
@ Unused
BattleFrontier_BattleFactoryLobby_Text_MaxBattlePoints: @ 8258E1C
BattleFrontier_BattleFactoryLobby_Text_MaxBattlePoints:
.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_WaitingForYouToResume: @ 8258E77
BattleFrontier_BattleFactoryLobby_Text_WaitingForYouToResume:
.string "We've been waiting for you!\p"
.string "Before we resume your challenge,\n"
.string "I must save the game.$"
BattleFrontier_BattleFactoryLobby_Text_DidntSaveBeforeQuitting: @ 8258ECA
BattleFrontier_BattleFactoryLobby_Text_DidntSaveBeforeQuitting:
.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.$"
@ Unused
BattleFrontier_BattleFactoryLobby_Text_WellReturnMons: @ 8258F55
BattleFrontier_BattleFactoryLobby_Text_WellReturnMons:
.string "We'll return your personal POKéMON.$"
@ Unused
BattleFrontier_BattleFactoryLobby_Text_ReceivedPrizeItem: @ 8258F79
BattleFrontier_BattleFactoryLobby_Text_ReceivedPrizeItem:
.string "{PLAYER} received the prize\n"
.string "{STR_VAR_1}.$"
BattleFrontier_BattleFactoryLobby_Text_WelcomeForDoubleBattle: @ 8258F93
BattleFrontier_BattleFactoryLobby_Text_WelcomeForDoubleBattle:
.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_TakeDoublesChallenge: @ 825901F
BattleFrontier_BattleFactoryLobby_Text_TakeDoublesChallenge:
.string "Would you like to take the Battle\n"
.string "Swap Double challenge?$"
BattleFrontier_BattleFactoryLobby_Text_ExplainDoublesChallenge: @ 8259058
BattleFrontier_BattleFactoryLobby_Text_ExplainDoublesChallenge:
.string "The Battle Swap Double Tournament\n"
.string "is a DOUBLE BATTLE competition using\l"
.string "only rental POKéMON.\p"
@@ -458,28 +447,28 @@ BattleFrontier_BattleFactoryLobby_Text_ExplainDoublesChallenge: @ 8259058
.string "If you don't save before interrupting,\n"
.string "you will be disqualified.$"
BattleFrontier_BattleFactoryLobby_Text_CongratsForDefeatingHead: @ 825926A
BattleFrontier_BattleFactoryLobby_Text_CongratsForDefeatingHead:
.string "Congratulations for defeating\n"
.string "the FACTORY HEAD and winning\l"
.string "seven matches in a row!$"
BattleFrontier_BattleFactoryLobby_Text_AwardBattlePoints: @ 82592BD
BattleFrontier_BattleFactoryLobby_Text_AwardBattlePoints:
.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_ExchangeMonsAndSave: @ 8259323
BattleFrontier_BattleFactoryLobby_Text_ExchangeMonsAndSave:
.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_RecordLastMatch: @ 8259388
BattleFrontier_BattleFactoryLobby_Text_RecordLastMatch:
.string "Would you like to record your last\n"
.string "BATTLE FACTORY match on your\l"
.string "FRONTIER PASS?$"
BattleFrontier_BattleFactoryLobby_Text_NeedKnowledgeOfMonsMoves: @ 82593D7
BattleFrontier_BattleFactoryLobby_Text_NeedKnowledgeOfMonsMoves:
.string "Hi!\n"
.string "You, there!\p"
.string "Are you thinking that the events here\n"
@@ -491,26 +480,26 @@ BattleFrontier_BattleFactoryLobby_Text_NeedKnowledgeOfMonsMoves: @ 82593D7
.string "about POKéMON and their moves,\l"
.string "it will be tough to keep winning.$"
BattleFrontier_BattleFactoryLobby_Text_SwappedForWeakMon: @ 82594E5
BattleFrontier_BattleFactoryLobby_Text_SwappedForWeakMon:
.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_NeedToCheckOpponentsMons: @ 8259547
BattleFrontier_BattleFactoryLobby_Text_NeedToCheckOpponentsMons:
.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_CantFigureOutStaffHints: @ 82595C4
BattleFrontier_BattleFactoryLobby_Text_CantFigureOutStaffHints:
.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.$"
@ Unused
BattleFrontier_BattleFactoryLobby_Text_RentalMonsAreVaried: @ 8259658
BattleFrontier_BattleFactoryLobby_Text_RentalMonsAreVaried:
.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"
@@ -518,33 +507,33 @@ BattleFrontier_BattleFactoryLobby_Text_RentalMonsAreVaried: @ 8259658
.string "Battle Swap events, I noticed they\l"
.string "varied the rental POKéMON.$"
BattleFrontier_BattleFactoryLobby_Text_RulesAreListed: @ 8259721
BattleFrontier_BattleFactoryLobby_Text_RulesAreListed:
.string "The Battle Swap rules are listed.$"
BattleFrontier_BattleFactoryLobby_Text_ReadWhichHeading: @ 8259743
BattleFrontier_BattleFactoryLobby_Text_ReadWhichHeading:
.string "Which heading do you want to read?$"
BattleFrontier_BattleFactoryLobby_Text_ExplainBasicRules: @ 8259766
BattleFrontier_BattleFactoryLobby_Text_ExplainBasicRules:
.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_ExplainSwapPartnerRules: @ 82597FB
BattleFrontier_BattleFactoryLobby_Text_ExplainSwapPartnerRules:
.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_ExplainSwapNumberRules: @ 825987E
BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNumberRules:
.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_ExplainSwapNotesRules: @ 8259920
BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNotesRules:
.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"
@@ -556,7 +545,7 @@ BattleFrontier_BattleFactoryLobby_Text_ExplainSwapNotesRules: @ 8259920
.string "This sequence remains unchanged\n"
.string "even when swaps are made.$"
BattleFrontier_BattleFactoryLobby_Text_ExplainOpenLvRules: @ 8259A5E
BattleFrontier_BattleFactoryLobby_Text_ExplainOpenLvRules:
.string "In the Open Level, the rental POKéMON\n"
.string "and the opposing TRAINERS' POKéMON\l"
.string "are all Level 100.$"

View File

@@ -1,37 +1,34 @@
.set LOCALID_ATTENDANT, 1
BattleFrontier_BattleFactoryPreBattleRoom_MapScripts:: @ 8259ABA
BattleFrontier_BattleFactoryPreBattleRoom_MapScripts::
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_OnWarp: @ 8259AC5
BattleFrontier_BattleFactoryPreBattleRoom_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SetUpObjects
.2byte 0
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SetUpObjects:: @ 8259ACF
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SetUpObjects::
setvar VAR_TEMP_1, 1
compare VAR_0x8006, 1
goto_if_ne BattleFrontier_BattleFactoryPreBattleRoom_EventScript_TurnPlayerNorth
goto_if_ne VAR_0x8006, 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_TurnPlayerNorth
setobjectxy LOCALID_ATTENDANT, 8, 7
turnobject LOCALID_ATTENDANT, DIR_SOUTH
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_TurnPlayerNorth:: @ 8259AEA
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_TurnPlayerNorth::
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end
BattleFrontier_BattleFactoryPreBattleRoom_OnFrame: @ 8259AEF
BattleFrontier_BattleFactoryPreBattleRoom_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterRoom
.2byte 0
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterRoom:: @ 8259AF9
compare VAR_0x8006, 1
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReturnToRoomFromBattle
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterRoom::
goto_if_eq VAR_0x8006, 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReturnToRoomFromBattle
setvar VAR_TEMP_0, 1
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantEnterRoom
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerEnterRoom
waitmovement 0
compare VAR_0x8006, 2
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ResumeChallenge
goto_if_eq VAR_0x8006, 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ResumeChallenge
factory_generaterentalmons
factory_generateopponentmons
factory_getopponentmontype
@@ -45,20 +42,18 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterRoom:: @ 8259AF9
factory_setswapped
factory_rentmons
waitstate
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom:: @ 8259B74
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_RightThisWay, MSGBOX_DEFAULT
closemessage
call BattleFrontier_EventScript_GetLvlMode
compare VAR_RESULT, FRONTIER_LVL_50
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLv50
compare VAR_RESULT, FRONTIER_LVL_OPEN
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLvOpen
call_if_eq VAR_RESULT, FRONTIER_LVL_50, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLv50
call_if_eq VAR_RESULT, FRONTIER_LVL_OPEN, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLvOpen
waitmovement 0
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM, 255, 6, 11
warp MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM, 6, 11
waitstate
end
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReturnToRoomFromBattle:: @ 8259BA5
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReturnToRoomFromBattle::
factory_setopponentmons
factory_resethelditems
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_LetUsRestoreMons, MSGBOX_DEFAULT
@@ -66,8 +61,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReturnToRoomFromBattle:: @
waitfanfare
special HealPlayerParty
frontier_getbrainstatus
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForRegularOpponent
goto_if_eq VAR_RESULT, FRONTIER_BRAIN_NOT_READY, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForRegularOpponent
playse SE_POKENAV_CALL
waitse
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_WaitFewMoments, MSGBOX_DEFAULT
@@ -84,27 +78,19 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReturnToRoomFromBattle:: @
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead
end
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent:: @ 8259C13
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent::
frontier_getbrainstatus
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
goto_if_ne BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForRegularOpponent:: @ 8259C26
goto_if_ne VAR_RESULT, FRONTIER_BRAIN_NOT_READY, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForRegularOpponent::
frontier_get FRONTIER_DATA_BATTLE_NUM
compare VAR_RESULT, 1
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor2ndOpponent
compare VAR_RESULT, 2
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor3rdOpponent
compare VAR_RESULT, 3
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor4thOpponent
compare VAR_RESULT, 4
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor5thOpponent
compare VAR_RESULT, 5
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor6thOpponent
compare VAR_RESULT, 6
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor7thOpponent
call_if_eq VAR_RESULT, 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor2ndOpponent
call_if_eq VAR_RESULT, 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor3rdOpponent
call_if_eq VAR_RESULT, 3, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor4thOpponent
call_if_eq VAR_RESULT, 4, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor5thOpponent
call_if_eq VAR_RESULT, 5, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor6thOpponent
call_if_eq VAR_RESULT, 6, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor7thOpponent
call BattleFrontier_EventScript_GetCantRecordBattle
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponentNoRecord
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponentNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapMon
@@ -113,7 +99,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForRegularOpponent
case 3, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponentNoRecord:: @ 8259CC6
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponentNoRecord::
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapMon
@@ -121,7 +107,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponentNoRecor
case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRecordBattle:: @ 8259CFC
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRecordBattle::
message BattleFrontier_BattleFactoryPreBattleRoom_Text_RecordLatestBattle
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -130,18 +116,18 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRecordBattle:: @ 8259CF
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_RecordBattle
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_RecordBattle:: @ 8259D2E
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_RecordBattle::
call BattleFrontier_EventScript_SaveBattle
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskPauseChallenge:: @ 8259D38
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskPauseChallenge::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_SaveAndQuitGame, MSGBOX_YESNO
switch VAR_RESULT
case NO, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
case YES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_PauseChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge:: @ 8259D66
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge::
message BattleFrontier_BattleFactoryPreBattleRoom_Text_RetireFromChallenge
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -150,7 +136,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge:: @ 825
case 0, BattleFrontier_BattleFactoryBattleRoom_EventScript_WarpToLobbyLost
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapMon:: @ 8259D98
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapMon::
factory_generateopponentmons
factory_getopponentmontype
setorcopyvar VAR_0x8005, VAR_RESULT
@@ -164,47 +150,46 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapMon:: @ 8259D98
case YES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SwapMons
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SwapMons:: @ 8259DF2
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SwapMons::
fadescreen FADE_TO_BLACK
factory_swapmons
waitstate
compare VAR_RESULT, TRUE @ Did player keep current pokemon
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom @ Did player keep current pokemon
factory_setswapped
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_YourSwapIsComplete, MSGBOX_DEFAULT
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor2ndOpponent:: @ 8259E1D
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor2ndOpponent::
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor2ndOpponent
waitmessage
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor3rdOpponent:: @ 8259E24
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor3rdOpponent::
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor3rdOpponent
waitmessage
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor4thOpponent:: @ 8259E2B
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor4thOpponent::
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor4thOpponent
waitmessage
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor5thOpponent:: @ 8259E32
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor5thOpponent::
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor5thOpponent
waitmessage
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor6thOpponent:: @ 8259E39
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor6thOpponent::
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor6thOpponent
waitmessage
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor7thOpponent:: @ 8259E40
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ReadyFor7thOpponent::
message BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor7thOpponent
waitmessage
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_PauseChallenge:: @ 8259E47
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_PauseChallenge::
message BattleFrontier_BattleFactoryPreBattleRoom_Text_SavingDataPleaseWait
waitmessage
factory_save CHALLENGE_STATUS_PAUSED
@@ -214,188 +199,160 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_PauseChallenge:: @ 8259E47
frontier_reset
end
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ResumeChallenge:: @ 8259E69
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_ResumeChallenge::
special SavePlayerParty
factory_setparties 0
frontier_set FRONTIER_DATA_RECORD_DISABLED, TRUE
special CalculatePlayerPartyCount
goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentType:: @ 8259E93
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentType::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_InvestigatedUpcomingOpponent, MSGBOX_DEFAULT
compare VAR_0x8005, TYPE_NORMAL
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesNormal
compare VAR_0x8005, TYPE_FIGHTING
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFighting
compare VAR_0x8005, TYPE_FLYING
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFlying
compare VAR_0x8005, TYPE_POISON
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPoison
compare VAR_0x8005, TYPE_GROUND
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGround
compare VAR_0x8005, TYPE_ROCK
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesRock
compare VAR_0x8005, TYPE_BUG
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesBug
compare VAR_0x8005, TYPE_GHOST
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGhost
compare VAR_0x8005, TYPE_STEEL
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesSteel
compare VAR_0x8005, TYPE_FIRE
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFire
compare VAR_0x8005, TYPE_WATER
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesWater
compare VAR_0x8005, TYPE_GRASS
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGrass
compare VAR_0x8005, TYPE_ELECTRIC
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesElectric
compare VAR_0x8005, TYPE_PSYCHIC
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPsychic
compare VAR_0x8005, TYPE_ICE
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesIce
compare VAR_0x8005, TYPE_DRAGON
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDragon
compare VAR_0x8005, TYPE_DARK
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDark
compare VAR_0x8005, NUMBER_OF_MON_TYPES
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentHasNoMostCommonType
call_if_eq VAR_0x8005, TYPE_NORMAL, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesNormal
call_if_eq VAR_0x8005, TYPE_FIGHTING, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFighting
call_if_eq VAR_0x8005, TYPE_FLYING, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFlying
call_if_eq VAR_0x8005, TYPE_POISON, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPoison
call_if_eq VAR_0x8005, TYPE_GROUND, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGround
call_if_eq VAR_0x8005, TYPE_ROCK, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesRock
call_if_eq VAR_0x8005, TYPE_BUG, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesBug
call_if_eq VAR_0x8005, TYPE_GHOST, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGhost
call_if_eq VAR_0x8005, TYPE_STEEL, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesSteel
call_if_eq VAR_0x8005, TYPE_FIRE, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFire
call_if_eq VAR_0x8005, TYPE_WATER, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesWater
call_if_eq VAR_0x8005, TYPE_GRASS, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGrass
call_if_eq VAR_0x8005, TYPE_ELECTRIC, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesElectric
call_if_eq VAR_0x8005, TYPE_PSYCHIC, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPsychic
call_if_eq VAR_0x8005, TYPE_ICE, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesIce
call_if_eq VAR_0x8005, TYPE_DRAGON, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDragon
call_if_eq VAR_0x8005, TYPE_DARK, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDark
call_if_eq VAR_0x8005, NUMBER_OF_MON_TYPES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentHasNoMostCommonType
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesNormal:: @ 8259F62
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesNormal::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInNormalType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFighting:: @ 8259F6B
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFighting::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFightingType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFlying:: @ 8259F74
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFlying::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFlyingType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPoison:: @ 8259F7D
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPoison::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInPoisonType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGround:: @ 8259F86
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGround::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGroundType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesRock:: @ 8259F8F
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesRock::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInRockType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesBug:: @ 8259F98
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesBug::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInBugType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGhost:: @ 8259FA1
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGhost::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGhostType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesSteel:: @ 8259FAA
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesSteel::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInSteelType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFire:: @ 8259FB3
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesFire::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFireType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesWater:: @ 8259FBC
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesWater::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInWaterType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGrass:: @ 8259FC5
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesGrass::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGrassType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesElectric:: @ 8259FCE
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesElectric::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInElectricType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPsychic:: @ 8259FD7
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesPsychic::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInPsychicType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesIce:: @ 8259FE0
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesIce::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInIceType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDragon:: @ 8259FE9
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDragon::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDragonType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDark:: @ 8259FF2
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentUsesDark::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDarkType, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentHasNoMostCommonType:: @ 8259FFB
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_OpponentHasNoMostCommonType::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerHasNoClearFavorite, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentStyle:: @ 825A004
compare VAR_0x8006, FACTORY_STYLE_NONE
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleUnrestrained
compare VAR_0x8006, FACTORY_STYLE_PREPARATION
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleTotalPreparation
compare VAR_0x8006, FACTORY_STYLE_SLOW_STEADY
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleSlowAndSteady
compare VAR_0x8006, FACTORY_STYLE_ENDURANCE
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleEndurance
compare VAR_0x8006, FACTORY_STYLE_HIGH_RISK
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleHighRisk
compare VAR_0x8006, FACTORY_STYLE_WEAKENING
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleWeakenFoe
compare VAR_0x8006, FACTORY_STYLE_UNPREDICTABLE
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleImpossibleToPredict
compare VAR_0x8006, FACTORY_STYLE_WEATHER
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleDependsOnFlow
compare VAR_0x8006, FACTORY_NUM_STYLES
call_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleFlexible
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_CommentOnOpponentStyle::
call_if_eq VAR_0x8006, FACTORY_STYLE_NONE, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleUnrestrained
call_if_eq VAR_0x8006, FACTORY_STYLE_PREPARATION, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleTotalPreparation
call_if_eq VAR_0x8006, FACTORY_STYLE_SLOW_STEADY, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleSlowAndSteady
call_if_eq VAR_0x8006, FACTORY_STYLE_ENDURANCE, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleEndurance
call_if_eq VAR_0x8006, FACTORY_STYLE_HIGH_RISK, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleHighRisk
call_if_eq VAR_0x8006, FACTORY_STYLE_WEAKENING, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleWeakenFoe
call_if_eq VAR_0x8006, FACTORY_STYLE_UNPREDICTABLE, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleImpossibleToPredict
call_if_eq VAR_0x8006, FACTORY_STYLE_WEATHER, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleDependsOnFlow
call_if_eq VAR_0x8006, FACTORY_NUM_STYLES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleFlexible
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleUnrestrained:: @ 825A068
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleUnrestrained::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleUnrestrained, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleTotalPreparation:: @ 825A071
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleTotalPreparation::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleTotalPreparation, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleSlowAndSteady:: @ 825A07A
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleSlowAndSteady::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleSlowAndSteady, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleEndurance:: @ 825A083
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleEndurance::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleEndurance, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleHighRisk:: @ 825A08C
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleHighRisk::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleHighRisk, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleWeakenFoe:: @ 825A095
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleWeakenFoe::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleWeakenFoe, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleImpossibleToPredict:: @ 825A09E
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleImpossibleToPredict::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleImpossibleToPredict, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleDependsOnFlow:: @ 825A0A7
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleDependsOnFlow::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleDependsOnFlow, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleFlexible:: @ 825A0B0
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_StyleFlexible::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleFlexible, MSGBOX_DEFAULT
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead:: @ 825A0B9
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead::
message BattleFrontier_BattleFactoryPreBattleRoom_Text_PreparedToFaceHead
waitmessage
call BattleFrontier_EventScript_GetCantRecordBattle
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHeadNoRecord
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHeadNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapBeforeHead
@@ -404,7 +361,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead:: @ 825A0B
case 3, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHeadNoRecord:: @ 825A110
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHeadNoRecord::
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapBeforeHead
@@ -412,7 +369,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHeadNoRecord::
case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskReadyForHead
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapBeforeHead:: @ 825A146
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapBeforeHead::
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_CantTellAnythingAboutHead, MSGBOX_DEFAULT
msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_LikeToSwapMon, MSGBOX_YESNO
switch VAR_RESULT
@@ -420,17 +377,17 @@ BattleFrontier_BattleFactoryPreBattleRoom_EventScript_AskSwapBeforeHead:: @ 825A
case YES, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_SwapMons
case MULTI_B_PRESSED, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_EnterBattleRoom
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLv50:: @ 825A17C
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLv50::
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLv50
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLv50
return
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLvOpen:: @ 825A18B
BattleFrontier_BattleFactoryPreBattleRoom_EventScript_WalkToBattleRoomLvOpen::
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLvOpen
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLvOpen
return
BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerEnterRoom: @ 825A19A
BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerEnterRoom:
walk_up
walk_up
walk_up
@@ -438,7 +395,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerEnterRoom: @ 825A19A
walk_up
step_end
BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLv50: @ 825A1A0
BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLv50:
walk_up
walk_left
walk_left
@@ -446,7 +403,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLv50: @
walk_up
step_end
BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLvOpen: @ 825A1A6
BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLvOpen:
walk_up
walk_right
walk_right
@@ -454,7 +411,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_Movement_PlayerWalkToBattleRoomLvOpen:
walk_up
step_end
BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantEnterRoom: @ 825A1AC
BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantEnterRoom:
walk_up
walk_up
walk_up
@@ -463,7 +420,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantEnterRoom: @ 825A1AC
face_down
step_end
BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLv50: @ 825A1B3
BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLv50:
walk_left
walk_left
walk_up
@@ -471,7 +428,7 @@ BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLv50: @
set_invisible
step_end
BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLvOpen: @ 825A1B9
BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLvOpen:
walk_right
walk_right
walk_up
@@ -479,201 +436,201 @@ BattleFrontier_BattleFactoryPreBattleRoom_Movement_GuideWalkToBattleRoomLvOpen:
set_invisible
step_end
BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantMoveToReceiveCall: @ 825A1BF
BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantMoveToReceiveCall:
walk_left
walk_left
walk_left
step_end
BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantReturnToPlayer: @ 825A1C3
BattleFrontier_BattleFactoryPreBattleRoom_Movement_AttendantReturnToPlayer:
walk_right
walk_right
walk_right
face_down
step_end
BattleFrontier_BattleFactoryPreBattleRoom_Text_HoldMonsChooseFromSelection: @ 825A1C8
BattleFrontier_BattleFactoryPreBattleRoom_Text_HoldMonsChooseFromSelection:
.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_LetUsRestoreMons: @ 825A22D
BattleFrontier_BattleFactoryPreBattleRoom_Text_LetUsRestoreMons:
.string "Thank you for competing!\n"
.string "Let us restore your POKéMON!$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor2ndOpponent: @ 825A263
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor2ndOpponent:
.string "The 2nd match is next!\n"
.string "Are you ready?$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor3rdOpponent: @ 825A289
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor3rdOpponent:
.string "The 3rd match is next!\n"
.string "Are you ready?$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor4thOpponent: @ 825A2AF
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor4thOpponent:
.string "The 4th match is next!\n"
.string "Are you ready?$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor5thOpponent: @ 825A2D5
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor5thOpponent:
.string "The 5th match is next!\n"
.string "Are you ready?$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor6thOpponent: @ 825A2FB
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor6thOpponent:
.string "The 6th match is next!\n"
.string "Are you ready?$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor7thOpponent: @ 825A321
BattleFrontier_BattleFactoryPreBattleRoom_Text_ReadyFor7thOpponent:
.string "Finally, the 7th match is next!\n"
.string "Are you ready?$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_SaveAndQuitGame: @ 825A350
BattleFrontier_BattleFactoryPreBattleRoom_Text_SaveAndQuitGame:
.string "Would you like to save and quit\n"
.string "the game?$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_RetireFromChallenge: @ 825A37A
BattleFrontier_BattleFactoryPreBattleRoom_Text_RetireFromChallenge:
.string "Would you like to retire from your\n"
.string "Battle Swap challenge?$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_InvestigatedUpcomingOpponent: @ 825A3B4
BattleFrontier_BattleFactoryPreBattleRoom_Text_InvestigatedUpcomingOpponent:
.string "I've conducted a little investigation\n"
.string "about your upcoming opponent.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInNormalType: @ 825A3F8
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInNormalType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the NORMAL type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFireType: @ 825A43E
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFireType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the FIRE type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInWaterType: @ 825A482
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInWaterType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the WATER type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInElectricType: @ 825A4C7
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInElectricType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the ELECTRIC type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGrassType: @ 825A50F
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGrassType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the GRASS type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInIceType: @ 825A554
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInIceType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the ICE type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFightingType: @ 825A597
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFightingType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the FIGHTING type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInPoisonType: @ 825A5DF
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInPoisonType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the POISON type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGroundType: @ 825A625
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGroundType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the GROUND type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFlyingType: @ 825A66B
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInFlyingType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the FLYING type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInPsychicType: @ 825A6B1
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInPsychicType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the PSYCHIC type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInBugType: @ 825A6F8
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInBugType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the BUG type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInRockType: @ 825A73B
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInRockType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the ROCK type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGhostType: @ 825A77F
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInGhostType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the GHOST type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDragonType: @ 825A7C4
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDragonType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the DRAGON type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDarkType: @ 825A80A
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInDarkType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the DARK type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInSteelType: @ 825A84E
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerSkilledInSteelType:
.string "The TRAINER is apparently skilled\n"
.string "in the handling of the STEEL type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerHasNoClearFavorite: @ 825A893
BattleFrontier_BattleFactoryPreBattleRoom_Text_TrainerHasNoClearFavorite:
.string "The TRAINER appears to have no clear\n"
.string "favorites when it comes to type.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleSlowAndSteady: @ 825A8D9
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleSlowAndSteady:
.string "The favorite battle style appears to\n"
.string "be slow and steady.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleEndurance: @ 825A912
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleEndurance:
.string "The favorite battle style appears to\n"
.string "be one of endurance.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleHighRisk: @ 825A94C
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleHighRisk:
.string "The favorite battle style appears to\n"
.string "be high risk, high return.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleDependsOnFlow: @ 825A98C
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleDependsOnFlow:
.string "The favorite battle style appears to\n"
.string "depend on the battle's flow.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleTotalPreparation: @ 825A9CE
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleTotalPreparation:
.string "The favorite battle style appears to\n"
.string "be one based on total preparation.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleWeakenFoe: @ 825AA16
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleWeakenFoe:
.string "The favorite battle style appears\n"
.string "to be weakening the foe to start.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleFlexible: @ 825AA5A
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleFlexible:
.string "The favorite battle style appears to\n"
.string "be flexibly adaptable to the situation.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleImpossibleToPredict: @ 825AAA7
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleImpossibleToPredict:
.string "The favorite battle style appears to\n"
.string "be impossible to predict.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleUnrestrained: @ 825AAE6
BattleFrontier_BattleFactoryPreBattleRoom_Text_StyleUnrestrained:
.string "The favorite battle style appears to\n"
.string "be free-spirited and unrestrained.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_LikeToSwapMon: @ 825AB2E
BattleFrontier_BattleFactoryPreBattleRoom_Text_LikeToSwapMon:
.string "Before starting the battle, would you\n"
.string "like to swap a POKéMON?$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_YourSwapIsComplete: @ 825AB6C
BattleFrontier_BattleFactoryPreBattleRoom_Text_YourSwapIsComplete:
.string "Thank you!\n"
.string "Your POKéMON swap is complete.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_RightThisWay: @ 825AB96
BattleFrontier_BattleFactoryPreBattleRoom_Text_RightThisWay:
.string "Right this way, please!$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_SavingDataPleaseWait: @ 825ABAE
BattleFrontier_BattleFactoryPreBattleRoom_Text_SavingDataPleaseWait:
.string "I am saving your data.\n"
.string "Please wait.$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_RecordLatestBattle: @ 825ABD2
BattleFrontier_BattleFactoryPreBattleRoom_Text_RecordLatestBattle:
.string "Would you like to record your latest\n"
.string "battle on your FRONTIER PASS?$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_WaitFewMoments: @ 825AC15
BattleFrontier_BattleFactoryPreBattleRoom_Text_WaitFewMoments:
.string "Excuse me! Excuse me, please!\n"
.string "May I get you to wait a few moments?$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_UnderstoodSirWillDo: @ 825AC58
BattleFrontier_BattleFactoryPreBattleRoom_Text_UnderstoodSirWillDo:
.string "…Uh-huh? What?! …Whoa!\n"
.string "Understood, sir! Will do!$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_MessageFromHeadComeRightNow: @ 825AC89
BattleFrontier_BattleFactoryPreBattleRoom_Text_MessageFromHeadComeRightNow:
.string "Oh, my…\n"
.string "Sorry to keep you waiting!\p"
.string "I have a message from this facility's\n"
@@ -681,10 +638,10 @@ BattleFrontier_BattleFactoryPreBattleRoom_Text_MessageFromHeadComeRightNow: @ 82
.string "He says, “We're going to do it!\n"
.string "Come here right now!”$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_PreparedToFaceHead: @ 825AD20
BattleFrontier_BattleFactoryPreBattleRoom_Text_PreparedToFaceHead:
.string "The FACTORY HEAD is demanding you.\n"
.string "Are you prepared to face him?$"
BattleFrontier_BattleFactoryPreBattleRoom_Text_CantTellAnythingAboutHead: @ 825AD61
BattleFrontier_BattleFactoryPreBattleRoom_Text_CantTellAnythingAboutHead:
.string "I'm terribly sorry, but I can't tell you\n"
.string "anything about the FACTORY HEAD.$"

View File

@@ -4,7 +4,7 @@
.set LOCALID_DUSCLOPS, 4
.set LOCALID_AZURILL, 5
BattleFrontier_BattlePalaceBattleRoom_MapScripts:: @ 824F815
BattleFrontier_BattlePalaceBattleRoom_MapScripts::
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
@@ -14,39 +14,36 @@ BattleFrontier_BattlePalaceBattleRoom_MapScripts:: @ 824F815
@ The player is represented instead by LOCALID_PLAYER, which has the gfx id VAR_OBJ_GFX_ID_0
@ The opponent is represented by LOCALID_OPPONENT, which has the gfx id VAR_OBJ_GFX_ID_1
BattleFrontier_BattlePalaceBattleRoom_OnTransition: @ 824F825
BattleFrontier_BattlePalaceBattleRoom_OnTransition:
frontier_settrainers
call BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfx
end
BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfx:: @ 824F833
BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfx::
checkplayergender
compare VAR_RESULT, MALE
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxMale
compare VAR_RESULT, FEMALE
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxFemale
goto_if_eq VAR_RESULT, MALE, BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxMale
goto_if_eq VAR_RESULT, FEMALE, BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxFemale
return
@ The opponent's gfx are set to the players by default
BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxMale:: @ 824F84B
BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxMale::
setvar VAR_OBJ_GFX_ID_1, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_BRENDAN_NORMAL
return
BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxFemale:: @ 824F856
BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfxFemale::
setvar VAR_OBJ_GFX_ID_1, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_RIVAL_MAY_NORMAL
return
BattleFrontier_BattlePalaceBattleRoom_OnFrame: @ 824F861
BattleFrontier_BattlePalaceBattleRoom_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_EnterRoom
.2byte 0
BattleFrontier_BattlePalaceBattleRoom_EventScript_EnterRoom:: @ 824F86B
BattleFrontier_BattlePalaceBattleRoom_EventScript_EnterRoom::
showobjectat LOCALID_PLAYER, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM
frontier_get FRONTIER_DATA_BATTLE_NUM
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_BeginChallenge
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_BeginChallenge
applymovement LOCALID_PLAYER, BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerReturnToChallenge
waitmovement 0
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown
@@ -54,10 +51,10 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_EnterRoom:: @ 824F86B
frontier_set FRONTIER_DATA_RECORD_DISABLED, TRUE
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_BeginChallenge:: @ 824F8B5
BattleFrontier_BattlePalaceBattleRoom_EventScript_BeginChallenge::
applymovement LOCALID_PLAYER, BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerEnterRoom
waitmovement 0
BattleFrontier_BattlePalaceBattleRoom_EventScript_NextOpponentEnter:: @ 824F8BF
BattleFrontier_BattlePalaceBattleRoom_EventScript_NextOpponentEnter::
tower_setopponent
addobject LOCALID_OPPONENT
applymovement LOCALID_OPPONENT, BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentEnter
@@ -68,11 +65,11 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_NextOpponentEnter:: @ 824F8BF
call BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle
switch VAR_RESULT
case 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost:: @ 824F8FA
BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobby
BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedOpponent:: @ 824F911
BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedOpponent::
call BattleFrontier_EventScript_IncrementWinStreak
frontier_get FRONTIER_DATA_BATTLE_NUM
addvar VAR_RESULT, 1
@@ -92,27 +89,19 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedOpponent:: @ 824F911
playfanfare MUS_HEAL
waitfanfare
special HealPlayerParty
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent:: @ 824F98A
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent::
frontier_getbrainstatus
copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_MavenUpNext
goto_if_ne VAR_RESULT, FRONTIER_BRAIN_NOT_READY, BattleFrontier_BattlePalaceBattleRoom_EventScript_MavenUpNext
frontier_get FRONTIER_DATA_BATTLE_NUM
compare VAR_RESULT, 1
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor2ndOpponent
compare VAR_RESULT, 2
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor3rdOpponent
compare VAR_RESULT, 3
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor4thOpponent
compare VAR_RESULT, 4
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor5thOpponent
compare VAR_RESULT, 5
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor6thOpponent
compare VAR_RESULT, 6
call_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor7thOpponent
call_if_eq VAR_RESULT, 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor2ndOpponent
call_if_eq VAR_RESULT, 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor3rdOpponent
call_if_eq VAR_RESULT, 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor4thOpponent
call_if_eq VAR_RESULT, 4, BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor5thOpponent
call_if_eq VAR_RESULT, 5, BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor6thOpponent
call_if_eq VAR_RESULT, 6, BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor7thOpponent
call BattleFrontier_EventScript_GetCantRecordBattle
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponentNoRecord
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponentNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_ContinueChallenge
@@ -121,7 +110,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent:: @ 824F98
case 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponentNoRecord:: @ 824FA42
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponentNoRecord::
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_ContinueChallenge
@@ -129,7 +118,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponentNoRecord::
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRecordBattle:: @ 824FA78
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRecordBattle::
message BattleFrontier_BattlePalaceBattleRoom_Text_RecordLastMatch
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -138,18 +127,18 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRecordBattle:: @ 824FA78
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_RecordBattle
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_RecordBattle:: @ 824FAAA
BattleFrontier_BattlePalaceBattleRoom_EventScript_RecordBattle::
call BattleFrontier_EventScript_SaveBattle
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge:: @ 824FAB4
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskPauseChallenge::
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SaveAndQuitGame, MSGBOX_YESNO
switch VAR_RESULT
case NO, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
case YES, BattleFrontier_BattlePalaceBattleRoom_EventScript_PauseChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge:: @ 824FAE2
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge::
message BattleFrontier_BattlePalaceBattleRoom_Text_WishToQuitChallenge
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -158,17 +147,17 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge:: @ 824FAE2
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattlePalaceBattleRoom_EventScript_ContinueChallenge:: @ 824FB14
BattleFrontier_BattlePalaceBattleRoom_EventScript_ContinueChallenge::
applymovement LOCALID_PLAYER, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight
closemessage
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_NextOpponentEnter
BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon:: @ 824FB28
BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobby
BattleFrontier_BattlePalaceBattleRoom_EventScript_PauseChallenge:: @ 824FB3F
BattleFrontier_BattlePalaceBattleRoom_EventScript_PauseChallenge::
message BattleFrontier_BattlePalaceBattleRoom_Text_SavingData
waitmessage
palace_save CHALLENGE_STATUS_PAUSED
@@ -178,17 +167,15 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_PauseChallenge:: @ 824FB3F
frontier_reset
end
BattleFrontier_BattlePalaceBattleRoom_EventScript_MavenUpNext:: @ 824FB61
compare VAR_TEMP_2, 1
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven
BattleFrontier_BattlePalaceBattleRoom_EventScript_MavenUpNext::
goto_if_eq VAR_TEMP_2, 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_ChallengingPalaceMaven, MSGBOX_DEFAULT
setvar VAR_TEMP_2, 1
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven:: @ 824FB79
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven::
message BattleFrontier_BattlePalaceBattleRoom_Text_ReadyForPalaceMaven
waitmessage
call BattleFrontier_EventScript_GetCantRecordBattle
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMavenNoRecord
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMavenNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenser
@@ -197,7 +184,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven:: @ 824FB79
case 3, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMavenNoRecord:: @ 824FBD0
BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMavenNoRecord::
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenser
@@ -205,7 +192,7 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMavenNoRecord:: @ 8
case 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceBattleRoom_EventScript_AskReadyForMaven
BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenser:: @ 824FC06
BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenser::
call BattleFrontier_EventScript_SetBrainObjectGfx
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_AnnounceArrivalOfSpenser, MSGBOX_DEFAULT
closemessage
@@ -225,22 +212,19 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenser:: @ 824FC06
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_BattleSpenserSilver
goto_if_ne VAR_RESULT, FALSE, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserSilver
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserFirstIntro, MSGBOX_DEFAULT
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserSilver:: @ 824FCAA
BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserSilver::
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_ProveYourBondWithMons, MSGBOX_DEFAULT
call BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle
compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserSilver
goto_if_eq VAR_RESULT, 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserSilver
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost
BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserSilver:: @ 824FCC7
BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserSilver::
palace_incrementstreak
frontier_getsymbols
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
goto_if_ne VAR_RESULT, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserPostSilverBattle, MSGBOX_DEFAULT
applymovement LOCALID_PLAYER, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown
@@ -252,30 +236,27 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserSilver:: @ 824F
frontier_givesymbol
applymovement LOCALID_OPPONENT, Common_Movement_WalkInPlaceLeft
waitmovement 0
applymovement LOCALID_PLAYER, Common_Movement_WalkInPlaceFastestRight
applymovement LOCALID_ATTENDANT, Common_Movement_WalkInPlaceFastestRight
applymovement LOCALID_PLAYER, Common_Movement_WalkInPlaceFasterRight
applymovement LOCALID_ATTENDANT, Common_Movement_WalkInPlaceFasterRight
waitmovement 0
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserAwaitNextTime, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
BattleFrontier_BattlePalaceBattleRoom_EventScript_IntroSpenserGold:: @ 824FD3A
BattleFrontier_BattlePalaceBattleRoom_EventScript_IntroSpenserGold::
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
compare VAR_RESULT, FALSE
goto_if_ne BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserGold
goto_if_ne VAR_RESULT, FALSE, BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserGold
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserThisTimeWontHoldBack, MSGBOX_DEFAULT
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserGold:: @ 824FD67
BattleFrontier_BattlePalaceBattleRoom_EventScript_BattleSpenserGold::
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_Kaaah, MSGBOX_DEFAULT
call BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle
compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserGold
goto_if_eq VAR_RESULT, 1, BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserGold
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyLost
BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserGold:: @ 824FD84
BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserGold::
palace_incrementstreak
frontier_getsymbols
compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
goto_if_eq VAR_RESULT, 2, BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserYourTeamIsAdmirable, MSGBOX_DEFAULT
applymovement LOCALID_PLAYER, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown
@@ -287,13 +268,13 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_DefeatedSpenserGold:: @ 824FD8
frontier_givesymbol
applymovement LOCALID_OPPONENT, Common_Movement_WalkInPlaceLeft
waitmovement 0
applymovement LOCALID_PLAYER, Common_Movement_WalkInPlaceFastestRight
applymovement LOCALID_ATTENDANT, Common_Movement_WalkInPlaceFastestRight
applymovement LOCALID_PLAYER, Common_Movement_WalkInPlaceFasterRight
applymovement LOCALID_ATTENDANT, Common_Movement_WalkInPlaceFasterRight
waitmovement 0
msgbox BattleFrontier_BattlePalaceBattleRoom_Text_SpenserComeSeeMeAgain, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyWon
BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle:: @ 824FDF7
BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle::
closemessage
setvar VAR_TEMP_2, 0
frontier_set FRONTIER_DATA_RECORD_DISABLED, FALSE
@@ -307,11 +288,11 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_DoPalaceBattle:: @ 824FDF7
frontier_resetsketch
return
BattleFrontier_BattlePalaceBattleRoom_OnWarp: @ 824FE34
BattleFrontier_BattlePalaceBattleRoom_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePalaceBattleRoom_EventScript_SetUpRoomObjects
.2byte 0
BattleFrontier_BattlePalaceBattleRoom_EventScript_SetUpRoomObjects:: @ 824FE3E
BattleFrontier_BattlePalaceBattleRoom_EventScript_SetUpRoomObjects::
hideobjectat LOCALID_PLAYER, MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM
call BattleFrontier_BattlePalaceBattleRoom_EventScript_SetPlayerGfx
setvar VAR_TEMP_1, 1
@@ -321,55 +302,55 @@ BattleFrontier_BattlePalaceBattleRoom_EventScript_SetUpRoomObjects:: @ 824FE3E
applymovement LOCALID_AZURILL, BattleFrontier_BattlePalaceBattleRoom_Movement_SetInvisible
end
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor2ndOpponent:: @ 824FE66
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor2ndOpponent::
message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor2ndOpponent
waitmessage
return
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor3rdOpponent:: @ 824FE6D
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor3rdOpponent::
message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor3rdOpponent
waitmessage
return
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor4thOpponent:: @ 824FE74
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor4thOpponent::
message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor4thOpponent
waitmessage
return
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor5thOpponent:: @ 824FE7B
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor5thOpponent::
message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor5thOpponent
waitmessage
return
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor6thOpponent:: @ 824FE82
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor6thOpponent::
message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor6thOpponent
waitmessage
return
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor7thOpponent:: @ 824FE89
BattleFrontier_BattlePalaceBattleRoom_EventScript_ReadyFor7thOpponent::
message BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor7thOpponent
waitmessage
return
BattleFrontier_BattlePalaceBattleRoom_Movement_SetInvisible: @ 824FE90
BattleFrontier_BattlePalaceBattleRoom_Movement_SetInvisible:
set_invisible
step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerEnterRoom: @ 824FE92
BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerEnterRoom:
set_visible
walk_up
walk_up
walk_up
walk_up
BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight: @ 824FE97
BattleFrontier_BattlePalaceBattleRoom_Movement_FaceRight:
face_right
step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp: @ 824FE99
BattleFrontier_BattlePalaceBattleRoom_Movement_FaceUp:
face_up
step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerReturnToChallenge: @ 824FE9B
BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerReturnToChallenge:
set_visible
walk_up
walk_up
@@ -377,7 +358,7 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_PlayerReturnToChallenge: @ 824FE9
walk_up
step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentEnter: @ 824FEA1
BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentEnter:
walk_down
walk_down
walk_down
@@ -385,60 +366,59 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentEnter: @ 824FEA1
face_left
step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentExit: @ 824FEA7
BattleFrontier_BattlePalaceBattleRoom_Movement_OpponentExit:
walk_up
walk_up
walk_up
walk_up
step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown: @ 824FEAC
BattleFrontier_BattlePalaceBattleRoom_Movement_FaceDown:
face_down
step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_UnusedOpponentEnter1: @ 824FEAE
BattleFrontier_BattlePalaceBattleRoom_Movement_UnusedOpponentEnter1:
set_visible
walk_slow_down
walk_slow_down
face_left
step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_UnusedOpponentEnter2: @ 824FEB3
BattleFrontier_BattlePalaceBattleRoom_Movement_UnusedOpponentEnter2:
set_visible
walk_slow_down
step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_UnusedOpponentEnter3: @ 824FEB6
BattleFrontier_BattlePalaceBattleRoom_Movement_UnusedOpponentEnter3:
walk_slow_down
walk_slow_down
walk_slow_down
face_left
step_end
BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobby:: @ 824FEBB
BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobby::
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
compare VAR_RESULT, FRONTIER_MODE_DOUBLES
goto_if_eq BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyDoubles
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 5, 7
goto_if_eq VAR_RESULT, FRONTIER_MODE_DOUBLES, BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyDoubles
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 5, 7
waitstate
end
BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyDoubles:: @ 824FED5
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 255, 19, 7
BattleFrontier_BattlePalaceBattleRoom_EventScript_WarpToLobbyDoubles::
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY, 19, 7
waitstate
end
BattleFrontier_BattlePalaceBattleRoom_Movement_DusclopsEnter: @ 824FEDF
BattleFrontier_BattlePalaceBattleRoom_Movement_DusclopsEnter:
delay_16
delay_16
set_visible
walk_down
walk_right
walk_down
walk_in_place_fastest_left
walk_in_place_faster_left
step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_AzurillEnter: @ 824FEE7
BattleFrontier_BattlePalaceBattleRoom_Movement_AzurillEnter:
set_visible
walk_fast_down
walk_fast_right
@@ -447,11 +427,11 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_AzurillEnter: @ 824FEE7
walk_fast_down
walk_fast_down
walk_fast_down
walk_in_place_fastest_left
walk_in_place_faster_left
delay_16
step_end
BattleFrontier_BattlePalaceBattleRoom_Movement_SpenserEnter: @ 824FEF2
BattleFrontier_BattlePalaceBattleRoom_Movement_SpenserEnter:
delay_16
delay_16
delay_16
@@ -467,64 +447,64 @@ BattleFrontier_BattlePalaceBattleRoom_Movement_SpenserEnter: @ 824FEF2
face_left
step_end
BattleFrontier_BattlePalaceBattleRoom_Text_LetMeRestoreYourMons: @ 824FF00
BattleFrontier_BattlePalaceBattleRoom_Text_LetMeRestoreYourMons:
.string "Excellent…\n"
.string "Let me restore your POKéMON.$"
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor2ndOpponent: @ 824FF28
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor2ndOpponent:
.string "The 2nd opponent is next.\n"
.string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor3rdOpponent: @ 824FF54
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor3rdOpponent:
.string "The 3rd opponent is next.\n"
.string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor4thOpponent: @ 824FF80
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor4thOpponent:
.string "The 4th opponent is next.\n"
.string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor5thOpponent: @ 824FFAC
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor5thOpponent:
.string "The 5th opponent is next.\n"
.string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor6thOpponent: @ 824FFD8
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor6thOpponent:
.string "The 6th opponent is next.\n"
.string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor7thOpponent: @ 8250004
BattleFrontier_BattlePalaceBattleRoom_Text_PreparedFor7thOpponent:
.string "The 7th opponent is next.\n"
.string "Are you prepared?$"
BattleFrontier_BattlePalaceBattleRoom_Text_SaveAndQuitGame: @ 8250030
BattleFrontier_BattlePalaceBattleRoom_Text_SaveAndQuitGame:
.string "Would you like to save and quit\n"
.string "the game?$"
BattleFrontier_BattlePalaceBattleRoom_Text_WishToQuitChallenge: @ 825005A
BattleFrontier_BattlePalaceBattleRoom_Text_WishToQuitChallenge:
.string "Do you wish to quit your challenge?$"
BattleFrontier_BattlePalaceBattleRoom_Text_SavingData: @ 825007E
BattleFrontier_BattlePalaceBattleRoom_Text_SavingData:
.string "Saving the data.\n"
.string "Have patience…$"
BattleFrontier_BattlePalaceBattleRoom_Text_RecordLastMatch: @ 825009E
BattleFrontier_BattlePalaceBattleRoom_Text_RecordLastMatch:
.string "Do you wish to record your latest\n"
.string "match on your FRONTIER PASS?$"
BattleFrontier_BattlePalaceBattleRoom_Text_ChallengingPalaceMaven: @ 82500DD
BattleFrontier_BattlePalaceBattleRoom_Text_ChallengingPalaceMaven:
.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_ReadyForPalaceMaven: @ 825014A
BattleFrontier_BattlePalaceBattleRoom_Text_ReadyForPalaceMaven:
.string "I shall send for the PALACE MAVEN.\n"
.string "Are you ready?$"
BattleFrontier_BattlePalaceBattleRoom_Text_AnnounceArrivalOfSpenser: @ 825017C
BattleFrontier_BattlePalaceBattleRoom_Text_AnnounceArrivalOfSpenser:
.string "Let great fanfare announce the arrival\n"
.string "of the PALACE MAVEN, SPENSER!$"
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserFirstIntro: @ 82501C1
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserFirstIntro:
.string "SPENSER: My physical being is with\n"
.string "POKéMON always!\p"
.string "My heart beats as one with\n"
@@ -536,34 +516,34 @@ BattleFrontier_BattlePalaceBattleRoom_Text_SpenserFirstIntro: @ 82501C1
.string "If your bonds of trust are frail,\n"
.string "you will never beat my brethren!$"
BattleFrontier_BattlePalaceBattleRoom_Text_ProveYourBondWithMons: @ 82502C4
BattleFrontier_BattlePalaceBattleRoom_Text_ProveYourBondWithMons:
.string "The bond you share with your POKéMON!\n"
.string "Prove it to me here!$"
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserPostSilverBattle: @ 82502FF
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserPostSilverBattle:
.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_LetsSeeFrontierPass: @ 825036D
BattleFrontier_BattlePalaceBattleRoom_Text_LetsSeeFrontierPass:
.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_ReceivedSpiritsSymbol: @ 82503DC
BattleFrontier_BattlePalaceBattleRoom_Text_ReceivedSpiritsSymbol:
.string "The Spirits Symbol was embossed on\n"
.string "the FRONTIER PASS!$"
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserAwaitNextTime: @ 8250412
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserAwaitNextTime:
.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_SpenserThisTimeWontHoldBack: @ 8250485
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserThisTimeWontHoldBack:
.string "SPENSER: Gwahahah!\n"
.string "You've battled your way up again?\p"
.string "You must have developed a truly\n"
@@ -574,10 +554,10 @@ BattleFrontier_BattlePalaceBattleRoom_Text_SpenserThisTimeWontHoldBack: @ 825048
.string "Ready now?\n"
.string "Prepare to lose!$"
BattleFrontier_BattlePalaceBattleRoom_Text_Kaaah: @ 8250572
BattleFrontier_BattlePalaceBattleRoom_Text_Kaaah:
.string " …Kaaah!$"
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserYourTeamIsAdmirable: @ 825057E
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserYourTeamIsAdmirable:
.string "SPENSER: Well, that was some display!\n"
.string "Even fully unleashed, my brethren\l"
.string "could not overpower you.\p"
@@ -585,17 +565,17 @@ BattleFrontier_BattlePalaceBattleRoom_Text_SpenserYourTeamIsAdmirable: @ 825057E
.string "Here!\n"
.string "Bring me that thing, will you?$"
BattleFrontier_BattlePalaceBattleRoom_Text_HurryWithFrontierPass: @ 8250629
BattleFrontier_BattlePalaceBattleRoom_Text_HurryWithFrontierPass:
.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_SpiritsSymbolTookGoldenShine: @ 8250699
BattleFrontier_BattlePalaceBattleRoom_Text_SpiritsSymbolTookGoldenShine:
.string "The Spirits Symbol took on\n"
.string "a golden shine!$"
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserComeSeeMeAgain: @ 82506C4
BattleFrontier_BattlePalaceBattleRoom_Text_SpenserComeSeeMeAgain:
.string "SPENSER: Gwahahah!\p"
.string "Come see me time and again!\n"
.string "My brethren and I will be waiting!$"

View File

@@ -1,34 +1,28 @@
.set LOCALID_ATTENDANT, 1
BattleFrontier_BattlePalaceCorridor_MapScripts:: @ 824F4A3
BattleFrontier_BattlePalaceCorridor_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceCorridor_OnFrame
.byte 0
BattleFrontier_BattlePalaceCorridor_OnFrame: @ 824F4A9
BattleFrontier_BattlePalaceCorridor_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceCorridor_EventScript_WalkThroughCorridor
.2byte 0
BattleFrontier_BattlePalaceCorridor_EventScript_WalkThroughCorridor:: @ 824F4B3
BattleFrontier_BattlePalaceCorridor_EventScript_WalkThroughCorridor::
delay 16
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor
waitmovement 0
lockall
palace_getcomment
compare VAR_RESULT, 0
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment1
compare VAR_RESULT, 1
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment2
compare VAR_RESULT, 2
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment3
compare VAR_RESULT, 3
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_StreakComment
compare VAR_RESULT, 4
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_LongStreakComment
call_if_eq VAR_RESULT, 0, BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment1
call_if_eq VAR_RESULT, 1, BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment2
call_if_eq VAR_RESULT, 2, BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment3
call_if_eq VAR_RESULT, 3, BattleFrontier_BattlePalaceCorridor_EventScript_StreakComment
call_if_eq VAR_RESULT, 4, BattleFrontier_BattlePalaceCorridor_EventScript_LongStreakComment
closemessage
frontier_get FRONTIER_DATA_LVL_MODE
compare VAR_RESULT, FRONTIER_LVL_OPEN
goto_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_WalkToOpenBattleRoom
goto_if_eq VAR_RESULT, FRONTIER_LVL_OPEN, BattleFrontier_BattlePalaceCorridor_EventScript_WalkToOpenBattleRoom
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkTo50BattleRoom
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkTo50BattleRoom
waitmovement 0
@@ -41,7 +35,7 @@ BattleFrontier_BattlePalaceCorridor_EventScript_WalkThroughCorridor:: @ 824F4B3
waitdooranim
goto BattleFrontier_BattlePalaceCorridor_EventScript_WarpToBattleRoom
BattleFrontier_BattlePalaceCorridor_EventScript_WalkToOpenBattleRoom:: @ 824F553
BattleFrontier_BattlePalaceCorridor_EventScript_WalkToOpenBattleRoom::
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkToOpenBattleRoom
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkToOpenBattleRoom
waitmovement 0
@@ -52,39 +46,39 @@ BattleFrontier_BattlePalaceCorridor_EventScript_WalkToOpenBattleRoom:: @ 824F553
waitmovement 0
closedoor 10, 3
waitdooranim
BattleFrontier_BattlePalaceCorridor_EventScript_WarpToBattleRoom:: @ 824F581
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM, 255, 7, 4
BattleFrontier_BattlePalaceCorridor_EventScript_WarpToBattleRoom::
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM, 7, 4
waitstate
end
BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment1:: @ 824F58B
BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment1::
msgbox BattleFrontier_BattlePalaceCorridor_Text_PeopleAndMonAreSame, MSGBOX_DEFAULT
return
BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment2:: @ 824F594
BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment2::
msgbox BattleFrontier_BattlePalaceCorridor_Text_LetMonDoWhatItLikes, MSGBOX_DEFAULT
return
BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment3:: @ 824F59D
BattleFrontier_BattlePalaceCorridor_EventScript_RandomComment3::
msgbox BattleFrontier_BattlePalaceCorridor_Text_MonDifferentWhenCornered, MSGBOX_DEFAULT
return
BattleFrontier_BattlePalaceCorridor_EventScript_StreakComment:: @ 824F5A6
BattleFrontier_BattlePalaceCorridor_EventScript_StreakComment::
msgbox BattleFrontier_BattlePalaceCorridor_Text_BeginningToUnderstandNature, MSGBOX_DEFAULT
return
BattleFrontier_BattlePalaceCorridor_EventScript_LongStreakComment:: @ 824F5AF
BattleFrontier_BattlePalaceCorridor_EventScript_LongStreakComment::
msgbox BattleFrontier_BattlePalaceCorridor_Text_HeartfeltBondBetweenYouAndMons, MSGBOX_DEFAULT
return
BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor: @ 824F5B8
BattleFrontier_BattlePalaceCorridor_Movement_EnterCorridor:
walk_up
walk_up
walk_up
walk_up
step_end
BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkTo50BattleRoom: @ 824F5BD
BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkTo50BattleRoom:
walk_up
walk_up
walk_left
@@ -93,7 +87,7 @@ BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkTo50BattleRoom: @ 824F
walk_up
step_end
BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkTo50BattleRoom: @ 824F5C4
BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkTo50BattleRoom:
walk_up
walk_up
walk_up
@@ -102,7 +96,7 @@ BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkTo50BattleRoom: @ 824F5C4
walk_up
step_end
BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkToOpenBattleRoom: @ 824F5CB
BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkToOpenBattleRoom:
walk_up
walk_right
walk_right
@@ -111,7 +105,7 @@ BattleFrontier_BattlePalaceCorridor_Movement_AttendantWalkToOpenBattleRoom: @ 82
walk_up
step_end
BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkToOpenBattleRoom: @ 824F5D2
BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkToOpenBattleRoom:
walk_up
walk_up
walk_right
@@ -120,38 +114,38 @@ BattleFrontier_BattlePalaceCorridor_Movement_PlayerWalkToOpenBattleRoom: @ 824F5
walk_up
step_end
BattleFrontier_BattlePalaceCorridor_Movement_PlayerEnterBattleRoom: @ 824F5D9
BattleFrontier_BattlePalaceCorridor_Movement_PlayerEnterBattleRoom:
walk_up
BattleFrontier_BattlePalaceCorridor_Movement_AttendantEnterBattleRoom: @ 824F5DA
BattleFrontier_BattlePalaceCorridor_Movement_AttendantEnterBattleRoom:
walk_up
set_invisible
step_end
BattleFrontier_BattlePalaceCorridor_Text_PeopleAndMonAreSame: @ 824F5DD
BattleFrontier_BattlePalaceCorridor_Text_PeopleAndMonAreSame:
.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_LetMonDoWhatItLikes: @ 824F65B
BattleFrontier_BattlePalaceCorridor_Text_LetMonDoWhatItLikes:
.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_MonDifferentWhenCornered: @ 824F718
BattleFrontier_BattlePalaceCorridor_Text_MonDifferentWhenCornered:
.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_BeginningToUnderstandNature: @ 824F78C
BattleFrontier_BattlePalaceCorridor_Text_BeginningToUnderstandNature:
.string "Are you beginning to understand how\n"
.string "a POKéMON's nature makes it behave?$"
BattleFrontier_BattlePalaceCorridor_Text_HeartfeltBondBetweenYouAndMons: @ 824F7D4
BattleFrontier_BattlePalaceCorridor_Text_HeartfeltBondBetweenYouAndMons:
.string "Ah… I see a strong, heartfelt bond\n"
.string "between you and your POKéMON…$"

View File

@@ -1,21 +1,21 @@
.set LOCALID_ATTENDANT_SINGLES, 1
.set LOCALID_ATTENDANT_DOUBLES, 6
BattleFrontier_BattlePalaceLobby_MapScripts:: @ 824D77E
BattleFrontier_BattlePalaceLobby_MapScripts::
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_OnWarp: @ 824D789
BattleFrontier_BattlePalaceLobby_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePalaceLobby_EventScript_TurnPlayerNorth
.2byte 0
BattleFrontier_BattlePalaceLobby_EventScript_TurnPlayerNorth:: @ 824D793
BattleFrontier_BattlePalaceLobby_EventScript_TurnPlayerNorth::
setvar VAR_TEMP_1, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end
BattleFrontier_BattlePalaceLobby_OnFrame: @ 824D79D
BattleFrontier_BattlePalaceLobby_OnFrame:
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
@@ -23,11 +23,11 @@ BattleFrontier_BattlePalaceLobby_OnFrame: @ 824D79D
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattlePalaceLobby_EventScript_LostChallenge
.2byte 0
BattleFrontier_BattlePalaceLobby_EventScript_GetChallengeStatus:: @ 824D7C7
BattleFrontier_BattlePalaceLobby_EventScript_GetChallengeStatus::
frontier_getstatus
end
BattleFrontier_BattlePalaceLobby_EventScript_QuitWithoutSaving:: @ 824D7D0
BattleFrontier_BattlePalaceLobby_EventScript_QuitWithoutSaving::
lockall
msgbox BattleFrontier_BattlePalaceLobby_Text_FailedToSaveBeforeEndingChallenge, MSGBOX_DEFAULT
closemessage
@@ -38,17 +38,16 @@ BattleFrontier_BattlePalaceLobby_EventScript_QuitWithoutSaving:: @ 824D7D0
releaseall
end
BattleFrontier_BattlePalaceLobby_EventScript_WonChallenge:: @ 824D817
BattleFrontier_BattlePalaceLobby_EventScript_WonChallenge::
lockall
frontier_isbrain
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_DefeatedMaven
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattlePalaceLobby_EventScript_DefeatedMaven
msgbox BattleFrontier_BattlePalaceLobby_Text_FirmTrueBondsFor7WinStreak, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_GiveBattlePoints
BattleFrontier_BattlePalaceLobby_EventScript_DefeatedMaven:: @ 824D838
BattleFrontier_BattlePalaceLobby_EventScript_DefeatedMaven::
msgbox BattleFrontier_BattlePalaceLobby_Text_ToDefeatMavenAnd7Trainers, MSGBOX_DEFAULT
BattleFrontier_BattlePalaceLobby_EventScript_GiveBattlePoints:: @ 824D840
BattleFrontier_BattlePalaceLobby_EventScript_GiveBattlePoints::
msgbox BattleFrontier_BattlePalaceLobby_Text_PresentYouWithBattlePoints, MSGBOX_DEFAULT
frontier_givepoints
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
@@ -61,7 +60,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_GiveBattlePoints:: @ 824D840
releaseall
end
BattleFrontier_BattlePalaceLobby_EventScript_LostChallenge:: @ 824D873
BattleFrontier_BattlePalaceLobby_EventScript_LostChallenge::
lockall
message BattleFrontier_BattlePalaceLobby_Text_ResultsWillBeRecorded
waitmessage
@@ -73,7 +72,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_LostChallenge:: @ 824D873
releaseall
end
BattleFrontier_BattlePalaceLobby_EventScript_SaveAfterChallenge:: @ 824D8A1
BattleFrontier_BattlePalaceLobby_EventScript_SaveAfterChallenge::
frontier_checkairshow
special LoadPlayerParty
special HealPlayerParty
@@ -81,8 +80,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_SaveAfterChallenge:: @ 824D8A1
playse SE_SAVE
waitse
call BattleFrontier_EventScript_GetCantRecordBattle
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge
message BattleFrontier_BattlePalaceLobby_Text_LikeToRecordMatch
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -91,12 +89,12 @@ BattleFrontier_BattlePalaceLobby_EventScript_SaveAfterChallenge:: @ 824D8A1
case 0, BattleFrontier_BattlePalaceLobby_EventScript_RecordMatch
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge
BattleFrontier_BattlePalaceLobby_EventScript_RecordMatch:: @ 824D902
BattleFrontier_BattlePalaceLobby_EventScript_RecordMatch::
call BattleFrontier_EventScript_SaveBattle
BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge:: @ 824D907
BattleFrontier_BattlePalaceLobby_EventScript_EndSaveAfterChallenge::
return
BattleFrontier_BattlePalaceLobby_EventScript_ResumeChallenge:: @ 824D908
BattleFrontier_BattlePalaceLobby_EventScript_ResumeChallenge::
lockall
msgbox BattleFrontier_BattlePalaceLobby_Text_WeHaveBeenWaiting, MSGBOX_DEFAULT
message BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge
@@ -108,7 +106,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_ResumeChallenge:: @ 824D908
setvar VAR_TEMP_0, 255
goto BattleFrontier_BattlePalaceLobby_EventScript_EnterChallenge
BattleFrontier_BattlePalaceLobby_EventScript_SinglesAttendant:: @ 824D944
BattleFrontier_BattlePalaceLobby_EventScript_SinglesAttendant::
lock
faceplayer
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE
@@ -116,7 +114,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_SinglesAttendant:: @ 824D944
goto BattleFrontier_BattlePalaceLobby_EventScript_Attendant
end
BattleFrontier_BattlePalaceLobby_EventScript_DoublesAttendant:: @ 824D956
BattleFrontier_BattlePalaceLobby_EventScript_DoublesAttendant::
lock
faceplayer
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PALACE
@@ -124,20 +122,15 @@ BattleFrontier_BattlePalaceLobby_EventScript_DoublesAttendant:: @ 824D956
goto BattleFrontier_BattlePalaceLobby_EventScript_Attendant
end
BattleFrontier_BattlePalaceLobby_EventScript_Attendant:: @ 824D968
BattleFrontier_BattlePalaceLobby_EventScript_Attendant::
palace_get PALACE_DATA_PRIZE
compare VAR_RESULT, ITEM_NONE
goto_if_ne BattleFrontier_BattlePalaceLobby_EventScript_WonChallenge
goto_if_ne VAR_RESULT, ITEM_NONE, BattleFrontier_BattlePalaceLobby_EventScript_WonChallenge
special SavePlayerParty
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForSingleBattle
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
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_AskTakeSingleBattleChallenge
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_AskTakeDoubleBattleChallenge
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForSingleBattle
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForDoubleBattle
BattleFrontier_BattlePalaceLobby_EventScript_AskTakeChallenge::
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattlePalaceLobby_EventScript_AskTakeSingleBattleChallenge
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattlePalaceLobby_EventScript_AskTakeDoubleBattleChallenge
waitmessage
multichoice 17, 6, MULTI_CHALLENGEINFO, FALSE
switch VAR_RESULT
@@ -146,7 +139,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_AskTakeChallenge:: @ 824D999
case 2, BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
BattleFrontier_BattlePalaceLobby_EventScript_TryEnterChallenge:: @ 824D9E6
BattleFrontier_BattlePalaceLobby_EventScript_TryEnterChallenge::
message BattleFrontier_BattlePalaceLobby_Text_WhichChallenge
waitmessage
multichoice 17, 6, MULTI_LEVEL_MODE, FALSE
@@ -154,8 +147,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_TryEnterChallenge:: @ 824D9E6
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_NotEnoughValidMons
goto_if_eq VAR_0x8004, TRUE, BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMons
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
msgbox BattleFrontier_BattlePalaceLobby_Text_NowSelectThreeMons, MSGBOX_DEFAULT
fadescreen FADE_TO_BLACK
@@ -164,15 +156,14 @@ BattleFrontier_BattlePalaceLobby_EventScript_TryEnterChallenge:: @ 824D9E6
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special ChoosePartyForBattleFrontier
waitstate
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge
msgbox BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge2, MSGBOX_YESNO
switch VAR_RESULT
case NO, BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge
case YES, BattleFrontier_BattlePalaceLobby_EventScript_SaveBeforeChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge
BattleFrontier_BattlePalaceLobby_EventScript_SaveBeforeChallenge:: @ 824DA87
BattleFrontier_BattlePalaceLobby_EventScript_SaveBeforeChallenge::
setvar VAR_TEMP_0, 0
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
palace_init
@@ -184,133 +175,125 @@ BattleFrontier_BattlePalaceLobby_EventScript_SaveBeforeChallenge:: @ 824DA87
delay 2
call Common_EventScript_SaveGame
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_CancelChallengeSaveFailed
BattleFrontier_BattlePalaceLobby_EventScript_EnterChallenge:: @ 824DAF3
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattlePalaceLobby_EventScript_CancelChallengeSaveFailed
BattleFrontier_BattlePalaceLobby_EventScript_EnterChallenge::
special SavePlayerParty
frontier_setpartyorder FRONTIER_PARTY_SIZE
msgbox BattleFrontier_BattlePalaceLobby_Text_FollowMe, MSGBOX_DEFAULT
closemessage
call BattleFrontier_BattlePalaceLobby_EventScript_WalkToDoor
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR, 255, 8, 13
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR, 8, 13
setvar VAR_TEMP_0, 0
waitstate
end
BattleFrontier_BattlePalaceLobby_EventScript_ExplainChallenge:: @ 824DB20
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
goto_if_eq BattleFrontier_BattlePalaceLobby_EventScript_ExplainDoublesChallenge
BattleFrontier_BattlePalaceLobby_EventScript_ExplainChallenge::
goto_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattlePalaceLobby_EventScript_ExplainDoublesChallenge
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainSingleBattleChallenge, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_AskTakeChallenge
BattleFrontier_BattlePalaceLobby_EventScript_ExplainDoublesChallenge:: @ 824DB38
BattleFrontier_BattlePalaceLobby_EventScript_ExplainDoublesChallenge::
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainDoubleBattleChallenge, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_AskTakeChallenge
BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMons:: @ 824DB45
BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMons::
switch VAR_RESULT
case FRONTIER_LVL_50, BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLv50
case FRONTIER_LVL_OPEN, BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLvOpen
BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLv50:: @ 824DB60
BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLv50::
msgbox BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_EndCancelChallenge
BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 824DB6D
BattleFrontier_BattlePalaceLobby_EventScript_NotEnoughValidMonsLvOpen::
msgbox BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_EndCancelChallenge
BattleFrontier_BattlePalaceLobby_EventScript_CancelChallengeSaveFailed:: @ 824DB7A
BattleFrontier_BattlePalaceLobby_EventScript_CancelChallengeSaveFailed::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
goto BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge
BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge:: @ 824DB91
BattleFrontier_BattlePalaceLobby_EventScript_LoadPartyAndCancelChallenge::
special LoadPlayerParty
BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge:: @ 824DB94
BattleFrontier_BattlePalaceLobby_EventScript_CancelChallenge::
msgbox BattleFrontier_BattlePalaceLobby_Text_ReturnWhenFortified, MSGBOX_DEFAULT
BattleFrontier_BattlePalaceLobby_EventScript_EndCancelChallenge:: @ 824DB9C
BattleFrontier_BattlePalaceLobby_EventScript_EndCancelChallenge::
release
end
BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForSingleBattle:: @ 824DB9E
BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForSingleBattle::
msgbox BattleFrontier_BattlePalaceLobby_Text_WelcomeForSingleBattle, MSGBOX_DEFAULT
return
BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForDoubleBattle:: @ 824DBA7
BattleFrontier_BattlePalaceLobby_EventScript_WelcomeForDoubleBattle::
msgbox BattleFrontier_BattlePalaceLobby_Text_WelcomeForDoubleBattle, MSGBOX_DEFAULT
return
BattleFrontier_BattlePalaceLobby_EventScript_AskTakeSingleBattleChallenge:: @ 824DBB0
BattleFrontier_BattlePalaceLobby_EventScript_AskTakeSingleBattleChallenge::
message BattleFrontier_BattlePalaceLobby_Text_TakeSingleBattleChallenge
return
BattleFrontier_BattlePalaceLobby_EventScript_AskTakeDoubleBattleChallenge:: @ 824DBB6
BattleFrontier_BattlePalaceLobby_EventScript_AskTakeDoubleBattleChallenge::
message BattleFrontier_BattlePalaceLobby_Text_TakeDoubleBattleChallenge
return
BattleFrontier_BattlePalaceLobby_EventScript_WalkToDoor:: @ 824DBBC
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_TalkedToSinglesAttendant
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_TalkedToDoublesAttendant
BattleFrontier_BattlePalaceLobby_EventScript_WalkToDoor::
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattlePalaceLobby_EventScript_TalkedToSinglesAttendant
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattlePalaceLobby_EventScript_TalkedToDoublesAttendant
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_WalkToDoor
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_WalkToDoor
waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_OpenSinglesHallDoor
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_OpenDoublesHallDoor
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattlePalaceLobby_EventScript_OpenSinglesHallDoor
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattlePalaceLobby_EventScript_OpenDoublesHallDoor
waitdooranim
applymovement VAR_LAST_TALKED, BattleFrontier_BattlePalaceLobby_Movement_AttendantEnterDoor
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePalaceLobby_Movement_PlayerEnterDoor
waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_CloseSinglesHallDoor
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattlePalaceLobby_EventScript_CloseDoublesHallDoor
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattlePalaceLobby_EventScript_CloseSinglesHallDoor
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattlePalaceLobby_EventScript_CloseDoublesHallDoor
waitdooranim
return
BattleFrontier_BattlePalaceLobby_EventScript_TalkedToSinglesAttendant:: @ 824DC23
BattleFrontier_BattlePalaceLobby_EventScript_TalkedToSinglesAttendant::
setvar VAR_LAST_TALKED, LOCALID_ATTENDANT_SINGLES
return
BattleFrontier_BattlePalaceLobby_EventScript_TalkedToDoublesAttendant:: @ 824DC29
BattleFrontier_BattlePalaceLobby_EventScript_TalkedToDoublesAttendant::
setvar VAR_LAST_TALKED, LOCALID_ATTENDANT_DOUBLES
return
BattleFrontier_BattlePalaceLobby_EventScript_OpenSinglesHallDoor:: @ 824DC2F
BattleFrontier_BattlePalaceLobby_EventScript_OpenSinglesHallDoor::
opendoor 5, 4
return
BattleFrontier_BattlePalaceLobby_EventScript_OpenDoublesHallDoor:: @ 824DC35
BattleFrontier_BattlePalaceLobby_EventScript_OpenDoublesHallDoor::
opendoor 19, 4
return
BattleFrontier_BattlePalaceLobby_EventScript_CloseSinglesHallDoor:: @ 824DC3B
BattleFrontier_BattlePalaceLobby_EventScript_CloseSinglesHallDoor::
closedoor 5, 4
return
BattleFrontier_BattlePalaceLobby_EventScript_CloseDoublesHallDoor:: @ 824DC41
BattleFrontier_BattlePalaceLobby_EventScript_CloseDoublesHallDoor::
closedoor 19, 4
return
BattleFrontier_BattlePalaceLobby_Movement_WalkToDoor: @ 824DC47
BattleFrontier_BattlePalaceLobby_Movement_WalkToDoor:
walk_up
step_end
BattleFrontier_BattlePalaceLobby_Movement_AttendantEnterDoor: @ 824DC49
BattleFrontier_BattlePalaceLobby_Movement_AttendantEnterDoor:
walk_up
set_invisible
step_end
BattleFrontier_BattlePalaceLobby_Movement_PlayerEnterDoor: @ 824DC4C
BattleFrontier_BattlePalaceLobby_Movement_PlayerEnterDoor:
walk_up
walk_up
set_invisible
step_end
BattleFrontier_BattlePalaceLobby_EventScript_ShowSinglesResults:: @ 824DC50
BattleFrontier_BattlePalaceLobby_EventScript_ShowSinglesResults::
lockall
frontier_results FRONTIER_FACILITY_PALACE, FRONTIER_MODE_SINGLES
waitbuttonpress
@@ -318,7 +301,7 @@ BattleFrontier_BattlePalaceLobby_EventScript_ShowSinglesResults:: @ 824DC50
releaseall
end
BattleFrontier_BattlePalaceLobby_EventScript_ShowDoublesResults:: @ 824DC69
BattleFrontier_BattlePalaceLobby_EventScript_ShowDoublesResults::
lockall
frontier_results FRONTIER_FACILITY_PALACE, FRONTIER_MODE_DOUBLES
waitbuttonpress
@@ -326,29 +309,29 @@ BattleFrontier_BattlePalaceLobby_EventScript_ShowDoublesResults:: @ 824DC69
releaseall
end
BattleFrontier_BattlePalaceLobby_EventScript_BlackBelt:: @ 824DC82
BattleFrontier_BattlePalaceLobby_EventScript_BlackBelt::
msgbox BattleFrontier_BattlePalaceLobby_Text_LadyCanTellWhatMonsThink, MSGBOX_NPC
end
BattleFrontier_BattlePalaceLobby_EventScript_Man:: @ 824DC8B
BattleFrontier_BattlePalaceLobby_EventScript_Man::
msgbox BattleFrontier_BattlePalaceLobby_Text_NatureAndMovesKeyHere, MSGBOX_NPC
end
BattleFrontier_BattlePalaceLobby_EventScript_Beauty:: @ 824DC94
BattleFrontier_BattlePalaceLobby_EventScript_Beauty::
msgbox BattleFrontier_BattlePalaceLobby_Text_MonDocileButTransforms, MSGBOX_NPC
end
BattleFrontier_BattlePalaceLobby_EventScript_Maniac:: @ 824DC9D
BattleFrontier_BattlePalaceLobby_EventScript_Maniac::
msgbox BattleFrontier_BattlePalaceLobby_Text_WhatNatureFavorsChippingAway, MSGBOX_NPC
end
BattleFrontier_BattlePalaceLobby_EventScript_RulesBoard:: @ 824DCA6
BattleFrontier_BattlePalaceLobby_EventScript_RulesBoard::
lockall
msgbox BattleFrontier_BattlePalaceLobby_Text_RulesAreListed, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard:: @ 824DCB5
BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard::
message BattleFrontier_BattlePalaceLobby_Text_ReadWhichHeading
waitmessage
multichoice 16, 0, MULTI_BATTLE_PALACE_RULES, FALSE
@@ -362,47 +345,47 @@ BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard:: @ 824DCB5
case MULTI_B_PRESSED, BattleFrontier_BattlePalaceLobby_EventScript_ExitRules
end
BattleFrontier_BattlePalaceLobby_EventScript_RulesBasics:: @ 824DD13
BattleFrontier_BattlePalaceLobby_EventScript_RulesBasics::
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesBasics, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattlePalaceLobby_EventScript_RulesNature:: @ 824DD21
BattleFrontier_BattlePalaceLobby_EventScript_RulesNature::
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesNature, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattlePalaceLobby_EventScript_RulesMoves:: @ 824DD2F
BattleFrontier_BattlePalaceLobby_EventScript_RulesMoves::
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesMoves, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattlePalaceLobby_EventScript_RulesUnderpowered:: @ 824DD3D
BattleFrontier_BattlePalaceLobby_EventScript_RulesUnderpowered::
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesUnderpowered, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattlePalaceLobby_EventScript_RulesWhenInDanger:: @ 824DD4B
BattleFrontier_BattlePalaceLobby_EventScript_RulesWhenInDanger::
msgbox BattleFrontier_BattlePalaceLobby_Text_ExplainRulesWhenInDanger, MSGBOX_DEFAULT
goto BattleFrontier_BattlePalaceLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattlePalaceLobby_EventScript_ExitRules:: @ 824DD59
BattleFrontier_BattlePalaceLobby_EventScript_ExitRules::
releaseall
end
BattleFrontier_BattlePalaceLobby_Text_WelcomeForSingleBattle: @ 824DD5B
BattleFrontier_BattlePalaceLobby_Text_WelcomeForSingleBattle:
.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_TakeSingleBattleChallenge: @ 824DDE1
BattleFrontier_BattlePalaceLobby_Text_TakeSingleBattleChallenge:
.string "Do you wish to take\n"
.string "the SINGLE BATTLE HALL challenge?$"
BattleFrontier_BattlePalaceLobby_Text_ExplainSingleBattleChallenge: @ 824DE17
BattleFrontier_BattlePalaceLobby_Text_ExplainSingleBattleChallenge:
.string "In the BATTLE PALACE, there are\n"
.string "several auditoriums for SINGLE BATTLES\l"
.string "that are named SINGLE BATTLE HALLS.\p"
@@ -425,16 +408,16 @@ BattleFrontier_BattlePalaceLobby_Text_ExplainSingleBattleChallenge: @ 824DE17
.string "If you don't save before interrupting,\n"
.string "you will be disqualified.$"
BattleFrontier_BattlePalaceLobby_Text_ReturnWhenFortified: @ 824E0D8
BattleFrontier_BattlePalaceLobby_Text_ReturnWhenFortified:
.string "When you have fortified your heart\n"
.string "and POKéMON, you must return.$"
BattleFrontier_BattlePalaceLobby_Text_WhichChallenge: @ 824E119
BattleFrontier_BattlePalaceLobby_Text_WhichChallenge:
.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_NotEnoughValidMonsLv50: @ 824E173
BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLv50:
.string "Sigh…\p"
.string "You do not have the three POKéMON\n"
.string "required for the challenge.\p"
@@ -448,7 +431,7 @@ BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLv50: @ 824E173
.string "Come back when you have made\n"
.string "your preparations.$"
BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLvOpen: @ 824E29E
BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLvOpen:
.string "Sigh…\p"
.string "You do not have the three POKéMON\n"
.string "required for the challenge.\p"
@@ -460,52 +443,52 @@ BattleFrontier_BattlePalaceLobby_Text_NotEnoughValidMonsLvOpen: @ 824E29E
.string "Come back when you have made\n"
.string "your preparations.$"
BattleFrontier_BattlePalaceLobby_Text_NowSelectThreeMons: @ 824E399
BattleFrontier_BattlePalaceLobby_Text_NowSelectThreeMons:
.string "Good. Now, you must select your\n"
.string "three POKéMON.$"
BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge2: @ 824E3C8
BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge2:
.string "I must save before I show you to\n"
.string "the BATTLE HALL. Is that okay?$"
BattleFrontier_BattlePalaceLobby_Text_FollowMe: @ 824E408
BattleFrontier_BattlePalaceLobby_Text_FollowMe:
.string "Good.\n"
.string "Now, follow me.$"
BattleFrontier_BattlePalaceLobby_Text_ResultsWillBeRecorded: @ 824E41E
BattleFrontier_BattlePalaceLobby_Text_ResultsWillBeRecorded:
.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_FirmTrueBondsFor7WinStreak: @ 824E497
BattleFrontier_BattlePalaceLobby_Text_FirmTrueBondsFor7WinStreak:
.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_FeatWillBeRecorded: @ 824E4F7
BattleFrontier_BattlePalaceLobby_Text_FeatWillBeRecorded:
.string "Your feat will be recorded.\n"
.string "I must ask you to briefly wait.$"
@ Unused
BattleFrontier_BattlePalaceLobby_Text_BattlePointsFor7WinStreak: @ 824E5333
BattleFrontier_BattlePalaceLobby_Text_BattlePointsFor7WinStreak:
.string "For the feat of your 7-win streak,\n"
.string "we present you with Battle Point(s).$"
BattleFrontier_BattlePalaceLobby_Text_NoSpaceForPrize: @ 824E57B
BattleFrontier_BattlePalaceLobby_Text_NoSpaceForPrize:
.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_WeHaveBeenWaiting: @ 824E5D8
BattleFrontier_BattlePalaceLobby_Text_WeHaveBeenWaiting:
.string "We have been waiting for you…$"
BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge: @ 824E5F6
BattleFrontier_BattlePalaceLobby_Text_MustSaveBeforeChallenge:
.string "I must save before I show you to\n"
.string "the BATTLE HALL. Is that okay?$"
BattleFrontier_BattlePalaceLobby_Text_FailedToSaveBeforeEndingChallenge: @ 824E636
BattleFrontier_BattlePalaceLobby_Text_FailedToSaveBeforeEndingChallenge:
.string "Sigh…\p"
.string "You failed to save before you ended\n"
.string "your challenge the last time.\p"
@@ -513,11 +496,11 @@ BattleFrontier_BattlePalaceLobby_Text_FailedToSaveBeforeEndingChallenge: @ 824E6
.string "disqualified. It is most unfortunate.$"
@ Unused
BattleFrontier_BattlePalaceLobby_Text_ReceivedPrize: @ 824E6C9
BattleFrontier_BattlePalaceLobby_Text_ReceivedPrize:
.string "{PLAYER} received the prize\n"
.string "{STR_VAR_1}.$"
BattleFrontier_BattlePalaceLobby_Text_LadyCanTellWhatMonsThink: @ 824E6E3
BattleFrontier_BattlePalaceLobby_Text_LadyCanTellWhatMonsThink:
.string "For a hardy fellow like me,\n"
.string "hardy POKéMON are the best.\p"
.string "Offense is the best defense!\n"
@@ -533,7 +516,7 @@ BattleFrontier_BattlePalaceLobby_Text_LadyCanTellWhatMonsThink: @ 824E6E3
.string "Huh?\n"
.string "Why are you looking at me like that?$"
BattleFrontier_BattlePalaceLobby_Text_NatureAndMovesKeyHere: @ 824E851
BattleFrontier_BattlePalaceLobby_Text_NatureAndMovesKeyHere:
.string "Hmm…\p"
.string "It appears that the nature of POKéMON\n"
.string "and the moves that they have been\l"
@@ -546,7 +529,7 @@ BattleFrontier_BattlePalaceLobby_Text_NatureAndMovesKeyHere: @ 824E851
.string "you may need to examine how well\l"
.string "its moves match its nature.$"
BattleFrontier_BattlePalaceLobby_Text_MonDocileButTransforms: @ 824E992
BattleFrontier_BattlePalaceLobby_Text_MonDocileButTransforms:
.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"
@@ -554,25 +537,25 @@ BattleFrontier_BattlePalaceLobby_Text_MonDocileButTransforms: @ 824E992
.string "It becomes totally intimidating.\n"
.string "It's shocking, even.$"
BattleFrontier_BattlePalaceLobby_Text_WhatNatureFavorsChippingAway: @ 824EA4B
BattleFrontier_BattlePalaceLobby_Text_WhatNatureFavorsChippingAway:
.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_WelcomeForDoubleBattle: @ 824EB06
BattleFrontier_BattlePalaceLobby_Text_WelcomeForDoubleBattle:
.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_TakeDoubleBattleChallenge: @ 824EB8C
BattleFrontier_BattlePalaceLobby_Text_TakeDoubleBattleChallenge:
.string "Do you wish to take\n"
.string "the DOUBLE BATTLE HALL challenge?$"
BattleFrontier_BattlePalaceLobby_Text_ExplainDoubleBattleChallenge: @ 824EBC2
BattleFrontier_BattlePalaceLobby_Text_ExplainDoubleBattleChallenge:
.string "In the BATTLE PALACE, there are\n"
.string "several auditoriums for DOUBLE BATTLES\l"
.string "that are named DOUBLE BATTLE HALLS.\p"
@@ -595,34 +578,34 @@ BattleFrontier_BattlePalaceLobby_Text_ExplainDoubleBattleChallenge: @ 824EBC2
.string "If you don't save before interrupting,\n"
.string "you will be disqualified.$"
BattleFrontier_BattlePalaceLobby_Text_ToDefeatMavenAnd7Trainers: @ 824EE81
BattleFrontier_BattlePalaceLobby_Text_ToDefeatMavenAnd7Trainers:
.string "To defeat the PALACE MAVEN\n"
.string "and seven TRAINERS in a row…$"
BattleFrontier_BattlePalaceLobby_Text_PresentYouWithBattlePoints: @ 824EEB9
BattleFrontier_BattlePalaceLobby_Text_PresentYouWithBattlePoints:
.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_LikeToRecordMatch: @ 824EF16
BattleFrontier_BattlePalaceLobby_Text_LikeToRecordMatch:
.string "Would you like to record your latest\n"
.string "BATTLE PALACE match on your\l"
.string "FRONTIER PASS?$"
BattleFrontier_BattlePalaceLobby_Text_RulesAreListed: @ 824EF66
BattleFrontier_BattlePalaceLobby_Text_RulesAreListed:
.string "The BATTLE HALL rules are listed.$"
BattleFrontier_BattlePalaceLobby_Text_ReadWhichHeading: @ 824EF88
BattleFrontier_BattlePalaceLobby_Text_ReadWhichHeading:
.string "Which heading do you want to read?$"
BattleFrontier_BattlePalaceLobby_Text_ExplainRulesBasics: @ 824EFAB
BattleFrontier_BattlePalaceLobby_Text_ExplainRulesBasics:
.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_ExplainRulesNature: @ 824F049
BattleFrontier_BattlePalaceLobby_Text_ExplainRulesNature:
.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"
@@ -635,7 +618,7 @@ BattleFrontier_BattlePalaceLobby_Text_ExplainRulesNature: @ 824F049
.string "It may also dislike certain moves that\n"
.string "it has trouble using.$"
BattleFrontier_BattlePalaceLobby_Text_ExplainRulesMoves: @ 824F190
BattleFrontier_BattlePalaceLobby_Text_ExplainRulesMoves:
.string "There are offensive moves that inflict\n"
.string "direct damage on the foe.\p"
.string "There are defensive moves that are\n"
@@ -648,7 +631,7 @@ BattleFrontier_BattlePalaceLobby_Text_ExplainRulesMoves: @ 824F190
.string "POKéMON will consider using moves in\n"
.string "these three categories.$"
BattleFrontier_BattlePalaceLobby_Text_ExplainRulesUnderpowered: @ 824F2E8
BattleFrontier_BattlePalaceLobby_Text_ExplainRulesUnderpowered:
.string "When not under command by its TRAINER,\n"
.string "a POKéMON may be unable to effectively\l"
.string "use certain moves.\p"
@@ -658,7 +641,7 @@ BattleFrontier_BattlePalaceLobby_Text_ExplainRulesUnderpowered: @ 824F2E8
.string "do not match its nature, it will often\l"
.string "be unable to live up to its potential.$"
BattleFrontier_BattlePalaceLobby_Text_ExplainRulesWhenInDanger: @ 824F3F4
BattleFrontier_BattlePalaceLobby_Text_ExplainRulesWhenInDanger:
.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"

View File

@@ -1,15 +1,15 @@
.set LOCALID_ATTENDANT, 1
BattleFrontier_BattlePikeCorridor_MapScripts:: @ 825C771
BattleFrontier_BattlePikeCorridor_MapScripts::
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_OnFrame: @ 825C77C
BattleFrontier_BattlePikeCorridor_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeCorridor_EventScript_EnterCorridor
.2byte 0
BattleFrontier_BattlePikeCorridor_EventScript_EnterCorridor:: @ 825C786
BattleFrontier_BattlePikeCorridor_EventScript_EnterCorridor::
delay 16
frontier_set FRONTIER_DATA_BATTLE_NUM, 1
pike_cleartrainerids
@@ -25,38 +25,38 @@ BattleFrontier_BattlePikeCorridor_EventScript_EnterCorridor:: @ 825C786
waitmovement 0
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 99
call BattleFrontier_BattlePike_EventScript_CloseCurtain
warpsilent MAP_BATTLE_FRONTIER_BATTLE_PIKE_THREE_PATH_ROOM, 255, 6, 10
warpsilent MAP_BATTLE_FRONTIER_BATTLE_PIKE_THREE_PATH_ROOM, 6, 10
waitstate
end
BattleFrontier_BattlePikeCorridor_OnWarp: @ 825C7F7
BattleFrontier_BattlePikeCorridor_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePikeCorridor_EventScript_TurnPlayerNorth
.2byte 0
BattleFrontier_BattlePikeCorridor_EventScript_TurnPlayerNorth:: @ 825C801
BattleFrontier_BattlePikeCorridor_EventScript_TurnPlayerNorth::
setvar VAR_TEMP_1, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end
BattleFrontier_BattlePikeCorridor_Movement_PlayerEnterCorridor: @ 825C80B
BattleFrontier_BattlePikeCorridor_Movement_PlayerEnterCorridor:
walk_up
walk_up
step_end
BattleFrontier_BattlePikeCorridor_Movement_PlayerExitCorridor: @ 825C80E
BattleFrontier_BattlePikeCorridor_Movement_PlayerExitCorridor:
walk_up
walk_up
set_invisible
step_end
BattleFrontier_BattlePikeCorridor_Movement_AttendantEnterCorridor: @ 825C812
BattleFrontier_BattlePikeCorridor_Movement_AttendantEnterCorridor:
walk_up
walk_up
walk_left
face_down
step_end
BattleFrontier_BattlePikeCorridor_Text_YourChallengeHasBegun: @ 825C817
BattleFrontier_BattlePikeCorridor_Text_YourChallengeHasBegun:
.string "Your Battle Choice challenge\n"
.string "has now begun…$"

View File

@@ -1,31 +1,31 @@
.set LOCALID_ATTENDANT, 1
BattleFrontier_BattlePikeLobby_MapScripts:: @ 825B6C6
BattleFrontier_BattlePikeLobby_MapScripts::
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_OnFrame: @ 825B6D1
BattleFrontier_BattlePikeLobby_OnFrame:
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_OnWarp: @ 825B6F3
BattleFrontier_BattlePikeLobby_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePikeLobby_EventScript_TurnPlayerNorth
.2byte 0
BattleFrontier_BattlePikeLobby_EventScript_TurnPlayerNorth:: @ 825B6FD
BattleFrontier_BattlePikeLobby_EventScript_TurnPlayerNorth::
setvar VAR_TEMP_1, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end
BattleFrontier_BattlePikeLobby_EventScript_GetChallengeStatus:: @ 825B707
BattleFrontier_BattlePikeLobby_EventScript_GetChallengeStatus::
frontier_getstatus
end
BattleFrontier_BattlePikeLobby_EventScript_QuitWithoutSaving:: @ 825B710
BattleFrontier_BattlePikeLobby_EventScript_QuitWithoutSaving::
special HealPlayerParty
pike_resethelditems
lockall
@@ -38,19 +38,18 @@ BattleFrontier_BattlePikeLobby_EventScript_QuitWithoutSaving:: @ 825B710
releaseall
end
BattleFrontier_BattlePikeLobby_EventScript_WonChallenge:: @ 825B762
BattleFrontier_BattlePikeLobby_EventScript_WonChallenge::
lockall
frontier_isbrain
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_DefeatedQueen
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattlePikeLobby_EventScript_DefeatedQueen
msgbox BattleFrontier_BattlePikeLobby_Text_PossessLuckInAbundance, MSGBOX_DEFAULT
waitmessage
goto BattleFrontier_BattlePikeLobby_EventScript_GiveBattlePoints
BattleFrontier_BattlePikeLobby_EventScript_DefeatedQueen:: @ 825B784
BattleFrontier_BattlePikeLobby_EventScript_DefeatedQueen::
msgbox BattleFrontier_BattlePikeLobby_Text_SnatchedVictoryFromQueen, MSGBOX_DEFAULT
waitmessage
BattleFrontier_BattlePikeLobby_EventScript_GiveBattlePoints:: @ 825B78D
BattleFrontier_BattlePikeLobby_EventScript_GiveBattlePoints::
msgbox BattleFrontier_BattlePikeLobby_Text_AwardYouTheseBattlePoints, MSGBOX_DEFAULT
frontier_givepoints
msgbox BattleFrontier_Text_ObtainedXBattlePoints, MSGBOX_GETPOINTS
@@ -72,7 +71,7 @@ BattleFrontier_BattlePikeLobby_EventScript_GiveBattlePoints:: @ 825B78D
releaseall
end
BattleFrontier_BattlePikeLobby_EventScript_LostChallenge:: @ 825B806
BattleFrontier_BattlePikeLobby_EventScript_LostChallenge::
lockall
message BattleFrontier_BattlePikeLobby_Text_ChallengeEndedRecordResults
waitmessage
@@ -91,14 +90,14 @@ BattleFrontier_BattlePikeLobby_EventScript_LostChallenge:: @ 825B806
releaseall
end
BattleFrontier_BattlePikeLobby_EventScript_Attendant:: @ 825B868
BattleFrontier_BattlePikeLobby_EventScript_Attendant::
lock
faceplayer
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PIKE
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
special SavePlayerParty
msgbox BattleFrontier_BattlePikeLobby_Text_WelcomeToBattlePike, MSGBOX_DEFAULT
BattleFrontier_BattlePikeLobby_EventScript_AskTakeChallenge:: @ 825B87F
BattleFrontier_BattlePikeLobby_EventScript_AskTakeChallenge::
message BattleFrontier_BattlePikeLobby_Text_TakeChallenge
waitmessage
multichoice 17, 6, MULTI_CHALLENGEINFO, FALSE
@@ -108,7 +107,7 @@ BattleFrontier_BattlePikeLobby_EventScript_AskTakeChallenge:: @ 825B87F
case 2, BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge
BattleFrontier_BattlePikeLobby_EventScript_TryEnterChallenge:: @ 825B8BB
BattleFrontier_BattlePikeLobby_EventScript_TryEnterChallenge::
message BattleFrontier_BattlePikeLobby_Text_WhichChallengeMode
waitmessage
multichoice 17, 6, MULTI_LEVEL_MODE, FALSE
@@ -116,8 +115,7 @@ BattleFrontier_BattlePikeLobby_EventScript_TryEnterChallenge:: @ 825B8BB
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_NotEnoughValidMons
goto_if_eq VAR_0x8004, TRUE, BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMons
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
msgbox BattleFrontier_BattlePikeLobby_Text_PleaseChooseThreeMons, MSGBOX_DEFAULT
fadescreen FADE_TO_BLACK
@@ -126,15 +124,14 @@ BattleFrontier_BattlePikeLobby_EventScript_TryEnterChallenge:: @ 825B8BB
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special ChoosePartyForBattleFrontier
waitstate
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_LoadPartyAndCancelChallenge
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattlePikeLobby_EventScript_LoadPartyAndCancelChallenge
msgbox BattleFrontier_BattlePikeLobby_Text_SaveBeforeChallenge, MSGBOX_YESNO
switch VAR_RESULT
case NO, BattleFrontier_BattlePikeLobby_EventScript_LoadPartyAndCancelChallenge
case YES, BattleFrontier_BattlePikeLobby_EventScript_SaveBeforeChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_LoadPartyAndCancelChallenge
BattleFrontier_BattlePikeLobby_EventScript_SaveBeforeChallenge:: @ 825B95C
BattleFrontier_BattlePikeLobby_EventScript_SaveBeforeChallenge::
setvar VAR_TEMP_0, 0
setvar VAR_TEMP_1, 0
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
@@ -149,8 +146,7 @@ BattleFrontier_BattlePikeLobby_EventScript_SaveBeforeChallenge:: @ 825B95C
call Common_EventScript_SaveGame
setvar VAR_TEMP_0, 255
pike_savehelditems
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePikeLobby_EventScript_CancelChallengeSaveFailed
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattlePikeLobby_EventScript_CancelChallengeSaveFailed
special SavePlayerParty
frontier_setpartyorder FRONTIER_PARTY_SIZE
msgbox BattleFrontier_BattlePikeLobby_Text_StepThisWay, MSGBOX_DEFAULT
@@ -159,41 +155,41 @@ BattleFrontier_BattlePikeLobby_EventScript_SaveBeforeChallenge:: @ 825B95C
call BattleFrontier_BattlePikeLobby_EventScript_WalkToCorridor
special HealPlayerParty
call BattleFrontier_BattlePike_EventScript_CloseCurtain
warpsilent MAP_BATTLE_FRONTIER_BATTLE_PIKE_CORRIDOR, 255, 6, 7
warpsilent MAP_BATTLE_FRONTIER_BATTLE_PIKE_CORRIDOR, 6, 7
setvar VAR_TEMP_0, 0
waitstate
end
BattleFrontier_BattlePikeLobby_EventScript_ExplainChallenge:: @ 825BA1A
BattleFrontier_BattlePikeLobby_EventScript_ExplainChallenge::
msgbox BattleFrontier_BattlePikeLobby_Text_ExplainBattlePike, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeLobby_EventScript_AskTakeChallenge
BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMons:: @ 825BA27
BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMons::
switch VAR_RESULT
case FRONTIER_LVL_50, BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMonsLv50
case FRONTIER_LVL_OPEN, BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMonsLvOpen
BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMonsLv50:: @ 825BA42
BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMonsLv50::
msgbox BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeLobby_EventScript_EndCancelChallenge
BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 825BA4F
BattleFrontier_BattlePikeLobby_EventScript_NotEnoughValidMonsLvOpen::
msgbox BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeLobby_EventScript_EndCancelChallenge
BattleFrontier_BattlePikeLobby_EventScript_CancelChallengeSaveFailed:: @ 825BA5C
BattleFrontier_BattlePikeLobby_EventScript_CancelChallengeSaveFailed::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
goto BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge
BattleFrontier_BattlePikeLobby_EventScript_LoadPartyAndCancelChallenge:: @ 825BA73
BattleFrontier_BattlePikeLobby_EventScript_LoadPartyAndCancelChallenge::
special LoadPlayerParty
BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge:: @ 825BA76
BattleFrontier_BattlePikeLobby_EventScript_CancelChallenge::
msgbox BattleFrontier_BattlePikeLobby_Text_LookForwardToSeeingYou, MSGBOX_DEFAULT
BattleFrontier_BattlePikeLobby_EventScript_EndCancelChallenge:: @ 825BA7E
BattleFrontier_BattlePikeLobby_EventScript_EndCancelChallenge::
release
end
BattleFrontier_BattlePikeLobby_EventScript_ShowResults:: @ 825BA80
BattleFrontier_BattlePikeLobby_EventScript_ShowResults::
lockall
frontier_results FRONTIER_FACILITY_PIKE
waitbuttonpress
@@ -201,39 +197,39 @@ BattleFrontier_BattlePikeLobby_EventScript_ShowResults:: @ 825BA80
releaseall
end
BattleFrontier_BattlePikeLobby_EventScript_WalkToCorridor:: @ 825BA94
BattleFrontier_BattlePikeLobby_EventScript_WalkToCorridor::
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePikeLobby_Movement_AttendantWalkToCorridor
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePikeLobby_Movement_PlayerWalkToCorridor
waitmovement 0
return
BattleFrontier_BattlePikeLobby_Movement_PlayerWalkToCorridor: @ 825BAA6
BattleFrontier_BattlePikeLobby_Movement_PlayerWalkToCorridor:
walk_up
BattleFrontier_BattlePikeLobby_Movement_AttendantWalkToCorridor: @ 825BAA7
BattleFrontier_BattlePikeLobby_Movement_AttendantWalkToCorridor:
walk_up
walk_up
set_invisible
step_end
BattleFrontier_BattlePikeLobby_EventScript_Hiker:: @ 825BAAB
BattleFrontier_BattlePikeLobby_EventScript_Hiker::
msgbox BattleFrontier_BattlePikeLobby_Text_OneRoomAwayFromGoal, MSGBOX_NPC
end
BattleFrontier_BattlePikeLobby_EventScript_Twin:: @ 825BAB4
BattleFrontier_BattlePikeLobby_EventScript_Twin::
msgbox BattleFrontier_BattlePikeLobby_Text_NeverHadToBattleTrainer, MSGBOX_NPC
end
BattleFrontier_BattlePikeLobby_EventScript_Beauty:: @ 825BABD
BattleFrontier_BattlePikeLobby_EventScript_Beauty::
msgbox BattleFrontier_BattlePikeLobby_Text_ThinkAbilitiesUsefulHere, MSGBOX_NPC
end
BattleFrontier_BattlePikeLobby_EventScript_RulesBoard:: @ 825BAC6
BattleFrontier_BattlePikeLobby_EventScript_RulesBoard::
lockall
msgbox BattleFrontier_BattlePikeLobby_Text_RulesAreListed, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard:: @ 825BAD5
BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard::
message BattleFrontier_BattlePikeLobby_Text_ReadWhichHeading
waitmessage
multichoice 16, 4, MULTI_BATTLE_PIKE_RULES, FALSE
@@ -245,43 +241,43 @@ BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard:: @ 825BAD5
case MULTI_B_PRESSED, BattleFrontier_BattlePikeLobby_EventScript_ExitRules
end
BattleFrontier_BattlePikeLobby_EventScript_RulesPokenavBag:: @ 825BB1D
BattleFrontier_BattlePikeLobby_EventScript_RulesPokenavBag::
msgbox BattleFrontier_BattlePikeLobby_Text_ExplainPokenavBagRules, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattlePikeLobby_EventScript_RulesHeldItems:: @ 825BB2B
BattleFrontier_BattlePikeLobby_EventScript_RulesHeldItems::
msgbox BattleFrontier_BattlePikeLobby_Text_ExplainHeldItemRules, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattlePikeLobby_EventScript_RulesMonOrder:: @ 825BB39
BattleFrontier_BattlePikeLobby_EventScript_RulesMonOrder::
msgbox BattleFrontier_BattlePikeLobby_Text_ExplainMonOrderRules, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattlePikeLobby_EventScript_ExitRules:: @ 825BB47
BattleFrontier_BattlePikeLobby_EventScript_ExitRules::
releaseall
end
BattleFrontier_BattlePike_EventScript_CloseCurtain:: @ 825BB49
BattleFrontier_BattlePike_EventScript_CloseCurtain::
playse SE_PIKE_CURTAIN_CLOSE
special CloseBattlePikeCurtain
waitstate
waitse
return
BattleFrontier_BattlePikeLobby_Text_WelcomeToBattlePike: @ 825BB52
BattleFrontier_BattlePikeLobby_Text_WelcomeToBattlePike:
.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_TakeChallenge: @ 825BBC1
BattleFrontier_BattlePikeLobby_Text_TakeChallenge:
.string "Would you like to take the Battle\n"
.string "Choice challenge?$"
BattleFrontier_BattlePikeLobby_Text_ExplainBattlePike: @ 825BBF5
BattleFrontier_BattlePikeLobby_Text_ExplainBattlePike:
.string "Here we conduct an event we call\n"
.string "the Battle Choice.\p"
.string "The Battle Choice rules are very\n"
@@ -300,16 +296,16 @@ BattleFrontier_BattlePikeLobby_Text_ExplainBattlePike: @ 825BBF5
.string "If you don't save before interrupting,\n"
.string "you will be disqualified.$"
BattleFrontier_BattlePikeLobby_Text_LookForwardToSeeingYou: @ 825BE02
BattleFrontier_BattlePikeLobby_Text_LookForwardToSeeingYou:
.string "We look forward to seeing you\n"
.string "on another occasion…$"
BattleFrontier_BattlePikeLobby_Text_WhichChallengeMode: @ 825BE35
BattleFrontier_BattlePikeLobby_Text_WhichChallengeMode:
.string "You have the choice of two courses,\n"
.string "Level 50 and Open Level.\l"
.string "Which will you challenge?$"
BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLv50: @ 825BE8C
BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLv50:
.string "I beg your pardon, but…\p"
.string "You do not have three eligible\n"
.string "POKéMON for the Battle Choice event.\p"
@@ -321,7 +317,7 @@ BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLv50: @ 825BE8C
.string "Please come see me when\n"
.string "you are ready…$"
BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLvOpen: @ 825BF9A
BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLvOpen:
.string "I beg your pardon, but…\p"
.string "You do not have three eligible\n"
.string "POKéMON for the Battle Choice event.\p"
@@ -333,101 +329,101 @@ BattleFrontier_BattlePikeLobby_Text_NotEnoughValidMonsLvOpen: @ 825BF9A
.string "Please come see me when\n"
.string "you are ready…$"
BattleFrontier_BattlePikeLobby_Text_PleaseChooseThreeMons: @ 825C094
BattleFrontier_BattlePikeLobby_Text_PleaseChooseThreeMons:
.string "Please choose the three POKéMON\n"
.string "you wish to enter in the challenge…$"
BattleFrontier_BattlePikeLobby_Text_SaveBeforeChallenge: @ 825C0D8
BattleFrontier_BattlePikeLobby_Text_SaveBeforeChallenge:
.string "Before starting your Battle Choice\n"
.string "challenge, I must save the game.\l"
.string "Is that acceptable?$"
BattleFrontier_BattlePikeLobby_Text_StepThisWay: @ 825C130
BattleFrontier_BattlePikeLobby_Text_StepThisWay:
.string "Please step this way…$"
BattleFrontier_BattlePikeLobby_Text_ChallengeEndedRecordResults: @ 825C146
BattleFrontier_BattlePikeLobby_Text_ChallengeEndedRecordResults:
.string "Your challenge has ended…\p"
.string "I shall record your results.\n"
.string "Please wait…$"
BattleFrontier_BattlePikeLobby_Text_PossessLuckInAbundance: @ 825C18A
BattleFrontier_BattlePikeLobby_Text_PossessLuckInAbundance:
.string "You have completed the challenge…\p"
.string "I must say… You seem to possess luck\n"
.string "in abundance…$"
BattleFrontier_BattlePikeLobby_Text_ShallRecordResults: @ 825C1DF
BattleFrontier_BattlePikeLobby_Text_ShallRecordResults:
.string "I shall record your results.\n"
.string "Please wait…$"
@ Unused
BattleFrontier_BattlePikeLobby_Text_AwardYouTheseBattlePoints2: @ 825C209
BattleFrontier_BattlePikeLobby_Text_AwardYouTheseBattlePoints2:
.string "To commemorate your completion of\n"
.string "the Battle Choice challenge, we award\l"
.string "you these Battle Point(s)…$"
@ Unused
BattleFrontier_BattlePikeLobby_Text_ReachedBattlePointLimit: @ 825C26C
BattleFrontier_BattlePikeLobby_Text_ReachedBattlePointLimit:
.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_FailedToSaveBeforeQuitting: @ 825C2E0
BattleFrontier_BattlePikeLobby_Text_FailedToSaveBeforeQuitting:
.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_SnatchedVictoryFromQueen: @ 825C383
BattleFrontier_BattlePikeLobby_Text_SnatchedVictoryFromQueen:
.string "Congratulations…\p"
.string "You have snatched victory from the\n"
.string "PIKE QUEEN and cleared the event…$"
BattleFrontier_BattlePikeLobby_Text_AwardYouTheseBattlePoints: @ 825C3D9
BattleFrontier_BattlePikeLobby_Text_AwardYouTheseBattlePoints:
.string "In recognition of your amazing luck,\n"
.string "we award you these Battle Point(s)…$"
BattleFrontier_BattlePikeLobby_Text_OneRoomAwayFromGoal: @ 825C422
BattleFrontier_BattlePikeLobby_Text_OneRoomAwayFromGoal:
.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_NeverHadToBattleTrainer: @ 825C4A5
BattleFrontier_BattlePikeLobby_Text_NeverHadToBattleTrainer:
.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_ThinkAbilitiesUsefulHere: @ 825C4FD
BattleFrontier_BattlePikeLobby_Text_ThinkAbilitiesUsefulHere:
.string "Listen! Listen!\p"
.string "Don't you think that the special\n"
.string "abilities of POKéMON will be useful\l"
.string "here?$"
@ Unused
BattleFrontier_BattlePikeLobby_Text_TrainersWhicheverPathIChoose: @ 825C558
BattleFrontier_BattlePikeLobby_Text_TrainersWhicheverPathIChoose:
.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_RulesAreListed: @ 825C5FB
BattleFrontier_BattlePikeLobby_Text_RulesAreListed:
.string "The Battle Choice's rules are listed.$"
BattleFrontier_BattlePikeLobby_Text_ReadWhichHeading: @ 825C621
BattleFrontier_BattlePikeLobby_Text_ReadWhichHeading:
.string "Which heading do you want to read?$"
BattleFrontier_BattlePikeLobby_Text_ExplainPokenavBagRules: @ 825C644
BattleFrontier_BattlePikeLobby_Text_ExplainPokenavBagRules:
.string "The BAG and POKéNAV may not be used\n"
.string "during a Battle Choice challenge.$"
BattleFrontier_BattlePikeLobby_Text_ExplainHeldItemRules: @ 825C68A
BattleFrontier_BattlePikeLobby_Text_ExplainHeldItemRules:
.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_ExplainMonOrderRules: @ 825C6EB
BattleFrontier_BattlePikeLobby_Text_ExplainMonOrderRules:
.string "During a Battle Choice challenge,\n"
.string "the sequence of POKéMON cannot be\l"
.string "changed.\p"

View File

@@ -1,15 +1,15 @@
.set LOCALID_ATTENDANT, 1
BattleFrontier_BattlePikeRoomFinal_MapScripts:: @ 825E392
BattleFrontier_BattlePikeRoomFinal_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeRoomFinal_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeRoomFinal_OnWarp
.byte 0
BattleFrontier_BattlePikeRoomFinal_OnFrame: @ 825E39D
BattleFrontier_BattlePikeRoomFinal_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeRoomFinal_EventScript_EnterRoom
.2byte 0
BattleFrontier_BattlePikeRoomFinal_EventScript_EnterRoom:: @ 825E3A7
BattleFrontier_BattlePikeRoomFinal_EventScript_EnterRoom::
delay 16
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePikeRoomFinal_Movement_AttendantApproachPlayer
waitmovement 0
@@ -18,25 +18,25 @@ BattleFrontier_BattlePikeRoomFinal_EventScript_EnterRoom:: @ 825E3A7
msgbox BattleFrontier_BattlePikeRoomFinal_Text_CongratsThisWayPlease, MSGBOX_DEFAULT
closemessage
releaseall
warp MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY, 255, 5, 6
warp MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY, 5, 6
waitstate
end
BattleFrontier_BattlePikeRoomFinal_Movement_AttendantApproachPlayer: @ 825E3DB
BattleFrontier_BattlePikeRoomFinal_Movement_AttendantApproachPlayer:
walk_down
walk_down
step_end
BattleFrontier_BattlePikeRoomFinal_OnWarp: @ 825E3DE
BattleFrontier_BattlePikeRoomFinal_OnWarp:
map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeRoomFinal_EventScript_TurnPlayerNorth
.2byte 0
BattleFrontier_BattlePikeRoomFinal_EventScript_TurnPlayerNorth:: @ 825E3E8
BattleFrontier_BattlePikeRoomFinal_EventScript_TurnPlayerNorth::
setvar VAR_TEMP_4, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end
BattleFrontier_BattlePikeRoomFinal_Text_CongratsThisWayPlease: @ 825E3F2
BattleFrontier_BattlePikeRoomFinal_Text_CongratsThisWayPlease:
.string "Congratulations…\n"
.string "Now, this way, please…$"

View File

@@ -3,18 +3,18 @@
.equ LOCALID_OBJ_0, 1
.equ LOCALID_OBJ_1, 2
BattleFrontier_BattlePikeRoomNormal_MapScripts:: @ 825D152
BattleFrontier_BattlePikeRoomNormal_MapScripts::
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattlePikeRoom_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattlePikeRoom_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeRoomNormal_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeRoom_OnWarp
.byte 0
BattleFrontier_BattlePikeRoomNormal_OnFrame: @ 825D167
BattleFrontier_BattlePikeRoomNormal_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePikeRoomNormal_EventScript_EnterRoom
.2byte 0
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterRoom:: @ 825D171
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterRoom::
setvar VAR_TEMP_0, 1
pike_getroomtype
switch VAR_RESULT
@@ -26,7 +26,7 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_EnterRoom:: @ 825D171
case PIKE_ROOM_BRAIN, BattleFrontier_BattlePikeRoomNormal_EventScript_EnterBrainRoom
end
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterSingleBattleRoom:: @ 825D1C6
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterSingleBattleRoom::
lockall
delay 16
applymovement LOCALID_OBJ_0, BattleFrontier_BattlePikeRoomNormal_Movement_ApproachPlayer
@@ -42,18 +42,18 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_EnterSingleBattleRoom:: @ 825D1C
waitstate
switch VAR_RESULT
case 1, BattleFrontier_BattlePikeRoomNormal_EventScript_WonSingleBattle
BattleFrontier_BattlePikeRoomNormal_EventScript_WarpToLobbyLost:: @ 825D20A
BattleFrontier_BattlePikeRoomNormal_EventScript_WarpToLobbyLost::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
warp MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY, 255, 5, 6
warp MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY, 5, 6
waitstate
end
BattleFrontier_BattlePikeRoomNormal_EventScript_WonSingleBattle:: @ 825D226
BattleFrontier_BattlePikeRoomNormal_EventScript_WonSingleBattle::
applymovement LOCALID_OBJ_0, BattleFrontier_BattlePikeRoomNormal_Movement_NPCExit
waitmovement 0
end
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterHardBattleRoom:: @ 825D231
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterHardBattleRoom::
lockall
delay 16
msgbox BattleFrontier_BattlePikeRoomNormal_Text_BattleSomewhatToughTrainer, MSGBOX_DEFAULT
@@ -75,7 +75,7 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_EnterHardBattleRoom:: @ 825D231
goto BattleFrontier_BattlePikeRoomNormal_EventScript_WarpToLobbyLost
end
BattleFrontier_BattlePikeRoomNormal_EventScript_WonHardBattle:: @ 825D285
BattleFrontier_BattlePikeRoomNormal_EventScript_WonHardBattle::
applymovement LOCALID_OBJ_0, BattleFrontier_BattlePikeRoomNormal_Movement_NPCExit
waitmovement 0
applymovement LOCALID_OBJ_1, BattleFrontier_BattlePikeRoomNormal_Movement_HealNPCApproachPlayer
@@ -93,7 +93,7 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_WonHardBattle:: @ 825D285
waitmovement 0
end
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterBrainRoom:: @ 825D2BF
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterBrainRoom::
delay 22
lockall
applymovement LOCALID_OBJ_1, BattleFrontier_BattlePikeRoomNormal_Movement_PreQueenHealNPCApproachPlayer
@@ -104,7 +104,7 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_EnterBrainRoom:: @ 825D2BF
case 1, BattleFrontier_BattlePikeRoomNormal_EventScript_PreQueenHealOneMon
case 2, BattleFrontier_BattlePikeRoomNormal_EventScript_PreQueenHealTwoMons
BattleFrontier_BattlePikeRoomNormal_EventScript_LucyEnter:: @ 825D2FB
BattleFrontier_BattlePikeRoomNormal_EventScript_LucyEnter::
msgbox BattleFrontier_BattlePikeRoomNormal_Text_ShallFetchOurMaster, MSGBOX_DEFAULT
closemessage
special SpawnCameraObject
@@ -137,21 +137,18 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_LucyEnter:: @ 825D2FB
case FRONTIER_BRAIN_STREAK, BattleFrontier_BattlePikeRoomNormal_EventScript_BattleLucySilver
case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattlePikeRoomNormal_EventScript_BattleLucyGold
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
compare VAR_RESULT, FALSE
goto_if_ne BattleFrontier_BattlePikeRoomNormal_EventScript_BattleLucySilver
goto_if_ne VAR_RESULT, FALSE, BattleFrontier_BattlePikeRoomNormal_EventScript_BattleLucySilver
msgbox BattleFrontier_BattlePikeRoomNormal_Text_ImThePikeQueen, MSGBOX_DEFAULT
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
BattleFrontier_BattlePikeRoomNormal_EventScript_BattleLucySilver:: @ 825D3BD
BattleFrontier_BattlePikeRoomNormal_EventScript_BattleLucySilver::
msgbox BattleFrontier_BattlePikeRoomNormal_Text_HopeYouDidntUseUpLuck, MSGBOX_DEFAULT
call BattleFrontier_BattlePikeRoomNormal_EventScript_DoPikeQueenBattle
compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucySilver
goto_if_eq VAR_RESULT, 1, BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucySilver
goto BattleFrontier_BattlePikeRoomNormal_EventScript_WarpToLobbyLost
BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucySilver:: @ 825D3DA
BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucySilver::
frontier_getsymbols
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucy
goto_if_ne VAR_RESULT, 0, BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucy
msgbox BattleFrontier_BattlePikeRoomNormal_Text_LucyShowMeFrontierPass, MSGBOX_DEFAULT
waitmessage
playfanfare MUS_OBTAIN_SYMBOL
@@ -163,23 +160,20 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucySilver:: @ 825D3DA
closemessage
goto BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucy
BattleFrontier_BattlePikeRoomNormal_EventScript_IntroLucyGold:: @ 825D416
BattleFrontier_BattlePikeRoomNormal_EventScript_IntroLucyGold::
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
compare VAR_RESULT, FALSE
goto_if_ne BattleFrontier_BattlePikeRoomNormal_EventScript_BattleLucyGold
goto_if_ne VAR_RESULT, FALSE, BattleFrontier_BattlePikeRoomNormal_EventScript_BattleLucyGold
msgbox BattleFrontier_BattlePikeRoomNormal_Text_LucyYouAgain, MSGBOX_DEFAULT
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
BattleFrontier_BattlePikeRoomNormal_EventScript_BattleLucyGold:: @ 825D443
BattleFrontier_BattlePikeRoomNormal_EventScript_BattleLucyGold::
msgbox BattleFrontier_BattlePikeRoomNormal_Text_NowComeOn, MSGBOX_DEFAULT
call BattleFrontier_BattlePikeRoomNormal_EventScript_DoPikeQueenBattle
compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucyGold
goto_if_eq VAR_RESULT, 1, BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucyGold
goto BattleFrontier_BattlePikeRoomNormal_EventScript_WarpToLobbyLost
BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucyGold:: @ 825D460
BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucyGold::
frontier_getsymbols
compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucy
goto_if_eq VAR_RESULT, 2, BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucy
msgbox BattleFrontier_BattlePikeRoomNormal_Text_LucyFrontierPass, MSGBOX_DEFAULT
waitmessage
playfanfare MUS_OBTAIN_SYMBOL
@@ -192,7 +186,7 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucyGold:: @ 825D460
goto BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucy
end
BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucy:: @ 825D49D
BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucy::
applymovement LOCALID_OBJ_0, BattleFrontier_BattlePikeRoomNormal_Movement_LucyMoveAside
waitmovement 0
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePikeRoomNormal_Movement_PlayerWalkUp2
@@ -204,26 +198,26 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_DefeatedLucy:: @ 825D49D
waitstate
end
BattleFrontier_BattlePikeRoomNormal_EventScript_PreQueenNoHeal:: @ 825D4DC
BattleFrontier_BattlePikeRoomNormal_EventScript_PreQueenNoHeal::
msgbox BattleFrontier_BattlePikeRoomNormal_Text_ChoseRoomNoHeal, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeRoomNormal_EventScript_LucyEnter
end
BattleFrontier_BattlePikeRoomNormal_EventScript_PreQueenHealOneMon:: @ 825D4EA
BattleFrontier_BattlePikeRoomNormal_EventScript_PreQueenHealOneMon::
msgbox BattleFrontier_BattlePikeRoomNormal_Text_ChoseRoomHealOne, MSGBOX_DEFAULT
playfanfare MUS_HEAL
waitfanfare
goto BattleFrontier_BattlePikeRoomNormal_EventScript_LucyEnter
end
BattleFrontier_BattlePikeRoomNormal_EventScript_PreQueenHealTwoMons:: @ 825D4FC
BattleFrontier_BattlePikeRoomNormal_EventScript_PreQueenHealTwoMons::
msgbox BattleFrontier_BattlePikeRoomNormal_Text_ChoseRoomHealTwo, MSGBOX_DEFAULT
playfanfare MUS_HEAL
waitfanfare
goto BattleFrontier_BattlePikeRoomNormal_EventScript_LucyEnter
end
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterFullHealRoom:: @ 825D50E
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterFullHealRoom::
lockall
delay 16
applymovement LOCALID_OBJ_0, BattleFrontier_BattlePikeRoomNormal_Movement_ApproachPlayer
@@ -240,7 +234,7 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_EnterFullHealRoom:: @ 825D50E
releaseall
end
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterDoubleBattleRoom:: @ 825D53E
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterDoubleBattleRoom::
lockall
delay 16
applymovement LOCALID_OBJ_0, BattleFrontier_BattlePikeRoomNormal_Movement_Trainer1WalkRight
@@ -272,7 +266,7 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_EnterDoubleBattleRoom:: @ 825D53
goto BattleFrontier_BattlePikeRoomNormal_EventScript_WarpToLobbyLost
end
BattleFrontier_BattlePikeRoomNormal_EventScript_WonDoubleBattle:: @ 825D5DC
BattleFrontier_BattlePikeRoomNormal_EventScript_WonDoubleBattle::
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePikeRoomNormal_Movement_PlayerFaceTrainer2
waitmovement 0
applymovement LOCALID_OBJ_0, BattleFrontier_BattlePikeRoomNormal_Movement_Trainer1Exit
@@ -283,37 +277,31 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_WonDoubleBattle:: @ 825D5DC
waitmovement 0
end
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterStatusRoom:: @ 825D605
BattleFrontier_BattlePikeRoomNormal_EventScript_EnterStatusRoom::
lockall
message BattleFrontier_BattlePikeRoomNormal_Text_WatchOut
applymovement LOCALID_OBJ_1, BattleFrontier_BattlePikeRoomNormal_Movement_MonApproachPlayer
waitmovement 0
pike_getstatusmon
copyvar VAR_0x8004, VAR_RESULT
compare VAR_0x8004, PIKE_STATUSMON_KIRLIA
call_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaAttack
compare VAR_0x8004, PIKE_STATUSMON_DUSCLOPS
call_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_DusclopsAttack
call_if_eq VAR_0x8004, PIKE_STATUSMON_KIRLIA, BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaAttack
call_if_eq VAR_0x8004, PIKE_STATUSMON_DUSCLOPS, BattleFrontier_BattlePikeRoomNormal_EventScript_DusclopsAttack
msgbox BattleFrontier_BattlePikeRoomNormal_Text_AttacksWhenStartled, MSGBOX_DEFAULT
closemessage
releaseall
end
BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaAttack:: @ 825D643
BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaAttack::
msgbox BattleFrontier_BattlePikeRoomNormal_Text_KirliaStop, MSGBOX_DEFAULT
closemessage
waitse
playmoncry SPECIES_KIRLIA, 0
playmoncry SPECIES_KIRLIA, CRY_MODE_NORMAL
waitmoncry
pike_getstatus
compare VAR_RESULT, PIKE_STATUS_TOXIC
call_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedToxic
compare VAR_RESULT, PIKE_STATUS_BURN
call_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedWillOWisp
compare VAR_RESULT, PIKE_STATUS_PARALYSIS
call_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedThunderWave
compare VAR_RESULT, PIKE_STATUS_SLEEP
call_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedHypnosis
call_if_eq VAR_RESULT, PIKE_STATUS_TOXIC, BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedToxic
call_if_eq VAR_RESULT, PIKE_STATUS_BURN, BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedWillOWisp
call_if_eq VAR_RESULT, PIKE_STATUS_PARALYSIS, BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedThunderWave
call_if_eq VAR_RESULT, PIKE_STATUS_SLEEP, BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedHypnosis
pike_flashscreen
waitstate
applymovement LOCALID_OBJ_0, BattleFrontier_BattlePikeRoomNormal_Movement_NPCApproachMon
@@ -321,11 +309,11 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaAttack:: @ 825D643
applymovement LOCALID_OBJ_1, BattleFrontier_BattlePikeRoomNormal_Movement_MonFaceNPC
waitmovement 0
waitse
playmoncry SPECIES_KIRLIA, 0
playmoncry SPECIES_KIRLIA, CRY_MODE_NORMAL
waitmoncry
msgbox BattleFrontier_BattlePikeRoomNormal_Text_ThatsEnough, MSGBOX_DEFAULT
waitse
playmoncry SPECIES_KIRLIA, 0
playmoncry SPECIES_KIRLIA, CRY_MODE_NORMAL
waitmoncry
closemessage
applymovement LOCALID_OBJ_1, BattleFrontier_BattlePikeRoomNormal_Movement_MonMoveAside
@@ -334,17 +322,15 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaAttack:: @ 825D643
msgbox BattleFrontier_BattlePikeRoomNormal_Text_ApologizeForKirlia, MSGBOX_DEFAULT
return
BattleFrontier_BattlePikeRoomNormal_EventScript_DusclopsAttack:: @ 825D6D5
BattleFrontier_BattlePikeRoomNormal_EventScript_DusclopsAttack::
msgbox BattleFrontier_BattlePikeRoomNormal_Text_DusclopsStop, MSGBOX_DEFAULT
closemessage
waitse
playmoncry SPECIES_DUSCLOPS, 0
playmoncry SPECIES_DUSCLOPS, CRY_MODE_NORMAL
waitmoncry
pike_getstatus
compare VAR_RESULT, PIKE_STATUS_FREEZE
call_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_DusclopsUsedIceBeam
compare VAR_RESULT, PIKE_STATUS_BURN
call_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_DusclopsUsedWillOWisp
call_if_eq VAR_RESULT, PIKE_STATUS_FREEZE, BattleFrontier_BattlePikeRoomNormal_EventScript_DusclopsUsedIceBeam
call_if_eq VAR_RESULT, PIKE_STATUS_BURN, BattleFrontier_BattlePikeRoomNormal_EventScript_DusclopsUsedWillOWisp
pike_flashscreen
waitstate
applymovement LOCALID_OBJ_0, BattleFrontier_BattlePikeRoomNormal_Movement_NPCApproachMon
@@ -352,11 +338,11 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_DusclopsAttack:: @ 825D6D5
applymovement LOCALID_OBJ_1, BattleFrontier_BattlePikeRoomNormal_Movement_MonFaceNPC
waitmovement 0
waitse
playmoncry SPECIES_DUSCLOPS, 0
playmoncry SPECIES_DUSCLOPS, CRY_MODE_NORMAL
waitmoncry
msgbox BattleFrontier_BattlePikeRoomNormal_Text_ThatsEnough, MSGBOX_DEFAULT
waitse
playmoncry SPECIES_DUSCLOPS, 0
playmoncry SPECIES_DUSCLOPS, CRY_MODE_NORMAL
waitmoncry
closemessage
applymovement LOCALID_OBJ_1, BattleFrontier_BattlePikeRoomNormal_Movement_MonMoveAside
@@ -365,37 +351,37 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_DusclopsAttack:: @ 825D6D5
msgbox BattleFrontier_BattlePikeRoomNormal_Text_ApologizeForDusclops, MSGBOX_DEFAULT
return
BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedToxic:: @ 825D751
BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedToxic::
message BattleFrontier_BattlePikeRoomNormal_Text_KirliaUsedToxic
waitmessage
return
BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedWillOWisp:: @ 825D758
BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedWillOWisp::
message BattleFrontier_BattlePikeRoomNormal_Text_KirliaUsedWillOWisp
waitmessage
return
BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedThunderWave:: @ 825D75F
BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedThunderWave::
message BattleFrontier_BattlePikeRoomNormal_Text_KirliaUsedThunderWave
waitmessage
return
BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedHypnosis:: @ 825D766
BattleFrontier_BattlePikeRoomNormal_EventScript_KirliaUsedHypnosis::
message BattleFrontier_BattlePikeRoomNormal_Text_KirliaUsedHypnosis
waitmessage
return
BattleFrontier_BattlePikeRoomNormal_EventScript_DusclopsUsedIceBeam:: @ 825D76D
BattleFrontier_BattlePikeRoomNormal_EventScript_DusclopsUsedIceBeam::
message BattleFrontier_BattlePikeRoomNormal_Text_DusclopsUsedIceBeam
waitmessage
return
BattleFrontier_BattlePikeRoomNormal_EventScript_DusclopsUsedWillOWisp:: @ 825D774
BattleFrontier_BattlePikeRoomNormal_EventScript_DusclopsUsedWillOWisp::
message BattleFrontier_BattlePikeRoomNormal_Text_DusclopsUsedWillOWisp
waitmessage
return
BattleFrontier_BattlePikeRoomNormal_EventScript_DoPikeQueenBattle:: @ 825D77B
BattleFrontier_BattlePikeRoomNormal_EventScript_DoPikeQueenBattle::
closemessage
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePikeRoomNormal_Movement_PlayerWalkUp2
waitmovement 0
@@ -405,12 +391,12 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_DoPikeQueenBattle:: @ 825D77B
waitstate
return
BattleFrontier_BattlePikeRoomNormal_Movement_ApproachPlayer: @ 825D795
BattleFrontier_BattlePikeRoomNormal_Movement_ApproachPlayer:
walk_down
walk_down
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_NPCExit: @ 825D798
BattleFrontier_BattlePikeRoomNormal_Movement_NPCExit:
walk_up
walk_up
walk_up
@@ -418,17 +404,17 @@ BattleFrontier_BattlePikeRoomNormal_Movement_NPCExit: @ 825D798
walk_up
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_HealNPCExit: @ 825D79E
BattleFrontier_BattlePikeRoomNormal_Movement_HealNPCExit:
walk_up
set_invisible
walk_up
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_NPCApproachMon: @ 825D7A2
BattleFrontier_BattlePikeRoomNormal_Movement_NPCApproachMon:
walk_down
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_StatusNPCApproachPlayer: @ 825D7A4
BattleFrontier_BattlePikeRoomNormal_Movement_StatusNPCApproachPlayer:
walk_down
face_left
delay_16
@@ -436,7 +422,7 @@ BattleFrontier_BattlePikeRoomNormal_Movement_StatusNPCApproachPlayer: @ 825D7A4
face_down
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_MonApproachPlayer: @ 825D7AA
BattleFrontier_BattlePikeRoomNormal_Movement_MonApproachPlayer:
walk_fast_down
walk_fast_right
walk_fast_right
@@ -445,57 +431,57 @@ BattleFrontier_BattlePikeRoomNormal_Movement_MonApproachPlayer: @ 825D7AA
face_down
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_MonFaceNPC: @ 825D7B1
BattleFrontier_BattlePikeRoomNormal_Movement_MonFaceNPC:
face_up
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_MonMoveAside: @ 825D7B3
BattleFrontier_BattlePikeRoomNormal_Movement_MonMoveAside:
walk_left
BattleFrontier_BattlePikeRoomNormal_Movement_MonFaceRight: @ 825D7B4
BattleFrontier_BattlePikeRoomNormal_Movement_MonFaceRight:
face_right
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_HealNPCApproachPlayer: @ 825D7B6
BattleFrontier_BattlePikeRoomNormal_Movement_HealNPCApproachPlayer:
walk_down
walk_down
walk_right
face_down
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_PlayerFaceTrainer1: @ 825D7BB
BattleFrontier_BattlePikeRoomNormal_Movement_PlayerFaceTrainer1:
face_left
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_PlayerFaceTrainer2: @ 825D7BD
BattleFrontier_BattlePikeRoomNormal_Movement_PlayerFaceTrainer2:
face_right
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_PlayerFaceUp: @ 825D7BF
BattleFrontier_BattlePikeRoomNormal_Movement_PlayerFaceUp:
face_up
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_Trainer1WalkRight: @ 825D7C1
BattleFrontier_BattlePikeRoomNormal_Movement_Trainer1WalkRight:
walk_right
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_Trainer2WalkLeft: @ 825D7C3
BattleFrontier_BattlePikeRoomNormal_Movement_Trainer2WalkLeft:
walk_left
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_DoubleTrainersWalkDown: @ 825D7C5
BattleFrontier_BattlePikeRoomNormal_Movement_DoubleTrainersWalkDown:
walk_down
walk_down
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_Trainer1FacePlayer: @ 825D7C8
BattleFrontier_BattlePikeRoomNormal_Movement_Trainer1FacePlayer:
face_right
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_Trainer2FacePlayer: @ 825D7CA
BattleFrontier_BattlePikeRoomNormal_Movement_Trainer2FacePlayer:
face_left
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_Trainer1Exit: @ 825D7CC
BattleFrontier_BattlePikeRoomNormal_Movement_Trainer1Exit:
walk_up
walk_up
walk_up
@@ -505,7 +491,7 @@ BattleFrontier_BattlePikeRoomNormal_Movement_Trainer1Exit: @ 825D7CC
walk_up
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_Trainer2Exit: @ 825D7D4
BattleFrontier_BattlePikeRoomNormal_Movement_Trainer2Exit:
walk_up
walk_up
walk_up
@@ -516,40 +502,40 @@ BattleFrontier_BattlePikeRoomNormal_Movement_Trainer2Exit: @ 825D7D4
step_end
@ For approaching Lucy and exiting room after defeating Lucy
BattleFrontier_BattlePikeRoomNormal_Movement_PlayerWalkUp2: @ 825D7DC
BattleFrontier_BattlePikeRoomNormal_Movement_PlayerWalkUp2:
walk_up
walk_up
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_PreQueenHealNPCApproachPlayer: @ 825D7DF
BattleFrontier_BattlePikeRoomNormal_Movement_PreQueenHealNPCApproachPlayer:
walk_down
walk_down
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_HealNPCExitForLucy: @ 825D7E2
BattleFrontier_BattlePikeRoomNormal_Movement_HealNPCExitForLucy:
walk_up
walk_up
walk_up
set_invisible
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_LucyEnter: @ 825D7E7
BattleFrontier_BattlePikeRoomNormal_Movement_LucyEnter:
set_visible
walk_down
step_end
BattleFrontier_BattlePikeRoomNormal_Movement_LucyMoveAside: @ 825D7EA
BattleFrontier_BattlePikeRoomNormal_Movement_LucyMoveAside:
walk_left
face_right
step_end
BattleFrontier_BattlePikeRoomNormal_EventScript_NPC:: @ 825D7ED
BattleFrontier_BattlePikeRoomNormal_EventScript_NPC::
pike_getroomtype
switch VAR_RESULT
case PIKE_ROOM_NPC, BattleFrontier_BattlePikeRoomNormal_EventScript_NormalNPC
case PIKE_ROOM_STATUS, BattleFrontier_BattlePikeRoomNormal_EventScript_StatusNPC
case PIKE_ROOM_HEAL_PART, BattleFrontier_BattlePikeRoomNormal_EventScript_HealNPC
BattleFrontier_BattlePikeRoomNormal_EventScript_NormalNPC:: @ 825D81B
BattleFrontier_BattlePikeRoomNormal_EventScript_NormalNPC::
lock
faceplayer
pike_getnpcmsg
@@ -559,7 +545,7 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_NormalNPC:: @ 825D81B
release
end
BattleFrontier_BattlePikeRoomNormal_EventScript_StatusNPC:: @ 825D831
BattleFrontier_BattlePikeRoomNormal_EventScript_StatusNPC::
lock
faceplayer
msgbox BattleFrontier_BattlePikeRoomNormal_Text_ApologizeHopeMonsAreFine, MSGBOX_DEFAULT
@@ -567,12 +553,10 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_StatusNPC:: @ 825D831
release
end
BattleFrontier_BattlePikeRoomNormal_EventScript_HealNPC:: @ 825D83E
BattleFrontier_BattlePikeRoomNormal_EventScript_HealNPC::
pike_healonetwomons
compare VAR_RESULT, 2
call_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_WillRestoreTwoMons
compare VAR_RESULT, 1
call_if_eq BattleFrontier_BattlePikeRoomNormal_EventScript_WillRestoreOneMon
call_if_eq VAR_RESULT, 2, BattleFrontier_BattlePikeRoomNormal_EventScript_WillRestoreTwoMons
call_if_eq VAR_RESULT, 1, BattleFrontier_BattlePikeRoomNormal_EventScript_WillRestoreOneMon
playfanfare MUS_HEAL
waitfanfare
msgbox BattleFrontier_BattlePikeRoomNormal_Text_BestOfLuckFarewell, MSGBOX_DEFAULT
@@ -582,14 +566,14 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_HealNPC:: @ 825D83E
waitmovement 0
end
BattleFrontier_BattlePikeRoomNormal_EventScript_WillRestoreOneMon:: @ 825D875
BattleFrontier_BattlePikeRoomNormal_EventScript_WillRestoreOneMon::
lock
faceplayer
msgbox BattleFrontier_BattlePikeRoomNormal_Text_WillRestoreOneMon, MSGBOX_DEFAULT
closemessage
return
BattleFrontier_BattlePikeRoomNormal_EventScript_WillRestoreTwoMons:: @ 825D881
BattleFrontier_BattlePikeRoomNormal_EventScript_WillRestoreTwoMons::
lock
faceplayer
msgbox BattleFrontier_BattlePikeRoomNormal_Text_WillRestoreTwoMons, MSGBOX_DEFAULT
@@ -597,7 +581,7 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_WillRestoreTwoMons:: @ 825D881
return
@ Dusclops or Kirlia
BattleFrontier_BattlePikeRoomNormal_EventScript_StatusMon:: @ 825D88D
BattleFrontier_BattlePikeRoomNormal_EventScript_StatusMon::
lock
faceplayer
msgbox BattleFrontier_BattlePikeRoomNormal_Text_Silence, MSGBOX_DEFAULT
@@ -607,180 +591,180 @@ BattleFrontier_BattlePikeRoomNormal_EventScript_StatusMon:: @ 825D88D
waitmovement 0
end
BattleFrontier_BattlePikeRoomNormal_EventScript_SetCurtainTilesMostlyClosed:: @ 825D8A4
setmetatile 4, 1, METATILE_BattlePike_Curtain_Stage1_Tile0, 1
setmetatile 3, 2, METATILE_BattlePike_Curtain_Stage1_Tile1, 1
setmetatile 4, 2, METATILE_BattlePike_Curtain_Stage1_Tile2, 1
setmetatile 5, 2, METATILE_BattlePike_Curtain_Stage1_Tile3, 1
setmetatile 3, 3, METATILE_BattlePike_Curtain_Stage1_Tile4, 1
setmetatile 4, 3, METATILE_BattlePike_Curtain_Stage1_Tile5, 0
setmetatile 5, 3, METATILE_BattlePike_Curtain_Stage1_Tile6, 1
BattleFrontier_BattlePikeRoomNormal_EventScript_SetCurtainTilesMostlyClosed::
setmetatile 4, 1, METATILE_BattlePike_Curtain_Stage1_Tile0, TRUE
setmetatile 3, 2, METATILE_BattlePike_Curtain_Stage1_Tile1, TRUE
setmetatile 4, 2, METATILE_BattlePike_Curtain_Stage1_Tile2, TRUE
setmetatile 5, 2, METATILE_BattlePike_Curtain_Stage1_Tile3, TRUE
setmetatile 3, 3, METATILE_BattlePike_Curtain_Stage1_Tile4, TRUE
setmetatile 4, 3, METATILE_BattlePike_Curtain_Stage1_Tile5, FALSE
setmetatile 5, 3, METATILE_BattlePike_Curtain_Stage1_Tile6, TRUE
special DrawWholeMapView
return
BattleFrontier_BattlePikeRoomNormal_EventScript_SetCurtainTilesLittleClosed:: @ 825D8E7
setmetatile 4, 1, METATILE_BattlePike_Curtain_Stage2_Tile0, 1
setmetatile 3, 2, METATILE_BattlePike_Curtain_Stage2_Tile1, 1
setmetatile 4, 2, METATILE_BattlePike_Curtain_Stage2_Tile2, 1
setmetatile 5, 2, METATILE_BattlePike_Curtain_Stage2_Tile3, 1
setmetatile 3, 3, METATILE_BattlePike_Curtain_Stage2_Tile4, 1
setmetatile 4, 3, METATILE_BattlePike_Curtain_Stage2_Tile5, 0
setmetatile 5, 3, METATILE_BattlePike_Curtain_Stage2_Tile6, 1
BattleFrontier_BattlePikeRoomNormal_EventScript_SetCurtainTilesLittleClosed::
setmetatile 4, 1, METATILE_BattlePike_Curtain_Stage2_Tile0, TRUE
setmetatile 3, 2, METATILE_BattlePike_Curtain_Stage2_Tile1, TRUE
setmetatile 4, 2, METATILE_BattlePike_Curtain_Stage2_Tile2, TRUE
setmetatile 5, 2, METATILE_BattlePike_Curtain_Stage2_Tile3, TRUE
setmetatile 3, 3, METATILE_BattlePike_Curtain_Stage2_Tile4, TRUE
setmetatile 4, 3, METATILE_BattlePike_Curtain_Stage2_Tile5, FALSE
setmetatile 5, 3, METATILE_BattlePike_Curtain_Stage2_Tile6, TRUE
special DrawWholeMapView
return
BattleFrontier_BattlePikeRoomNormal_EventScript_SetCurtainTilesOpen:: @ 825D92A
setmetatile 4, 1, METATILE_BattlePike_Curtain_Stage3_Tile0, 1
setmetatile 3, 2, METATILE_BattlePike_Curtain_Stage3_Tile1, 1
setmetatile 4, 2, METATILE_BattlePike_Curtain_Stage3_Tile2, 1
setmetatile 5, 2, METATILE_BattlePike_Curtain_Stage3_Tile3, 1
setmetatile 3, 3, METATILE_BattlePike_Curtain_Stage3_Tile4, 1
setmetatile 4, 3, METATILE_BattlePike_Curtain_Stage3_Tile5, 0
setmetatile 5, 3, METATILE_BattlePike_Curtain_Stage3_Tile6, 1
BattleFrontier_BattlePikeRoomNormal_EventScript_SetCurtainTilesOpen::
setmetatile 4, 1, METATILE_BattlePike_Curtain_Stage3_Tile0, TRUE
setmetatile 3, 2, METATILE_BattlePike_Curtain_Stage3_Tile1, TRUE
setmetatile 4, 2, METATILE_BattlePike_Curtain_Stage3_Tile2, TRUE
setmetatile 5, 2, METATILE_BattlePike_Curtain_Stage3_Tile3, TRUE
setmetatile 3, 3, METATILE_BattlePike_Curtain_Stage3_Tile4, TRUE
setmetatile 4, 3, METATILE_BattlePike_Curtain_Stage3_Tile5, FALSE
setmetatile 5, 3, METATILE_BattlePike_Curtain_Stage3_Tile6, TRUE
special DrawWholeMapView
return
BattleFrontier_BattlePikeRoomNormal_EventScript_SetCurtainTilesClosed:: @ 825D96D
setmetatile 4, 1, METATILE_BattlePike_Curtain_Stage0_Tile0, 1
setmetatile 3, 2, METATILE_BattlePike_Curtain_Stage0_Tile1, 1
setmetatile 4, 2, METATILE_BattlePike_Curtain_Stage0_Tile2, 1
setmetatile 5, 2, METATILE_BattlePike_Curtain_Stage0_Tile3, 1
setmetatile 3, 3, METATILE_BattlePike_Curtain_Stage0_Tile4, 1
setmetatile 4, 3, METATILE_BattlePike_Curtain_Stage0_Tile5, 0
setmetatile 5, 3, METATILE_BattlePike_Curtain_Stage0_Tile6, 1
BattleFrontier_BattlePikeRoomNormal_EventScript_SetCurtainTilesClosed::
setmetatile 4, 1, METATILE_BattlePike_Curtain_Stage0_Tile0, TRUE
setmetatile 3, 2, METATILE_BattlePike_Curtain_Stage0_Tile1, TRUE
setmetatile 4, 2, METATILE_BattlePike_Curtain_Stage0_Tile2, TRUE
setmetatile 5, 2, METATILE_BattlePike_Curtain_Stage0_Tile3, TRUE
setmetatile 3, 3, METATILE_BattlePike_Curtain_Stage0_Tile4, TRUE
setmetatile 4, 3, METATILE_BattlePike_Curtain_Stage0_Tile5, FALSE
setmetatile 5, 3, METATILE_BattlePike_Curtain_Stage0_Tile6, TRUE
special DrawWholeMapView
return
BattleFrontier_BattlePikeRoomNormal_Movement_CameraPanUp: @ 825D9B0
BattleFrontier_BattlePikeRoomNormal_Movement_CameraPanUp:
walk_up
walk_up
step_end
@ Unused
BattleFrontier_BattlePikeRoomNormal_Movement_CameraPanDown: @ 825D9B3
BattleFrontier_BattlePikeRoomNormal_Movement_CameraPanDown:
walk_down
walk_down
step_end
BattleFrontier_BattlePikeRoomNormal_Text_WillRestoreToFullHealth: @ 825D9B6
BattleFrontier_BattlePikeRoomNormal_Text_WillRestoreToFullHealth:
.string "Welcome…\n"
.string "You must be commended for your luck…\p"
.string "Your POKéMON shall be restored\n"
.string "to full health…$"
BattleFrontier_BattlePikeRoomNormal_Text_EnjoyRestOfChallenge: @ 825DA13
BattleFrontier_BattlePikeRoomNormal_Text_EnjoyRestOfChallenge:
.string "I urge you to enjoy the rest of your\n"
.string "Battle Choice challenge…$"
BattleFrontier_BattlePikeRoomNormal_Text_WillRestoreOneMon: @ 825DA51
BattleFrontier_BattlePikeRoomNormal_Text_WillRestoreOneMon:
.string "Ah, you're a lucky one.\n"
.string "I'm in somewhat-good spirits now.\p"
.string "I will restore one of your POKéMON\n"
.string "to full health.$"
BattleFrontier_BattlePikeRoomNormal_Text_BestOfLuckFarewell: @ 825DABE
BattleFrontier_BattlePikeRoomNormal_Text_BestOfLuckFarewell:
.string "The best of luck to you.\n"
.string "Farewell.$"
@ Seems there was a planned room type where the player could choose to battle and would be healed if they won
@ Possibly replaced/superseded by the hard battle room, which is the same but the battle isnt optional
@ Unused
BattleFrontier_BattlePikeRoomNormal_Text_CareForBattleWillRestoreMons: @ 825DAE1
BattleFrontier_BattlePikeRoomNormal_Text_CareForBattleWillRestoreMons:
.string "Excuse me…\p"
.string "Would you care for a battle?\n"
.string "I'll restore your POKéMON if you win.$"
@ Unused
BattleFrontier_BattlePikeRoomNormal_Text_NowShallWe: @ 825DB2F
BattleFrontier_BattlePikeRoomNormal_Text_NowShallWe:
.string "Very well…\n"
.string "Now, shall we?$"
@ Unused
BattleFrontier_BattlePikeRoomNormal_Text_HowUnsportingOfYou: @ 825DB49
BattleFrontier_BattlePikeRoomNormal_Text_HowUnsportingOfYou:
.string "I see…\n"
.string "How unsporting of you…$"
@ Unused
BattleFrontier_BattlePikeRoomNormal_Text_WillRestoreMonsAsPromised: @ 825DB67
BattleFrontier_BattlePikeRoomNormal_Text_WillRestoreMonsAsPromised:
.string "Magnificent…\p"
.string "As promised, I shall restore your\n"
.string "POKéMON to full health.$"
@ Unused
BattleFrontier_BattlePikeRoomNormal_Text_BestOfLuckFarewell2: @ 825DBAE
BattleFrontier_BattlePikeRoomNormal_Text_BestOfLuckFarewell2:
.string "The best of luck to you.\n"
.string "Farewell.$"
BattleFrontier_BattlePikeRoomNormal_Text_WatchOut: @ 825DBD1
BattleFrontier_BattlePikeRoomNormal_Text_WatchOut:
.string "Oh, my!\p"
.string "Watch out!$"
BattleFrontier_BattlePikeRoomNormal_Text_KirliaStop: @ 825DBE4
BattleFrontier_BattlePikeRoomNormal_Text_KirliaStop:
.string "Now, now!\n"
.string "KIRLIA, stop that!$"
BattleFrontier_BattlePikeRoomNormal_Text_DusclopsStop: @ 825DC01
BattleFrontier_BattlePikeRoomNormal_Text_DusclopsStop:
.string "Now, now!\n"
.string "DUSCLOPS, stop that!$"
BattleFrontier_BattlePikeRoomNormal_Text_KirliaUsedToxic: @ 825DC20
BattleFrontier_BattlePikeRoomNormal_Text_KirliaUsedToxic:
.string "KIRLIA used TOXIC!$"
BattleFrontier_BattlePikeRoomNormal_Text_KirliaUsedHypnosis: @ 825DC33
BattleFrontier_BattlePikeRoomNormal_Text_KirliaUsedHypnosis:
.string "KIRLIA used HYPNOSIS!$"
BattleFrontier_BattlePikeRoomNormal_Text_KirliaUsedThunderWave: @ 825DC49
BattleFrontier_BattlePikeRoomNormal_Text_KirliaUsedThunderWave:
.string "KIRLIA used THUNDER WAVE!$"
BattleFrontier_BattlePikeRoomNormal_Text_KirliaUsedWillOWisp: @ 825DC63
BattleFrontier_BattlePikeRoomNormal_Text_KirliaUsedWillOWisp:
.string "KIRLIA used WILL-O-WISP!$"
BattleFrontier_BattlePikeRoomNormal_Text_DusclopsUsedWillOWisp: @ 825DC7C
BattleFrontier_BattlePikeRoomNormal_Text_DusclopsUsedWillOWisp:
.string "DUSCLOPS used WILL-O-WISP!$"
BattleFrontier_BattlePikeRoomNormal_Text_DusclopsUsedIceBeam: @ 825DC97
BattleFrontier_BattlePikeRoomNormal_Text_DusclopsUsedIceBeam:
.string "DUSCLOPS used ICE BEAM!$"
BattleFrontier_BattlePikeRoomNormal_Text_ThatsEnough: @ 825DCAF
BattleFrontier_BattlePikeRoomNormal_Text_ThatsEnough:
.string "Look here!\n"
.string "That's quite enough!$"
BattleFrontier_BattlePikeRoomNormal_Text_ApologizeForKirlia: @ 825DCCF
BattleFrontier_BattlePikeRoomNormal_Text_ApologizeForKirlia:
.string "I must apologize to you…\p"
.string "My KIRLIA has a TIMID nature…$"
BattleFrontier_BattlePikeRoomNormal_Text_ApologizeForDusclops: @ 825DD06
BattleFrontier_BattlePikeRoomNormal_Text_ApologizeForDusclops:
.string "I must apologize to you…\p"
.string "My DUSCLOPS has a TIMID nature…$"
BattleFrontier_BattlePikeRoomNormal_Text_AttacksWhenStartled: @ 825DD3F
BattleFrontier_BattlePikeRoomNormal_Text_AttacksWhenStartled:
.string "It attacks without warning if it is\n"
.string "startled by another person…\p"
.string "Are you and your POKéMON all right?$"
BattleFrontier_BattlePikeRoomNormal_Text_ApologizeHopeMonsAreFine: @ 825DDA3
BattleFrontier_BattlePikeRoomNormal_Text_ApologizeHopeMonsAreFine:
.string "I do apologize for what happened…\n"
.string "I do hope your POKéMON are fine.$"
BattleFrontier_BattlePikeRoomNormal_Text_Silence: @ 825DDE6
BattleFrontier_BattlePikeRoomNormal_Text_Silence:
.string "… … … … … …\n"
.string "… … … … … …$"
BattleFrontier_BattlePikeRoomNormal_Text_BattleSomewhatToughTrainer: @ 825DDFE
BattleFrontier_BattlePikeRoomNormal_Text_BattleSomewhatToughTrainer:
.string "Welcome…\p"
.string "Here, we will have you battle\n"
.string "a somewhat-tough TRAINER…$"
BattleFrontier_BattlePikeRoomNormal_Text_RestoreToFullHealth: @ 825DE3F
BattleFrontier_BattlePikeRoomNormal_Text_RestoreToFullHealth:
.string "How wonderful…\p"
.string "To honor your victory, your POKéMON\n"
.string "shall be restored to full health…$"
BattleFrontier_BattlePikeRoomNormal_Text_EnjoyRestOfChallenge2: @ 825DE94
BattleFrontier_BattlePikeRoomNormal_Text_EnjoyRestOfChallenge2:
.string "I urge you to enjoy the rest of your\n"
.string "Battle Choice challenge…$"
BattleFrontier_BattlePikeRoomNormal_Text_ImThePikeQueen: @ 825DED2
BattleFrontier_BattlePikeRoomNormal_Text_ImThePikeQueen:
.string "I am LUCY…\n"
.string "I am the law here…\l"
.string "For I am the PIKE QUEEN…\p"
@@ -789,23 +773,23 @@ BattleFrontier_BattlePikeRoomNormal_Text_ImThePikeQueen: @ 825DED2
.string "…I'm not one for idle chatter.\n"
.string "Hurry. Come on…$"
BattleFrontier_BattlePikeRoomNormal_Text_HopeYouDidntUseUpLuck: @ 825DF71
BattleFrontier_BattlePikeRoomNormal_Text_HopeYouDidntUseUpLuck:
.string "Your luck…\n"
.string "I hope you didn't use it all up here…$"
BattleFrontier_BattlePikeRoomNormal_Text_LucyShowMeFrontierPass: @ 825DFA2
BattleFrontier_BattlePikeRoomNormal_Text_LucyShowMeFrontierPass:
.string "LUCY: … … … … … …\n"
.string "Show me your FRONTIER PASS…$"
BattleFrontier_BattlePikeRoomNormal_Text_ReceivedLuckSymbol: @ 825DFD0
BattleFrontier_BattlePikeRoomNormal_Text_ReceivedLuckSymbol:
.string "The Luck Symbol was embossed on\n"
.string "the FRONTIER PASS!$"
BattleFrontier_BattlePikeRoomNormal_Text_AllThereIsDisappear: @ 825E003
BattleFrontier_BattlePikeRoomNormal_Text_AllThereIsDisappear:
.string "…That's all there is…\n"
.string "Disappear already…$"
BattleFrontier_BattlePikeRoomNormal_Text_LucyYouAgain: @ 825E02C
BattleFrontier_BattlePikeRoomNormal_Text_LucyYouAgain:
.string "LUCY: …You again…\p"
.string "… … … … … …\p"
.string "…I've trampled flowers and braved\n"
@@ -815,51 +799,51 @@ BattleFrontier_BattlePikeRoomNormal_Text_LucyYouAgain: @ 825E02C
.string "… … … … … …\n"
.string "Fine… I'll do it…$"
BattleFrontier_BattlePikeRoomNormal_Text_NowComeOn: @ 825E0E8
BattleFrontier_BattlePikeRoomNormal_Text_NowComeOn:
.string "Now!\n"
.string "Come on!$"
BattleFrontier_BattlePikeRoomNormal_Text_LucyFrontierPass: @ 825E0F6
BattleFrontier_BattlePikeRoomNormal_Text_LucyFrontierPass:
.string "LUCY: … … … … … …\p"
.string "…FRONTIER PASS…$"
BattleFrontier_BattlePikeRoomNormal_Text_LuckSymbolTookGoldenShine: @ 825E118
BattleFrontier_BattlePikeRoomNormal_Text_LuckSymbolTookGoldenShine:
.string "The Luck Symbol took on\n"
.string "a golden shine!$"
BattleFrontier_BattlePikeRoomNormal_Text_IWontForget: @ 825E140
BattleFrontier_BattlePikeRoomNormal_Text_IWontForget:
.string "…You, I won't forget…\n"
.string "…Ever…$"
BattleFrontier_BattlePikeRoomNormal_Text_ChoseRoomNoHeal: @ 825E15D
BattleFrontier_BattlePikeRoomNormal_Text_ChoseRoomNoHeal:
.string "I welcome you…\p"
.string "Giggle…\n"
.string "You seem to be bereft of luck…\p"
.string "If only you hadn't chosen this room,\n"
.string "your POKéMON could have been healed…$"
BattleFrontier_BattlePikeRoomNormal_Text_ChoseRoomHealOne: @ 825E1DD
BattleFrontier_BattlePikeRoomNormal_Text_ChoseRoomHealOne:
.string "I welcome you…\p"
.string "Since you have chosen this room, I will\n"
.string "restore one POKéMON to full health…$"
BattleFrontier_BattlePikeRoomNormal_Text_ChoseRoomHealTwo: @ 825E238
BattleFrontier_BattlePikeRoomNormal_Text_ChoseRoomHealTwo:
.string "I welcome you…\p"
.string "Since you have chosen this room, I will\n"
.string "restore two POKéMON to full health…$"
@ Unused
BattleFrontier_BattlePikeRoomNormal_Text_WillRestoreAllMons: @ 825E293
BattleFrontier_BattlePikeRoomNormal_Text_WillRestoreAllMons:
.string "I welcome you…\p"
.string "Giggle…\n"
.string "You should thank your lucky stars…\p"
.string "Since you have chosen this room,\n"
.string "all your POKéMON will be restored…$"
BattleFrontier_BattlePikeRoomNormal_Text_ShallFetchOurMaster: @ 825E311
BattleFrontier_BattlePikeRoomNormal_Text_ShallFetchOurMaster:
.string "I shall go fetch our master…$"
BattleFrontier_BattlePikeRoomNormal_Text_WillRestoreTwoMons: @ 825E32E
BattleFrontier_BattlePikeRoomNormal_Text_WillRestoreTwoMons:
.string "Ah, you're a lucky one!\n"
.string "I'm in good spirits now.\p"
.string "I will restore two of your POKéMON\n"

View File

@@ -1,44 +1,42 @@
BattleFrontier_BattlePikeRoomWildMons_MapScripts:: @ 825E41A
BattleFrontier_BattlePikeRoomWildMons_MapScripts::
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_OnFrame: @ 825E42A
BattleFrontier_BattlePikeRoomWildMons_OnFrame:
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_SetInWildMonRoom:: @ 825E43C
BattleFrontier_BattlePikeRoomWildMons_EventScript_SetInWildMonRoom::
setvar VAR_TEMP_0, 1
pike_inwildmonroom
end
BattleFrontier_BattlePikeRoomWildMons_EventScript_WarpToLobbyLost:: @ 825E44A
BattleFrontier_BattlePikeRoomWildMons_EventScript_WarpToLobbyLost::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
warp MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY, 255, 5, 6
warp MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY, 5, 6
waitstate
end
BattleFrontier_BattlePikeRoomWildMons_OnWarp: @ 825E466
BattleFrontier_BattlePikeRoomWildMons_OnWarp:
map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeRoomWildMons_EventScript_TurnPlayerNorth
.2byte 0
BattleFrontier_BattlePikeRoomWildMons_EventScript_TurnPlayerNorth:: @ 825E470
BattleFrontier_BattlePikeRoomWildMons_EventScript_TurnPlayerNorth::
setvar VAR_TEMP_4, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end
BattleFrontier_BattlePikeRoomWildMons_OnResume: @ 825E47A
BattleFrontier_BattlePikeRoomWildMons_OnResume:
call BattleFrontier_BattlePikeRoom_EventScript_ResetSketchedMoves
frontier_get FRONTIER_DATA_BATTLE_OUTCOME
compare VAR_RESULT, B_OUTCOME_LOST
goto_if_eq BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost
compare VAR_RESULT, B_OUTCOME_DREW
goto_if_eq BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost
goto_if_eq VAR_RESULT, B_OUTCOME_LOST, BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost
goto_if_eq VAR_RESULT, B_OUTCOME_DREW, BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost
end
BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost:: @ 825E4A3
BattleFrontier_BattlePikeRoomWildMons_EventScript_SetLost::
setvar VAR_TEMP_1, 1
end

View File

@@ -1,12 +1,12 @@
.set LOCALID_HINT_GIVER, 2
BattleFrontier_BattlePikeThreePathRoom_MapScripts:: @ 825C843
BattleFrontier_BattlePikeThreePathRoom_MapScripts::
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattlePikeRoom_OnResume
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePikeThreePathRoom_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattlePikeThreePathRoom_OnWarp
.byte 0
BattleFrontier_BattlePikeThreePathRoom_OnFrame: @ 825C853
BattleFrontier_BattlePikeThreePathRoom_OnFrame:
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_ResumeChallenge
@@ -14,25 +14,25 @@ BattleFrontier_BattlePikeThreePathRoom_OnFrame: @ 825C853
map_script_2 VAR_TEMP_5, 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_GivePikeQueenHint
.2byte 0
BattleFrontier_BattlePikeThreePathRoom_OnWarp: @ 825C87D
BattleFrontier_BattlePikeThreePathRoom_OnWarp:
map_script_2 VAR_TEMP_4, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_TurnPlayerNorth
.2byte 0
BattleFrontier_BattlePikeThreePathRoom_EventScript_TurnPlayerNorth:: @ 825C887
BattleFrontier_BattlePikeThreePathRoom_EventScript_TurnPlayerNorth::
setvar VAR_TEMP_4, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_GetChallengeStatus:: @ 825C891
BattleFrontier_BattlePikeThreePathRoom_EventScript_GetChallengeStatus::
frontier_getstatus
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpToLobby:: @ 825C89A
warp MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY, 255, 5, 6
BattleFrontier_BattlePikeThreePathRoom_EventScript_WarpToLobby::
warp MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY, 5, 6
waitstate
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_ResumeChallenge:: @ 825C8A4
BattleFrontier_BattlePikeThreePathRoom_EventScript_ResumeChallenge::
lockall
message BattleFrontier_BattlePikeThreePathRoom_Text_AwaitingReturnSaveBeforeResume
waitmessage
@@ -50,7 +50,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_ResumeChallenge:: @ 825C8A4
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 99
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_Attendant:: @ 825C908
BattleFrontier_BattlePikeThreePathRoom_EventScript_Attendant::
frontier_get FRONTIER_DATA_BATTLE_NUM @ Room number
switch VAR_RESULT
case 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom1
@@ -62,56 +62,56 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_Attendant:: @ 825C908
case 13, BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom13
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom1:: @ 825C968
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom1::
lock
faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom1, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom3:: @ 825C978
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom3::
lock
faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom3, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom5:: @ 825C988
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom5::
lock
faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom5, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom7:: @ 825C998
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom7::
lock
faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom7, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom9:: @ 825C9A8
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom9::
lock
faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom9, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom11:: @ 825C9B8
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom11::
lock
faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom11, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom13:: @ 825C9C8
BattleFrontier_BattlePikeThreePathRoom_EventScript_AttendantRoom13::
lock
faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom13, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge:: @ 825C9D8
BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge::
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_ContinueWithChallenge, MSGBOX_YESNO
switch VAR_RESULT
case NO, BattleFrontier_BattlePikeThreePathRoom_EventScript_AskSaveChallenge
@@ -119,7 +119,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_AskContinueChallenge:: @ 825C
release
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_PauseChallenge:: @ 825C9FD
BattleFrontier_BattlePikeThreePathRoom_EventScript_PauseChallenge::
frontier_saveparty
message BattleFrontier_BattlePikeThreePathRoom_Text_SavingYourData
waitmessage
@@ -131,7 +131,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_PauseChallenge:: @ 825C9FD
frontier_reset
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_AskSaveChallenge:: @ 825CA2A
BattleFrontier_BattlePikeThreePathRoom_EventScript_AskSaveChallenge::
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_SaveChallengeAndQuit, MSGBOX_YESNO
switch VAR_RESULT
case YES, BattleFrontier_BattlePikeThreePathRoom_EventScript_PauseChallenge
@@ -140,7 +140,7 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_AskSaveChallenge:: @ 825CA2A
release
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_AskRetireChallenge:: @ 825CA5A
BattleFrontier_BattlePikeThreePathRoom_EventScript_AskRetireChallenge::
message BattleFrontier_BattlePikeThreePathRoom_Text_RetireFromChallenge
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -149,18 +149,17 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_AskRetireChallenge:: @ 825CA5
release
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_SetHintRoom:: @ 825CA78
BattleFrontier_BattlePikeThreePathRoom_EventScript_SetHintRoom::
pike_sethintroom
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_SetPikeQueenHint
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattlePikeThreePathRoom_EventScript_SetPikeQueenHint
setvar VAR_TEMP_5, 255
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_SetPikeQueenHint:: @ 825CA91
BattleFrontier_BattlePikeThreePathRoom_EventScript_SetPikeQueenHint::
setvar VAR_TEMP_5, 1
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_GivePikeQueenHint:: @ 825CA97
BattleFrontier_BattlePikeThreePathRoom_EventScript_GivePikeQueenHint::
applymovement LOCALID_HINT_GIVER, BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverApproachPlayer
waitmovement 0
lockall
@@ -171,10 +170,9 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_GivePikeQueenHint:: @ 825CA97
setvar VAR_TEMP_5, 255
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_HintGiver:: @ 825CABB
BattleFrontier_BattlePikeThreePathRoom_EventScript_HintGiver::
pike_gethint
compare VAR_RESULT, PIKE_HINT_BRAIN
goto_if_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveBrainHint
goto_if_eq VAR_RESULT, PIKE_HINT_BRAIN, BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveBrainHint
lock
faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_FindingItDifficultToChoose, MSGBOX_YESNO
@@ -185,12 +183,12 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_HintGiver:: @ 825CABB
release
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_DeclineHint:: @ 825CB00
BattleFrontier_BattlePikeThreePathRoom_EventScript_DeclineHint::
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_ApologizeForImpertinence, MSGBOX_DEFAULT
release
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_AcceptHint:: @ 825CB0A
BattleFrontier_BattlePikeThreePathRoom_EventScript_AcceptHint::
pike_gethintroomid
switch VAR_RESULT
case PIKE_ROOM_LEFT, BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveLeftRoomHint
@@ -198,19 +196,19 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_AcceptHint:: @ 825CB0A
case PIKE_ROOM_RIGHT, BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveRightRoomHint
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveLeftRoomHint:: @ 825CB39
BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveLeftRoomHint::
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_SomethingAboutLeftPath, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveHint
BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveCenterRoomHint:: @ 825CB46
BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveCenterRoomHint::
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_SomethingAboutCenterPath, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveHint
BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveRightRoomHint:: @ 825CB53
BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveRightRoomHint::
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_SomethingAboutRightPath, MSGBOX_DEFAULT
goto BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveHint
BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveHint:: @ 825CB60
BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveHint::
pike_gethint
switch VAR_RESULT
case PIKE_HINT_NOSTALGIA, BattleFrontier_BattlePikeThreePathRoom_EventScript_HintNostalgia
@@ -219,34 +217,34 @@ BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveHint:: @ 825CB60
case PIKE_HINT_PEOPLE, BattleFrontier_BattlePikeThreePathRoom_EventScript_HintPeople
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_HintNostalgia:: @ 825CB9A
BattleFrontier_BattlePikeThreePathRoom_EventScript_HintNostalgia::
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_WaveOfNostaliga, MSGBOX_DEFAULT
release
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_HintWhispering:: @ 825CBA4
BattleFrontier_BattlePikeThreePathRoom_EventScript_HintWhispering::
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_HeardWhispering, MSGBOX_DEFAULT
release
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_HintPokemon:: @ 825CBAE
BattleFrontier_BattlePikeThreePathRoom_EventScript_HintPokemon::
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_AromaOfPokemon, MSGBOX_DEFAULT
release
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_HintPeople:: @ 825CBB8
BattleFrontier_BattlePikeThreePathRoom_EventScript_HintPeople::
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_PresenceOfPeople, MSGBOX_DEFAULT
release
end
BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveBrainHint:: @ 825CBC2
BattleFrontier_BattlePikeThreePathRoom_EventScript_GiveBrainHint::
lock
faceplayer
msgbox BattleFrontier_BattlePikeThreePathRoom_Text_DreadfulPresence, MSGBOX_DEFAULT
release
end
BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverApproachPlayer: @ 825CBCE
BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverApproachPlayer:
walk_left
walk_left
walk_down
@@ -255,7 +253,7 @@ BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverApproachPlayer: @ 825CB
walk_down
step_end
BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverReturnToPos: @ 825CBD5
BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverReturnToPos:
walk_up
walk_up
walk_up
@@ -265,107 +263,107 @@ BattleFrontier_BattlePikeThreePathRoom_Movement_HintGiverReturnToPos: @ 825CBD5
face_down
step_end
BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom1: @ 825CBDD
BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom1:
.string "You are currently in\n"
.string "the 1st room…$"
BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom3: @ 825CC00
BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom3:
.string "You are currently in\n"
.string "the 3rd room…$"
BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom5: @ 825CC23
BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom5:
.string "You are currently in\n"
.string "the 5th room…$"
BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom7: @ 825CC46
BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom7:
.string "You are currently in\n"
.string "the 7th room…$"
BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom9: @ 825CC69
BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom9:
.string "You are currently in\n"
.string "the 9th room…$"
BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom11: @ 825CC8C
BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom11:
.string "You are currently in\n"
.string "the 11th room…$"
BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom13: @ 825CCB0
BattleFrontier_BattlePikeThreePathRoom_Text_CurrentlyInRoom13:
.string "You are currently in\n"
.string "the 13th room…$"
BattleFrontier_BattlePikeThreePathRoom_Text_ContinueWithChallenge: @ 825CCD4
BattleFrontier_BattlePikeThreePathRoom_Text_ContinueWithChallenge:
.string "Will you continue with\n"
.string "your challenge?$"
BattleFrontier_BattlePikeThreePathRoom_Text_SaveChallengeAndQuit: @ 825CCFB
BattleFrontier_BattlePikeThreePathRoom_Text_SaveChallengeAndQuit:
.string "Would you like to save your challenge\n"
.string "and quit the game for now?$"
BattleFrontier_BattlePikeThreePathRoom_Text_RetireFromChallenge: @ 825CD3C
BattleFrontier_BattlePikeThreePathRoom_Text_RetireFromChallenge:
.string "Do you wish to retire from your\n"
.string "Battle Choice challenge?$"
BattleFrontier_BattlePikeThreePathRoom_Text_AwaitingReturnSaveBeforeResume: @ 825CD75
BattleFrontier_BattlePikeThreePathRoom_Text_AwaitingReturnSaveBeforeResume:
.string "We've been awaiting your return…\p"
.string "Before resuming your Battle Choice\n"
.string "challenge, let me save the game…$"
BattleFrontier_BattlePikeThreePathRoom_Text_PleaseEnjoyChallenge: @ 825CDDA
BattleFrontier_BattlePikeThreePathRoom_Text_PleaseEnjoyChallenge:
.string "Please do enjoy your Battle Choice\n"
.string "challenge…$"
BattleFrontier_BattlePikeThreePathRoom_Text_SavingYourData: @ 825CE08
BattleFrontier_BattlePikeThreePathRoom_Text_SavingYourData:
.string "I am saving your data…\n"
.string "A little time, please…$"
BattleFrontier_BattlePike_Text_PathBlockedNoTurningBack: @ 825CE36
BattleFrontier_BattlePike_Text_PathBlockedNoTurningBack:
.string "The path is blocked!\n"
.string "And there is no turning back…$"
BattleFrontier_BattlePikeThreePathRoom_Text_FindingItDifficultToChoose: @ 825CE69
BattleFrontier_BattlePikeThreePathRoom_Text_FindingItDifficultToChoose:
.string "I beg your pardon, but…\p"
.string "Are you perhaps finding it difficult\n"
.string "to choose your path?$"
BattleFrontier_BattlePikeThreePathRoom_Text_ApologizeForImpertinence: @ 825CEBB
BattleFrontier_BattlePikeThreePathRoom_Text_ApologizeForImpertinence:
.string "I see…\n"
.string "I apologize for my impertinence…$"
BattleFrontier_BattlePikeThreePathRoom_Text_SomethingAboutRightPath: @ 825CEE3
BattleFrontier_BattlePikeThreePathRoom_Text_SomethingAboutRightPath:
.string "Ah, let me see… There is something\n"
.string "about the path on the right…$"
BattleFrontier_BattlePikeThreePathRoom_Text_SomethingAboutCenterPath: @ 825CF23
BattleFrontier_BattlePikeThreePathRoom_Text_SomethingAboutCenterPath:
.string "Ah, let me see… There is something\n"
.string "about the path in the center…$"
BattleFrontier_BattlePikeThreePathRoom_Text_SomethingAboutLeftPath: @ 825CF64
BattleFrontier_BattlePikeThreePathRoom_Text_SomethingAboutLeftPath:
.string "Ah, let me see… There is something\n"
.string "about the path on the left…$"
BattleFrontier_BattlePikeThreePathRoom_Text_AromaOfPokemon: @ 825CFA3
BattleFrontier_BattlePikeThreePathRoom_Text_AromaOfPokemon:
.string "It seems to have the distinct aroma\n"
.string "of POKéMON wafting around it…$"
BattleFrontier_BattlePikeThreePathRoom_Text_PresenceOfPeople: @ 825CFE5
BattleFrontier_BattlePikeThreePathRoom_Text_PresenceOfPeople:
.string "Is it… A TRAINER?\n"
.string "I sense the presence of people…$"
BattleFrontier_BattlePikeThreePathRoom_Text_HeardWhispering: @ 825D017
BattleFrontier_BattlePikeThreePathRoom_Text_HeardWhispering:
.string "I seem to have heard something…\n"
.string "It may have been whispering…$"
BattleFrontier_BattlePikeThreePathRoom_Text_WaveOfNostaliga: @ 825D054
BattleFrontier_BattlePikeThreePathRoom_Text_WaveOfNostaliga:
.string "For some odd reason, I felt a wave\n"
.string "of nostalgia coming from it…$"
BattleFrontier_BattlePikeThreePathRoom_Text_TerrifyingEvent: @ 825D094
BattleFrontier_BattlePikeThreePathRoom_Text_TerrifyingEvent:
.string "I am sorry to say…\p"
.string "A terrifying event, yes, a horrible one,\n"
.string "is about to befall you…\p"
.string "I urge you to pay the utmost care\n"
.string "and prepare for the worst…$"
BattleFrontier_BattlePikeThreePathRoom_Text_DreadfulPresence: @ 825D125
BattleFrontier_BattlePikeThreePathRoom_Text_DreadfulPresence:
.string "From every path I sense a dreadful\n"
.string "presence…$"

View File

@@ -1,16 +1,16 @@
BattleFrontier_BattlePyramidFloor_MapScripts:: @ 8252A33
BattleFrontier_BattlePyramidFloor_MapScripts::
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_BattlePyramidFloor_OnFrame: @ 8252A43
BattleFrontier_BattlePyramidFloor_OnFrame:
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_BattlePyramidFloor_EventScript_UpdateLight:: @ 8252A5D
BattleFrontier_BattlePyramidFloor_EventScript_UpdateLight::
lockall
@ pyramid_updatelight, cant use macro because it straddles the loop
setvar VAR_0x8004, BATTLE_PYRAMID_FUNC_UPDATE_LIGHT
@@ -18,26 +18,25 @@ BattleFrontier_BattlePyramidFloor_EventScript_UpdateLight:: @ 8252A5D
setvar VAR_0x8006, PYRAMID_LIGHT_INCR_RADIUS
setvar VAR_0x8007, SE_SAVE
setvar VAR_RESULT, 0
BattleFrontier_BattlePyramidFloor_EventScript_UpdateLightLoop:: @ 8252A77
BattleFrontier_BattlePyramidFloor_EventScript_UpdateLightLoop::
special CallBattlePyramidFunction
delay 2
compare VAR_RESULT, 2
goto_if_ne BattleFrontier_BattlePyramidFloor_EventScript_UpdateLightLoop
goto_if_ne VAR_RESULT, 2, BattleFrontier_BattlePyramidFloor_EventScript_UpdateLightLoop
setvar VAR_TEMP_D, 0
releaseall
end
BattleFrontier_BattlePyramidFloor_EventScript_ShowMapName:: @ 8252A8F
BattleFrontier_BattlePyramidFloor_EventScript_ShowMapName::
special ShowMapNamePopup
setvar VAR_TEMP_F, 0
end
BattleFrontier_BattlePyramidFloor_EventScript_PlayPyramidMusic:: @ 8252A98
BattleFrontier_BattlePyramidFloor_EventScript_PlayPyramidMusic::
playbgm MUS_B_PYRAMID, FALSE
setvar VAR_TEMP_E, 1
end
BattleFrontier_BattlePyramidFloor_OnResume: @ 8252AA2
BattleFrontier_BattlePyramidFloor_OnResume:
pyramid_setfloorpal
frontier_getstatus
switch VAR_TEMP_0
@@ -45,36 +44,30 @@ BattleFrontier_BattlePyramidFloor_OnResume: @ 8252AA2
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_BattlePyramidFloor_EventScript_ResetParty
compare VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED
goto_if_eq BattleFrontier_BattlePyramidFloor_EventScript_ResetParty
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePyramidFloor_EventScript_ResetParty
compare VAR_RESULT, B_OUTCOME_LOST
goto_if_eq BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
compare VAR_RESULT, B_OUTCOME_DREW
goto_if_eq BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
compare VAR_RESULT, B_OUTCOME_FORFEITED
goto_if_eq BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
goto_if_eq VAR_RESULT, B_OUTCOME_RAN, BattleFrontier_BattlePyramidFloor_EventScript_ResetParty
goto_if_eq VAR_RESULT, B_OUTCOME_PLAYER_TELEPORTED, BattleFrontier_BattlePyramidFloor_EventScript_ResetParty
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattlePyramidFloor_EventScript_ResetParty
goto_if_eq VAR_RESULT, B_OUTCOME_LOST, BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
goto_if_eq VAR_RESULT, B_OUTCOME_DREW, BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
goto_if_eq VAR_RESULT, B_OUTCOME_FORFEITED, BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
frontier_isbattletype BATTLE_TYPE_TRAINER @ VAR_RESULT seems to be ignored here
setvar VAR_TEMP_D, 1
BattleFrontier_BattlePyramidFloor_EventScript_ResetParty:: @ 8252B39
BattleFrontier_BattlePyramidFloor_EventScript_ResetParty::
pyramid_resetparty
end
BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost:: @ 8252B42
BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
pyramid_set PYRAMID_DATA_TRAINER_FLAGS, 255
BattleFrontier_BattlePyramid_EventScript_WarpToLobby:: @ 8252B66
BattleFrontier_BattlePyramid_EventScript_WarpToLobby::
pyramid_updatelight 0, PYRAMID_LIGHT_SET_RADIUS
pyramid_clearhelditems
special HealPlayerParty
warpsilent MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY, 255, 7, 13
warpsilent MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY, 7, 13
waitstate
end
BattleFrontier_BattlePyramidFloor_EventScript_ReadyChallenge:: @ 8252B8D
BattleFrontier_BattlePyramidFloor_EventScript_ReadyChallenge::
pyramid_save CHALLENGE_STATUS_SAVING
special SavePlayerParty
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
@@ -83,36 +76,35 @@ BattleFrontier_BattlePyramidFloor_EventScript_ReadyChallenge:: @ 8252B8D
setvar VAR_TEMP_F, 1
end
BattleFrontier_BattlePyramidFloor_OnTransition: @ 8252BCA
BattleFrontier_BattlePyramidFloor_OnTransition:
call BattleFrontier_BattlePyramidFloor_EventScript_SetLightRadius
setvar VAR_TEMP_F, 1
end
BattleFrontier_BattlePyramidFloor_EventScript_SetLightRadius:: @ 8252BD5
BattleFrontier_BattlePyramidFloor_EventScript_SetLightRadius::
pyramid_updatelight 32, PYRAMID_LIGHT_SET_RADIUS
return
BattlePyramid_WarpToNextFloor:: @ 8252BE8
BattlePyramid_WarpToNextFloor::
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 BattlePyramid_WarpToTop
goto_if_eq VAR_RESULT, 7, BattlePyramid_WarpToTop
pyramid_seedfloor
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
setvar VAR_RESULT, 0
warp MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_FLOOR, 255, 1, 1
warp MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_FLOOR, 1, 1
waitstate
end
BattlePyramid_WarpToTop:: @ 8252C45
warp MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_TOP, 255, 17, 17
BattlePyramid_WarpToTop::
warp MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_TOP, 17, 17
waitstate
end
@ TRAINER_PHILLIP is used as a placeholder
BattlePyramid_TrainerBattle:: @ 8252C4F
BattlePyramid_TrainerBattle::
trainerbattle TRAINER_BATTLE_PYRAMID, TRAINER_PHILLIP, 0, BattleFacility_TrainerBattle_PlaceholderText, BattleFacility_TrainerBattle_PlaceholderText
pyramid_showhint
waitmessage
@@ -121,620 +113,619 @@ BattlePyramid_TrainerBattle:: @ 8252C4F
releaseall
end
BattlePyramid_FindItemBall:: @ 8252C6A
BattlePyramid_FindItemBall::
pyramid_setitem
callstd STD_FIND_ITEM
compare VAR_0x8007, 0
goto_if_eq BattlePyramid_FindItemBallEnd
goto_if_eq VAR_0x8007, 0, BattlePyramid_FindItemBallEnd
pyramid_hideitem
BattlePyramid_FindItemBallEnd:: @ 8252C87
BattlePyramid_FindItemBallEnd::
end
BattlePyramid_Retire:: @ 8252C88
BattlePyramid_Retire::
goto BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
@ Also used by Trainer Hill
BattleFacility_TrainerBattle_PlaceholderText: @ 8252C8D
BattleFacility_TrainerBattle_PlaceholderText:
.string "This is a sample message.$"
gText_BattlePyramidConfirmRest:: @ 8252CA7
gText_BattlePyramidConfirmRest::
.string "Your BATTLE PYRAMID quest will be\n"
.string "saved so that you may quit for now.\l"
.string "Is that okay?$"
gText_BattlePyramidConfirmRetire:: @ 8252CFB
gText_BattlePyramidConfirmRetire::
.string "Are you sure you want to quit your\n"
.string "PYRAMID quest?$"
BattlePyramid_Text_ExitHintUp1:: @ 8252D2D
BattlePyramid_Text_ExitHintUp1::
.string "This floor's exit is in\n"
.string "that direction: {UP_ARROW}$"
BattlePyramid_Text_ExitHintLeft1:: @ 8252D57
BattlePyramid_Text_ExitHintLeft1::
.string "This floor's exit is in\n"
.string "that direction: {LEFT_ARROW}$"
BattlePyramid_Text_ExitHintRight1:: @ 8252D81
BattlePyramid_Text_ExitHintRight1::
.string "This floor's exit is in\n"
.string "that direction: {RIGHT_ARROW}$"
BattlePyramid_Text_ExitHintDown1:: @ 8252DAB
BattlePyramid_Text_ExitHintDown1::
.string "This floor's exit is in\n"
.string "that direction: {DOWN_ARROW}$"
BattlePyramid_Text_ExitHintUp2:: @ 8252DD5
BattlePyramid_Text_ExitHintUp2::
.string "The exit on this floor is in\n"
.string "the {UP_ARROW} direction.$"
BattlePyramid_Text_ExitHintLeft2:: @ 8252E03
BattlePyramid_Text_ExitHintLeft2::
.string "The exit on this floor is in\n"
.string "the {LEFT_ARROW} direction.$"
BattlePyramid_Text_ExitHintRight2:: @ 8252E31
BattlePyramid_Text_ExitHintRight2::
.string "The exit on this floor is in\n"
.string "the {RIGHT_ARROW} direction.$"
BattlePyramid_Text_ExitHintDown2:: @ 8252E5F
BattlePyramid_Text_ExitHintDown2::
.string "The exit on this floor is in\n"
.string "the {DOWN_ARROW} direction.$"
BattlePyramid_Text_ExitHintUp3:: @ 8252E8D
BattlePyramid_Text_ExitHintUp3::
.string "The exit is over\n"
.string "that {UP_ARROW} way.$"
BattlePyramid_Text_ExitHintLeft3:: @ 8252EAA
BattlePyramid_Text_ExitHintLeft3::
.string "The exit is over\n"
.string "that {LEFT_ARROW} way.$"
BattlePyramid_Text_ExitHintRight3:: @ 8252EC7
BattlePyramid_Text_ExitHintRight3::
.string "The exit is over\n"
.string "that {RIGHT_ARROW} way.$"
BattlePyramid_Text_ExitHintDown3:: @ 8252EE4
BattlePyramid_Text_ExitHintDown3::
.string "The exit is over\n"
.string "that {DOWN_ARROW} way.$"
BattlePyramid_Text_ExitHintUp4:: @ 8252F01
BattlePyramid_Text_ExitHintUp4::
.string "On this floor, the exit is somewhere\n"
.string "in the {UP_ARROW} direction.$"
BattlePyramid_Text_ExitHintLeft4:: @ 8252F3A
BattlePyramid_Text_ExitHintLeft4::
.string "On this floor, the exit is somewhere\n"
.string "in the {LEFT_ARROW} direction.$"
BattlePyramid_Text_ExitHintRight4:: @ 8252F73
BattlePyramid_Text_ExitHintRight4::
.string "On this floor, the exit is somewhere\n"
.string "in the {RIGHT_ARROW} direction.$"
BattlePyramid_Text_ExitHintDown4:: @ 8252FAC
BattlePyramid_Text_ExitHintDown4::
.string "On this floor, the exit is somewhere\n"
.string "in the {DOWN_ARROW} direction.$"
BattlePyramid_Text_ExitHintUp5:: @ 8252FE5
BattlePyramid_Text_ExitHintUp5::
.string "The exit?\n"
.string "It's that {UP_ARROW} way.$"
BattlePyramid_Text_ExitHintLeft5:: @ 8253000
BattlePyramid_Text_ExitHintLeft5::
.string "The exit?\n"
.string "It's that {LEFT_ARROW} way.$"
BattlePyramid_Text_ExitHintRight5:: @ 825301B
BattlePyramid_Text_ExitHintRight5::
.string "The exit?\n"
.string "It's that {RIGHT_ARROW} way.$"
BattlePyramid_Text_ExitHintDown5:: @ 8253036
BattlePyramid_Text_ExitHintDown5::
.string "The exit?\n"
.string "It's that {DOWN_ARROW} way.$"
BattlePyramid_Text_ExitHintUp6:: @ 8253051
BattlePyramid_Text_ExitHintUp6::
.string "The exit happens to be in\n"
.string "the {UP_ARROW} direction.$"
BattlePyramid_Text_ExitHintLeft6:: @ 825307C
BattlePyramid_Text_ExitHintLeft6::
.string "The exit happens to be in\n"
.string "the {LEFT_ARROW} direction.$"
BattlePyramid_Text_ExitHintRight6:: @ 82530A7
BattlePyramid_Text_ExitHintRight6::
.string "The exit happens to be in\n"
.string "the {RIGHT_ARROW} direction.$"
BattlePyramid_Text_ExitHintDown6:: @ 82530D2
BattlePyramid_Text_ExitHintDown6::
.string "The exit happens to be in\n"
.string "the {DOWN_ARROW} direction.$"
BattlePyramid_Text_EightItemsRemaining1:: @ 82530FD
BattlePyramid_Text_EightItemsRemaining1::
.string "Are you looking for items?\p"
.string "There are eight items left to\n"
.string "be found.$"
BattlePyramid_Text_SevenItemsRemaining1:: @ 8253140
BattlePyramid_Text_SevenItemsRemaining1::
.string "Are you looking for items?\p"
.string "There are seven items left to\n"
.string "be found.$"
BattlePyramid_Text_SixItemsRemaining1:: @ 8253183
BattlePyramid_Text_SixItemsRemaining1::
.string "Are you looking for items?\p"
.string "There are six items left to\n"
.string "be found.$"
BattlePyramid_Text_FiveItemsRemaining1:: @ 82531C4
BattlePyramid_Text_FiveItemsRemaining1::
.string "Are you looking for items?\p"
.string "There are five items left to\n"
.string "be found.$"
BattlePyramid_Text_FourItemsRemaining1:: @ 8253206
BattlePyramid_Text_FourItemsRemaining1::
.string "Are you looking for items?\p"
.string "There are four items left to\n"
.string "be found.$"
BattlePyramid_Text_ThreeItemsRemaining1:: @ 8253248
BattlePyramid_Text_ThreeItemsRemaining1::
.string "Are you looking for items?\p"
.string "There are three items left to\n"
.string "be found.$"
BattlePyramid_Text_TwoItemsRemaining1:: @ 825328B
BattlePyramid_Text_TwoItemsRemaining1::
.string "Are you looking for items?\p"
.string "There are two items left to\n"
.string "be found.$"
BattlePyramid_Text_OneItemRemaining1:: @ 82532CC
BattlePyramid_Text_OneItemRemaining1::
.string "Are you looking for items?\p"
.string "There is one item left to\n"
.string "be found.$"
BattlePyramid_Text_ZeroItemsRemaining1:: @ 825330B
BattlePyramid_Text_ZeroItemsRemaining1::
.string "Are you looking for items?\p"
.string "There isn't anything left to\n"
.string "be found!$"
BattlePyramid_Text_EightItemsRemaining2:: @ 825334D
BattlePyramid_Text_EightItemsRemaining2::
.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_Text_SevenItemsRemaining2:: @ 82533A6
BattlePyramid_Text_SevenItemsRemaining2::
.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_Text_SixItemsRemaining2:: @ 8253404
BattlePyramid_Text_SixItemsRemaining2::
.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_Text_FiveItemsRemaining2:: @ 8253460
BattlePyramid_Text_FiveItemsRemaining2::
.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_Text_FourItemsRemaining2:: @ 82534BD
BattlePyramid_Text_FourItemsRemaining2::
.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_Text_ThreeItemsRemaining2:: @ 825351A
BattlePyramid_Text_ThreeItemsRemaining2::
.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_Text_TwoItemsRemaining2:: @ 8253578
BattlePyramid_Text_TwoItemsRemaining2::
.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_Text_OneItemRemaining2:: @ 82535D4
BattlePyramid_Text_OneItemRemaining2::
.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_Text_ZeroItemsRemaining2:: @ 825362E
BattlePyramid_Text_ZeroItemsRemaining2::
.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_Text_EightItemsRemaining3:: @ 825368B
BattlePyramid_Text_EightItemsRemaining3::
.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_Text_SevenItemsRemaining3:: @ 82536F8
BattlePyramid_Text_SevenItemsRemaining3::
.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_Text_SixItemsRemaining3:: @ 8253765
BattlePyramid_Text_SixItemsRemaining3::
.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_Text_FiveItemsRemaining3:: @ 82537D0
BattlePyramid_Text_FiveItemsRemaining3::
.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_Text_FourItemsRemaining3:: @ 825383C
BattlePyramid_Text_FourItemsRemaining3::
.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_Text_ThreeItemsRemaining3:: @ 82538A8
BattlePyramid_Text_ThreeItemsRemaining3::
.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_Text_TwoItemsRemaining3:: @ 8253915
BattlePyramid_Text_TwoItemsRemaining3::
.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_Text_OneItemRemaining3:: @ 8253980
BattlePyramid_Text_OneItemRemaining3::
.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_Text_ZeroItemsRemaining3:: @ 82539EC
BattlePyramid_Text_ZeroItemsRemaining3::
.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_Text_EightItemsRemaining4:: @ 8253A69
BattlePyramid_Text_EightItemsRemaining4::
.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_Text_SevenItemsRemaining4:: @ 8253AC4
BattlePyramid_Text_SevenItemsRemaining4::
.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_Text_SixItemsRemaining4:: @ 8253B1F
BattlePyramid_Text_SixItemsRemaining4::
.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_Text_FiveItemsRemaining4:: @ 8253B78
BattlePyramid_Text_FiveItemsRemaining4::
.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_Text_FourItemsRemaining4:: @ 8253BD2
BattlePyramid_Text_FourItemsRemaining4::
.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_Text_ThreeItemsRemaining4:: @ 8253C2C
BattlePyramid_Text_ThreeItemsRemaining4::
.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_Text_TwoItemsRemaining4:: @ 8253C87
BattlePyramid_Text_TwoItemsRemaining4::
.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_Text_OneItemRemaining4:: @ 8253CE0
BattlePyramid_Text_OneItemRemaining4::
.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_Text_ZeroItemsRemaining4:: @ 8253D3E
BattlePyramid_Text_ZeroItemsRemaining4::
.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_Text_EightItemsRemaining5:: @ 8253D96
BattlePyramid_Text_EightItemsRemaining5::
.string "On this floor of the PYRAMID,\n"
.string "I hear there are eight items…$"
BattlePyramid_Text_SevenItemsRemaining5:: @ 8253DD2
BattlePyramid_Text_SevenItemsRemaining5::
.string "On this floor of the PYRAMID,\n"
.string "I hear there are seven items…$"
BattlePyramid_Text_SixItemsRemaining5:: @ 8253E0E
BattlePyramid_Text_SixItemsRemaining5::
.string "On this floor of the PYRAMID,\n"
.string "I hear there are six items…$"
BattlePyramid_Text_FiveItemsRemaining5:: @ 8253E48
BattlePyramid_Text_FiveItemsRemaining5::
.string "On this floor of the PYRAMID,\n"
.string "I hear there are five items…$"
BattlePyramid_Text_FourItemsRemaining5:: @ 8253E83
BattlePyramid_Text_FourItemsRemaining5::
.string "On this floor of the PYRAMID,\n"
.string "I hear there are four items…$"
BattlePyramid_Text_ThreeItemsRemaining5:: @ 8253EBE
BattlePyramid_Text_ThreeItemsRemaining5::
.string "On this floor of the PYRAMID,\n"
.string "I hear there are three items…$"
BattlePyramid_Text_TwoItemsRemaining5:: @ 8253EFA
BattlePyramid_Text_TwoItemsRemaining5::
.string "On this floor of the PYRAMID,\n"
.string "I hear there are two items…$"
BattlePyramid_Text_OneItemRemaining5:: @ 8253F34
BattlePyramid_Text_OneItemRemaining5::
.string "On this floor of the PYRAMID,\n"
.string "I hear there is one item…$"
BattlePyramid_Text_ZeroItemsRemaining5:: @ 8253F6C
BattlePyramid_Text_ZeroItemsRemaining5::
.string "On this floor of the PYRAMID,\n"
.string "I hear there are no items…$"
BattlePyramid_Text_EightItemsRemaining6:: @ 8253FA5
BattlePyramid_Text_EightItemsRemaining6::
.string "Have you collected any items?\p"
.string "I believe there are eight more\n"
.string "items on this floor.$"
BattlePyramid_Text_SevenItemsRemaining6:: @ 8253FF7
BattlePyramid_Text_SevenItemsRemaining6::
.string "Have you collected any items?\p"
.string "I believe there are seven more\n"
.string "items on this floor.$"
BattlePyramid_Text_SixItemsRemaining6:: @ 8254049
BattlePyramid_Text_SixItemsRemaining6::
.string "Have you collected any items?\p"
.string "I believe there are six more\n"
.string "items on this floor.$"
BattlePyramid_Text_FiveItemsRemaining6:: @ 8254099
BattlePyramid_Text_FiveItemsRemaining6::
.string "Have you collected any items?\p"
.string "I believe there are five more\n"
.string "items on this floor.$"
BattlePyramid_Text_FourItemsRemaining6:: @ 82540EA
BattlePyramid_Text_FourItemsRemaining6::
.string "Have you collected any items?\p"
.string "I believe there are four more\n"
.string "items on this floor.$"
BattlePyramid_Text_ThreeItemsRemaining6:: @ 825413B
BattlePyramid_Text_ThreeItemsRemaining6::
.string "Have you collected any items?\p"
.string "I believe there are three more\n"
.string "items on this floor.$"
BattlePyramid_Text_TwoItemsRemaining6:: @ 825418D
BattlePyramid_Text_TwoItemsRemaining6::
.string "Have you collected any items?\p"
.string "I believe there are two more\n"
.string "items on this floor.$"
BattlePyramid_Text_OneItemRemaining6:: @ 82541DD
BattlePyramid_Text_OneItemRemaining6::
.string "Have you collected any items?\p"
.string "I believe there is one more\n"
.string "item on this floor.$"
BattlePyramid_Text_ZeroItemsRemaining6:: @ 825422B
BattlePyramid_Text_ZeroItemsRemaining6::
.string "Have you collected any items?\p"
.string "I believe there are no more\n"
.string "items on this floor.$"
BattlePyramid_Text_SevenTrainersRemaining1:: @ 825427A
BattlePyramid_Text_SevenTrainersRemaining1::
.string "You were really awesome!\p"
.string "But there are still seven tough\n"
.string "TRAINERS other than me!$"
BattlePyramid_Text_SixTrainersRemaining1:: @ 82542CB
BattlePyramid_Text_SixTrainersRemaining1::
.string "You were really awesome!\p"
.string "But there are still six tough\n"
.string "TRAINERS other than me!$"
BattlePyramid_Text_FiveTrainersRemaining1:: @ 825431A
BattlePyramid_Text_FiveTrainersRemaining1::
.string "You were really awesome!\p"
.string "But there are still five tough\n"
.string "TRAINERS other than me!$"
BattlePyramid_Text_FourTrainersRemaining1:: @ 825436A
BattlePyramid_Text_FourTrainersRemaining1::
.string "You were really awesome!\p"
.string "But there are still four tough\n"
.string "TRAINERS other than me!$"
BattlePyramid_Text_ThreeTrainersRemaining1:: @ 82543BA
BattlePyramid_Text_ThreeTrainersRemaining1::
.string "You were really awesome!\p"
.string "But there are still three tough\n"
.string "TRAINERS other than me!$"
BattlePyramid_Text_TwoTrainersRemaining1:: @ 825440B
BattlePyramid_Text_TwoTrainersRemaining1::
.string "You were really awesome!\p"
.string "But there are still two tough\n"
.string "TRAINERS other than me!$"
BattlePyramid_Text_OneTrainersRemaining1:: @ 825445A
BattlePyramid_Text_OneTrainersRemaining1::
.string "You were really awesome!\p"
.string "But there's still one tough\n"
.string "TRAINER other than me!$"
BattlePyramid_Text_ZeroTrainersRemaining1:: @ 82544A6
BattlePyramid_Text_ZeroTrainersRemaining1::
.string "You were really awesome!\p"
.string "There's no one left that\n"
.string "can beat you!$"
BattlePyramid_Text_SevenTrainersRemaining2:: @ 82544E6
BattlePyramid_Text_SevenTrainersRemaining2::
.string "This is so upsetting!\p"
.string "But there are seven TRAINERS left!\n"
.string "Someone will humble you!$"
BattlePyramid_Text_SixTrainersRemaining2:: @ 8254538
BattlePyramid_Text_SixTrainersRemaining2::
.string "This is so upsetting!\p"
.string "But there are six TRAINERS left!\n"
.string "Someone will humble you!$"
BattlePyramid_Text_FiveTrainersRemaining2:: @ 8254588
BattlePyramid_Text_FiveTrainersRemaining2::
.string "This is so upsetting!\p"
.string "But there are five TRAINERS left!\n"
.string "Someone will humble you!$"
BattlePyramid_Text_FourTrainersRemaining2:: @ 82545D9
BattlePyramid_Text_FourTrainersRemaining2::
.string "This is so upsetting!\p"
.string "But there are four TRAINERS left!\n"
.string "Someone will humble you!$"
BattlePyramid_Text_ThreeTrainersRemaining2:: @ 825462A
BattlePyramid_Text_ThreeTrainersRemaining2::
.string "This is so upsetting!\p"
.string "But there are three TRAINERS left!\n"
.string "Someone will humble you!$"
BattlePyramid_Text_TwoTrainersRemaining2:: @ 825467C
BattlePyramid_Text_TwoTrainersRemaining2::
.string "This is so upsetting!\p"
.string "But there are two TRAINERS left!\n"
.string "Someone will humble you!$"
BattlePyramid_Text_OneTrainersRemaining2:: @ 82546CC
BattlePyramid_Text_OneTrainersRemaining2::
.string "This is so upsetting!\p"
.string "But there's one TRAINER left!\n"
.string "I'm sure you will be humbled!$"
BattlePyramid_Text_ZeroTrainersRemaining2:: @ 825471E
BattlePyramid_Text_ZeroTrainersRemaining2::
.string "This is so upsetting!\p"
.string "But there are no more TRAINERS\n"
.string "who can engage you!$"
BattlePyramid_Text_SevenTrainersRemaining3:: @ 8254767
BattlePyramid_Text_SevenTrainersRemaining3::
.string "That's pretty impressive!\p"
.string "But there are seven more TRAINERS\n"
.string "on this floor. Can you beat them all?$"
BattlePyramid_Text_SixTrainersRemaining3:: @ 82547C9
BattlePyramid_Text_SixTrainersRemaining3::
.string "That's pretty impressive!\p"
.string "But there are six more TRAINERS\n"
.string "on this floor. Can you beat them all?$"
BattlePyramid_Text_FiveTrainersRemaining3:: @ 8254829
BattlePyramid_Text_FiveTrainersRemaining3::
.string "That's pretty impressive!\p"
.string "But there are five more TRAINERS\n"
.string "on this floor. Can you beat them all?$"
BattlePyramid_Text_FourTrainersRemaining3:: @ 825488A
BattlePyramid_Text_FourTrainersRemaining3::
.string "That's pretty impressive!\p"
.string "But there are four more TRAINERS\n"
.string "on this floor. Can you beat them all?$"
BattlePyramid_Text_ThreeTrainersRemaining3:: @ 82548EB
BattlePyramid_Text_ThreeTrainersRemaining3::
.string "That's pretty impressive!\p"
.string "But there are three more TRAINERS\n"
.string "on this floor. Can you beat them all?$"
BattlePyramid_Text_TwoTrainersRemaining3:: @ 825494D
BattlePyramid_Text_TwoTrainersRemaining3::
.string "That's pretty impressive!\p"
.string "But there are two more TRAINERS\n"
.string "on this floor. Can you beat them both?$"
BattlePyramid_Text_OneTrainersRemaining3:: @ 82549AE
BattlePyramid_Text_OneTrainersRemaining3::
.string "That's pretty impressive!\p"
.string "But there's still one more TRAINER\n"
.string "on this floor. Can you prevail?$"
BattlePyramid_Text_ZeroTrainersRemaining3:: @ 8254A0B
BattlePyramid_Text_ZeroTrainersRemaining3::
.string "That's pretty impressive!\p"
.string "You've gone through all the TRAINERS\n"
.string "on this floor.$"
BattlePyramid_Text_SevenTrainersRemaining4:: @ 8254A59
BattlePyramid_Text_SevenTrainersRemaining4::
.string "Maybe you could sweep through\n"
.string "the seven TRAINERS left on this floor.$"
BattlePyramid_Text_SixTrainersRemaining4:: @ 8254A9E
BattlePyramid_Text_SixTrainersRemaining4::
.string "Maybe you could sweep through\n"
.string "the six TRAINERS left on this floor.$"
BattlePyramid_Text_FiveTrainersRemaining4:: @ 8254AE1
BattlePyramid_Text_FiveTrainersRemaining4::
.string "Maybe you could sweep through\n"
.string "the five TRAINERS left on this floor.$"
BattlePyramid_Text_FourTrainersRemaining4:: @ 8254B25
BattlePyramid_Text_FourTrainersRemaining4::
.string "Maybe you could sweep through\n"
.string "the four TRAINERS left on this floor.$"
BattlePyramid_Text_ThreeTrainersRemaining4:: @ 8254B69
BattlePyramid_Text_ThreeTrainersRemaining4::
.string "Maybe you could sweep through\n"
.string "the three TRAINERS left on this floor.$"
BattlePyramid_Text_TwoTrainersRemaining4:: @ 8254BAE
BattlePyramid_Text_TwoTrainersRemaining4::
.string "Maybe you could sweep through\n"
.string "the two TRAINERS left on this floor.$"
BattlePyramid_Text_OneTrainersRemaining4:: @ 8254BF1
BattlePyramid_Text_OneTrainersRemaining4::
.string "Maybe you could complete your sweep\n"
.string "with the one TRAINER left on this floor.$"
BattlePyramid_Text_ZeroTrainersRemaining4:: @ 8254C3E
BattlePyramid_Text_ZeroTrainersRemaining4::
.string "There isn't a single person left who\n"
.string "can defeat you now…$"
BattlePyramid_Text_SevenTrainersRemaining5:: @ 8254C77
BattlePyramid_Text_SevenTrainersRemaining5::
.string "You may have what it takes to beat\n"
.string "the seven expert TRAINERS who remain.$"
BattlePyramid_Text_SixTrainersRemaining5:: @ 8254CC0
BattlePyramid_Text_SixTrainersRemaining5::
.string "You may have what it takes to beat\n"
.string "the six expert TRAINERS who remain.$"
BattlePyramid_Text_FiveTrainersRemaining5:: @ 8254D07
BattlePyramid_Text_FiveTrainersRemaining5::
.string "You may have what it takes to beat\n"
.string "the five expert TRAINERS who remain.$"
BattlePyramid_Text_FourTrainersRemaining5:: @ 8254D4F
BattlePyramid_Text_FourTrainersRemaining5::
.string "You may have what it takes to beat\n"
.string "the four expert TRAINERS who remain.$"
BattlePyramid_Text_ThreeTrainersRemaining5:: @ 8254D97
BattlePyramid_Text_ThreeTrainersRemaining5::
.string "You may have what it takes to beat\n"
.string "the three expert TRAINERS who remain.$"
BattlePyramid_Text_TwoTrainersRemaining5:: @ 8254DE0
BattlePyramid_Text_TwoTrainersRemaining5::
.string "You may have what it takes to beat\n"
.string "the two expert TRAINERS who remain.$"
BattlePyramid_Text_OneTrainersRemaining5:: @ 8254E27
BattlePyramid_Text_OneTrainersRemaining5::
.string "You may have what it takes to beat\n"
.string "the one expert TRAINER who remains.$"
BattlePyramid_Text_ZeroTrainersRemaining5:: @ 8254E6E
BattlePyramid_Text_ZeroTrainersRemaining5::
.string "Your skills are beyond reproach.\p"
.string "There are no more TRAINERS here\n"
.string "who have any chance of beating you.$"
BattlePyramid_Text_SevenTrainersRemaining6:: @ 8254ED3
BattlePyramid_Text_SevenTrainersRemaining6::
.string "Can you keep winning against\n"
.string "the seven remaining TRAINERS?$"
BattlePyramid_Text_SixTrainersRemaining6:: @ 8254F0E
BattlePyramid_Text_SixTrainersRemaining6::
.string "Can you keep winning against\n"
.string "the six remaining TRAINERS?$"
BattlePyramid_Text_FiveTrainersRemaining6:: @ 8254F47
BattlePyramid_Text_FiveTrainersRemaining6::
.string "Can you keep winning against\n"
.string "the five remaining TRAINERS?$"
BattlePyramid_Text_FourTrainersRemaining6:: @ 8254F81
BattlePyramid_Text_FourTrainersRemaining6::
.string "Can you keep winning against\n"
.string "the four remaining TRAINERS?$"
BattlePyramid_Text_ThreeTrainersRemaining6:: @ 8254FBB
BattlePyramid_Text_ThreeTrainersRemaining6::
.string "Can you keep winning against\n"
.string "the three remaining TRAINERS?$"
BattlePyramid_Text_TwoTrainersRemaining6:: @ 8254FF6
BattlePyramid_Text_TwoTrainersRemaining6::
.string "Can you keep winning against\n"
.string "the two remaining TRAINERS?$"
BattlePyramid_Text_OneTrainersRemaining6:: @ 825502F
BattlePyramid_Text_OneTrainersRemaining6::
.string "Can you keep winning against\n"
.string "the last remaining TRAINER?$"
BattlePyramid_Text_ZeroTrainersRemaining6:: @ 8255068
BattlePyramid_Text_ZeroTrainersRemaining6::
.string "There aren't any TRAINERS left that\n"
.string "can take you on now…$"

View File

@@ -1,22 +1,22 @@
.set LOCALID_ATTENDANT, 1
.set LOCALID_HINT_GIVER, 2
BattleFrontier_BattlePyramidLobby_MapScripts:: @ 8250716
BattleFrontier_BattlePyramidLobby_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePyramidLobby_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleDomeLobby_OnWarp
.byte 0
@ Unused. Pyramid uses Dome's OnWarp (presumably by mistake). Their effects are identical
BattleFrontier_BattlePyramidLobby_OnWarp: @ 8250721
BattleFrontier_BattlePyramidLobby_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePyramidLobby_EventScript_TurnPlayerNorth
.2byte 0
BattleFrontier_BattlePyramidLobby_EventScript_TurnPlayerNorth: @ 825072B
BattleFrontier_BattlePyramidLobby_EventScript_TurnPlayerNorth:
setvar VAR_TEMP_1, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end
BattleFrontier_BattlePyramidLobby_OnFrame: @ 8250735
BattleFrontier_BattlePyramidLobby_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePyramidLobby_EventScript_GetChallengeStatus
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_SAVING, BattleFrontier_BattlePyramidLobby_EventScript_QuitWithoutSaving
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_PAUSED, BattleFrontier_BattlePyramidLobby_EventScript_ResumeChallenge
@@ -24,11 +24,11 @@ BattleFrontier_BattlePyramidLobby_OnFrame: @ 8250735
map_script_2 VAR_TEMP_0, CHALLENGE_STATUS_LOST, BattleFrontier_BattlePyramidLobby_EventScript_LostChallenge
.2byte 0
BattleFrontier_BattlePyramidLobby_EventScript_GetChallengeStatus:: @ 825075F
BattleFrontier_BattlePyramidLobby_EventScript_GetChallengeStatus::
frontier_getstatus
end
BattleFrontier_BattlePyramidLobby_EventScript_QuitWithoutSaving:: @ 8250768
BattleFrontier_BattlePyramidLobby_EventScript_QuitWithoutSaving::
lockall
message BattleFrontier_BattlePyramidLobby_Text_DidntSaveBeforeQuittingTakeBag
waitmessage
@@ -42,20 +42,18 @@ BattleFrontier_BattlePyramidLobby_EventScript_QuitWithoutSaving:: @ 8250768
releaseall
end
BattleFrontier_BattlePyramidLobby_EventScript_WonChallenge:: @ 82507B1
BattleFrontier_BattlePyramidLobby_EventScript_WonChallenge::
lockall
frontier_isbrain
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_DefeatedKing
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattlePyramidLobby_EventScript_DefeatedKing
msgbox BattleFrontier_BattlePyramidLobby_Text_YouveConqueredPyramid, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidLobby_EventScript_GiveBattlePoints
BattleFrontier_BattlePyramidLobby_EventScript_DefeatedKing:: @ 82507D2
BattleFrontier_BattlePyramidLobby_EventScript_DefeatedKing::
msgbox BattleFrontier_BattlePyramidLobby_Text_YouveDefeatedPyramidKing, MSGBOX_DEFAULT
BattleFrontier_BattlePyramidLobby_EventScript_GiveBattlePoints:: @ 82507DA
BattleFrontier_BattlePyramidLobby_EventScript_GiveBattlePoints::
special DoBattlePyramidMonsHaveHeldItem
compare VAR_RESULT, TRUE
call_if_eq BattleFrontier_BattlePyramidLobby_EventScript_StoreHeldItemsInPyramidBag
call_if_eq VAR_RESULT, TRUE, BattleFrontier_BattlePyramidLobby_EventScript_StoreHeldItemsInPyramidBag
clearflag FLAG_STORING_ITEMS_IN_PYRAMID_BAG
frontier_checkairshow
special LoadPlayerParty
@@ -80,7 +78,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_GiveBattlePoints:: @ 82507DA
releaseall
end
BattleFrontier_BattlePyramidLobby_EventScript_LostChallenge:: @ 8250852
BattleFrontier_BattlePyramidLobby_EventScript_LostChallenge::
frontier_checkairshow
special LoadPlayerParty
pyramid_clearhelditems
@@ -102,17 +100,17 @@ BattleFrontier_BattlePyramidLobby_EventScript_LostChallenge:: @ 8250852
releaseall
end
BattleFrontier_BattlePyramidLobby_EventScript_ResumeChallenge:: @ 82508AC
BattleFrontier_BattlePyramidLobby_EventScript_ResumeChallenge::
goto BattleFrontier_BattlePyramidLobby_EventScript_EnterChallenge
BattleFrontier_BattlePyramidLobby_EventScript_Attendant:: @ 82508B1
BattleFrontier_BattlePyramidLobby_EventScript_Attendant::
lock
faceplayer
setvar VAR_FRONTIER_FACILITY, FRONTIER_FACILITY_PYRAMID
setvar VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
special SavePlayerParty
msgbox BattleFrontier_BattlePyramidLobby_Text_WelcomeToBattlePyramid, MSGBOX_DEFAULT
BattleFrontier_BattlePyramidLobby_EventScript_AskTakeChallenge:: @ 82508C8
BattleFrontier_BattlePyramidLobby_EventScript_AskTakeChallenge::
message BattleFrontier_BattlePyramidLobby_Text_EmbarkOnChallenge
waitmessage
multichoice 17, 6, MULTI_CHALLENGEINFO, FALSE
@@ -122,7 +120,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_AskTakeChallenge:: @ 82508C8
case 2, BattleFrontier_BattlePyramidLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePyramidLobby_EventScript_CancelChallenge
BattleFrontier_BattlePyramidLobby_EventScript_TryEnterChallenge:: @ 8250904
BattleFrontier_BattlePyramidLobby_EventScript_TryEnterChallenge::
message BattleFrontier_BattlePyramidLobby_Text_WhichLevelMode
waitmessage
multichoice 17, 6, MULTI_LEVEL_MODE, FALSE
@@ -130,8 +128,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_TryEnterChallenge:: @ 8250904
case FRONTIER_LVL_TENT, BattleFrontier_BattlePyramidLobby_EventScript_CancelChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePyramidLobby_EventScript_CancelChallenge
frontier_checkineligible
compare VAR_0x8004, TRUE
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_NotEnoughValidMons
goto_if_eq VAR_0x8004, TRUE, BattleFrontier_BattlePyramidLobby_EventScript_NotEnoughValidMons
frontier_set FRONTIER_DATA_LVL_MODE, VAR_RESULT
msgbox BattleFrontier_BattlePyramidLobby_Text_SelectThreeMons, MSGBOX_DEFAULT
fadescreen FADE_TO_BLACK
@@ -140,15 +137,14 @@ BattleFrontier_BattlePyramidLobby_EventScript_TryEnterChallenge:: @ 8250904
setvar VAR_0x8005, FRONTIER_PARTY_SIZE
special ChoosePartyForBattleFrontier
waitstate
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_LoadPartyAndCancelChallenge
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattlePyramidLobby_EventScript_LoadPartyAndCancelChallenge
msgbox BattleFrontier_BattlePyramidLobby_Text_OkayToSaveBeforeChallenge, MSGBOX_YESNO
switch VAR_RESULT
case NO, BattleFrontier_BattlePyramidLobby_EventScript_LoadPartyAndCancelChallenge
case YES, BattleFrontier_BattlePyramidLobby_EventScript_SaveBeforeChallenge
case MULTI_B_PRESSED, BattleFrontier_BattlePyramidLobby_EventScript_LoadPartyAndCancelChallenge
BattleFrontier_BattlePyramidLobby_EventScript_SaveBeforeChallenge:: @ 82509A5
BattleFrontier_BattlePyramidLobby_EventScript_SaveBeforeChallenge::
setvar VAR_TEMP_0, 0
frontier_set FRONTIER_DATA_SELECTED_MON_ORDER
pyramid_init
@@ -162,9 +158,8 @@ BattleFrontier_BattlePyramidLobby_EventScript_SaveBeforeChallenge:: @ 82509A5
delay 2
call Common_EventScript_SaveGame
setvar VAR_TEMP_0, 255
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_CancelChallengeSaveFailed
BattleFrontier_BattlePyramidLobby_EventScript_EnterChallenge:: @ 8250A21
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattlePyramidLobby_EventScript_CancelChallengeSaveFailed
BattleFrontier_BattlePyramidLobby_EventScript_EnterChallenge::
special SavePlayerParty
frontier_setpartyorder FRONTIER_PARTY_SIZE
msgbox BattleFrontier_BattlePyramidLobby_Text_ShowYouIntoPyramid, MSGBOX_DEFAULT
@@ -173,41 +168,41 @@ BattleFrontier_BattlePyramidLobby_EventScript_EnterChallenge:: @ 8250A21
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
setvar VAR_RESULT, 0
special HealPlayerParty
warp MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_FLOOR, 255, 1, 1
warp MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_FLOOR, 1, 1
setvar VAR_TEMP_0, 0
waitstate
end
BattleFrontier_BattlePyramidLobby_EventScript_ExplainChallenge:: @ 8250A68
BattleFrontier_BattlePyramidLobby_EventScript_ExplainChallenge::
msgbox BattleFrontier_BattlePyramidLobby_Text_ExplainBattlePyramid, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidLobby_EventScript_AskTakeChallenge
BattleFrontier_BattlePyramidLobby_EventScript_NotEnoughValidMons:: @ 8250A75
BattleFrontier_BattlePyramidLobby_EventScript_NotEnoughValidMons::
switch VAR_RESULT
case FRONTIER_LVL_50, BattleFrontier_BattlePyramidLobby_EventScript_NotEnoughValidMonsLv50
case FRONTIER_LVL_OPEN, BattleFrontier_BattlePyramidLobby_EventScript_NotEnoughValidMonsLvOpen
BattleFrontier_BattlePyramidLobby_EventScript_NotEnoughValidMonsLv50:: @ 8250A90
BattleFrontier_BattlePyramidLobby_EventScript_NotEnoughValidMonsLv50::
msgbox BattleFrontier_BattlePyramidLobby_Text_NotEnoughValidMonsLv50, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidLobby_EventScript_EndCancelChallenge
BattleFrontier_BattlePyramidLobby_EventScript_NotEnoughValidMonsLvOpen:: @ 8250A9D
BattleFrontier_BattlePyramidLobby_EventScript_NotEnoughValidMonsLvOpen::
msgbox BattleFrontier_BattlePyramidLobby_Text_NotEnoughValidMonsLvOpen, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidLobby_EventScript_EndCancelChallenge
BattleFrontier_BattlePyramidLobby_EventScript_CancelChallengeSaveFailed:: @ 8250AAA
BattleFrontier_BattlePyramidLobby_EventScript_CancelChallengeSaveFailed::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
goto BattleFrontier_BattlePyramidLobby_EventScript_CancelChallenge
BattleFrontier_BattlePyramidLobby_EventScript_LoadPartyAndCancelChallenge:: @ 8250AC1
BattleFrontier_BattlePyramidLobby_EventScript_LoadPartyAndCancelChallenge::
special LoadPlayerParty
BattleFrontier_BattlePyramidLobby_EventScript_CancelChallenge:: @ 8250AC4
BattleFrontier_BattlePyramidLobby_EventScript_CancelChallenge::
msgbox BattleFrontier_BattlePyramidLobby_Text_AwaitFutureChallenge, MSGBOX_DEFAULT
BattleFrontier_BattlePyramidLobby_EventScript_EndCancelChallenge:: @ 8250ACC
BattleFrontier_BattlePyramidLobby_EventScript_EndCancelChallenge::
release
end
BattleFrontier_BattlePyramidLobby_EventScript_HintGiver:: @ 8250ACE
BattleFrontier_BattlePyramidLobby_EventScript_HintGiver::
lockall
applymovement LOCALID_HINT_GIVER, Common_Movement_FacePlayer
waitmovement 0
@@ -217,7 +212,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_HintGiver:: @ 8250ACE
releaseall
end
BattleFrontier_BattlePyramidLobby_EventScript_GiveHint:: @ 8250AF0
BattleFrontier_BattlePyramidLobby_EventScript_GiveHint::
multichoice 17, 6, MULTI_LEVEL_MODE, FALSE
switch VAR_RESULT
case FRONTIER_LVL_50, BattleFrontier_BattlePyramidLobby_EventScript_GiveHintLv50
@@ -227,38 +222,36 @@ BattleFrontier_BattlePyramidLobby_EventScript_GiveHint:: @ 8250AF0
return
@ Shouldnt occur
BattleFrontier_BattlePyramidLobby_EventScript_NoHint:: @ 8250B27
BattleFrontier_BattlePyramidLobby_EventScript_NoHint::
return
BattleFrontier_BattlePyramidLobby_EventScript_GiveHintLv50:: @ 8250B28
BattleFrontier_BattlePyramidLobby_EventScript_GiveHintLv50::
msgbox BattleFrontier_BattlePyramidLobby_Text_Aah, MSGBOX_DEFAULT
pyramid_get PYRAMID_DATA_WIN_STREAK_ACTIVE_50
compare VAR_RESULT, FALSE
goto_if_ne BattleFrontier_BattlePyramidLobby_EventScript_GiveHintGetLv50Streak
goto_if_ne VAR_RESULT, FALSE, BattleFrontier_BattlePyramidLobby_EventScript_GiveHintGetLv50Streak
setvar VAR_RESULT, 0
goto BattleFrontier_BattlePyramidLobby_EventScript_DoHintComment
return
BattleFrontier_BattlePyramidLobby_EventScript_GiveHintGetLv50Streak:: @ 8250B53
BattleFrontier_BattlePyramidLobby_EventScript_GiveHintGetLv50Streak::
pyramid_get PYRAMID_DATA_WIN_STREAK_50
goto BattleFrontier_BattlePyramidLobby_EventScript_DoHintComment
return
BattleFrontier_BattlePyramidLobby_EventScript_GiveHintLvOpen:: @ 8250B66
BattleFrontier_BattlePyramidLobby_EventScript_GiveHintLvOpen::
msgbox BattleFrontier_BattlePyramidLobby_Text_Aah, MSGBOX_DEFAULT
pyramid_get PYRAMID_DATA_WIN_STREAK_ACTIVE_OPEN
compare VAR_RESULT, FALSE
goto_if_ne BattleFrontier_BattlePyramidLobby_EventScript_GiveHintGetLvOpenStreak
goto_if_ne VAR_RESULT, FALSE, BattleFrontier_BattlePyramidLobby_EventScript_GiveHintGetLvOpenStreak
setvar VAR_RESULT, 0
goto BattleFrontier_BattlePyramidLobby_EventScript_DoHintComment
return
BattleFrontier_BattlePyramidLobby_EventScript_GiveHintGetLvOpenStreak:: @ 8250B91
BattleFrontier_BattlePyramidLobby_EventScript_GiveHintGetLvOpenStreak::
pyramid_get PYRAMID_DATA_WIN_STREAK_OPEN
goto BattleFrontier_BattlePyramidLobby_EventScript_DoHintComment
return
BattleFrontier_BattlePyramidLobby_EventScript_DoHintComment:: @ 8250BA4
BattleFrontier_BattlePyramidLobby_EventScript_DoHintComment::
copyvar VAR_0x8004, VAR_RESULT
special GetBattlePyramidHint
switch VAR_RESULT
@@ -284,87 +277,87 @@ BattleFrontier_BattlePyramidLobby_EventScript_DoHintComment:: @ 8250BA4
case 19, BattleFrontier_BattlePyramidLobby_EventScript_HintNormal
return
BattleFrontier_BattlePyramidLobby_EventScript_HintParalysis:: @ 8250C8E
BattleFrontier_BattlePyramidLobby_EventScript_HintParalysis::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintParalysis, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintPoison:: @ 8250C97
BattleFrontier_BattlePyramidLobby_EventScript_HintPoison::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintPoison, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintBurn:: @ 8250CA0
BattleFrontier_BattlePyramidLobby_EventScript_HintBurn::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintBurn, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintPPWaste:: @ 8250CA9
BattleFrontier_BattlePyramidLobby_EventScript_HintPPWaste::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintPPWaste, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintLevitate:: @ 8250CB2
BattleFrontier_BattlePyramidLobby_EventScript_HintLevitate::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintLevitate, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintTrapAbility:: @ 8250CBB
BattleFrontier_BattlePyramidLobby_EventScript_HintTrapAbility::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintTrapAbility, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintIce:: @ 8250CC4
BattleFrontier_BattlePyramidLobby_EventScript_HintIce::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintIce, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintExplosion:: @ 8250CCD
BattleFrontier_BattlePyramidLobby_EventScript_HintExplosion::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintExplosion, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintPsychic:: @ 8250CD6
BattleFrontier_BattlePyramidLobby_EventScript_HintPsychic::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintPsychic, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintRock:: @ 8250CDF
BattleFrontier_BattlePyramidLobby_EventScript_HintRock::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintRock, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintFighting:: @ 8250CE8
BattleFrontier_BattlePyramidLobby_EventScript_HintFighting::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintFighting, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintWeather:: @ 8250CF1
BattleFrontier_BattlePyramidLobby_EventScript_HintWeather::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintWeather, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintBug:: @ 8250CFA
BattleFrontier_BattlePyramidLobby_EventScript_HintBug::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintBug, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintDark:: @ 8250D03
BattleFrontier_BattlePyramidLobby_EventScript_HintDark::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintDark, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintWater:: @ 8250D0C
BattleFrontier_BattlePyramidLobby_EventScript_HintWater::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintWater, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintGhost:: @ 8250D15
BattleFrontier_BattlePyramidLobby_EventScript_HintGhost::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintGhost, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintSteel:: @ 8250D1E
BattleFrontier_BattlePyramidLobby_EventScript_HintSteel::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintSteel, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintFlyingDragon:: @ 8250D27
BattleFrontier_BattlePyramidLobby_EventScript_HintFlyingDragon::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintFlyingDragon, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintStoneEvolve:: @ 8250D30
BattleFrontier_BattlePyramidLobby_EventScript_HintStoneEvolve::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintStoneEvolve, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_HintNormal:: @ 8250D39
BattleFrontier_BattlePyramidLobby_EventScript_HintNormal::
msgbox BattleFrontier_BattlePyramidLobby_Text_HintNormal, MSGBOX_DEFAULT
return
BattleFrontier_BattlePyramidLobby_EventScript_ShowResults:: @ 8250D42
BattleFrontier_BattlePyramidLobby_EventScript_ShowResults::
lockall
frontier_results FRONTIER_FACILITY_PYRAMID
waitbuttonpress
@@ -372,20 +365,19 @@ BattleFrontier_BattlePyramidLobby_EventScript_ShowResults:: @ 8250D42
releaseall
end
BattleFrontier_BattlePyramidLobby_EventScript_WalkToPanelAndReceiveBag:: @ 8250D56
BattleFrontier_BattlePyramidLobby_EventScript_WalkToPanelAndReceiveBag::
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePyramidLobby_Movement_AttendantWalkToPanel
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattlePyramidLobby_Movement_PlayerWalkToPanel
waitmovement 0
msgbox BattleFrontier_BattlePyramidLobby_Text_WeWillHoldBagForSafekeeping, MSGBOX_DEFAULT
pyramid_get PYRAMID_DATA_WIN_STREAK
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_ReceiveNewBattleBag
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattlePyramidLobby_EventScript_ReceiveNewBattleBag
msgbox BattleFrontier_BattlePyramidLobby_Text_PleaseTakePreviousBattleBag, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidLobby_EventScript_ReceiveBattleBag
BattleFrontier_BattlePyramidLobby_EventScript_ReceiveNewBattleBag:: @ 8250D94
BattleFrontier_BattlePyramidLobby_EventScript_ReceiveNewBattleBag::
msgbox BattleFrontier_BattlePyramidLobby_Text_PleaseTakeThisBattleBag, MSGBOX_DEFAULT
BattleFrontier_BattlePyramidLobby_EventScript_ReceiveBattleBag:: @ 8250D9C
BattleFrontier_BattlePyramidLobby_EventScript_ReceiveBattleBag::
message BattleFrontier_BattlePyramidLobby_Text_ExchangedBagForBattleBag
waitmessage
playse SE_EXP_MAX
@@ -398,7 +390,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_ReceiveBattleBag:: @ 8250D9C
waitmovement 0
return
BattleFrontier_BattlePyramidLobby_Movement_AttendantWalkToPanel: @ 8250DC4
BattleFrontier_BattlePyramidLobby_Movement_AttendantWalkToPanel:
walk_up
walk_up
walk_up
@@ -409,7 +401,7 @@ BattleFrontier_BattlePyramidLobby_Movement_AttendantWalkToPanel: @ 8250DC4
face_down
step_end
BattleFrontier_BattlePyramidLobby_Movement_PlayerWalkToPanel: @ 8250DCD
BattleFrontier_BattlePyramidLobby_Movement_PlayerWalkToPanel:
walk_up
walk_up
walk_up
@@ -419,33 +411,32 @@ BattleFrontier_BattlePyramidLobby_Movement_PlayerWalkToPanel: @ 8250DCD
walk_up
step_end
BattleFrontier_BattlePyramidLobby_Movement_AttendantMoveAside: @ 8250DD5
BattleFrontier_BattlePyramidLobby_Movement_AttendantMoveAside:
walk_right
face_left
step_end
BattleFrontier_BattlePyramidLobby_Movement_PlayerStepOnPanel: @ 8250DD8
BattleFrontier_BattlePyramidLobby_Movement_PlayerStepOnPanel:
walk_up
walk_up
step_end
BattleFrontier_BattlePyramidLobby_EventScript_StoreHeldItemsInPyramidBag:: @ 8250DDB
BattleFrontier_BattlePyramidLobby_EventScript_StoreHeldItemsInPyramidBag::
msgbox BattleFrontier_BattlePyramidLobby_Text_MonHoldingItemCannotTake, MSGBOX_DEFAULT
setflag FLAG_STORING_ITEMS_IN_PYRAMID_BAG
special TryStoreHeldItemsInPyramidBag
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_HeldItemsStoredInPyramidBag
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattlePyramidLobby_EventScript_HeldItemsStoredInPyramidBag
message BattleFrontier_BattlePyramidLobby_Text_BagCannotHoldPickItemsToKeep
waitmessage
goto BattleFrontier_BattlePyramidLobby_EventScript_PickItemsToKeep
end
BattleFrontier_BattlePyramidLobby_EventScript_HeldItemsStoredInPyramidBag:: @ 8250E00
BattleFrontier_BattlePyramidLobby_EventScript_HeldItemsStoredInPyramidBag::
msgbox BattleFrontier_BattlePyramidLobby_Text_HeldItemsMovedToBag, MSGBOX_DEFAULT
return
@ When exiting Battle Pyramid with a full pyramid bag and held items the player must select to keep/toss party held items and make room for any kept items by tossing from the pyramid bag
BattleFrontier_BattlePyramidLobby_EventScript_PickItemsToKeep:: @ 8250E09
BattleFrontier_BattlePyramidLobby_EventScript_PickItemsToKeep::
multichoice 17, 6, MULTI_FRONTIER_ITEM_CHOOSE, FALSE
switch VAR_RESULT
case 0, BattleFrontier_BattlePyramidLobby_EventScript_PickItemsFromBag
@@ -454,7 +445,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_PickItemsToKeep:: @ 8250E09
case MULTI_B_PRESSED, BattleFrontier_BattlePyramidLobby_EventScript_ExitPickItems
end
BattleFrontier_BattlePyramidLobby_EventScript_PickItemsFromBag:: @ 8250E40
BattleFrontier_BattlePyramidLobby_EventScript_PickItemsFromBag::
special ChooseItemsToTossFromPyramidBag
waitstate
message BattleFrontier_BattlePyramidLobby_Text_PickItemsToKeep
@@ -462,7 +453,7 @@ BattleFrontier_BattlePyramidLobby_EventScript_PickItemsFromBag:: @ 8250E40
goto BattleFrontier_BattlePyramidLobby_EventScript_PickItemsToKeep
end
BattleFrontier_BattlePyramidLobby_EventScript_PickItemsFromParty:: @ 8250E50
BattleFrontier_BattlePyramidLobby_EventScript_PickItemsFromParty::
special BattlePyramidChooseMonHeldItems
waitstate
message BattleFrontier_BattlePyramidLobby_Text_PickItemsToKeep
@@ -470,34 +461,33 @@ BattleFrontier_BattlePyramidLobby_EventScript_PickItemsFromParty:: @ 8250E50
goto BattleFrontier_BattlePyramidLobby_EventScript_PickItemsToKeep
end
BattleFrontier_BattlePyramidLobby_EventScript_ExitPickItems:: @ 8250E60
BattleFrontier_BattlePyramidLobby_EventScript_ExitPickItems::
special DoBattlePyramidMonsHaveHeldItem
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattlePyramidLobby_EventScript_PartyStillHasHeldItems
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattlePyramidLobby_EventScript_PartyStillHasHeldItems
return
BattleFrontier_BattlePyramidLobby_EventScript_PartyStillHasHeldItems:: @ 8250E6F
BattleFrontier_BattlePyramidLobby_EventScript_PartyStillHasHeldItems::
msgbox BattleFrontier_BattlePyramidLobby_Text_LeastOneMonHoldingItem, MSGBOX_DEFAULT
message BattleFrontier_BattlePyramidLobby_Text_PickItemsToKeep
waitmessage
goto BattleFrontier_BattlePyramidLobby_EventScript_PickItemsToKeep
end
BattleFrontier_BattlePyramidLobby_EventScript_Woman:: @ 8250E83
BattleFrontier_BattlePyramidLobby_EventScript_Woman::
msgbox BattleFrontier_BattlePyramidLobby_Text_TrainersNoticeRunning, MSGBOX_NPC
end
BattleFrontier_BattlePyramidLobby_EventScript_FatMan:: @ 8250E8C
BattleFrontier_BattlePyramidLobby_EventScript_FatMan::
msgbox BattleFrontier_BattlePyramidLobby_Text_LostLotOfItems, MSGBOX_NPC
end
BattleFrontier_BattlePyramidLobby_EventScript_RulesBoard:: @ 8250E95
BattleFrontier_BattlePyramidLobby_EventScript_RulesBoard::
lockall
msgbox BattleFrontier_BattlePyramidLobby_Text_RulesAreListed, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattlePyramidLobby_EventScript_ReadRulesBoard:: @ 8250EA4
BattleFrontier_BattlePyramidLobby_EventScript_ReadRulesBoard::
message BattleFrontier_BattlePyramidLobby_Text_ReadWhichHeading
waitmessage
multichoice 15, 2, MULTI_BATTLE_PYRAMID_RULES, FALSE
@@ -510,45 +500,45 @@ BattleFrontier_BattlePyramidLobby_EventScript_ReadRulesBoard:: @ 8250EA4
case MULTI_B_PRESSED, BattleFrontier_BattlePyramidLobby_EventScript_ExitRules
end
BattleFrontier_BattlePyramidLobby_EventScript_RulesPokemon:: @ 8250EF7
BattleFrontier_BattlePyramidLobby_EventScript_RulesPokemon::
msgbox BattleFrontier_BattlePyramidLobby_Text_ExplainMonRules, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattlePyramidLobby_EventScript_RulesTrainers:: @ 8250F05
BattleFrontier_BattlePyramidLobby_EventScript_RulesTrainers::
msgbox BattleFrontier_BattlePyramidLobby_Text_ExplainTrainerRules, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattlePyramidLobby_EventScript_RulesMaze:: @ 8250F13
BattleFrontier_BattlePyramidLobby_EventScript_RulesMaze::
msgbox BattleFrontier_BattlePyramidLobby_Text_ExplainMazeRules, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattlePyramidLobby_EventScript_RulesBag:: @ 8250F21
BattleFrontier_BattlePyramidLobby_EventScript_RulesBag::
msgbox BattleFrontier_BattlePyramidLobby_Text_ExplainBagRules, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidLobby_EventScript_ReadRulesBoard
end
BattleFrontier_BattlePyramidLobby_EventScript_ExitRules:: @ 8250F2F
BattleFrontier_BattlePyramidLobby_EventScript_ExitRules::
releaseall
end
BattleFrontier_BattlePyramidLobby_Text_WelcomeToBattlePyramid: @ 8250F31
BattleFrontier_BattlePyramidLobby_Text_WelcomeToBattlePyramid:
.string "Where the courage of TRAINERS\n"
.string "is put to the test!\p"
.string "Welcome to the BATTLE PYRAMID!\p"
.string "I am your guide to\n"
.string "the Battle Quest.$"
BattleFrontier_BattlePyramidLobby_Text_EmbarkOnChallenge: @ 8250FA7
BattleFrontier_BattlePyramidLobby_Text_EmbarkOnChallenge:
.string "Have you the courage to embark on\n"
.string "the Battle Quest challenge?$"
BattleFrontier_BattlePyramidLobby_Text_AwaitFutureChallenge: @ 8250FE5
BattleFrontier_BattlePyramidLobby_Text_AwaitFutureChallenge:
.string "We await your challenge in the future!$"
BattleFrontier_BattlePyramidLobby_Text_ExplainBattlePyramid: @ 825100C
BattleFrontier_BattlePyramidLobby_Text_ExplainBattlePyramid:
.string "The Battle Quest is a battling\n"
.string "event in which you must explore\l"
.string "the PYRAMID and try to reach the top.\p"
@@ -567,16 +557,16 @@ BattleFrontier_BattlePyramidLobby_Text_ExplainBattlePyramid: @ 825100C
.string "If you don't save before interrupting,\n"
.string "you will be disqualified.$"
BattleFrontier_BattlePyramidLobby_Text_WhichLevelMode: @ 8251248
BattleFrontier_BattlePyramidLobby_Text_WhichLevelMode:
.string "The PYRAMID offers two courses,\n"
.string "Level 50 and Open Level.\l"
.string "Which will you enter?$"
BattleFrontier_BattlePyramidLobby_Text_SelectThreeMons: @ 8251297
BattleFrontier_BattlePyramidLobby_Text_SelectThreeMons:
.string "Very good. Now, please select the three\n"
.string "POKéMON you wish to accompany you.$"
BattleFrontier_BattlePyramidLobby_Text_NotEnoughValidMonsLvOpen: @ 82512E2
BattleFrontier_BattlePyramidLobby_Text_NotEnoughValidMonsLvOpen:
.string "A slight problem, adventurer!\p"
.string "You seem to not have the three\n"
.string "POKéMON qualified for the challenge.\p"
@@ -586,7 +576,7 @@ BattleFrontier_BattlePyramidLobby_Text_NotEnoughValidMonsLvOpen: @ 82512E2
.string "When you are ready, please have\n"
.string "a word with me.$"
BattleFrontier_BattlePyramidLobby_Text_NotEnoughValidMonsLv50: @ 82513C1
BattleFrontier_BattlePyramidLobby_Text_NotEnoughValidMonsLv50:
.string "A slight problem, adventurer!\p"
.string "You seem to not have the three\n"
.string "POKéMON qualified for the challenge.\p"
@@ -598,38 +588,38 @@ BattleFrontier_BattlePyramidLobby_Text_NotEnoughValidMonsLv50: @ 82513C1
.string "When you are ready, please have\n"
.string "a word with me.$"
BattleFrontier_BattlePyramidLobby_Text_OkayToSaveBeforeChallenge: @ 82514E6
BattleFrontier_BattlePyramidLobby_Text_OkayToSaveBeforeChallenge:
.string "Before you enter the BATTLE PYRAMID,\n"
.string "the game must be saved. Is that okay?$"
BattleFrontier_BattlePyramidLobby_Text_ShowYouIntoPyramid: @ 8251531
BattleFrontier_BattlePyramidLobby_Text_ShowYouIntoPyramid:
.string "Very good. I will now show you into\n"
.string "the BATTLE PYRAMID.$"
BattleFrontier_BattlePyramidLobby_Text_WeWillHoldBagForSafekeeping: @ 8251569
BattleFrontier_BattlePyramidLobby_Text_WeWillHoldBagForSafekeeping:
.string "We will hold your BAG for safekeeping,\n"
.string "{PLAYER}, while you are exploring.$"
BattleFrontier_BattlePyramidLobby_Text_PleaseTakePreviousBattleBag: @ 82515AD
BattleFrontier_BattlePyramidLobby_Text_PleaseTakePreviousBattleBag:
.string "In exchange, please take this BATTLE\n"
.string "BAG, the one you used previously.$"
BattleFrontier_BattlePyramidLobby_Text_PleaseTakeThisBattleBag: @ 82515F4
BattleFrontier_BattlePyramidLobby_Text_PleaseTakeThisBattleBag:
.string "In exchange, please take this\n"
.string "BATTLE BAG.$"
BattleFrontier_BattlePyramidLobby_Text_ExchangedBagForBattleBag: @ 825161E
BattleFrontier_BattlePyramidLobby_Text_ExchangedBagForBattleBag:
.string "{PLAYER} exchanged the BAG for\n"
.string "the BATTLE BAG.$"
BattleFrontier_BattlePyramidLobby_Text_StepOnFloorPanel: @ 8251647
BattleFrontier_BattlePyramidLobby_Text_StepOnFloorPanel:
.string "When you step on this floor panel,\n"
.string "you will be transported to a higher\l"
.string "floor in the PYRAMID.\p"
.string "I hope for your sake that your\n"
.string "quest goes safely!$"
BattleFrontier_BattlePyramidLobby_Text_DidntSaveBeforeQuittingTakeBag: @ 82516D6
BattleFrontier_BattlePyramidLobby_Text_DidntSaveBeforeQuittingTakeBag:
.string "A major problem, explorer!\p"
.string "You did not save before ending\n"
.string "your challenge the last time.\p"
@@ -639,112 +629,112 @@ BattleFrontier_BattlePyramidLobby_Text_DidntSaveBeforeQuittingTakeBag: @ 82516D6
.string "for you.\p"
.string "{PLAYER} got the BAG back.$"
BattleFrontier_BattlePyramidLobby_Text_YouveConqueredPyramid: @ 82517B5
BattleFrontier_BattlePyramidLobby_Text_YouveConqueredPyramid:
.string "Excellent to see you back!\p"
.string "You've conquered the PYRAMID!\n"
.string "How splendid!$"
BattleFrontier_BattlePyramidLobby_Text_MonHoldingItemCannotTake: @ 82517FC
BattleFrontier_BattlePyramidLobby_Text_MonHoldingItemCannotTake:
.string "Ah, a slight problem.\p"
.string "At least one POKéMON is holding\n"
.string "an item.\p"
.string "I'm sorry to say, items obtained in\n"
.string "the PYRAMID cannot be taken away.$"
BattleFrontier_BattlePyramidLobby_Text_HeldItemsMovedToBag: @ 8251881
BattleFrontier_BattlePyramidLobby_Text_HeldItemsMovedToBag:
.string "All items held by your POKéMON will be\n"
.string "moved to your BATTLE BAG, {PLAYER}.$"
BattleFrontier_BattlePyramidLobby_Text_BagCannotHoldPickItemsToKeep: @ 82518C6
BattleFrontier_BattlePyramidLobby_Text_BagCannotHoldPickItemsToKeep:
.string "The BATTLE BAG cannot hold all your\n"
.string "items, I'm sorry to say.\p"
.string "Please pick the items you'll keep in the\n"
.string "BATTLE BAG, and with your POKéMON.$"
BattleFrontier_BattlePyramidLobby_Text_LeastOneMonHoldingItem: @ 825194F
BattleFrontier_BattlePyramidLobby_Text_LeastOneMonHoldingItem:
.string "At least one POKéMON is still\n"
.string "holding an item.$"
BattleFrontier_BattlePyramidLobby_Text_PickItemsToKeep: @ 825197E
BattleFrontier_BattlePyramidLobby_Text_PickItemsToKeep:
.string "Please pick the items you'll keep in the\n"
.string "BATTLE BAG, and with your POKéMON.$"
@ Unused
BattleFrontier_BattlePyramidLobby_Text_ReturnedEverythingMonsHeld: @ 82519CA
BattleFrontier_BattlePyramidLobby_Text_ReturnedEverythingMonsHeld:
.string "{PLAYER} returned everything that\n"
.string "the POKéMON held.$"
BattleFrontier_BattlePyramidLobby_Text_UsedBattleBagWillBeKept: @ 82519F8
BattleFrontier_BattlePyramidLobby_Text_UsedBattleBagWillBeKept:
.string "The BATTLE BAG you used will be kept\n"
.string "in readiness for your next challenge.\p"
.string "{PLAYER} turned the BATTLE BAG over\n"
.string "for the BAG's return.$"
BattleFrontier_BattlePyramidLobby_Text_RecordResultsWait: @ 8251A77
BattleFrontier_BattlePyramidLobby_Text_RecordResultsWait:
.string "I must record your results.\n"
.string "Please wait.$"
@ Unused
BattleFrontier_BattlePyramidLobby_Text_ForConqueringPyramidTakeThis: @ 8251AA0
BattleFrontier_BattlePyramidLobby_Text_ForConqueringPyramidTakeThis:
.string "As a memento for conquering\n"
.string "the BATTLE PYRAMID, please take this.$"
@ Unused
BattleFrontier_BattlePyramidLobby_Text_ReceivedPrizeItem: @ 8251AE2
BattleFrontier_BattlePyramidLobby_Text_ReceivedPrizeItem:
.string "{PLAYER} received the prize\n"
.string "{STR_VAR_1}.$"
@ Unused
BattleFrontier_BattlePyramidLobby_Text_BagIsFull: @ 8251AFC
BattleFrontier_BattlePyramidLobby_Text_BagIsFull:
.string "…Ah…\n"
.string "Your BAG appears to be filled.\p"
.string "Please return after you've organized\n"
.string "your BAG's contents.$"
BattleFrontier_BattlePyramidLobby_Text_DisappointingHereIsBag: @ 8251B5A
BattleFrontier_BattlePyramidLobby_Text_DisappointingHereIsBag:
.string "How disappointing for you…\p"
.string "Here is the BAG we've been holding\n"
.string "for you.\p"
.string "{PLAYER} got the BAG back.$"
BattleFrontier_BattlePyramidLobby_Text_LookForwardToNextChallenge: @ 8251BB6
BattleFrontier_BattlePyramidLobby_Text_LookForwardToNextChallenge:
.string "We look forward to your\n"
.string "next challenge!$"
@ Unused
BattleFrontier_BattlePyramidLobby_Text_HereIsPrize: @ 8251BDE
BattleFrontier_BattlePyramidLobby_Text_HereIsPrize:
.string "We have been looking forward to\n"
.string "your arrival!\p"
.string "Here is your prize for conquering\n"
.string "the PYRAMID.$"
BattleFrontier_BattlePyramidLobby_Text_TellYouWhatMisfortunesAwait: @ 8251C3B
BattleFrontier_BattlePyramidLobby_Text_TellYouWhatMisfortunesAwait:
.string "Welcome…\p"
.string "I shall be pleased to tell you what\n"
.string "misfortunes await in the PYRAMID…$"
BattleFrontier_BattlePyramidLobby_Text_Aah: @ 8251C8A
BattleFrontier_BattlePyramidLobby_Text_Aah:
.string "… … … … … …\n"
.string "… … … … … …\p"
.string "… … … … … …\n"
.string "Aah!$"
BattleFrontier_BattlePyramidLobby_Text_HintParalysis: @ 8251CB3
BattleFrontier_BattlePyramidLobby_Text_HintParalysis:
.string "I see a shower of sparks…\p"
.string "…And in it, I see your POKéMON\n"
.string "struggling with paralysis…$"
BattleFrontier_BattlePyramidLobby_Text_HintPoison: @ 8251D07
BattleFrontier_BattlePyramidLobby_Text_HintPoison:
.string "I see poison…\p"
.string "…And, I see your POKéMON suffering\n"
.string "from the effects of poison…$"
BattleFrontier_BattlePyramidLobby_Text_HintBurn: @ 8251D54
BattleFrontier_BattlePyramidLobby_Text_HintBurn:
.string "I see bright red flames…\p"
.string "…And, I see your POKéMON suffering\n"
.string "from burns…$"
BattleFrontier_BattlePyramidLobby_Text_HintPPWaste: @ 8251D9C
BattleFrontier_BattlePyramidLobby_Text_HintPPWaste:
.string "I sense the tremendous pressure of\n"
.string "unrequited anger…\p"
.string "It is a curse…\p"
@@ -752,44 +742,44 @@ BattleFrontier_BattlePyramidLobby_Text_HintPPWaste: @ 8251D9C
.string "Power Points and having no recourse\l"
.string "but to use STRUGGLE…$"
BattleFrontier_BattlePyramidLobby_Text_HintLevitate: @ 8251E3D
BattleFrontier_BattlePyramidLobby_Text_HintLevitate:
.string "I see POKéMON loftily airborne…\p"
.string "…And, I see your POKéMON frustrated\n"
.string "by powerless GROUND-type moves…$"
BattleFrontier_BattlePyramidLobby_Text_HintTrapAbility: @ 8251EA1
BattleFrontier_BattlePyramidLobby_Text_HintTrapAbility:
.string "I sense terrific energy rising from\n"
.string "the ground below…\p"
.string "…And, I see your POKéMON unable to\n"
.string "escape the power's clutches…$"
BattleFrontier_BattlePyramidLobby_Text_HintIce: @ 8251F17
BattleFrontier_BattlePyramidLobby_Text_HintIce:
.string "I see ICE-type POKéMON…\p"
.string "…And, I see your POKéMON fighting\n"
.string "the freezing effects of ice…$"
BattleFrontier_BattlePyramidLobby_Text_HintExplosion: @ 8251F6E
BattleFrontier_BattlePyramidLobby_Text_HintExplosion:
.string "I see a flurry of moves that imperil\n"
.string "the user…\p"
.string "…And, I see your POKéMON falling\n"
.string "to them…$"
BattleFrontier_BattlePyramidLobby_Text_HintPsychic: @ 8251FC7
BattleFrontier_BattlePyramidLobby_Text_HintPsychic:
.string "I see PSYCHIC-type POKéMON…\p"
.string "…And, I see your POKéMON in torment\n"
.string "from PSYCHIC moves…$"
BattleFrontier_BattlePyramidLobby_Text_HintRock: @ 825201B
BattleFrontier_BattlePyramidLobby_Text_HintRock:
.string "I see ROCK-type POKéMON…\p"
.string "…And, I see your POKéMON suffering\n"
.string "from ROCK moves…$"
BattleFrontier_BattlePyramidLobby_Text_HintFighting: @ 8252068
BattleFrontier_BattlePyramidLobby_Text_HintFighting:
.string "I see FIGHTING-type POKéMON…\p"
.string "…And, I see your POKéMON pummeled\n"
.string "by FIGHTING moves…$"
BattleFrontier_BattlePyramidLobby_Text_HintWeather: @ 82520BA
BattleFrontier_BattlePyramidLobby_Text_HintWeather:
.string "RAIN DANCE… SUNNY DAY…\n"
.string "SANDSTORM… HAIL…\p"
.string "I see POKéMON that become stronger\n"
@@ -797,37 +787,37 @@ BattleFrontier_BattlePyramidLobby_Text_HintWeather: @ 82520BA
.string "…And, I see your POKéMON confounded\n"
.string "by different types of moves…$"
BattleFrontier_BattlePyramidLobby_Text_HintBug: @ 8252158
BattleFrontier_BattlePyramidLobby_Text_HintBug:
.string "I see BUG-type POKéMON…\p"
.string "…And, I see your POKéMON suffering\n"
.string "from different kinds of attacks…$"
BattleFrontier_BattlePyramidLobby_Text_HintDark: @ 82521B4
BattleFrontier_BattlePyramidLobby_Text_HintDark:
.string "I see DARK-type POKéMON…\p"
.string "…And, I see your POKéMON suffering\n"
.string "from DARK-type moves…$"
BattleFrontier_BattlePyramidLobby_Text_HintWater: @ 8252206
BattleFrontier_BattlePyramidLobby_Text_HintWater:
.string "I see WATER-type POKéMON…\p"
.string "…And, I see your POKéMON suffering\n"
.string "from WATER-type moves…$"
BattleFrontier_BattlePyramidLobby_Text_HintGhost: @ 825225A
BattleFrontier_BattlePyramidLobby_Text_HintGhost:
.string "I see GHOST-type POKéMON…\p"
.string "…And, I see your POKéMON suffering\n"
.string "from GHOST-type moves…$"
BattleFrontier_BattlePyramidLobby_Text_HintSteel: @ 82522AE
BattleFrontier_BattlePyramidLobby_Text_HintSteel:
.string "I see STEEL-type POKéMON…\p"
.string "…And, I see your POKéMON suffering\n"
.string "from enormously powerful moves…$"
BattleFrontier_BattlePyramidLobby_Text_HintFlyingDragon: @ 825230B
BattleFrontier_BattlePyramidLobby_Text_HintFlyingDragon:
.string "I see flying POKéMON…\p"
.string "…And, I see your POKéMON suffering\n"
.string "from enormously powerful moves…$"
BattleFrontier_BattlePyramidLobby_Text_HintStoneEvolve: @ 8252364
BattleFrontier_BattlePyramidLobby_Text_HintStoneEvolve:
.string "I see those that have evolved from\n"
.string "the power of stones…\p"
.string "I also sense fire, water,\n"
@@ -835,18 +825,18 @@ BattleFrontier_BattlePyramidLobby_Text_HintStoneEvolve: @ 8252364
.string "…And, I see your POKéMON suffering\n"
.string "from those three powers…$"
BattleFrontier_BattlePyramidLobby_Text_HintNormal: @ 8252403
BattleFrontier_BattlePyramidLobby_Text_HintNormal:
.string "I see NORMAL-type POKéMON…\p"
.string "…And, I see your POKéMON suffering\n"
.string "from enormously powerful moves…$"
BattleFrontier_BattlePyramidLobby_Text_BelieveMyFortunesOrNot: @ 8252461
BattleFrontier_BattlePyramidLobby_Text_BelieveMyFortunesOrNot:
.string "Whether you believe my fortunes\n"
.string "or not, the choice is yours…\p"
.string "The future can be changed anytime…\n"
.string "I wish you safe passage…$"
BattleFrontier_BattlePyramidLobby_Text_TrainersNoticeRunning: @ 82524DA
BattleFrontier_BattlePyramidLobby_Text_TrainersNoticeRunning:
.string "Did you know?\p"
.string "If you run fast, TRAINERS may notice\n"
.string "and come after you for a battle.\p"
@@ -854,37 +844,37 @@ BattleFrontier_BattlePyramidLobby_Text_TrainersNoticeRunning: @ 82524DA
.string "don't catch their eyes, but sneak\l"
.string "cautiously and quietly past them.$"
BattleFrontier_BattlePyramidLobby_Text_LostLotOfItems: @ 8252595
BattleFrontier_BattlePyramidLobby_Text_LostLotOfItems:
.string "Awaaaaaaarrrrgh!\p"
.string "I had a whole lot of items, but I lost\n"
.string "them all when I lost!\p"
.string "Awaaaaaaarrrrgh!$"
BattleFrontier_BattlePyramidLobby_Text_YouveDefeatedPyramidKing: @ 82525F4
BattleFrontier_BattlePyramidLobby_Text_YouveDefeatedPyramidKing:
.string "Welcome back!\n"
.string "You've done the unthinkable!\p"
.string "You've defeated the PYRAMID KING\n"
.string "and conquered the BATTLE PYRAMID!$"
BattleFrontier_BattlePyramidLobby_Text_GiveYouTheseBattlePoints: @ 8252662
BattleFrontier_BattlePyramidLobby_Text_GiveYouTheseBattlePoints:
.string "Young explorer!\n"
.string "In commendation of your courage,\l"
.string "we give you these Battle Point(s)!$"
BattleFrontier_BattlePyramidLobby_Text_RulesAreListed: @ 82526B6
BattleFrontier_BattlePyramidLobby_Text_RulesAreListed:
.string "The Battle Quest rules are listed.$"
BattleFrontier_BattlePyramidLobby_Text_ReadWhichHeading: @ 82526D9
BattleFrontier_BattlePyramidLobby_Text_ReadWhichHeading:
.string "Which heading do you want to read?$"
BattleFrontier_BattlePyramidLobby_Text_ExplainMonRules: @ 82526FC
BattleFrontier_BattlePyramidLobby_Text_ExplainMonRules:
.string "When the PYRAMID is conquered,\n"
.string "the wild POKéMON that appear in it\l"
.string "are replaced by different kinds.\p"
.string "Explore, observe, and learn what kinds\n"
.string "of wild POKéMON you may encounter.$"
BattleFrontier_BattlePyramidLobby_Text_ExplainTrainerRules: @ 82527A9
BattleFrontier_BattlePyramidLobby_Text_ExplainTrainerRules:
.string "TRAINERS are lying in wait for you\n"
.string "inside the PYRAMID.\p"
.string "On each floor, there are up to\n"
@@ -892,7 +882,7 @@ BattleFrontier_BattlePyramidLobby_Text_ExplainTrainerRules: @ 82527A9
.string "When you defeat a TRAINER, you will\n"
.string "get a helpful hint for your adventure.$"
BattleFrontier_BattlePyramidLobby_Text_ExplainMazeRules: @ 825285A
BattleFrontier_BattlePyramidLobby_Text_ExplainMazeRules:
.string "The mazes in the PYRAMID rearrange\n"
.string "themselves every time you enter it.\p"
.string "The mazes are poorly lit.\n"
@@ -900,7 +890,7 @@ BattleFrontier_BattlePyramidLobby_Text_ExplainMazeRules: @ 825285A
.string "The light grows brighter whenever you\n"
.string "defeat a wild POKéMON or a TRAINER.$"
BattleFrontier_BattlePyramidLobby_Text_ExplainBagRules: @ 8252924
BattleFrontier_BattlePyramidLobby_Text_ExplainBagRules:
.string "The BATTLE BAG serves as your BAG\n"
.string "while in the PYRAMID.\p"
.string "There are two separate BATTLE BAGS--\n"

View File

@@ -1,37 +1,35 @@
.set LOCALID_ATTENDANT, 1
.set LOCALID_BRANDON, 2
BattleFrontier_BattlePyramidTop_MapScripts:: @ 82550A1
BattleFrontier_BattlePyramidTop_MapScripts::
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_OnTransition: @ 82550B6
BattleFrontier_BattlePyramidTop_OnTransition:
pyramid_updatelight 200, PYRAMID_LIGHT_SET_RADIUS
setvar VAR_TEMP_F, 1
end
BattleFrontier_BattlePyramidTop_OnWarp: @ 82550CE
BattleFrontier_BattlePyramidTop_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattlePyramidTop_EventScript_SetUpObjects
.2byte 0
BattleFrontier_BattlePyramidTop_EventScript_SetUpObjects:: @ 82550D8
BattleFrontier_BattlePyramidTop_EventScript_SetUpObjects::
setvar VAR_TEMP_1, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
compare VAR_TEMP_C, 0
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_EndSetUpObjects
goto_if_ne VAR_TEMP_C, 0, BattleFrontier_BattlePyramidTop_EventScript_EndSetUpObjects
setobjectxyperm LOCALID_BRANDON, 0, 0
BattleFrontier_BattlePyramidTop_EventScript_EndSetUpObjects:: @ 82550F3
BattleFrontier_BattlePyramidTop_EventScript_EndSetUpObjects::
end
BattleFrontier_BattlePyramidTop_OnResume: @ 82550F4
BattleFrontier_BattlePyramidTop_OnResume:
frontier_getbrainstatus
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_CheckChallengeStatus
goto_if_eq VAR_RESULT, FRONTIER_BRAIN_NOT_READY, BattleFrontier_BattlePyramidTop_EventScript_CheckChallengeStatus
call BattleFrontier_EventScript_SetBrainObjectGfx
BattleFrontier_BattlePyramidTop_EventScript_CheckChallengeStatus:: @ 825510C
BattleFrontier_BattlePyramidTop_EventScript_CheckChallengeStatus::
copyvar VAR_TEMP_C, VAR_RESULT
frontier_getstatus
switch VAR_TEMP_0
@@ -39,30 +37,27 @@ BattleFrontier_BattlePyramidTop_EventScript_CheckChallengeStatus:: @ 825510C
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_BattlePyramid_EventScript_WarpToLobbyLost
compare VAR_RESULT, B_OUTCOME_DREW
goto_if_eq BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
compare VAR_RESULT, B_OUTCOME_FORFEITED
goto_if_eq BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
goto_if_eq VAR_RESULT, B_OUTCOME_LOST, BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
goto_if_eq VAR_RESULT, B_OUTCOME_DREW, BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
goto_if_eq VAR_RESULT, B_OUTCOME_FORFEITED, BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
end
BattleFrontier_BattlePyramidTop_OnFrame: @ 825516E
BattleFrontier_BattlePyramidTop_OnFrame:
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_PlayPyramidMusic:: @ 8255180
BattleFrontier_BattlePyramidTop_EventScript_PlayPyramidMusic::
playbgm MUS_B_PYRAMID_TOP, FALSE
setvar VAR_TEMP_E, 1
end
BattleFrontier_BattlePyramidTop_EventScript_ShowMapName:: @ 825518A
BattleFrontier_BattlePyramidTop_EventScript_ShowMapName::
special ShowMapNamePopup
setvar VAR_TEMP_F, 0
end
BattleFrontier_BattlePyramidTop_EventScript_ReadyChallenge:: @ 8255193
BattleFrontier_BattlePyramidTop_EventScript_ReadyChallenge::
pyramid_save CHALLENGE_STATUS_SAVING
special SavePlayerParty
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, 0
@@ -71,13 +66,11 @@ BattleFrontier_BattlePyramidTop_EventScript_ReadyChallenge:: @ 8255193
setvar VAR_TEMP_F, 1
end
BattleFrontier_BattlePyramidTop_EventScript_Attendant:: @ 82551D0
BattleFrontier_BattlePyramidTop_EventScript_Attendant::
lock
faceplayer
compare VAR_TEMP_D, 0
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_StepForwardWhenReady
compare VAR_TEMP_C, FRONTIER_BRAIN_NOT_READY
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_BrandonHereMoveAside
goto_if_ne VAR_TEMP_D, 0, BattleFrontier_BattlePyramidTop_EventScript_StepForwardWhenReady
goto_if_ne VAR_TEMP_C, FRONTIER_BRAIN_NOT_READY, BattleFrontier_BattlePyramidTop_EventScript_BrandonHereMoveAside
msgbox BattleFrontier_BattlePyramidTop_Text_ReachedSummitUpYouGo, MSGBOX_DEFAULT
closemessage
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePyramidTop_Movement_AttendantMoveAside
@@ -91,33 +84,32 @@ BattleFrontier_BattlePyramidTop_EventScript_Attendant:: @ 82551D0
playfanfare MUS_OBTAIN_B_POINTS
waitfanfare
closemessage
BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon:: @ 825521A
BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
warp MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY, 255, 7, 13
warp MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY, 7, 13
waitstate
end
BattleFrontier_BattlePyramidTop_EventScript_StepForwardWhenReady:: @ 8255236
BattleFrontier_BattlePyramidTop_EventScript_StepForwardWhenReady::
msgbox BattleFrontier_BattlePyramidTop_Text_StepForwardWhenReady, MSGBOX_DEFAULT
closemessage
end
BattleFrontier_BattlePyramidTop_EventScript_BrandonHereMoveAside:: @ 8255240
BattleFrontier_BattlePyramidTop_EventScript_BrandonHereMoveAside::
msgbox BattleFrontier_BattlePyramidTop_Text_ChiefBeatYouHere, MSGBOX_DEFAULT
applymovement LOCALID_ATTENDANT, BattleFrontier_BattlePyramidTop_Movement_AttendantMoveAside
setvar VAR_TEMP_D, 1
closemessage
end
BattleFrontier_BattlePyramidTop_EventScript_BattleBrandon:: @ 8255256
BattleFrontier_BattlePyramidTop_EventScript_BattleBrandon::
lockall
switch VAR_TEMP_C
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_BrandonHeardSilverSpeech
goto_if_ne VAR_RESULT, FALSE, BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardSilverSpeech
special SpawnCameraObject
applymovement OBJ_EVENT_ID_CAMERA, BattleFrontier_BattlePyramidTop_Movement_CameraPanUp
waitmovement 0
@@ -130,21 +122,19 @@ BattleFrontier_BattlePyramidTop_EventScript_BattleBrandon:: @ 8255256
goto BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonSilver
end
BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardSilverSpeech:: @ 82552D0
BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardSilverSpeech::
applymovement LOCALID_BRANDON, BattleFrontier_BattlePyramidTop_Movement_BrandonApproachPlayer
waitmovement 0
BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonSilver:: @ 82552DA
BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonSilver::
msgbox BattleFrontier_BattlePyramidTop_Text_BringCourageToOurBattle, MSGBOX_DEFAULT
call BattleFrontier_BattlePyramidTop_EventScript_DoBrandonBattle
playbgm MUS_B_PYRAMID_TOP, FALSE
compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonSilver
goto_if_eq VAR_RESULT, 1, BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonSilver
goto BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonSilver:: @ 82552FB
BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonSilver::
frontier_getsymbols
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon
goto_if_ne VAR_RESULT, 0, BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon
msgbox BattleFrontier_BattlePyramidTop_Text_BrandonFrontierPassPlease, MSGBOX_DEFAULT
playfanfare MUS_OBTAIN_SYMBOL
message BattleFrontier_BattlePyramidTop_Text_ReceivedBraveSymbol
@@ -154,10 +144,9 @@ BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonSilver:: @ 82552FB
msgbox BattleFrontier_BattlePyramidTop_Text_LookForwardToNextMeeting, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon
BattleFrontier_BattlePyramidTop_EventScript_BrandonIntroGold:: @ 8255335
BattleFrontier_BattlePyramidTop_EventScript_BrandonIntroGold::
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
compare VAR_RESULT, FALSE
goto_if_ne BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardGoldSpeech
goto_if_ne VAR_RESULT, FALSE, BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardGoldSpeech
special SpawnCameraObject
applymovement OBJ_EVENT_ID_CAMERA, BattleFrontier_BattlePyramidTop_Movement_CameraPanUp
waitmovement 0
@@ -170,21 +159,19 @@ BattleFrontier_BattlePyramidTop_EventScript_BrandonIntroGold:: @ 8255335
goto BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonGold
end
BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardGoldSpeech:: @ 8255388
BattleFrontier_BattlePyramidTop_EventScript_BrandonHeardGoldSpeech::
applymovement LOCALID_BRANDON, BattleFrontier_BattlePyramidTop_Movement_BrandonApproachPlayer
waitmovement 0
BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonGold:: @ 8255392
BattleFrontier_BattlePyramidTop_EventScript_BattleBrandonGold::
msgbox BattleFrontier_BattlePyramidTop_Text_EverythingYouHave, MSGBOX_DEFAULT
call BattleFrontier_BattlePyramidTop_EventScript_DoBrandonBattle
playbgm MUS_B_PYRAMID_TOP, FALSE
compare VAR_RESULT, 1
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonGold
goto_if_eq VAR_RESULT, 1, BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonGold
goto BattleFrontier_BattlePyramid_EventScript_WarpToLobbyLost
BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonGold:: @ 82553B3
BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonGold::
frontier_getsymbols
compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon
goto_if_eq VAR_RESULT, 2, BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon
msgbox BattleFrontier_BattlePyramidTop_Text_BrandonRemarkableHaveThis, MSGBOX_DEFAULT
playfanfare MUS_OBTAIN_SYMBOL
message BattleFrontier_BattlePyramidTop_Text_BraveSymbolTookGoldenShine
@@ -194,7 +181,7 @@ BattleFrontier_BattlePyramidTop_EventScript_DefeatedBrandonGold:: @ 82553B3
msgbox BattleFrontier_BattlePyramidTop_Text_FarewellForNow, MSGBOX_DEFAULT
goto BattleFrontier_BattlePyramidTop_EventScript_WarpToLobbyWon
BattleFrontier_BattlePyramidTop_EventScript_DoBrandonBattle:: @ 82553ED
BattleFrontier_BattlePyramidTop_EventScript_DoBrandonBattle::
closemessage
setvar VAR_0x8004, SPECIAL_BATTLE_PYRAMID
setvar VAR_0x8005, 0
@@ -202,36 +189,36 @@ BattleFrontier_BattlePyramidTop_EventScript_DoBrandonBattle:: @ 82553ED
waitstate
return
BattleFrontier_BattlePyramidTop_Movement_AttendantMoveAside: @ 82553FD
BattleFrontier_BattlePyramidTop_Movement_AttendantMoveAside:
walk_right
walk_in_place_fastest_left
walk_in_place_faster_left
step_end
BattleFrontier_BattlePyramidTop_Movement_AttendantBlockPath: @ 8255400
BattleFrontier_BattlePyramidTop_Movement_AttendantBlockPath:
walk_left
walk_in_place_fastest_up
walk_in_place_faster_up
step_end
BattleFrontier_BattlePyramidTop_Movement_PlayerClimbToTop: @ 8255403
BattleFrontier_BattlePyramidTop_Movement_PlayerClimbToTop:
walk_up
walk_up
walk_up
walk_up
walk_up
walk_in_place_fastest_down
walk_in_place_faster_down
step_end
BattleFrontier_BattlePyramidTop_Movement_BrandonApproachPlayer: @ 825540A
BattleFrontier_BattlePyramidTop_Movement_BrandonApproachPlayer:
walk_fast_down
step_end
BattleFrontier_BattlePyramidTop_Movement_CameraPanUp: @ 825540C
BattleFrontier_BattlePyramidTop_Movement_CameraPanUp:
walk_slow_up
walk_slow_up
delay_16
step_end
BattleFrontier_BattlePyramidTop_Text_ReachedSummitUpYouGo: @ 8255410
BattleFrontier_BattlePyramidTop_Text_ReachedSummitUpYouGo:
.string "It is a delight to see you here!\n"
.string "You have reached the summit of\l"
.string "the BATTLE PYRAMID!\p"
@@ -242,11 +229,11 @@ BattleFrontier_BattlePyramidTop_Text_ReachedSummitUpYouGo: @ 8255410
.string "Now, please!\n"
.string "Up you go!$"
BattleFrontier_BattlePyramidTop_Text_PlayerConqueredPyramid: @ 82554E8
BattleFrontier_BattlePyramidTop_Text_PlayerConqueredPyramid:
.string "The PYRAMID's new conqueror!\n"
.string "Let the name {PLAYER} be known!$"
BattleFrontier_BattlePyramidTop_Text_ChiefBeatYouHere: @ 825551F
BattleFrontier_BattlePyramidTop_Text_ChiefBeatYouHere:
.string "It is a delight to see you here!\p"
.string "Unfortunately, you were second by\n"
.string "a mere fraction of time!\p"
@@ -259,7 +246,7 @@ BattleFrontier_BattlePyramidTop_Text_ChiefBeatYouHere: @ 825551F
.string "Now, please! When you are ready,\n"
.string "take one more step of courage!$"
BattleFrontier_BattlePyramidTop_Text_ExplorationsAreGrandestAdventure: @ 8255669
BattleFrontier_BattlePyramidTop_Text_ExplorationsAreGrandestAdventure:
.string "Young adventurer…\p"
.string "Wouldn't you agree that explorations\n"
.string "are the grandest of adventures?\p"
@@ -269,7 +256,7 @@ BattleFrontier_BattlePyramidTop_Text_ExplorationsAreGrandestAdventure: @ 8255669
.string "And, above all, only your own courage\n"
.string "to lead you through unknown worlds…$"
BattleFrontier_BattlePyramidTop_Text_ImPyramidKingBrandon: @ 825573E
BattleFrontier_BattlePyramidTop_Text_ImPyramidKingBrandon:
.string "Aah, yes, indeed this life is grand!\n"
.string "Grand, it is! Eh?\p"
.string "I'm BRANDON!\p"
@@ -282,25 +269,25 @@ BattleFrontier_BattlePyramidTop_Text_ImPyramidKingBrandon: @ 825573E
.string "Hahahah!\n"
.string "This should be exciting!$"
BattleFrontier_BattlePyramidTop_Text_BringCourageToOurBattle: @ 8255846
BattleFrontier_BattlePyramidTop_Text_BringCourageToOurBattle:
.string "Now, then!\n"
.string "Bring your courage to our battle!$"
BattleFrontier_BattlePyramidTop_Text_BrandonFrontierPassPlease: @ 8255873
BattleFrontier_BattlePyramidTop_Text_BrandonFrontierPassPlease:
.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_ReceivedBraveSymbol: @ 82558E9
BattleFrontier_BattlePyramidTop_Text_ReceivedBraveSymbol:
.string "The Brave Symbol was embossed on\n"
.string "the FRONTIER PASS!$"
BattleFrontier_BattlePyramidTop_Text_LookForwardToNextMeeting: @ 825591D
BattleFrontier_BattlePyramidTop_Text_LookForwardToNextMeeting:
.string "Young explorer!\n"
.string "I look forward to our next meeting!$"
BattleFrontier_BattlePyramidTop_Text_BrandonYouveReturned: @ 8255951
BattleFrontier_BattlePyramidTop_Text_BrandonYouveReturned:
.string "BRANDON: …You've finally returned,\n"
.string "young explorer…\p"
.string "Your love of adventure seems to come\n"
@@ -314,16 +301,16 @@ BattleFrontier_BattlePyramidTop_Text_BrandonYouveReturned: @ 8255951
.string "Those days of death-defying,\n"
.string "life-affirming adventures are back…$"
BattleFrontier_BattlePyramidTop_Text_MyCourageIsOffMeter: @ 8255A6D
BattleFrontier_BattlePyramidTop_Text_MyCourageIsOffMeter:
.string "Now, then!\p"
.string "I sense my own courage is off\n"
.string "the meter!$"
BattleFrontier_BattlePyramidTop_Text_EverythingYouHave: @ 8255AA1
BattleFrontier_BattlePyramidTop_Text_EverythingYouHave:
.string "Everything you have!\n"
.string "I'm braced for it all!$"
BattleFrontier_BattlePyramidTop_Text_BrandonRemarkableHaveThis: @ 8255ACD
BattleFrontier_BattlePyramidTop_Text_BrandonRemarkableHaveThis:
.string "BRANDON: Hahahah!\n"
.string "Remarkable!\l"
.string "Yes, it's grand, indeed!\p"
@@ -331,17 +318,17 @@ BattleFrontier_BattlePyramidTop_Text_BrandonRemarkableHaveThis: @ 8255ACD
.string "You've bested me through and through!\n"
.string "Here! I want you to have this!$"
BattleFrontier_BattlePyramidTop_Text_BraveSymbolTookGoldenShine: @ 8255B59
BattleFrontier_BattlePyramidTop_Text_BraveSymbolTookGoldenShine:
.string "The Brave Symbol took on\n"
.string "a golden shine!$"
BattleFrontier_BattlePyramidTop_Text_FarewellForNow: @ 8255B82
BattleFrontier_BattlePyramidTop_Text_FarewellForNow:
.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_StepForwardWhenReady: @ 8255BFE
BattleFrontier_BattlePyramidTop_Text_StepForwardWhenReady:
.string "Now, when you are ready, take courage\n"
.string "and step forward.$"

View File

@@ -2,31 +2,30 @@
.set LOCALID_ATTENDANT_1, 2
.set LOCALID_ATTENDANT_2, 3
BattleFrontier_BattleTowerBattleRoom_MapScripts:: @ 8241B40
BattleFrontier_BattleTowerBattleRoom_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleTowerBattleRoom_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleTowerBattleRoom_OnWarp
.byte 0
BattleFrontier_BattleTowerBattleRoom_OnWarp: @ 8241B4B
BattleFrontier_BattleTowerBattleRoom_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleTowerBattleRoom_EventScript_SetUpObjects
.2byte 0
BattleFrontier_BattleTowerBattleRoom_EventScript_SetUpObjects:: @ 8241B55
BattleFrontier_BattleTowerBattleRoom_EventScript_SetUpObjects::
setvar VAR_TEMP_1, 1
applymovement LOCALID_ATTENDANT_2, BattleFrontier_BattleTowerBattleRoom_Movement_SetInvisible
end
BattleFrontier_BattleTowerBattleRoom_OnFrame: @ 8241B62
BattleFrontier_BattleTowerBattleRoom_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleTowerBattleRoom_EventScript_EnterRoom
.2byte 0
BattleFrontier_BattleTowerBattleRoom_EventScript_EnterRoom:: @ 8241B6C
BattleFrontier_BattleTowerBattleRoom_EventScript_EnterRoom::
setvar VAR_TEMP_0, 1
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleTowerBattleRoom_Movement_PlayerEnter
waitmovement 0
frontier_get FRONTIER_DATA_BATTLE_NUM
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_OpponentEnter
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleTowerBattleRoom_EventScript_OpponentEnter
applymovement LOCALID_ATTENDANT_1, BattleFrontier_BattleTowerBattleRoom_Movement_AttendantApproachPlayer
waitmovement 0
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleTowerBattleRoom_Movement_PlayerFaceAttendant
@@ -35,7 +34,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_EnterRoom:: @ 8241B6C
frontier_set FRONTIER_DATA_RECORD_DISABLED, TRUE
goto BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleTowerBattleRoom_EventScript_OpponentEnter:: @ 8241BC3
BattleFrontier_BattleTowerBattleRoom_EventScript_OpponentEnter::
tower_setopponent
addobject LOCALID_OPPONENT
applymovement LOCALID_OPPONENT, BattleFrontier_BattleTowerBattleRoom_Movement_OpponentEnter
@@ -46,14 +45,14 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_OpponentEnter:: @ 8241BC3
call BattleFrontier_BattleTowerBattleRoom_EventScript_DoTowerBattle
switch VAR_RESULT
case B_OUTCOME_WON, BattleFrontier_BattleTowerBattleRoom_EventScript_DefeatedOpponent
BattleFrontier_BattleTower_EventScript_WarpToLobbyLost:: @ 8241C03
BattleFrontier_BattleTower_EventScript_WarpToLobbyLost::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
tower_set TOWER_DATA_LVL_MODE
setvar VAR_0x8004, FANCOUNTER_USED_BATTLE_TOWER
special Script_TryGainNewFanFromCounter
goto BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobby
BattleFrontier_BattleTowerBattleRoom_EventScript_DefeatedOpponent:: @ 8241C2F
BattleFrontier_BattleTowerBattleRoom_EventScript_DefeatedOpponent::
call BattleFrontier_EventScript_IncrementWinStreak
tower_setbattlewon
switch VAR_RESULT
@@ -62,8 +61,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_DefeatedOpponent:: @ 8241C2F
waitmovement 0
removeobject LOCALID_OPPONENT
frontier_getbrainstatus
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
call_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_SecondAttendantEnter
call_if_ne VAR_RESULT, FRONTIER_BRAIN_NOT_READY, BattleFrontier_BattleTowerBattleRoom_EventScript_SecondAttendantEnter
applymovement LOCALID_ATTENDANT_1, BattleFrontier_BattleTowerBattleRoom_Movement_AttendantApproachPlayer
waitmovement 0
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleTowerBattleRoom_Movement_PlayerFaceAttendant
@@ -72,16 +70,14 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_DefeatedOpponent:: @ 8241C2F
playfanfare MUS_HEAL
waitfanfare
special HealPlayerParty
BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponent:: @ 8241C8F
BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponent::
frontier_getbrainstatus
copyvar VAR_TEMP_F, VAR_RESULT
compare VAR_RESULT, FRONTIER_BRAIN_NOT_READY
goto_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_MaidenUpNext
goto_if_ne VAR_RESULT, FRONTIER_BRAIN_NOT_READY, BattleFrontier_BattleTowerBattleRoom_EventScript_MaidenUpNext
frontier_get FRONTIER_DATA_BATTLE_NUM
call BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyForOpponent
call BattleFrontier_EventScript_GetCantRecordBattle
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponentNoRecord
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponentNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_ContinueChallenge
@@ -90,7 +86,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponent:: @ 8241C8F
case 3, BattleFrontier_BattleTowerBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponentNoRecord:: @ 8241D0A
BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponentNoRecord::
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_ContinueChallenge
@@ -98,7 +94,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponentNoRecord:: @
case 2, BattleFrontier_BattleTowerBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleTowerBattleRoom_EventScript_AskRecordBattle:: @ 8241D40
BattleFrontier_BattleTowerBattleRoom_EventScript_AskRecordBattle::
message BattleFrontier_BattleTowerBattleRoom_Text_RecordYourBattle
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -107,18 +103,18 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_AskRecordBattle:: @ 8241D40
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_RecordBattle
case MULTI_B_PRESSED, BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleTowerBattleRoom_EventScript_RecordBattle:: @ 8241D72
BattleFrontier_BattleTowerBattleRoom_EventScript_RecordBattle::
call BattleFrontier_EventScript_SaveBattle
goto BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleTowerBattleRoom_EventScript_AskPauseChallenge:: @ 8241D7C
BattleFrontier_BattleTowerBattleRoom_EventScript_AskPauseChallenge::
msgbox BattleFrontier_BattleTowerBattleRoom_Text_SaveAndQuitGame, MSGBOX_YESNO
switch VAR_RESULT
case NO, BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponent
case YES, BattleFrontier_BattleTowerBattleRoom_EventScript_PauseChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleTowerBattleRoom_EventScript_AskRetireChallenge:: @ 8241DAA
BattleFrontier_BattleTowerBattleRoom_EventScript_AskRetireChallenge::
message BattleFrontier_BattleTowerBattleRoom_Text_CancelYourChallenge
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -127,7 +123,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_AskRetireChallenge:: @ 8241DAA
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_RetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForOpponent
BattleFrontier_BattleTowerBattleRoom_EventScript_ContinueChallenge:: @ 8241DDC
BattleFrontier_BattleTowerBattleRoom_EventScript_ContinueChallenge::
closemessage
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleTowerBattleRoom_Movement_PlayerFaceBattle
waitmovement 0
@@ -135,14 +131,14 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_ContinueChallenge:: @ 8241DDC
waitmovement 0
goto BattleFrontier_BattleTowerBattleRoom_EventScript_OpponentEnter
BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyWon:: @ 8241DF6
BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyWon::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
tower_set TOWER_DATA_LVL_MODE
setvar VAR_0x8004, FANCOUNTER_USED_BATTLE_TOWER
special Script_TryGainNewFanFromCounter
goto BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobby
BattleFrontier_BattleTowerBattleRoom_EventScript_PauseChallenge:: @ 8241E22
BattleFrontier_BattleTowerBattleRoom_EventScript_PauseChallenge::
message BattleFrontier_BattleTowerBattleRoom_Text_SavingPleaseWait
waitmessage
tower_save CHALLENGE_STATUS_PAUSED
@@ -152,7 +148,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_PauseChallenge:: @ 8241E22
frontier_reset
end
BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyForOpponent:: @ 8241E44
BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyForOpponent::
copyvar VAR_TEMP_F, VAR_RESULT
switch VAR_TEMP_F
case 1, BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyFor2ndOpponent
@@ -162,41 +158,41 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyForOpponent:: @ 8241E44
case 5, BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyFor6thOpponent
case 6, BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyFor7thOpponent
BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyFor2ndOpponent:: @ 8241E90
BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyFor2ndOpponent::
message BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor2ndOpponent
waitmessage
return
BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyFor3rdOpponent:: @ 8241E97
BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyFor3rdOpponent::
message BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor3rdOpponent
waitmessage
return
BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyFor4thOpponent:: @ 8241E9E
BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyFor4thOpponent::
message BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor4thOpponent
waitmessage
return
BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyFor5thOpponent:: @ 8241EA5
BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyFor5thOpponent::
message BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor5thOpponent
waitmessage
return
BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyFor6thOpponent:: @ 8241EAC
BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyFor6thOpponent::
message BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor6thOpponent
waitmessage
return
BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyFor7thOpponent:: @ 8241EB3
BattleFrontier_BattleTowerBattleRoom_EventScript_ReadyFor7thOpponent::
message BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor7thOpponent
waitmessage
return
BattleFrontier_EventScript_IncrementWinStreak:: @ 8241EBA
BattleFrontier_EventScript_IncrementWinStreak::
frontier_incrementstreak
return
BattleFrontier_BattleTowerBattleRoom_EventScript_SecondAttendantEnter:: @ 8241EC3
BattleFrontier_BattleTowerBattleRoom_EventScript_SecondAttendantEnter::
applymovement LOCALID_ATTENDANT_2, BattleFrontier_BattleTowerBattleRoom_Movement_SecondAttendantEnter
waitmovement 0
applymovement LOCALID_ATTENDANT_2, Common_Movement_WalkInPlaceLeft
@@ -213,17 +209,15 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_SecondAttendantEnter:: @ 8241EC
waitmovement 0
return
BattleFrontier_BattleTowerBattleRoom_EventScript_MaidenUpNext:: @ 8241F0A
compare VAR_TEMP_2, 1
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForMaiden
BattleFrontier_BattleTowerBattleRoom_EventScript_MaidenUpNext::
goto_if_eq VAR_TEMP_2, 1, BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForMaiden
msgbox BattleFrontier_BattleTowerBattleRoom_Text_SalonMaidenOnHerWay, MSGBOX_DEFAULT
setvar VAR_TEMP_2, 1
BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForMaiden:: @ 8241F22
BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForMaiden::
message BattleFrontier_BattleTowerBattleRoom_Text_ReadyForSalonMaiden
waitmessage
call BattleFrontier_EventScript_GetCantRecordBattle
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForMaidenNoRecord
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForMaidenNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_BattleAnabel
@@ -232,7 +226,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForMaiden:: @ 8241F22
case 3, BattleFrontier_BattleTowerBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForMaiden
BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForMaidenNoRecord:: @ 8241F79
BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForMaidenNoRecord::
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerBattleRoom_EventScript_BattleAnabel
@@ -240,7 +234,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForMaidenNoRecord:: @ 8
case 2, BattleFrontier_BattleTowerBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleTowerBattleRoom_EventScript_AskReadyForMaiden
BattleFrontier_BattleTowerBattleRoom_EventScript_BattleAnabel:: @ 8241FAF
BattleFrontier_BattleTowerBattleRoom_EventScript_BattleAnabel::
call BattleFrontier_EventScript_SetBrainObjectGfx
closemessage
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleTowerBattleRoom_Movement_PlayerFaceBattle
@@ -255,22 +249,19 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_BattleAnabel:: @ 8241FAF
case FRONTIER_BRAIN_STREAK, BattleFrontier_BattleTowerBattleRoom_EventScript_BattleAnabelSilver
case FRONTIER_BRAIN_STREAK_LONG, BattleFrontier_BattleTowerBattleRoom_EventScript_BattleAnabelGold
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
compare VAR_RESULT, FALSE
goto_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_BattleAnabelSilver
goto_if_ne VAR_RESULT, FALSE, BattleFrontier_BattleTowerBattleRoom_EventScript_BattleAnabelSilver
msgbox BattleFrontier_BattleTowerBattleRoom_Text_GreetingsImAnabel, MSGBOX_DEFAULT
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
BattleFrontier_BattleTowerBattleRoom_EventScript_BattleAnabelSilver:: @ 8242029
BattleFrontier_BattleTowerBattleRoom_EventScript_BattleAnabelSilver::
msgbox BattleFrontier_BattleTowerBattleRoom_Text_LetMeSeeYourTalent, MSGBOX_DEFAULT
call BattleFrontier_BattleTowerBattleRoom_EventScript_DoTowerBattle
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_DefeatedAnabelSilver
goto_if_eq VAR_RESULT, B_OUTCOME_WON, BattleFrontier_BattleTowerBattleRoom_EventScript_DefeatedAnabelSilver
goto BattleFrontier_BattleTower_EventScript_WarpToLobbyLost
BattleFrontier_BattleTowerBattleRoom_EventScript_DefeatedAnabelSilver:: @ 8242046
BattleFrontier_BattleTowerBattleRoom_EventScript_DefeatedAnabelSilver::
call BattleFrontier_EventScript_IncrementWinStreak
frontier_getsymbols
compare VAR_RESULT, 0
goto_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyWon
goto_if_ne VAR_RESULT, 0, BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyWon
msgbox BattleFrontier_BattleTowerBattleRoom_Text_AnabelTalentShallBeRecognized, MSGBOX_DEFAULT
playfanfare MUS_OBTAIN_SYMBOL
message BattleFrontier_BattleTowerBattleRoom_Text_ReceivedAbilitySymbol
@@ -280,24 +271,21 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_DefeatedAnabelSilver:: @ 824204
msgbox BattleFrontier_BattleTowerBattleRoom_Text_UntilNextTime, MSGBOX_DEFAULT
goto BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyWon
BattleFrontier_BattleTowerBattleRoom_EventScript_AnabelGoldIntro:: @ 8242085
BattleFrontier_BattleTowerBattleRoom_EventScript_AnabelGoldIntro::
frontier_get FRONTIER_DATA_HEARD_BRAIN_SPEECH
compare VAR_RESULT, FALSE
goto_if_ne BattleFrontier_BattleTowerBattleRoom_EventScript_BattleAnabelGold
goto_if_ne VAR_RESULT, FALSE, BattleFrontier_BattleTowerBattleRoom_EventScript_BattleAnabelGold
msgbox BattleFrontier_BattleTowerBattleRoom_Text_AnabelYouCameBack, MSGBOX_DEFAULT
frontier_set FRONTIER_DATA_HEARD_BRAIN_SPEECH
BattleFrontier_BattleTowerBattleRoom_EventScript_BattleAnabelGold:: @ 82420B2
BattleFrontier_BattleTowerBattleRoom_EventScript_BattleAnabelGold::
msgbox BattleFrontier_BattleTowerBattleRoom_Text_LetsBeginShallWe, MSGBOX_DEFAULT
call BattleFrontier_BattleTowerBattleRoom_EventScript_DoTowerBattle
compare VAR_RESULT, B_OUTCOME_WON
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_DefeatedAnabelGold
goto_if_eq VAR_RESULT, B_OUTCOME_WON, BattleFrontier_BattleTowerBattleRoom_EventScript_DefeatedAnabelGold
goto BattleFrontier_BattleTower_EventScript_WarpToLobbyLost
BattleFrontier_BattleTowerBattleRoom_EventScript_DefeatedAnabelGold:: @ 82420CF
BattleFrontier_BattleTowerBattleRoom_EventScript_DefeatedAnabelGold::
call BattleFrontier_EventScript_IncrementWinStreak
frontier_getsymbols
compare VAR_RESULT, 2
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyWon
goto_if_eq VAR_RESULT, 2, BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyWon
msgbox BattleFrontier_BattleTowerBattleRoom_Text_AnabelCongratsYourPassPlease, MSGBOX_DEFAULT
playfanfare MUS_OBTAIN_SYMBOL
message BattleFrontier_BattleTowerBattleRoom_Text_AbilitySymbolTookGoldenShine
@@ -307,7 +295,7 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_DefeatedAnabelGold:: @ 82420CF
msgbox BattleFrontier_BattleTowerBattleRoom_Text_WishICouldBattleYouAgain, MSGBOX_DEFAULT
goto BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyWon
BattleFrontier_BattleTowerBattleRoom_EventScript_DoTowerBattle:: @ 824210E
BattleFrontier_BattleTowerBattleRoom_EventScript_DoTowerBattle::
closemessage
setvar VAR_TEMP_2, 0
frontier_set FRONTIER_DATA_RECORD_DISABLED, FALSE
@@ -317,36 +305,35 @@ BattleFrontier_BattleTowerBattleRoom_EventScript_DoTowerBattle:: @ 824210E
special DoSpecialTrainerBattle
waitstate
copyvar VAR_0x8004, VAR_FRONTIER_BATTLE_MODE
compare VAR_0x8004, FRONTIER_MODE_LINK_MULTIS
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_EndTowerBattle
goto_if_eq VAR_0x8004, FRONTIER_MODE_LINK_MULTIS, BattleFrontier_BattleTowerBattleRoom_EventScript_EndTowerBattle
frontier_restorehelditems
special HealPlayerParty
frontier_resetsketch
BattleFrontier_BattleTowerBattleRoom_EventScript_EndTowerBattle:: @ 824215A
BattleFrontier_BattleTowerBattleRoom_EventScript_EndTowerBattle::
tower_setinterviewdata
frontier_get FRONTIER_DATA_BATTLE_OUTCOME
return
BattleFrontier_EventScript_SetBrainObjectGfx:: @ 8242170
BattleFrontier_EventScript_SetBrainObjectGfx::
frontier_setbrainobj
return
BattleFrontier_BattleTowerBattleRoom_Movement_PlayerEnter: @ 8242179
BattleFrontier_BattleTowerBattleRoom_Movement_PlayerEnter:
walk_up
walk_up
walk_up
face_right
step_end
BattleFrontier_BattleTowerBattleRoom_Movement_PlayerFaceAttendant: @ 824217E
BattleFrontier_BattleTowerBattleRoom_Movement_PlayerFaceAttendant:
face_down
step_end
BattleFrontier_BattleTowerBattleRoom_Movement_PlayerFaceBattle: @ 8242180
BattleFrontier_BattleTowerBattleRoom_Movement_PlayerFaceBattle:
face_right
step_end
BattleFrontier_BattleTowerBattleRoom_Movement_OpponentEnter: @ 8242182
BattleFrontier_BattleTowerBattleRoom_Movement_OpponentEnter:
walk_down
walk_down
walk_down
@@ -354,21 +341,21 @@ BattleFrontier_BattleTowerBattleRoom_Movement_OpponentEnter: @ 8242182
face_left
step_end
BattleFrontier_BattleTowerBattleRoom_Movement_OpponentExit: @ 8242188
BattleFrontier_BattleTowerBattleRoom_Movement_OpponentExit:
walk_up
walk_up
walk_up
walk_up
step_end
BattleFrontier_BattleTowerBattleRoom_Movement_AttendantApproachPlayer: @ 824218D
BattleFrontier_BattleTowerBattleRoom_Movement_AttendantApproachPlayer:
walk_right
walk_right
walk_right
walk_up
step_end
BattleFrontier_BattleTowerBattleRoom_Movement_AttendantReturnToPos: @ 8242192
BattleFrontier_BattleTowerBattleRoom_Movement_AttendantReturnToPos:
walk_down
walk_left
walk_left
@@ -376,11 +363,11 @@ BattleFrontier_BattleTowerBattleRoom_Movement_AttendantReturnToPos: @ 8242192
face_right
step_end
BattleFrontier_BattleTowerBattleRoom_Movement_SetInvisible: @ 8242198
BattleFrontier_BattleTowerBattleRoom_Movement_SetInvisible:
set_invisible
step_end
BattleFrontier_BattleTowerBattleRoom_Movement_SecondAttendantEnter: @ 824219A
BattleFrontier_BattleTowerBattleRoom_Movement_SecondAttendantEnter:
set_visible
delay_16
walk_up
@@ -389,21 +376,21 @@ BattleFrontier_BattleTowerBattleRoom_Movement_SecondAttendantEnter: @ 824219A
delay_8
step_end
BattleFrontier_BattleTowerBattleRoom_Movement_SecondAttendantExit: @ 82421A1
BattleFrontier_BattleTowerBattleRoom_Movement_SecondAttendantExit:
walk_right
walk_right
walk_down
set_invisible
step_end
BattleFrontier_BattleTowerBattleRoom_Movement_SecondAttendantDelay: @ 82421A6
BattleFrontier_BattleTowerBattleRoom_Movement_SecondAttendantDelay:
delay_16
delay_16
delay_16
delay_16
step_end
BattleFrontier_BattleTowerBattleRoom_Movement_AttendantFaceSecondAttendant: @ 82421AB
BattleFrontier_BattleTowerBattleRoom_Movement_AttendantFaceSecondAttendant:
face_right
delay_16
delay_16
@@ -412,7 +399,7 @@ BattleFrontier_BattleTowerBattleRoom_Movement_AttendantFaceSecondAttendant: @ 82
walk_in_place_right
step_end
BattleFrontier_BattleTowerBattleRoom_Movement_AnabelEnter: @ 82421B2
BattleFrontier_BattleTowerBattleRoom_Movement_AnabelEnter:
walk_slow_down
walk_slow_down
walk_slow_down
@@ -420,107 +407,104 @@ BattleFrontier_BattleTowerBattleRoom_Movement_AnabelEnter: @ 82421B2
face_left
step_end
BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobby:: @ 82421B8
BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobby::
copyvar VAR_RESULT, VAR_FRONTIER_BATTLE_MODE
compare VAR_RESULT, FRONTIER_MODE_DOUBLES
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyDoubles
compare VAR_RESULT, FRONTIER_MODE_MULTIS
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyMultis
compare VAR_RESULT, FRONTIER_MODE_LINK_MULTIS
goto_if_eq BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyLinkMultis
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 255, 6, 6
goto_if_eq VAR_RESULT, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyDoubles
goto_if_eq VAR_RESULT, FRONTIER_MODE_MULTIS, BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyMultis
goto_if_eq VAR_RESULT, FRONTIER_MODE_LINK_MULTIS, BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyLinkMultis
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 6, 6
waitstate
end
BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyDoubles:: @ 82421E8
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 255, 10, 6
BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyDoubles::
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 10, 6
waitstate
end
BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyMultis:: @ 82421F2
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 255, 14, 6
BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyMultis::
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 14, 6
waitstate
end
BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyLinkMultis:: @ 82421FC
BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobbyLinkMultis::
tower_closelink
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 255, 18, 6
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY, 18, 6
waitstate
end
BattleFrontier_BattleTowerBattleRoom_EventScript_RetireChallenge:: @ 824220E
BattleFrontier_BattleTowerBattleRoom_EventScript_RetireChallenge::
setflag FLAG_CANCEL_BATTLE_ROOM_CHALLENGE
goto BattleFrontier_BattleTower_EventScript_WarpToLobbyLost
end
BattleFrontier_BattleTowerBattleRoom_Text_RestoreMonsToFullHealth: @ 8242217
BattleFrontier_BattleTowerBattleRoom_Text_RestoreMonsToFullHealth:
.string "We will restore your POKéMON to\n"
.string "full health.$"
@ Unused
BattleFrontier_BattleTowerBattleRoom_Text_ReadyForOpponent: @ 8242244
BattleFrontier_BattleTowerBattleRoom_Text_ReadyForOpponent:
.string "You will be facing opponent no. {STR_VAR_1}.\n"
.string "Are you ready?$"
BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor2ndOpponent: @ 8242277
BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor2ndOpponent:
.string "You will be facing opponent no. 2.\n"
.string "Are you ready?$"
BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor3rdOpponent: @ 82422A9
BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor3rdOpponent:
.string "You will be facing opponent no. 3.\n"
.string "Are you ready?$"
BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor4thOpponent: @ 82422DB
BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor4thOpponent:
.string "You will be facing opponent no. 4.\n"
.string "Are you ready?$"
BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor5thOpponent: @ 824230D
BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor5thOpponent:
.string "You will be facing opponent no. 5.\n"
.string "Are you ready?$"
BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor6thOpponent: @ 824233F
BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor6thOpponent:
.string "You will be facing opponent no. 6.\n"
.string "Are you ready?$"
BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor7thOpponent: @ 8242371
BattleFrontier_BattleTowerBattleRoom_Text_ReadyFor7thOpponent:
.string "You will be facing opponent no. 7.\n"
.string "Are you ready?$"
BattleFrontier_BattleTowerBattleRoom_Text_RecordYourBattle: @ 82423A3
BattleFrontier_BattleTowerBattleRoom_Text_RecordYourBattle:
.string "Record your battle on your\n"
.string "FRONTIER PASS?$"
BattleFrontier_BattleTowerLobby_Text_BattleRecordedOnPass: @ 82423CD
BattleFrontier_BattleTowerLobby_Text_BattleRecordedOnPass:
.string "{PLAYER}'s battle was recorded\n"
.string "on the FRONTIER PASS.$"
BattleFrontier_BattleTowerBattleRoom_Text_SaveAndQuitGame: @ 82423FC
BattleFrontier_BattleTowerBattleRoom_Text_SaveAndQuitGame:
.string "Would you like to save and\n"
.string "quit the game?$"
BattleFrontier_BattleTowerBattleRoom_Text_SavingPleaseWait: @ 8242426
BattleFrontier_BattleTowerBattleRoom_Text_SavingPleaseWait:
.string "Saving your battle data.\n"
.string "Please wait.$"
BattleFrontier_BattleTowerBattleRoom_Text_CancelYourChallenge: @ 824244C
BattleFrontier_BattleTowerBattleRoom_Text_CancelYourChallenge:
.string "Would you like to cancel your BATTLE\n"
.string "ROOM challenge?$"
BattleFrontier_BattleTowerBattleRoom_Text_RecordCouldntBeSaved:: @ 8242481
BattleFrontier_BattleTowerBattleRoom_Text_RecordCouldntBeSaved::
.string "There was an error of some sort.\n"
.string "Your record could not be saved.$"
BattleFrontier_BattleTowerBattleRoom_Text_SalonMaidenOnHerWay: @ 82424C2
BattleFrontier_BattleTowerBattleRoom_Text_SalonMaidenOnHerWay:
.string "Excuse me, but…\p"
.string "Our leader, the SALON MAIDEN, is on\n"
.string "her way here in hopes of battling you.\p"
.string "She should be arriving very shortly.$"
BattleFrontier_BattleTowerBattleRoom_Text_ReadyForSalonMaiden: @ 8242542
BattleFrontier_BattleTowerBattleRoom_Text_ReadyForSalonMaiden:
.string "You will be facing the SALON MAIDEN.\n"
.string "Are you prepared?$"
BattleFrontier_BattleTowerBattleRoom_Text_GreetingsImAnabel: @ 8242579
BattleFrontier_BattleTowerBattleRoom_Text_GreetingsImAnabel:
.string "Greetings…\n"
.string "My name is ANABEL.\p"
.string "I am the SALON MAIDEN, and I am in\n"
@@ -532,20 +516,20 @@ BattleFrontier_BattleTowerBattleRoom_Text_GreetingsImAnabel: @ 8242579
.string "The reason I've come to see you…\n"
.string "Well, there is but one reason…$"
BattleFrontier_BattleTowerBattleRoom_Text_LetMeSeeYourTalent: @ 824268C
BattleFrontier_BattleTowerBattleRoom_Text_LetMeSeeYourTalent:
.string "Let me see your talent in\n"
.string "its entirety…$"
BattleFrontier_BattleTowerBattleRoom_Text_AnabelTalentShallBeRecognized: @ 82426B4
BattleFrontier_BattleTowerBattleRoom_Text_AnabelTalentShallBeRecognized:
.string "ANABEL: Fufufu, nicely done…\p"
.string "Your FRONTIER PASS, please…\n"
.string "Your talent shall be recognized.$"
BattleFrontier_BattleTowerBattleRoom_Text_ReceivedAbilitySymbol: @ 824270E
BattleFrontier_BattleTowerBattleRoom_Text_ReceivedAbilitySymbol:
.string "The Ability Symbol was embossed on\n"
.string "the FRONTIER PASS!$"
BattleFrontier_BattleTowerBattleRoom_Text_UntilNextTime: @ 8242744
BattleFrontier_BattleTowerBattleRoom_Text_UntilNextTime:
.string "… … … … … …\p"
.string "You have confidence in your POKéMON\n"
.string "battling talent, don't you?\p"
@@ -554,7 +538,7 @@ BattleFrontier_BattleTowerBattleRoom_Text_UntilNextTime: @ 8242744
.string "I will be waiting for you.\n"
.string "Until the next time we meet…$"
BattleFrontier_BattleTowerBattleRoom_Text_AnabelYouCameBack: @ 82427F9
BattleFrontier_BattleTowerBattleRoom_Text_AnabelYouCameBack:
.string "ANABEL: You really did come back to\n"
.string "see me…\p"
.string "… … … … … …\p"
@@ -564,18 +548,18 @@ BattleFrontier_BattleTowerBattleRoom_Text_AnabelYouCameBack: @ 82427F9
.string "Too long since I've been able to battle\n"
.string "without thinking about anything…$"
BattleFrontier_BattleTowerBattleRoom_Text_LetsBeginShallWe: @ 82428E0
BattleFrontier_BattleTowerBattleRoom_Text_LetsBeginShallWe:
.string "Let's begin, shall we?$"
BattleFrontier_BattleTowerBattleRoom_Text_AnabelCongratsYourPassPlease: @ 82428F7
BattleFrontier_BattleTowerBattleRoom_Text_AnabelCongratsYourPassPlease:
.string "ANABEL: Fufu, congratulations…\n"
.string "Your FRONTIER PASS, please…$"
BattleFrontier_BattleTowerBattleRoom_Text_AbilitySymbolTookGoldenShine: @ 8242932
BattleFrontier_BattleTowerBattleRoom_Text_AbilitySymbolTookGoldenShine:
.string "The Ability Symbol took on\n"
.string "a golden shine!$"
BattleFrontier_BattleTowerBattleRoom_Text_WishICouldBattleYouAgain: @ 824295D
BattleFrontier_BattleTowerBattleRoom_Text_WishICouldBattleYouAgain:
.string "That was fun…\p"
.string "I have never had a POKéMON battle\n"
.string "so enjoyable before…\p"

View File

@@ -1,54 +1,52 @@
.set LOCALID_ATTENDANT, 1
BattleFrontier_BattleTowerCorridor_MapScripts:: @ 8241AAA
BattleFrontier_BattleTowerCorridor_MapScripts::
map_script MAP_SCRIPT_ON_LOAD, BattleFrontier_BattleTowerCorridor_OnLoad
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleTowerCorridor_OnFrame
.byte 0
BattleFrontier_BattleTowerCorridor_OnLoad: @ 8241AB5
compare VAR_0x8006, 1
goto_if_eq BattleFrontier_BattleTowerCorridor_EventScript_OpenFarDoor
setmetatile 12, 0, METATILE_BattleFrontier_CorridorOpenDoor_Top, 0
setmetatile 12, 1, METATILE_BattleFrontier_CorridorOpenDoor_Bottom, 0
BattleFrontier_BattleTowerCorridor_OnLoad:
goto_if_eq VAR_0x8006, 1, BattleFrontier_BattleTowerCorridor_EventScript_OpenFarDoor
setmetatile 12, 0, METATILE_BattleFrontier_CorridorOpenDoor_Top, FALSE
setmetatile 12, 1, METATILE_BattleFrontier_CorridorOpenDoor_Bottom, FALSE
end
BattleFrontier_BattleTowerCorridor_EventScript_OpenFarDoor:: @ 8241AD3
setmetatile 15, 0, METATILE_BattleFrontier_CorridorOpenDoor_Top, 0
setmetatile 15, 1, METATILE_BattleFrontier_CorridorOpenDoor_Bottom, 0
BattleFrontier_BattleTowerCorridor_EventScript_OpenFarDoor::
setmetatile 15, 0, METATILE_BattleFrontier_CorridorOpenDoor_Top, FALSE
setmetatile 15, 1, METATILE_BattleFrontier_CorridorOpenDoor_Bottom, FALSE
end
BattleFrontier_BattleTowerCorridor_OnFrame: @ 8241AE6
BattleFrontier_BattleTowerCorridor_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleTowerCorridor_EventScript_EnterCorridor
.2byte 0
BattleFrontier_BattleTowerCorridor_EventScript_EnterCorridor:: @ 8241AF0
BattleFrontier_BattleTowerCorridor_EventScript_EnterCorridor::
setvar VAR_TEMP_0, 1
compare VAR_0x8006, 1
goto_if_eq BattleFrontier_BattleTowerCorridor_EventScript_WalkToFarDoor
goto_if_eq VAR_0x8006, 1, BattleFrontier_BattleTowerCorridor_EventScript_WalkToFarDoor
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleTowerCorridor_Movement_AttendantWalkToDoor
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleTowerCorridor_Movement_PlayerWalkToDoor
waitmovement 0
goto BattleFrontier_BattleTowerCorridor_EventScript_WarpToBattleRoom
BattleFrontier_BattleTowerCorridor_EventScript_WalkToFarDoor:: @ 8241B16
BattleFrontier_BattleTowerCorridor_EventScript_WalkToFarDoor::
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleTowerCorridor_Movement_AttendantWalkToFarDoor
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleTowerCorridor_Movement_PlayerWalkToFarDoor
waitmovement 0
BattleFrontier_BattleTowerCorridor_EventScript_WarpToBattleRoom:: @ 8241B27
BattleFrontier_BattleTowerCorridor_EventScript_WarpToBattleRoom::
setvar VAR_TEMP_0, 0
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM, 255, 4, 8
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM, 4, 8
waitstate
end
BattleFrontier_BattleTowerCorridor_Movement_PlayerWalkToFarDoor: @ 8241B36
BattleFrontier_BattleTowerCorridor_Movement_PlayerWalkToFarDoor:
walk_right
BattleFrontier_BattleTowerCorridor_Movement_AttendantWalkToFarDoor: @ 8241B37
BattleFrontier_BattleTowerCorridor_Movement_AttendantWalkToFarDoor:
walk_right
walk_right
BattleFrontier_BattleTowerCorridor_Movement_PlayerWalkToDoor: @ 8241B39
BattleFrontier_BattleTowerCorridor_Movement_PlayerWalkToDoor:
walk_right
BattleFrontier_BattleTowerCorridor_Movement_AttendantWalkToDoor: @ 8241B3A
BattleFrontier_BattleTowerCorridor_Movement_AttendantWalkToDoor:
walk_right
walk_right
walk_right

View File

@@ -1,15 +1,15 @@
.set LOCALID_ATTENDANT, 1
BattleFrontier_BattleTowerElevator_MapScripts:: @ 82419DB
BattleFrontier_BattleTowerElevator_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleTowerElevator_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleTowerElevator_OnWarp
.byte 0
BattleFrontier_BattleTowerElevator_OnFrame: @ 82419E6
BattleFrontier_BattleTowerElevator_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleTowerElevator_EventScript_EnterElevator
.2byte 0
BattleFrontier_BattleTowerElevator_EventScript_EnterElevator:: @ 82419F0
BattleFrontier_BattleTowerElevator_EventScript_EnterElevator::
setvar VAR_TEMP_0, 1
applymovement LOCALID_ATTENDANT, BattleFrontier_BattleTowerElevator_Movement_AttendantEnter
applymovement OBJ_EVENT_ID_PLAYER, BattleFrontier_BattleTowerElevator_Movement_PlayerEnter
@@ -25,67 +25,63 @@ BattleFrontier_BattleTowerElevator_EventScript_EnterElevator:: @ 82419F0
call BattleFrontier_BattleTowerElevator_EventScript_WarpToNextRoom
end
BattleFrontier_BattleTowerElevator_EventScript_WarpToNextRoom:: @ 8241A28
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleTowerElevator_EventScript_WarpToCorridor
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleTowerElevator_EventScript_WarpToCorridor
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_MULTIS
call_if_eq BattleFrontier_BattleTowerElevator_EventScript_WarpToNextRoomMulti
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS
call_if_eq BattleFrontier_BattleTowerElevator_EventScript_WarpToCorridorMulti
BattleFrontier_BattleTowerElevator_EventScript_WarpToNextRoom::
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleTowerElevator_EventScript_WarpToCorridor
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleTowerElevator_EventScript_WarpToCorridor
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_MULTIS, BattleFrontier_BattleTowerElevator_EventScript_WarpToNextRoomMulti
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS, BattleFrontier_BattleTowerElevator_EventScript_WarpToCorridorMulti
return
BattleFrontier_BattleTowerElevator_EventScript_WarpToCorridor:: @ 8241A55
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR, 255, 8, 1
BattleFrontier_BattleTowerElevator_EventScript_WarpToCorridor::
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR, 8, 1
waitstate
return
BattleFrontier_BattleTowerElevator_EventScript_WarpToNextRoomMulti:: @ 8241A5F
BattleFrontier_BattleTowerElevator_EventScript_WarpToNextRoomMulti::
goto_if_unset FLAG_CHOSEN_MULTI_BATTLE_NPC_PARTNER, BattleFrontier_BattleTowerElevator_EventScript_WarpToPartnerRoom
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_CORRIDOR, 255, 7, 2
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_CORRIDOR, 7, 2
waitstate
return
BattleFrontier_BattleTowerElevator_EventScript_WarpToCorridorMulti:: @ 8241A72
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_CORRIDOR, 255, 7, 2
BattleFrontier_BattleTowerElevator_EventScript_WarpToCorridorMulti::
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_CORRIDOR, 7, 2
waitstate
return
BattleFrontier_BattleTowerElevator_EventScript_WarpToPartnerRoom:: @ 8241A7C
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_PARTNER_ROOM, 255, 10, 1
BattleFrontier_BattleTowerElevator_EventScript_WarpToPartnerRoom::
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_PARTNER_ROOM, 10, 1
waitstate
return
BattleFrontier_BattleTowerElevator_Movement_AttendantEnter: @ 8241A86
BattleFrontier_BattleTowerElevator_Movement_AttendantEnter:
walk_up
walk_right
face_down
step_end
BattleFrontier_BattleTowerElevator_Movement_PlayerEnter: @ 8241A8A
BattleFrontier_BattleTowerElevator_Movement_PlayerEnter:
walk_up
walk_up
face_down
step_end
BattleFrontier_BattleTowerElevator_Movement_AttendantExit: @ 8241A8E
BattleFrontier_BattleTowerElevator_Movement_AttendantExit:
walk_down
walk_down
set_invisible
step_end
BattleFrontier_BattleTowerElevator_Movement_PlayerExit: @ 8241A92
BattleFrontier_BattleTowerElevator_Movement_PlayerExit:
walk_right
walk_down
walk_down
step_end
BattleFrontier_BattleTowerElevator_OnWarp: @ 8241A96
BattleFrontier_BattleTowerElevator_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleTowerElevator_EventScript_TurnPlayerNorth
.2byte 0
BattleFrontier_BattleTowerElevator_EventScript_TurnPlayerNorth:: @ 8241AA0
BattleFrontier_BattleTowerElevator_EventScript_TurnPlayerNorth::
setvar VAR_TEMP_1, 1
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
end

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,7 @@
.set LOCALID_PLAYER, 5
.set LOCALID_PARTNER, 6
BattleFrontier_BattleTowerMultiBattleRoom_MapScripts:: @ 8248EE8
BattleFrontier_BattleTowerMultiBattleRoom_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattleTowerMultiBattleRoom_OnTransition
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleTowerMultiBattleRoom_OnWarp
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleTowerMultiBattleRoom_OnFrame
@@ -15,49 +15,45 @@ BattleFrontier_BattleTowerMultiBattleRoom_MapScripts:: @ 8248EE8
@ The player is represented instead by LOCALID_PLAYER, which has the gfx id VAR_OBJ_GFX_ID_F
@ The multi partner is represented by LOCALID_PARTNER, which has the gfx id VAR_OBJ_GFX_ID_E
BattleFrontier_BattleTowerMultiBattleRoom_OnTransition: @ 8248EF8
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_MULTIS
call_if_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_SetObjGfx
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS
call_if_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_SetLinkPlayerGfx
BattleFrontier_BattleTowerMultiBattleRoom_OnTransition:
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_MULTIS, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_SetObjGfx
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_SetLinkPlayerGfx
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_SetObjGfx:: @ 8248F0F
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_SetObjGfx::
tower_setpartnergfx
checkplayergender
compare VAR_RESULT, FEMALE
goto_if_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_SetPlayerGfxFemale
goto_if_eq VAR_RESULT, FEMALE, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_SetPlayerGfxFemale
setvar VAR_OBJ_GFX_ID_F, OBJ_EVENT_GFX_BRENDAN_NORMAL
return
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_SetPlayerGfxFemale:: @ 8248F29
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_SetPlayerGfxFemale::
setvar VAR_OBJ_GFX_ID_F, OBJ_EVENT_GFX_MAY_NORMAL
return
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_SetLinkPlayerGfx:: @ 8248F2F
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_SetLinkPlayerGfx::
special SetBattleTowerLinkPlayerGfx
return
BattleFrontier_BattleTowerMultiBattleRoom_OnWarp: @ 8248F33
BattleFrontier_BattleTowerMultiBattleRoom_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_HidePlayerObj
.2byte 0
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_HidePlayerObj:: @ 8248F3D
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_HidePlayerObj::
hideobjectat OBJ_EVENT_ID_PLAYER, MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_BATTLE_ROOM
end
BattleFrontier_BattleTowerMultiBattleRoom_OnFrame: @ 8248F43
BattleFrontier_BattleTowerMultiBattleRoom_OnFrame:
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_EnterRoom
.2byte 0
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_EnterRoom:: @ 8248F4D
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_EnterRoom::
setvar VAR_TEMP_0, 1
applymovement LOCALID_PLAYER, BattleFrontier_BattleTowerMultiBattleRoom_Movement_PlayerEnterRoom
applymovement LOCALID_PARTNER, BattleFrontier_BattleTowerMultiBattleRoom_Movement_PartnerEnterRoom
waitmovement 0
frontier_get FRONTIER_DATA_BATTLE_NUM
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_OpponentsEnter
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_OpponentsEnter
applymovement LOCALID_ATTENDANT_1, BattleFrontier_BattleTowerMultiBattleRoom_Movement_AttendantApproachPlayer
applymovement LOCALID_ATTENDANT_2, BattleFrontier_BattleTowerMultiBattleRoom_Movement_AttendantApproachPlayer
waitmovement 0
@@ -67,15 +63,14 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_EnterRoom:: @ 8248F4D
frontier_set FRONTIER_DATA_RECORD_DISABLED, TRUE
goto BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponents
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_OpponentsEnter:: @ 8248FB4
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_OpponentsEnter::
tower_setopponent
addobject LOCALID_OPPONENT_1
addobject LOCALID_OPPONENT_2
applymovement LOCALID_OPPONENT_1, BattleFrontier_BattleTowerMultiBattleRoom_Movement_Opponent1Enter
applymovement LOCALID_OPPONENT_2, BattleFrontier_BattleTowerMultiBattleRoom_Movement_Opponent2Enter
waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS
goto_if_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_DoOpponentIntrosLink
goto_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_DoOpponentIntrosLink
tower_getopponentintro 0
delay 15
applymovement LOCALID_OPPONENT_1, BattleFrontier_BattleTowerMultiBattleRoom_Movement_WalkInPlaceLeft
@@ -89,7 +84,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_OpponentsEnter:: @ 8248FB4
waitmessage
goto BattleFrontier_BattleTowerMultiBattleRoom_EventScript_DoTowerBattle
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_DoOpponentIntrosLink:: @ 8249026
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_DoOpponentIntrosLink::
tower_getopponentintro 0
delay 15
applymovement LOCALID_OPPONENT_1, BattleFrontier_BattleTowerMultiBattleRoom_Movement_WalkInPlaceLeft
@@ -103,18 +98,18 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_DoOpponentIntrosLink:: @ 8
messageautoscroll gStringVar4
waitmessage
delay 48
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_DoTowerBattle:: @ 8249069
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_DoTowerBattle::
call BattleFrontier_BattleTowerBattleRoom_EventScript_DoTowerBattle
switch VAR_RESULT
case B_OUTCOME_WON, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_DefeatedOpponents
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_WarpToLobbyLost:: @ 824907E
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_WarpToLobbyLost::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_LOST
tower_set TOWER_DATA_LVL_MODE
setvar VAR_0x8004, FANCOUNTER_USED_BATTLE_TOWER
special Script_TryGainNewFanFromCounter
goto BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobby
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_DefeatedOpponents:: @ 82490AA
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_DefeatedOpponents::
call BattleFrontier_EventScript_IncrementWinStreak
tower_setbattlewon
switch VAR_RESULT
@@ -130,31 +125,27 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_DefeatedOpponents:: @ 8249
applymovement LOCALID_PLAYER, BattleFrontier_BattleTowerMultiBattleRoom_Movement_FaceAttendant
applymovement LOCALID_PARTNER, BattleFrontier_BattleTowerMultiBattleRoom_Movement_FaceAttendant
waitmovement 0
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS
goto_if_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_RetorePartyMsgLink
goto_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_RetorePartyMsgLink
msgbox BattleFrontier_BattleTowerBattleRoom_Text_RestoreMonsToFullHealth, MSGBOX_DEFAULT
goto BattleFrontier_BattleTowerMultiBattleRoom_EventScript_RestoreParty
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_RetorePartyMsgLink:: @ 8249118
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_RetorePartyMsgLink::
messageautoscroll BattleFrontier_BattleTowerBattleRoom_Text_RestoreMonsToFullHealth
waitmessage
delay 48
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_RestoreParty:: @ 8249121
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_RestoreParty::
special LoadPlayerParty
frontier_setpartyorder FRONTIER_MULTI_PARTY_SIZE
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS
call_if_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReconnectLink
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReconnectLink
playfanfare MUS_HEAL
waitfanfare
special HealPlayerParty
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponents:: @ 8249143
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponents::
frontier_get FRONTIER_DATA_BATTLE_NUM
call BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyForNextOpponentSet
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS
goto_if_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ContinueChallenge
goto_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ContinueChallenge
call BattleFrontier_EventScript_GetCantRecordBattle
compare VAR_RESULT, TRUE
goto_if_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsNoRecord
goto_if_eq VAR_RESULT, TRUE, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsNoRecord
multichoice 19, 4, MULTI_GO_ON_RECORD_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ContinueChallenge
@@ -163,7 +154,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponents:: @ 8
case 3, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponents
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsNoRecord:: @ 82491B1
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsNoRecord::
multichoice 20, 6, MULTI_GO_ON_REST_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ContinueChallenge
@@ -171,7 +162,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsNoReco
case 2, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskRetireChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponents
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskRecordBattle:: @ 82491E7
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskRecordBattle::
message BattleFrontier_BattleTowerBattleRoom_Text_RecordYourBattle
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -180,18 +171,18 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskRecordBattle:: @ 82491E
case 0, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_RecordBattle
case MULTI_B_PRESSED, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponents
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_RecordBattle:: @ 8249219
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_RecordBattle::
call BattleFrontier_EventScript_SaveBattle
goto BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponents
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskPauseChallenge:: @ 8249223
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskPauseChallenge::
msgbox BattleFrontier_BattleTowerBattleRoom_Text_SaveAndQuitGame, MSGBOX_YESNO
switch VAR_RESULT
case NO, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponents
case YES, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_PauseChallenge
case MULTI_B_PRESSED, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponents
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskRetireChallenge:: @ 8249251
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskRetireChallenge::
message BattleFrontier_BattleTowerBattleRoom_Text_CancelYourChallenge
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -200,7 +191,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskRetireChallenge:: @ 824
case 0, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_WarpToLobbyLost
case MULTI_B_PRESSED, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponents
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ContinueChallenge:: @ 8249283
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ContinueChallenge::
closemessage
clearflag FLAG_TEMP_2
applymovement LOCALID_PLAYER, BattleFrontier_BattleTowerMultiBattleRoom_Movement_FaceBattle
@@ -212,14 +203,14 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ContinueChallenge:: @ 8249
goto BattleFrontier_BattleTowerMultiBattleRoom_EventScript_OpponentsEnter
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_WarpToLobbyWon:: @ 82492AF
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_WarpToLobbyWon::
frontier_set FRONTIER_DATA_CHALLENGE_STATUS, CHALLENGE_STATUS_WON
tower_set TOWER_DATA_LVL_MODE
setvar VAR_0x8004, FANCOUNTER_USED_BATTLE_TOWER
special Script_TryGainNewFanFromCounter
goto BattleFrontier_BattleTowerBattleRoom_EventScript_WarpToLobby
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_PauseChallenge:: @ 82492DB
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_PauseChallenge::
message BattleFrontier_BattleTowerBattleRoom_Text_SavingPleaseWait
waitmessage
tower_save CHALLENGE_STATUS_PAUSED
@@ -229,9 +220,8 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_PauseChallenge:: @ 82492DB
frontier_reset
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyForNextOpponentSet:: @ 82492FD
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS
goto_if_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyForNextOpponentSetLink
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyForNextOpponentSet::
goto_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyForNextOpponentSetLink
copyvar VAR_TEMP_F, VAR_RESULT
switch VAR_TEMP_F
case 1, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor2ndOpponentSet
@@ -241,37 +231,37 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyForNextOpponentSet::
case 5, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor6thOpponentSet
case 6, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor7thOpponentSet
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor2ndOpponentSet:: @ 8249354
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor2ndOpponentSet::
message BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor2ndOpponentSet
waitmessage
return
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor3rdOpponentSet:: @ 824935B
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor3rdOpponentSet::
message BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor3rdOpponentSet
waitmessage
return
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor4thOpponentSet:: @ 8249362
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor4thOpponentSet::
message BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor4thOpponentSet
waitmessage
return
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor5thOpponentSet:: @ 8249369
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor5thOpponentSet::
message BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor5thOpponentSet
waitmessage
return
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor6thOpponentSet:: @ 8249370
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor6thOpponentSet::
message BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor6thOpponentSet
waitmessage
return
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor7thOpponentSet:: @ 8249377
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor7thOpponentSet::
message BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor7thOpponentSet
waitmessage
return
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyForNextOpponentSetLink:: @ 824937E
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyForNextOpponentSetLink::
copyvar VAR_TEMP_F, VAR_RESULT
switch VAR_TEMP_F
case 1, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor2ndOpponentSetLink
@@ -281,48 +271,48 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyForNextOpponentSetLin
case 5, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor6thOpponentSetLink
case 6, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor7thOpponentSetLink
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor2ndOpponentSetLink:: @ 82493CA
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor2ndOpponentSetLink::
message BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor2ndOpponentSet
waitmessage
goto BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsLink
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor3rdOpponentSetLink:: @ 82493D6
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor3rdOpponentSetLink::
message BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor3rdOpponentSet
waitmessage
goto BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsLink
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor4thOpponentSetLink:: @ 82493E2
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor4thOpponentSetLink::
message BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor4thOpponentSet
waitmessage
goto BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsLink
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor5thOpponentSetLink:: @ 82493EE
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor5thOpponentSetLink::
message BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor5thOpponentSet
waitmessage
goto BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsLink
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor6thOpponentSetLink:: @ 82493FA
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor6thOpponentSetLink::
message BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor6thOpponentSet
waitmessage
goto BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsLink
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor7thOpponentSetLink:: @ 8249406
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReadyFor7thOpponentSetLink::
message BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor7thOpponentSet
waitmessage
goto BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsLink
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_LinkDelayForMsg:: @ 8249412
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_LinkDelayForMsg::
waitmessage
delay 48
return
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsLink:: @ 8249417
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsLink::
goto_if_set FLAG_TEMP_2, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsLinkNoRecord
multichoice 19, 6, MULTI_GO_ON_RECORD_RETIRE, TRUE
switch VAR_RESULT
@@ -332,7 +322,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsLink::
case MULTI_B_PRESSED, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskRetireChallengeLink
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsLinkNoRecord:: @ 8249457
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsLinkNoRecord::
multichoice 20, 8, MULTI_GO_ON_RETIRE, TRUE
switch VAR_RESULT
case 0, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ContinueChallengeLink
@@ -340,19 +330,18 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponentsLinkNo
case MULTI_B_PRESSED, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskRetireChallengeLink
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ContinueChallengeLink:: @ 8249483
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ContinueChallengeLink::
setvar VAR_0x8004, BATTLE_TOWER_LINK_CONTINUE
setvar VAR_0x8005, 0
message gText_LinkStandby3
waitmessage
special LinkRetireStatusWithBattleTowerPartner
waitstate
compare VAR_RESULT, BATTLE_TOWER_LINKSTAT_CONTINUE
goto_if_ne BattleFrontier_BattleTowerMultiBattleRoom_EventScript_WarpToLobbyLost
goto_if_ne VAR_RESULT, BATTLE_TOWER_LINKSTAT_CONTINUE, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_WarpToLobbyLost
goto BattleFrontier_BattleTowerMultiBattleRoom_EventScript_LinkDelayForMsg
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskRecordBattleLink:: @ 82494A8
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskRecordBattleLink::
message BattleFrontier_BattleTowerBattleRoom_Text_RecordYourBattle
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
@@ -364,16 +353,15 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskRecordBattleLink:: @ 82
goto BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponents
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskRetireChallengeLink:: @ 82494DD
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskRetireChallengeLink::
message BattleFrontier_BattleTowerBattleRoom_Text_CancelYourChallenge
waitmessage
multichoicedefault 20, 8, MULTI_YESNO, 1, FALSE
compare VAR_RESULT, 0
goto_if_eq BattleFrontier_BattleTowerMultiBattleRoom_EventScript_RetireChallengeLink
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleTowerMultiBattleRoom_EventScript_RetireChallengeLink
goto BattleFrontier_BattleTowerMultiBattleRoom_EventScript_AskReadyForOpponents
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_RetireChallengeLink:: @ 82494FA
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_RetireChallengeLink::
setvar VAR_0x8004, BATTLE_TOWER_LINK_RETIRE
setvar VAR_0x8005, 0
message gText_LinkStandby3
@@ -383,11 +371,11 @@ BattleFrontier_BattleTowerMultiBattleRoom_EventScript_RetireChallengeLink:: @ 82
goto BattleFrontier_BattleTowerMultiBattleRoom_EventScript_WarpToLobbyLost
end
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReconnectLink:: @ 8249514
BattleFrontier_BattleTowerMultiBattleRoom_EventScript_ReconnectLink::
special BattleTowerReconnectLink
return
BattleFrontier_BattleTowerMultiBattleRoom_Movement_PlayerEnterRoom: @ 8249518
BattleFrontier_BattleTowerMultiBattleRoom_Movement_PlayerEnterRoom:
walk_up
walk_up
walk_up
@@ -395,7 +383,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_Movement_PlayerEnterRoom: @ 8249518
face_right
step_end
BattleFrontier_BattleTowerMultiBattleRoom_Movement_PartnerEnterRoom: @ 824951E
BattleFrontier_BattleTowerMultiBattleRoom_Movement_PartnerEnterRoom:
walk_left
walk_up
walk_up
@@ -403,15 +391,15 @@ BattleFrontier_BattleTowerMultiBattleRoom_Movement_PartnerEnterRoom: @ 824951E
face_right
step_end
BattleFrontier_BattleTowerMultiBattleRoom_Movement_FaceAttendant: @ 8249524
BattleFrontier_BattleTowerMultiBattleRoom_Movement_FaceAttendant:
face_left
step_end
BattleFrontier_BattleTowerMultiBattleRoom_Movement_FaceBattle: @ 8249526
walk_in_place_fastest_right
BattleFrontier_BattleTowerMultiBattleRoom_Movement_FaceBattle:
walk_in_place_faster_right
step_end
BattleFrontier_BattleTowerMultiBattleRoom_Movement_Opponent1Enter: @ 8249528
BattleFrontier_BattleTowerMultiBattleRoom_Movement_Opponent1Enter:
walk_down
walk_down
walk_down
@@ -419,7 +407,7 @@ BattleFrontier_BattleTowerMultiBattleRoom_Movement_Opponent1Enter: @ 8249528
face_left
step_end
BattleFrontier_BattleTowerMultiBattleRoom_Movement_Opponent2Enter: @ 824952E
BattleFrontier_BattleTowerMultiBattleRoom_Movement_Opponent2Enter:
walk_right
walk_down
walk_down
@@ -427,93 +415,93 @@ BattleFrontier_BattleTowerMultiBattleRoom_Movement_Opponent2Enter: @ 824952E
face_left
step_end
BattleFrontier_BattleTowerMultiBattleRoom_Movement_Opponent2Exit: @ 8249534
BattleFrontier_BattleTowerMultiBattleRoom_Movement_Opponent2Exit:
walk_up
walk_up
walk_up
set_invisible
step_end
BattleFrontier_BattleTowerMultiBattleRoom_Movement_Opponent1Exit: @ 8249539
BattleFrontier_BattleTowerMultiBattleRoom_Movement_Opponent1Exit:
walk_up
walk_up
walk_up
walk_up
step_end
BattleFrontier_BattleTowerMultiBattleRoom_Movement_AttendantApproachPlayer: @ 824953E
BattleFrontier_BattleTowerMultiBattleRoom_Movement_AttendantApproachPlayer:
walk_right
walk_right
step_end
BattleFrontier_BattleTowerMultiBattleRoom_Movement_AttendantReturnToPos: @ 8249541
BattleFrontier_BattleTowerMultiBattleRoom_Movement_AttendantReturnToPos:
walk_left
walk_left
walk_in_place_fastest_right
walk_in_place_faster_right
step_end
BattleFrontier_BattleTowerMultiBattleRoom_Movement_WalkInPlaceLeft: @ 8249545
BattleFrontier_BattleTowerMultiBattleRoom_Movement_WalkInPlaceLeft:
walk_in_place_left
step_end
BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor2ndOpponentSet: @ 8249547
BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor2ndOpponentSet:
.string "The 2nd set of opponents is next.\n"
.string "Are you ready?$"
BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor3rdOpponentSet: @ 8249578
BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor3rdOpponentSet:
.string "The 3rd set of opponents is next.\n"
.string "Are you ready?$"
BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor4thOpponentSet: @ 82495A9
BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor4thOpponentSet:
.string "The 4th set of opponents is next.\n"
.string "Are you ready?$"
BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor5thOpponentSet: @ 82495DA
BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor5thOpponentSet:
.string "The 5th set of opponents is next.\n"
.string "Are you ready?$"
BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor6thOpponentSet: @ 824960B
BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor6thOpponentSet:
.string "The 6th set of opponents is next.\n"
.string "Are you ready?$"
BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor7thOpponentSet: @ 824963C
BattleFrontier_BattleTowerMultiBattleRoom_Text_ReadyFor7thOpponentSet:
.string "The 7th set of opponents is next.\n"
.string "Are you ready?$"
@ Unused
BattleFrontier_BattleTowerMultiBattleRoom_Text_2ndOpponentSetNext: @ 824966D
BattleFrontier_BattleTowerMultiBattleRoom_Text_2ndOpponentSetNext:
.string "The 2nd set of opponents is next.\n"
.string "Do your best!$"
@ Unused
BattleFrontier_BattleTowerMultiBattleRoom_Text_3rdOpponentSetNext: @ 824969D
BattleFrontier_BattleTowerMultiBattleRoom_Text_3rdOpponentSetNext:
.string "The 3rd set of opponents is next.\n"
.string "Do your best!$"
@ Unused
BattleFrontier_BattleTowerMultiBattleRoom_Text_4thOpponentSetNext: @ 82496CD
BattleFrontier_BattleTowerMultiBattleRoom_Text_4thOpponentSetNext:
.string "The 4th set of opponents is next.\n"
.string "Do your best!$"
@ Unused
BattleFrontier_BattleTowerMultiBattleRoom_Text_5thOpponentSetNext: @ 82496FD
BattleFrontier_BattleTowerMultiBattleRoom_Text_5thOpponentSetNext:
.string "The 5th set of opponents is next.\n"
.string "Do your best!$"
@ Unused
BattleFrontier_BattleTowerMultiBattleRoom_Text_6thOpponentSetNext: @ 824972D
BattleFrontier_BattleTowerMultiBattleRoom_Text_6thOpponentSetNext:
.string "The 6th set of opponents is next.\n"
.string "Do your best!$"
@ Unused
BattleFrontier_BattleTowerMultiBattleRoom_Text_7thOpponentSetNext: @ 824975D
BattleFrontier_BattleTowerMultiBattleRoom_Text_7thOpponentSetNext:
.string "The 7th set of opponents is next.\n"
.string "Do your best!$"
gText_LinkStandby3:: @ 824978D
gText_LinkStandby3::
.string "Link standby…$"
gText_YourPartnerHasRetired:: @ 824979B
gText_YourPartnerHasRetired::
.string "Your partner has retired.\p"
.string "Your BATTLE ROOM challenge\n"
.string "will be canceled.$"

View File

@@ -3,7 +3,7 @@
.set LOCALID_ATTENDANT_2, 3
.set LOCALID_PARTNER, 4
BattleFrontier_BattleTowerMultiCorridor_MapScripts:: @ 8248D4A
BattleFrontier_BattleTowerMultiCorridor_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattleTowerMultiCorridor_OnTransition
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, BattleFrontier_BattleTowerMultiCorridor_OnWarp
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleTowerMultiCorridor_OnFrame
@@ -13,45 +13,42 @@ BattleFrontier_BattleTowerMultiCorridor_MapScripts:: @ 8248D4A
@ The player is represented instead by LOCALID_PLAYER, and has the gfx id VAR_OBJ_GFX_ID_F
@ The multi partner is represented by LOCALID_PARTNER, and has the gfx id VAR_OBJ_GFX_ID_E
BattleFrontier_BattleTowerMultiCorridor_OnTransition: @ 8248D5A
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_MULTIS
call_if_eq BattleFrontier_BattleTowerMultiCorridor_EventScript_SetObjGfx
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS
call_if_eq BattleFrontier_BattleTowerMultiCorridor_EventScript_SetLinkPlayerGfx
BattleFrontier_BattleTowerMultiCorridor_OnTransition:
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_MULTIS, BattleFrontier_BattleTowerMultiCorridor_EventScript_SetObjGfx
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS, BattleFrontier_BattleTowerMultiCorridor_EventScript_SetLinkPlayerGfx
end
BattleFrontier_BattleTowerMultiCorridor_EventScript_SetObjGfx:: @ 8248D71
BattleFrontier_BattleTowerMultiCorridor_EventScript_SetObjGfx::
tower_setpartnergfx
checkplayergender
compare VAR_RESULT, FEMALE
goto_if_eq BattleFrontier_BattleTowerMultiCorridor_EventScript_SetPlayerGfxFemale
goto_if_eq VAR_RESULT, FEMALE, BattleFrontier_BattleTowerMultiCorridor_EventScript_SetPlayerGfxFemale
setvar VAR_OBJ_GFX_ID_F, OBJ_EVENT_GFX_BRENDAN_NORMAL
return
BattleFrontier_BattleTowerMultiCorridor_EventScript_SetPlayerGfxFemale:: @ 8248D8B
BattleFrontier_BattleTowerMultiCorridor_EventScript_SetPlayerGfxFemale::
setvar VAR_OBJ_GFX_ID_F, OBJ_EVENT_GFX_MAY_NORMAL
return
BattleFrontier_BattleTowerMultiCorridor_EventScript_SetLinkPlayerGfx:: @ 8248D91
BattleFrontier_BattleTowerMultiCorridor_EventScript_SetLinkPlayerGfx::
special SetBattleTowerLinkPlayerGfx
return
BattleFrontier_BattleTowerMultiCorridor_OnWarp: @ 8248D95
BattleFrontier_BattleTowerMultiCorridor_OnWarp:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleTowerMultiCorridor_EventScript_SetUpObjects
.2byte 0
BattleFrontier_BattleTowerMultiCorridor_EventScript_SetUpObjects:: @ 8248D9F
BattleFrontier_BattleTowerMultiCorridor_EventScript_SetUpObjects::
hideobjectat OBJ_EVENT_ID_PLAYER, MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_CORRIDOR
hideobjectat LOCALID_PLAYER, MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_CORRIDOR
hideobjectat LOCALID_PARTNER, MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_CORRIDOR
special OffsetCameraForBattle
end
BattleFrontier_BattleTowerMultiCorridor_OnFrame: @ 8248DB2
BattleFrontier_BattleTowerMultiCorridor_OnFrame:
map_script_2 VAR_TEMP_1, 0, BattleFrontier_BattleTowerMultiCorridor_EventScript_EnterCorridor
.2byte 0
BattleFrontier_BattleTowerMultiCorridor_EventScript_EnterCorridor:: @ 8248DBC
BattleFrontier_BattleTowerMultiCorridor_EventScript_EnterCorridor::
lockall
setflag FLAG_ENABLE_MULTI_CORRIDOR_DOOR
setvar VAR_0x8004, 14 @ x coord of far door, used by DrawDoor
@@ -76,8 +73,8 @@ BattleFrontier_BattleTowerMultiCorridor_EventScript_EnterCorridor:: @ 8248DBC
applymovement LOCALID_ATTENDANT_1, BattleFrontier_BattleTowerMultiCorridor_Movement_PartnerAttendantWalkToDoor
waitmovement 0
delay 40
applymovement LOCALID_ATTENDANT_2, Common_Movement_WalkInPlaceFastestUp
applymovement LOCALID_ATTENDANT_1, Common_Movement_WalkInPlaceFastestUp
applymovement LOCALID_ATTENDANT_2, Common_Movement_WalkInPlaceFasterUp
applymovement LOCALID_ATTENDANT_1, Common_Movement_WalkInPlaceFasterUp
waitmovement 0
opendoor 7, 1
waitdooranim
@@ -94,34 +91,30 @@ BattleFrontier_BattleTowerMultiCorridor_EventScript_EnterCorridor:: @ 8248DBC
releaseall
end
BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToBattleRoom:: @ 8248E71
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES
call_if_eq BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToNormalBattleRoom
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES
call_if_eq BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToNormalBattleRoom
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_MULTIS
call_if_eq BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToMultiBattleRoom
compare VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS
call_if_eq BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToLinkMultiBattleRoom
BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToBattleRoom::
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_SINGLES, BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToNormalBattleRoom
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_DOUBLES, BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToNormalBattleRoom
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_MULTIS, BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToMultiBattleRoom
call_if_eq VAR_FRONTIER_BATTLE_MODE, FRONTIER_MODE_LINK_MULTIS, BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToLinkMultiBattleRoom
return
BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToNormalBattleRoom:: @ 8248E9E
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM, 255, 4, 8
BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToNormalBattleRoom::
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM, 4, 8
waitstate
return
BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToMultiBattleRoom:: @ 8248EA8
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_BATTLE_ROOM, 255, 4, 5
BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToMultiBattleRoom::
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_BATTLE_ROOM, 4, 5
waitstate
return
@ Unnecessary duplicate of the above
BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToLinkMultiBattleRoom:: @ 8248EB2
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_BATTLE_ROOM, 255, 4, 5
BattleFrontier_BattleTowerMultiCorridor_EventScript_WarpToLinkMultiBattleRoom::
warp MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_BATTLE_ROOM, 4, 5
waitstate
return
BattleFrontier_BattleTowerMultiCorridor_Movement_PlayerWalkToDoor: @ 8248EBC
BattleFrontier_BattleTowerMultiCorridor_Movement_PlayerWalkToDoor:
walk_down
walk_right
walk_right
@@ -131,7 +124,7 @@ BattleFrontier_BattleTowerMultiCorridor_Movement_PlayerWalkToDoor: @ 8248EBC
walk_right
step_end
BattleFrontier_BattleTowerMultiCorridor_Movement_PartnerWalkToDoor: @ 8248EC4
BattleFrontier_BattleTowerMultiCorridor_Movement_PartnerWalkToDoor:
walk_down
walk_left
walk_left
@@ -141,7 +134,7 @@ BattleFrontier_BattleTowerMultiCorridor_Movement_PartnerWalkToDoor: @ 8248EC4
walk_left
step_end
BattleFrontier_BattleTowerMultiCorridor_Movement_PlayerAttendantWalkToDoor: @ 8248ECC
BattleFrontier_BattleTowerMultiCorridor_Movement_PlayerAttendantWalkToDoor:
walk_right
walk_right
walk_right
@@ -149,10 +142,10 @@ BattleFrontier_BattleTowerMultiCorridor_Movement_PlayerAttendantWalkToDoor: @ 82
walk_right
walk_right
walk_up
walk_in_place_fastest_right
walk_in_place_faster_right
step_end
BattleFrontier_BattleTowerMultiCorridor_Movement_PartnerAttendantWalkToDoor: @ 8248ED5
BattleFrontier_BattleTowerMultiCorridor_Movement_PartnerAttendantWalkToDoor:
walk_left
walk_left
walk_left
@@ -160,22 +153,22 @@ BattleFrontier_BattleTowerMultiCorridor_Movement_PartnerAttendantWalkToDoor: @ 8
walk_left
walk_left
walk_up
walk_in_place_fastest_left
walk_in_place_faster_left
step_end
BattleFrontier_BattleTowerMultiCorridor_Movement_TrainerEnterDoor: @ 8248EDE
BattleFrontier_BattleTowerMultiCorridor_Movement_TrainerEnterDoor:
delay_16
walk_up
walk_up
set_invisible
step_end
BattleFrontier_BattleTowerMultiCorridor_Movement_AttendantEnterDoor: @ 8248EE3
BattleFrontier_BattleTowerMultiCorridor_Movement_AttendantEnterDoor:
walk_up
set_invisible
step_end
BattleFrontier_BattleTowerMultiCorridor_Movement_ExitElevator: @ 8248EE6
BattleFrontier_BattleTowerMultiCorridor_Movement_ExitElevator:
walk_down
step_end

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,205 +1,202 @@
BattleFrontier_Lounge5_MapScripts:: @ 82645C5
BattleFrontier_Lounge5_MapScripts::
.byte 0
BattleFrontier_Lounge5_EventScript_NatureGirl:: @ 82645C6
BattleFrontier_Lounge5_EventScript_NatureGirl::
lock
faceplayer
msgbox BattleFrontier_Lounge5_Text_NatureGirlGreeting, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_Lounge5_EventScript_NatureGirlNoneShown
goto_if_eq VAR_RESULT, NO, BattleFrontier_Lounge5_EventScript_NatureGirlNoneShown
special ChoosePartyMon
waitstate
lock
faceplayer
compare VAR_0x8004, 255
goto_if_eq BattleFrontier_Lounge5_EventScript_NatureGirlNoneShown
goto_if_eq VAR_0x8004, PARTY_NOTHING_CHOSEN, BattleFrontier_Lounge5_EventScript_NatureGirlNoneShown
specialvar VAR_RESULT, ScriptGetPartyMonSpecies
compare VAR_RESULT, SPECIES_EGG
goto_if_eq BattleFrontier_Lounge5_EventScript_NatureGirlEgg
goto_if_eq VAR_RESULT, SPECIES_EGG, BattleFrontier_Lounge5_EventScript_NatureGirlEgg
special ShowNatureGirlMessage
waitmessage
waitbuttonpress
release
end
BattleFrontier_Lounge5_EventScript_NatureGirlEgg:: @ 8264603
BattleFrontier_Lounge5_EventScript_NatureGirlEgg::
msgbox BattleFrontier_Lounge5_Text_NatureGirlEgg, MSGBOX_DEFAULT
release
end
BattleFrontier_Lounge5_EventScript_NatureGirlNoneShown:: @ 826460D
BattleFrontier_Lounge5_EventScript_NatureGirlNoneShown::
msgbox BattleFrontier_Lounge5_Text_NatureGirlNoneShown, MSGBOX_DEFAULT
release
end
BattleFrontier_Lounge5_EventScript_Gentleman:: @ 8264617
BattleFrontier_Lounge5_EventScript_Gentleman::
msgbox BattleFrontier_Lounge5_Text_LadyClaimsSheUnderstandsPokemon, MSGBOX_NPC
end
BattleFrontier_Lounge5_EventScript_BlackBelt:: @ 8264620
BattleFrontier_Lounge5_EventScript_BlackBelt::
msgbox BattleFrontier_Lounge5_Text_GirlSayingSomethingProfound, MSGBOX_NPC
end
BattleFrontier_Lounge5_EventScript_LittleBoy:: @ 8264629
BattleFrontier_Lounge5_EventScript_LittleBoy::
msgbox BattleFrontier_Lounge5_Text_GirlPlaysAtRedHouseALot, MSGBOX_NPC
end
BattleFrontier_Lounge5_Text_NatureGirlGreeting:: @ 8264632
BattleFrontier_Lounge5_Text_NatureGirlGreeting::
.string "Ehehe!\n"
.string "I can tell what POKéMON are thinking!\p"
.string "Please!\n"
.string "Can I see your POKéMON?$"
BattleFrontier_Lounge5_Text_NatureGirlNoneShown:: @ 826467F
BattleFrontier_Lounge5_Text_NatureGirlNoneShown::
.string "Boo!\n"
.string "Cheapie!$"
BattleFrontier_Lounge5_Text_NatureGirlHardy:: @ 826468D
BattleFrontier_Lounge5_Text_NatureGirlHardy::
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "It will battle even if it has a lot\l"
.string "of ouchies!$"
BattleFrontier_Lounge5_Text_NatureGirlLonely:: @ 82646E5
BattleFrontier_Lounge5_Text_NatureGirlLonely::
.string "Hmhm…\p"
.string "This one says it likes to be sneaky!\n"
.string "But if it gets enough ouchies,\l"
.string "it will hit back!$"
BattleFrontier_Lounge5_Text_NatureGirlBrave:: @ 8264741
BattleFrontier_Lounge5_Text_NatureGirlBrave::
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "But if it gets enough ouchies,\l"
.string "it will worry about itself!$"
BattleFrontier_Lounge5_Text_NatureGirlAdamant:: @ 82647A4
BattleFrontier_Lounge5_Text_NatureGirlAdamant::
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "It will battle even if it has a lot\l"
.string "of ouchies!$"
BattleFrontier_Lounge5_Text_NatureGirlNaughty:: @ 82647FC
BattleFrontier_Lounge5_Text_NatureGirlNaughty::
.string "Hmhm…\p"
.string "This one says it looks after itself!\n"
.string "But if it gets enough ouchies,\l"
.string "it will hit back!$"
BattleFrontier_Lounge5_Text_NatureGirlBold:: @ 8264858
BattleFrontier_Lounge5_Text_NatureGirlBold::
.string "Hmhm…\p"
.string "This one says it likes to be sneaky!\n"
.string "But if it gets enough ouchies,\l"
.string "it will worry about itself!$"
BattleFrontier_Lounge5_Text_NatureGirlDocileNaiveQuietQuirky:: @ 82648BE
BattleFrontier_Lounge5_Text_NatureGirlDocileNaiveQuietQuirky::
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "It will battle even if it has a lot\l"
.string "of ouchies!$"
BattleFrontier_Lounge5_Text_NatureGirlRelaxed:: @ 8264916
BattleFrontier_Lounge5_Text_NatureGirlRelaxed::
.string "Hmhm…\p"
.string "This one says it likes to be sneaky!\n"
.string "But if it gets enough ouchies,\l"
.string "it will hit back!$"
BattleFrontier_Lounge5_Text_NatureGirlImpish:: @ 8264972
BattleFrontier_Lounge5_Text_NatureGirlImpish::
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "But if it gets enough ouchies,\l"
.string "it will worry about itself!$"
BattleFrontier_Lounge5_Text_NatureGirlLax:: @ 82649D5
BattleFrontier_Lounge5_Text_NatureGirlLax::
.string "Hmhm…\p"
.string "This one says it likes to be sneaky!\n"
.string "It says it likes to be sneaky even\l"
.string "if it has a lot of ouchies!$"
BattleFrontier_Lounge5_Text_NatureGirlTimid:: @ 8264A3F
BattleFrontier_Lounge5_Text_NatureGirlTimid::
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "But if it gets enough ouchies,\l"
.string "it will turn sneaky!$"
BattleFrontier_Lounge5_Text_NatureGirlHasty:: @ 8264A9B
BattleFrontier_Lounge5_Text_NatureGirlHasty::
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "It will battle even if it has a lot\l"
.string "of ouchies!$"
BattleFrontier_Lounge5_Text_NatureGirlSerious:: @ 8264AF3
BattleFrontier_Lounge5_Text_NatureGirlSerious::
.string "Hmhm…\p"
.string "This one says it likes to be sneaky!\n"
.string "It says it likes to be sneaky even\l"
.string "if it has a lot of ouchies!$"
BattleFrontier_Lounge5_Text_NatureGirlJolly:: @ 8264B5D
BattleFrontier_Lounge5_Text_NatureGirlJolly::
.string "Hmhm…\p"
.string "This one says it likes to be sneaky!\n"
.string "But if it gets enough ouchies,\l"
.string "it will worry about itself!$"
BattleFrontier_Lounge5_Text_NatureGirlModest:: @ 8264BC3
BattleFrontier_Lounge5_Text_NatureGirlModest::
.string "Hmhm…\p"
.string "This one says it looks after itself!\n"
.string "It says it worries about itself whether\l"
.string "or not it has a lot of ouchies!$"
BattleFrontier_Lounge5_Text_NatureGirlMild:: @ 8264C36
BattleFrontier_Lounge5_Text_NatureGirlMild::
.string "Hmhm…\p"
.string "This one says it looks after itself!\n"
.string "But if it gets enough ouchies,\l"
.string "it will turn sneaky!$"
BattleFrontier_Lounge5_Text_NatureGirlBashful:: @ 8264C95
BattleFrontier_Lounge5_Text_NatureGirlBashful::
.string "Hmhm…\p"
.string "This one says it looks after itself!\n"
.string "It says it worries about itself even\l"
.string "if it has a lot of ouchies!$"
BattleFrontier_Lounge5_Text_NatureGirlRash:: @ 8264D01
BattleFrontier_Lounge5_Text_NatureGirlRash::
.string "Hmhm…\p"
.string "This one says it likes to be sneaky!\n"
.string "It says it likes to be sneaky even\l"
.string "if it has a lot of ouchies!$"
BattleFrontier_Lounge5_Text_NatureGirlCalm:: @ 8264D6B
BattleFrontier_Lounge5_Text_NatureGirlCalm::
.string "Hmhm…\p"
.string "This one says it looks after itself!\n"
.string "It says it worries about itself even\l"
.string "if it has a lot of ouchies!$"
BattleFrontier_Lounge5_Text_NatureGirlGentle:: @ 8264DD7
BattleFrontier_Lounge5_Text_NatureGirlGentle::
.string "Hmhm…\p"
.string "This one says it looks after itself!\n"
.string "But if it gets enough ouchies,\l"
.string "it will hit back!$"
BattleFrontier_Lounge5_Text_NatureGirlSassy:: @ 8264E33
BattleFrontier_Lounge5_Text_NatureGirlSassy::
.string "Hmhm…\p"
.string "This one says it likes to battle!\n"
.string "But if it gets enough ouchies,\l"
.string "it will turn sneaky!$"
BattleFrontier_Lounge5_Text_NatureGirlCareful:: @ 8264E8F
BattleFrontier_Lounge5_Text_NatureGirlCareful::
.string "Hmhm…\p"
.string "This one says it looks after itself!\n"
.string "But if it gets enough ouchies,\l"
.string "it will turn sneaky!$"
BattleFrontier_Lounge5_Text_NatureGirlEgg:: @ 8264EEE
BattleFrontier_Lounge5_Text_NatureGirlEgg::
.string "That's silly! An EGG is asleep!\n"
.string "I can't talk to it!$"
BattleFrontier_Lounge5_Text_LadyClaimsSheUnderstandsPokemon:: @ 8264F22
BattleFrontier_Lounge5_Text_LadyClaimsSheUnderstandsPokemon::
.string "How charming!\n"
.string "That little lady claims she can\l"
.string "understand POKéMON!$"
BattleFrontier_Lounge5_Text_GirlSayingSomethingProfound:: @ 8264F64
BattleFrontier_Lounge5_Text_GirlSayingSomethingProfound::
.string "I have this feeling that the little girl\n"
.string "is saying something profound.$"
BattleFrontier_Lounge5_Text_GirlPlaysAtRedHouseALot:: @ 8264FAB
BattleFrontier_Lounge5_Text_GirlPlaysAtRedHouseALot::
.string "I know something!\p"
.string "That little girl plays at the red house\n"
.string "a lot!$"

View File

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

View File

@@ -1,7 +1,7 @@
BattleFrontier_Lounge7_MapScripts:: @ 8265254
BattleFrontier_Lounge7_MapScripts::
.byte 0
BattleFrontier_Lounge7_EventScript_LeftMoveTutor:: @ 8265255
BattleFrontier_Lounge7_EventScript_LeftMoveTutor::
lock
faceplayer
setvar VAR_TEMP_C, SCROLL_MULTI_BF_MOVE_TUTOR_1
@@ -11,12 +11,12 @@ BattleFrontier_Lounge7_EventScript_LeftMoveTutor:: @ 8265255
goto BattleFrontier_Lounge7_EventScript_ChooseLeftTutorMove
end
BattleFrontier_Lounge7_EventScript_AlreadyMetLeftTutor:: @ 8265276
BattleFrontier_Lounge7_EventScript_AlreadyMetLeftTutor::
msgbox BattleFrontier_Lounge7_Text_LeftTutorWelcomeBack, MSGBOX_DEFAULT
goto BattleFrontier_Lounge7_EventScript_ChooseLeftTutorMove
end
BattleFrontier_Lounge7_EventScript_ChooseLeftTutorMove:: @ 8265284
BattleFrontier_Lounge7_EventScript_ChooseLeftTutorMove::
message BattleFrontier_Lounge7_Text_TeachWhichMove
waitmessage
special ShowBattlePointsWindow
@@ -41,7 +41,7 @@ BattleFrontier_Lounge7_EventScript_ChooseLeftTutorMove:: @ 8265284
case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
end
BattleFrontier_Lounge7_EventScript_ChooseNewLeftTutorMove:: @ 826532F
BattleFrontier_Lounge7_EventScript_ChooseNewLeftTutorMove::
message BattleFrontier_Lounge7_Text_TeachWhichMove
waitmessage
setvar VAR_TEMP_E, 0
@@ -65,57 +65,57 @@ BattleFrontier_Lounge7_EventScript_ChooseNewLeftTutorMove:: @ 826532F
case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
end
BattleFrontier_Lounge7_EventScript_Softboiled:: @ 82653D7
BattleFrontier_Lounge7_EventScript_Softboiled::
setvar VAR_0x8008, 16
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_SeismicToss:: @ 82653E2
BattleFrontier_Lounge7_EventScript_SeismicToss::
setvar VAR_0x8008, 24
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_DreamEater:: @ 82653ED
BattleFrontier_Lounge7_EventScript_DreamEater::
setvar VAR_0x8008, 24
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_MegaPunch:: @ 82653F8
BattleFrontier_Lounge7_EventScript_MegaPunch::
setvar VAR_0x8008, 24
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_MegaKick:: @ 8265403
BattleFrontier_Lounge7_EventScript_MegaKick::
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_BodySlam:: @ 826540E
BattleFrontier_Lounge7_EventScript_BodySlam::
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_RockSlide:: @ 8265419
BattleFrontier_Lounge7_EventScript_RockSlide::
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_Counter:: @ 8265424
BattleFrontier_Lounge7_EventScript_Counter::
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_ThunderWave:: @ 826542F
BattleFrontier_Lounge7_EventScript_ThunderWave::
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_SwordsDance:: @ 826543A
BattleFrontier_Lounge7_EventScript_SwordsDance::
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_RightMoveTutor:: @ 8265445
BattleFrontier_Lounge7_EventScript_RightMoveTutor::
lock
faceplayer
setvar VAR_TEMP_C, SCROLL_MULTI_BF_MOVE_TUTOR_2
@@ -125,12 +125,12 @@ BattleFrontier_Lounge7_EventScript_RightMoveTutor:: @ 8265445
goto BattleFrontier_Lounge7_EventScript_ChooseRightTutorMove
end
BattleFrontier_Lounge7_EventScript_AlreadyMetRightTutor:: @ 8265466
BattleFrontier_Lounge7_EventScript_AlreadyMetRightTutor::
msgbox BattleFrontier_Lounge7_Text_RightTutorWelcomeBack, MSGBOX_DEFAULT
goto BattleFrontier_Lounge7_EventScript_ChooseRightTutorMove
end
BattleFrontier_Lounge7_EventScript_ChooseRightTutorMove:: @ 8265474
BattleFrontier_Lounge7_EventScript_ChooseRightTutorMove::
message BattleFrontier_Lounge7_Text_TeachWhichMove
waitmessage
special ShowBattlePointsWindow
@@ -155,7 +155,7 @@ BattleFrontier_Lounge7_EventScript_ChooseRightTutorMove:: @ 8265474
case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
end
BattleFrontier_Lounge7_EventScript_ChooseNewRightTutorMove:: @ 826551F
BattleFrontier_Lounge7_EventScript_ChooseNewRightTutorMove::
message BattleFrontier_Lounge7_Text_TeachWhichMove
waitmessage
setvar VAR_TEMP_E, 1
@@ -179,64 +179,64 @@ BattleFrontier_Lounge7_EventScript_ChooseNewRightTutorMove:: @ 826551F
case MULTI_B_PRESSED, BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect
end
BattleFrontier_Lounge7_EventScript_DefenseCurl:: @ 82655C7
BattleFrontier_Lounge7_EventScript_DefenseCurl::
setvar VAR_0x8008, 16
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_Snore:: @ 82655D2
BattleFrontier_Lounge7_EventScript_Snore::
setvar VAR_0x8008, 24
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_MudSlap:: @ 82655DD
BattleFrontier_Lounge7_EventScript_MudSlap::
setvar VAR_0x8008, 24
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_Swift:: @ 82655E8
BattleFrontier_Lounge7_EventScript_Swift::
setvar VAR_0x8008, 24
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_IcyWind:: @ 82655F3
BattleFrontier_Lounge7_EventScript_IcyWind::
setvar VAR_0x8008, 24
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_Endure:: @ 82655FE
BattleFrontier_Lounge7_EventScript_Endure::
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_PsychUp:: @ 8265609
BattleFrontier_Lounge7_EventScript_PsychUp::
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_IcePunch:: @ 8265614
BattleFrontier_Lounge7_EventScript_IcePunch::
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_ThunderPunch:: @ 826561F
BattleFrontier_Lounge7_EventScript_ThunderPunch::
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_FirePunch:: @ 826562A
BattleFrontier_Lounge7_EventScript_FirePunch::
setvar VAR_0x8008, 48
goto BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection
end
BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect:: @ 8265635
BattleFrontier_Lounge7_EventScript_ExitTutorMoveSelect::
special CloseBattleFrontierTutorWindow
special CloseBattlePointsWindow
msgbox BattleFrontier_Lounge7_Text_YouDontWantTo, MSGBOX_DEFAULT
release
end
BattleFrontier_Lounge7_EventScript_CancelChooseMon:: @ 8265645
BattleFrontier_Lounge7_EventScript_CancelChooseMon::
msgbox BattleFrontier_Lounge7_Text_YouDontWantTo, MSGBOX_DEFAULT
release
end
@@ -245,23 +245,21 @@ BattleFrontier_Lounge7_EventScript_CancelChooseMon:: @ 8265645
@ VAR_TEMP_C is the scroll multichoice ID
@ VAR_TEMP_D is the move selection
@ VAR_TEMP_E is which move tutor was spoken to
BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection:: @ 826564F
BattleFrontier_Lounge7_EventScript_ConfirmMoveSelection::
copyvar VAR_0x8004, VAR_TEMP_D
copyvar VAR_0x8005, VAR_TEMP_E
special BufferBattleFrontierTutorMoveName
buffernumberstring 1, VAR_0x8008
buffernumberstring STR_VAR_2, VAR_0x8008
copyvar VAR_0x8004, VAR_TEMP_C
msgbox BattleFrontier_Lounge7_Text_MoveWillBeXBattlePoints, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleFrontier_Lounge7_EventScript_ChooseNewMove
goto_if_eq VAR_RESULT, NO, BattleFrontier_Lounge7_EventScript_ChooseNewMove
specialvar VAR_TEMP_1, GetFrontierBattlePoints
compare VAR_TEMP_1, VAR_0x8008
goto_if_ge BattleFrontier_Lounge7_EventScript_TeachTutorMove
goto_if_ge VAR_TEMP_1, VAR_0x8008, BattleFrontier_Lounge7_EventScript_TeachTutorMove
msgbox BattleFrontier_Lounge7_Text_HaventGotEnoughPoints, MSGBOX_DEFAULT
goto BattleFrontier_Lounge7_EventScript_ChooseNewMove
end
BattleFrontier_Lounge7_EventScript_TeachTutorMove:: @ 8265696
BattleFrontier_Lounge7_EventScript_TeachTutorMove::
msgbox BattleFrontier_Lounge7_Text_TeachMoveToWhichMon, MSGBOX_DEFAULT
special GetBattleFrontierTutorMoveIndex
fadescreen FADE_TO_BLACK
@@ -269,29 +267,27 @@ BattleFrontier_Lounge7_EventScript_TeachTutorMove:: @ 8265696
special CloseBattleFrontierTutorWindow
special ChooseMonForMoveTutor
waitstate
compare VAR_RESULT, FALSE
goto_if_eq BattleFrontier_Lounge7_EventScript_CancelChooseMon
goto_if_eq VAR_RESULT, FALSE, BattleFrontier_Lounge7_EventScript_CancelChooseMon
msgbox BattleFrontier_Lounge7_Text_IllTakeBattlePoints, MSGBOX_DEFAULT
copyvar VAR_0x8004, VAR_0x8008
special TakeFrontierBattlePoints
release
end
BattleFrontier_Lounge7_EventScript_ChooseNewMove:: @ 82656CA
compare VAR_TEMP_E, 0
goto_if_eq BattleFrontier_Lounge7_EventScript_ChooseNewLeftTutorMove
BattleFrontier_Lounge7_EventScript_ChooseNewMove::
goto_if_eq VAR_TEMP_E, 0, BattleFrontier_Lounge7_EventScript_ChooseNewLeftTutorMove
goto BattleFrontier_Lounge7_EventScript_ChooseNewRightTutorMove
end
BattleFrontier_Lounge7_EventScript_Sailor:: @ 82656DB
BattleFrontier_Lounge7_EventScript_Sailor::
msgbox BattleFrontier_Lounge7_Text_ThinkLadiesDontGetAlong, MSGBOX_NPC
end
BattleFrontier_Lounge7_EventScript_Gentleman:: @ 82656E4
BattleFrontier_Lounge7_EventScript_Gentleman::
msgbox BattleFrontier_Lounge7_Text_LadiesWereStrongAndBeautiful, MSGBOX_NPC
end
BattleFrontier_Lounge7_Text_LeftTutorIntro: @ 82656ED
BattleFrontier_Lounge7_Text_LeftTutorIntro:
.string "Buhahaha!\p"
.string "You couldn't tell it from looking now,\n"
.string "but I used to be one tough TRAINER.\p"
@@ -309,38 +305,38 @@ BattleFrontier_Lounge7_Text_LeftTutorIntro: @ 82656ED
.string "How about paying for the moves I teach\l"
.string "with a wee bit of Battle Points?$"
BattleFrontier_Lounge7_Text_LeftTutorWelcomeBack: @ 82658AB
BattleFrontier_Lounge7_Text_LeftTutorWelcomeBack:
.string "Buhahaha!\p"
.string "Are you back to learn special and\n"
.string "yet cute POKéMON moves?$"
BattleFrontier_Lounge7_Text_TeachWhichMove: @ 82658EF
BattleFrontier_Lounge7_Text_TeachWhichMove:
.string "Fine, fine, look here!\n"
.string "Which move should I teach?$"
BattleFrontier_Lounge7_Text_MoveWillBeXBattlePoints: @ 8265921
BattleFrontier_Lounge7_Text_MoveWillBeXBattlePoints:
.string "The move {STR_VAR_1}, is it?\n"
.string "That will be {STR_VAR_2} Battle Points, okay?$"
BattleFrontier_Lounge7_Text_TeachMoveToWhichMon: @ 826595A
BattleFrontier_Lounge7_Text_TeachMoveToWhichMon:
.string "Fine, fine, now pick the POKéMON\n"
.string "I should teach the move to.$"
BattleFrontier_Lounge7_Text_HaventGotEnoughPoints: @ 8265997
BattleFrontier_Lounge7_Text_HaventGotEnoughPoints:
.string "What the…\n"
.string "You haven't got enough Battle Points!$"
BattleFrontier_Lounge7_Text_IllTakeBattlePoints: @ 82659C7
BattleFrontier_Lounge7_Text_IllTakeBattlePoints:
.string "Do you see how skilled I am now?\n"
.string "I'll take your Battle Points, thanks!$"
BattleFrontier_Lounge7_Text_YouDontWantTo: @ 8265A0E
BattleFrontier_Lounge7_Text_YouDontWantTo:
.string "What's that?\n"
.string "You don't want to…\p"
.string "If you want to see how skilled I am,\n"
.string "you come see me anytime!$"
BattleFrontier_Lounge7_Text_RightTutorIntro: @ 8265A6C
BattleFrontier_Lounge7_Text_RightTutorIntro:
.string "Ihihihi!\p"
.string "I know it's hard to see now, but I used\n"
.string "to be one fantastic TRAINER.\p"
@@ -358,19 +354,19 @@ BattleFrontier_Lounge7_Text_RightTutorIntro: @ 8265A6C
.string "How about paying for the moves I teach\l"
.string "with a wee bit of Battle Points?$"
BattleFrontier_Lounge7_Text_RightTutorWelcomeBack: @ 8265C2C
BattleFrontier_Lounge7_Text_RightTutorWelcomeBack:
.string "Ihihihi!\p"
.string "Have you come to learn hard and\n"
.string "yet pretty POKéMON moves?$"
BattleFrontier_Lounge7_Text_ThinkLadiesDontGetAlong: @ 8265C6F
BattleFrontier_Lounge7_Text_ThinkLadiesDontGetAlong:
.string "Those ladies, the way they bad-mouth\n"
.string "each other, you probably think that\l"
.string "they don't get along.\p"
.string "But if that were true, they wouldn't\n"
.string "stay out here together, would they?$"
BattleFrontier_Lounge7_Text_LadiesWereStrongAndBeautiful: @ 8265D17
BattleFrontier_Lounge7_Text_LadiesWereStrongAndBeautiful:
.string "When I was just a wee YOUNGSTER,\n"
.string "those ladies were strong and beautiful.\p"
.string "They were idols among us TRAINERS.\p"
@@ -382,102 +378,102 @@ BattleFrontier_Lounge7_Text_LadiesWereStrongAndBeautiful: @ 8265D17
.string "but feel this…\p"
.string "Time is so cruel…$"
BattleFrontier_Lounge7_Text_SoftboiledDesc:: @ 8265E30
BattleFrontier_Lounge7_Text_SoftboiledDesc::
.string "Recovers up to\n"
.string "half the user's\n"
.string "maximum HP.$"
BattleFrontier_Lounge7_Text_SeismicTossDesc:: @ 8265E5B
BattleFrontier_Lounge7_Text_SeismicTossDesc::
.string "Inflicts damage\n"
.string "identical to the\n"
.string "user's level.$"
BattleFrontier_Lounge7_Text_DreamEaterDesc:: @ 8265E8A
BattleFrontier_Lounge7_Text_DreamEaterDesc::
.string "Recovers half the\n"
.string "damage inflicted\n"
.string "on a sleeping foe.$"
BattleFrontier_Lounge7_Text_MegaPunchDesc:: @ 8265EC0
BattleFrontier_Lounge7_Text_MegaPunchDesc::
.string "A strong punch\n"
.string "thrown with\n"
.string "incredible power.$"
BattleFrontier_Lounge7_Text_MegaKickDesc:: @ 8265EED
BattleFrontier_Lounge7_Text_MegaKickDesc::
.string "An extremely\n"
.string "powerful kick with\n"
.string "intense force.$"
BattleFrontier_Lounge7_Text_BodySlamDesc:: @ 8265F1C
BattleFrontier_Lounge7_Text_BodySlamDesc::
.string "A full-body slam\n"
.string "that may cause\n"
.string "paralysis.$"
BattleFrontier_Lounge7_Text_RockSlideDesc:: @ 8265F47
BattleFrontier_Lounge7_Text_RockSlideDesc::
.string "Large boulders\n"
.string "are hurled. May\n"
.string "cause flinching.$"
BattleFrontier_Lounge7_Text_CounterDesc:: @ 8265F77
BattleFrontier_Lounge7_Text_CounterDesc::
.string "Retaliates any\n"
.string "physical hit with\n"
.string "double the power.$"
BattleFrontier_Lounge7_Text_ThunderWaveDesc:: @ 8265FAA
BattleFrontier_Lounge7_Text_ThunderWaveDesc::
.string "A weak jolt of\n"
.string "electricity that\n"
.string "paralyzes the foe.$"
BattleFrontier_Lounge7_Text_SwordsDanceDesc:: @ 8265FDD
BattleFrontier_Lounge7_Text_SwordsDanceDesc::
.string "A fighting dance\n"
.string "that sharply\n"
.string "raises ATTACK.$"
BattleFrontier_Lounge7_Text_DefenseCurlDesc:: @ 826600A
BattleFrontier_Lounge7_Text_DefenseCurlDesc::
.string "Curls up to con-\n"
.string "ceal weak spots\n"
.string "and raise DEFENSE.$"
BattleFrontier_Lounge7_Text_SnoreDesc:: @ 826603E
BattleFrontier_Lounge7_Text_SnoreDesc::
.string "A loud attack\n"
.string "that can be used\n"
.string "only while asleep.$"
BattleFrontier_Lounge7_Text_MudSlapDesc:: @ 8266070
BattleFrontier_Lounge7_Text_MudSlapDesc::
.string "Hurls mud in the\n"
.string "foe's face to re-\n"
.string "duce its accuracy.$"
BattleFrontier_Lounge7_Text_SwiftDesc:: @ 82660A6
BattleFrontier_Lounge7_Text_SwiftDesc::
.string "Sprays star-\n"
.string "shaped rays\n"
.string "that never miss.$"
BattleFrontier_Lounge7_Text_IcyWindDesc:: @ 82660D0
BattleFrontier_Lounge7_Text_IcyWindDesc::
.string "A chilling attack\n"
.string "that lowers the\n"
.string "foe's SPEED.$"
BattleFrontier_Lounge7_Text_EndureDesc:: @ 82660FF
BattleFrontier_Lounge7_Text_EndureDesc::
.string "Endures any at-\n"
.string "tack for 1 turn,\n"
.string "leaving 1HP.$"
BattleFrontier_Lounge7_Text_PsychUpDesc:: @ 826612D
BattleFrontier_Lounge7_Text_PsychUpDesc::
.string "Copies the foe's\n"
.string "effect(s) and\n"
.string "gives to the user.$"
BattleFrontier_Lounge7_Text_IcePunchDesc:: @ 826615F
BattleFrontier_Lounge7_Text_IcePunchDesc::
.string "An icy punch\n"
.string "that may\n"
.string "freeze the foe.$"
BattleFrontier_Lounge7_Text_ThunderPunchDesc:: @ 8266185
BattleFrontier_Lounge7_Text_ThunderPunchDesc::
.string "An electrified\n"
.string "punch that may\n"
.string "paralyze the foe.$"
BattleFrontier_Lounge7_Text_FirePunchDesc:: @ 82661B5
BattleFrontier_Lounge7_Text_FirePunchDesc::
.string "A fiery punch\n"
.string "that may burn\n"
.string "the foe.$"

View File

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

View File

@@ -1,3 +1,3 @@
BattleFrontier_Lounge9_MapScripts:: @ 82678F8
BattleFrontier_Lounge9_MapScripts::
.byte 0

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