Merge branch 'master' of https://github.com/pret/pokeemerald into doc-contest-bar

This commit is contained in:
GriffinR
2023-02-01 15:52:19 -05:00
1390 changed files with 53692 additions and 56776 deletions
+12 -8
View File
@@ -1,5 +1,11 @@
#!/usr/bin/perl #!/usr/bin/perl
# Usage:
# calcrom.pl <mapfile> [--data]
#
# mapfile: path to .map file output by LD
# data: set to output % breakdown of data
use IPC::Cmd qw[ run ]; use IPC::Cmd qw[ run ];
use Getopt::Long; use Getopt::Long;
@@ -65,12 +71,13 @@ my $base_cmd = "nm $elffname | awk '{print \$3}' | grep '^[^_].\\{4\\}' | uniq";
# This looks for Unknown_, Unknown_, or sub_, followed by an address. 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. # it matches even if stuff precedes the unknown, like sUnknown/gUnknown.
my $undoc_cmd = "grep '[Uu]nknown_[0-9a-fA-F]\\{5,7\\}\\|sub_[0-9a-fA-F]\\{5,7\\}'"; my $undoc_regex = "'[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 # 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. # given a name based on their type / location, but still have an unknown purpose.
# For example, FooMap_EventScript_FFFFFFF. # For example, FooMap_EventScript_FFFFFFF.
my $partial_doc_cmd = "grep '_[0-28][0-9a-fA-F]\\{5,7\\}'"; # The above may be double counted here, and will need to be filtered out.
my $partial_doc_regex = "'_[0-28][0-9a-fA-F]\\{5,7\\}'";
my $count_cmd = "wc -l"; my $count_cmd = "wc -l";
@@ -87,7 +94,7 @@ my $total_syms_as_string;
my $undocumented_as_string; my $undocumented_as_string;
(run ( (run (
command => "$base_cmd | $undoc_cmd | $count_cmd", command => "$base_cmd | grep $undoc_regex | $count_cmd",
buffer => \$undocumented_as_string, buffer => \$undocumented_as_string,
timeout => 60 timeout => 60
)) ))
@@ -95,7 +102,7 @@ my $undocumented_as_string;
my $partial_documented_as_string; my $partial_documented_as_string;
(run ( (run (
command => "$base_cmd | $partial_doc_cmd | $count_cmd", command => "$base_cmd | grep $partial_doc_regex | grep -v $undoc_regex | $count_cmd",
buffer => \$partial_documented_as_string, buffer => \$partial_documented_as_string,
timeout => 60 timeout => 60
)) ))
@@ -112,7 +119,7 @@ my $undocumented = $undocumented_as_string + 0;
$partial_documented_as_string =~ s/^\s+|\s+$//g; $partial_documented_as_string =~ s/^\s+|\s+$//g;
my $partial_documented = $partial_documented_as_string + 0; my $partial_documented = $partial_documented_as_string + 0;
(($partial_documented != 0) or (($partial_documented == 0) and ($partial_documented_as_string eq "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'"; or die "ERROR: Cannot convert string to num: '$partial_documented_as_string'";
$total_syms_as_string =~ s/^\s+|\s+$//g; $total_syms_as_string =~ s/^\s+|\s+$//g;
my $total_syms = $total_syms_as_string + 0; my $total_syms = $total_syms_as_string + 0;
@@ -126,9 +133,6 @@ my $total = $src + $asm;
my $srcPct = sprintf("%.4f", 100 * $src / $total); my $srcPct = sprintf("%.4f", 100 * $src / $total);
my $asmPct = sprintf("%.4f", 100 * $asm / $total); my $asmPct = sprintf("%.4f", 100 * $asm / $total);
# partial_documented is double-counting the unknown_* and sub_* symbols.
$partial_documented = $partial_documented - $undocumented;
my $documented = $total_syms - ($undocumented + $partial_documented); my $documented = $total_syms - ($undocumented + $partial_documented);
my $docPct = sprintf("%.4f", 100 * $documented / $total_syms); my $docPct = sprintf("%.4f", 100 * $documented / $total_syms);
my $partialPct = sprintf("%.4f", 100 * $partial_documented / $total_syms); my $partialPct = sprintf("%.4f", 100 * $partial_documented / $total_syms);
+2 -1
View File
@@ -30,7 +30,8 @@ build/
.DS_Store .DS_Store
*.ddump *.ddump
.idea/ .idea/
porymap.project.cfg porymap.*.cfg
prefabs.json
.vscode/ .vscode/
*.a *.a
.fuse_hidden* .fuse_hidden*
+27 -15
View File
@@ -9,7 +9,7 @@ If you run into trouble, ask for help on Discord or IRC (see [README.md](README.
## Windows ## Windows
Windows has instructions for building with three possible terminals, providing 3 different options in case the user stumbles upon unexpected errors. Windows has instructions for building with three possible terminals, providing 3 different options in case the user stumbles upon unexpected errors.
- [Windows 10 (WSL1)](#windows-10-wsl1) (**Fastest, highly recommended**, Windows 10 only) - [Windows 10/11 (WSL1)](#windows-1011-wsl1) (**Fastest, highly recommended**, Windows 10 and 11 only)
- [Windows (msys2)](#windows-msys2) (Second fastest) - [Windows (msys2)](#windows-msys2) (Second fastest)
- [Windows (Cygwin)](#windows-cygwin) (Slowest) - [Windows (Cygwin)](#windows-cygwin) (Slowest)
@@ -26,7 +26,7 @@ All of the Windows instructions assume that the default drive is C:\\. If this d
**A note of caution**: As Windows 7 is officially unsupported by Microsoft and Windows 8 has very little usage, some maintainers are unwilling to maintain the Windows 7/8 instructions. Thus, these instructions may break in the future with fixes taking longer than fixes to the Windows 10 instructions. **A note of caution**: As Windows 7 is officially unsupported by Microsoft and Windows 8 has very little usage, some maintainers are unwilling to maintain the Windows 7/8 instructions. Thus, these instructions may break in the future with fixes taking longer than fixes to the Windows 10 instructions.
## Windows 10 (WSL1) ## Windows 10/11 (WSL1)
WSL1 is the preferred terminal to build **pokeemerald**. The following instructions will explain how to install WSL1 (referred to interchangeably as WSL). WSL1 is the preferred terminal to build **pokeemerald**. The following instructions will explain how to install WSL1 (referred to interchangeably as WSL).
- If WSL (Debian or Ubuntu) is **not installed**, then go to [Installing WSL1](#Installing-WSL1). - If WSL (Debian or Ubuntu) is **not installed**, then go to [Installing WSL1](#Installing-WSL1).
- Otherwise, if WSL is installed, but it **hasn't previously been set up for another decompilation project**, then go to [Setting up WSL1](#Setting-up-WSL1). - Otherwise, if WSL is installed, but it **hasn't previously been set up for another decompilation project**, then go to [Setting up WSL1](#Setting-up-WSL1).
@@ -418,21 +418,16 @@ If you aren't in the pokeemerald directory already, then **change directory** to
```bash ```bash
cd pokeemerald cd pokeemerald
``` ```
To build **pokeemerald.gba** for the first time and confirm it matches the official ROM image (Note: to speed up builds, see [Parallel builds](#parallel-builds)): To build **pokeemerald.gba** (Note: to speed up builds, see [Parallel builds](#parallel-builds)):
```bash ```bash
make compare make
``` ```
If an OK is returned, then the installation went smoothly. If it has built successfully you will have the output file **pokeemerald.gba** in your project folder.
<details> <details>
<summary>Note for Windows...</summary> <summary>Note for Windows...</summary>
> If you switched terminals since the last build (e.g. from msys2 to WSL1), you must run `make clean-tools` once before any subsequent `make` commands. > If you switched terminals since the last build (e.g. from msys2 to WSL1), you must run `make clean-tools` once before any subsequent `make` commands.
</details> </details>
To build **pokeemerald.gba** with your changes:
```bash
make
```
# Building guidance # Building guidance
## Parallel builds ## Parallel builds
@@ -451,11 +446,20 @@ Replace `<output of nproc>` with the number that the `nproc` command returned.
`nproc` is not available on macOS. The alternative is `sysctl -n hw.ncpu` ([relevant Stack Overflow thread](https://stackoverflow.com/questions/1715580)). `nproc` is not available on macOS. The alternative is `sysctl -n hw.ncpu` ([relevant Stack Overflow thread](https://stackoverflow.com/questions/1715580)).
## Debug info ## Compare ROM to the original
To build **pokeemerald.elf** with enhanced debug info: For contributing, or if you'd simply like to verify that your ROM is identical to the original game, run:
```bash ```bash
make DINFO=1 make compare
```
If it matches, you will see the following at the end of the output:
```bash
pokeemerald.gba: OK
```
If there are any changes from the original game, you will instead see:
```bash
pokeemerald.gba: FAILED
shasum: WARNING: 1 computed checksum did NOT match
``` ```
## devkitARM's C compiler ## devkitARM's C compiler
@@ -534,7 +538,7 @@ devkitARM is now installed.
devkitARM is now installed. devkitARM is now installed.
## Installing devkitARM on Arch Linux ### Installing devkitARM on Arch Linux
1. Follow [devkitPro's instructions](https://devkitpro.org/wiki/devkitPro_pacman#Customising_Existing_Pacman_Install) to configure `pacman` to download devkitPro packages. 1. Follow [devkitPro's instructions](https://devkitpro.org/wiki/devkitPro_pacman#Customising_Existing_Pacman_Install) to configure `pacman` to download devkitPro packages.
2. Install `gba-dev`: run the following command as root. 2. Install `gba-dev`: run the following command as root.
@@ -552,7 +556,7 @@ devkitARM is now installed.
devkitARM is now installed. devkitARM is now installed.
## Other toolchains ### Other toolchains
To build using a toolchain other than devkitARM, override the `TOOLCHAIN` environment variable with the path to your toolchain, which must contain the subdirectory `bin`. To build using a toolchain other than devkitARM, override the `TOOLCHAIN` environment variable with the path to your toolchain, which must contain the subdirectory `bin`.
```bash ```bash
@@ -564,6 +568,14 @@ make TOOLCHAIN="/usr/local/arm-none-eabi"
``` ```
To compile the `modern` target with this toolchain, the subdirectories `lib`, `include`, and `arm-none-eabi` must also be present. To compile the `modern` target with this toolchain, the subdirectories `lib`, `include`, and `arm-none-eabi` must also be present.
### Building with debug info under a modern toolchain
To build **pokeemerald.elf** with debug symbols under a modern toolchain:
```bash
make modern DINFO=1
```
Note that this is not necessary for a non-modern build since those are built with debug symbols by default.
# Useful additional tools # Useful additional tools
* [porymap](https://github.com/huderlem/porymap) for viewing and editing maps * [porymap](https://github.com/huderlem/porymap) for viewing and editing maps
+1 -1
View File
@@ -107,7 +107,7 @@ LIBPATH := -L ../../tools/agbcc/lib
LIB := $(LIBPATH) -lgcc -lc -L../../libagbsyscall -lagbsyscall LIB := $(LIBPATH) -lgcc -lc -L../../libagbsyscall -lagbsyscall
else else
CC1 = $(shell $(PATH_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 override CFLAGS += -mthumb -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast
ROM := $(MODERN_ROM_NAME) ROM := $(MODERN_ROM_NAME)
OBJ_DIR := $(MODERN_OBJ_DIR_NAME) OBJ_DIR := $(MODERN_OBJ_DIR_NAME)
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))" 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))"
+2 -2
View File
@@ -668,7 +668,7 @@
.byte 0x77 .byte 0x77
.endm .endm
.macro faintifabilitynotdamp .macro tryexplosion
.byte 0x78 .byte 0x78
.endm .endm
@@ -1031,7 +1031,7 @@
.byte 0xc8 .byte 0xc8
.endm .endm
.macro jumpifattackandspecialattackcannotfall ptr:req .macro trymemento ptr:req
.byte 0xc9 .byte 0xc9
.4byte \ptr .4byte \ptr
.endm .endm
+2 -2
View File
@@ -277,7 +277,7 @@
.endm .endm
@ Blocks script execution until a command or C code manually unblocks it. Generally used with specific @ Blocks script execution until a command or C code manually unblocks it. Generally used with specific
@ commands and specials. Calling EnableBothScriptContexts for instance will allow execution to continue. @ commands and specials. Calling ScriptContext_Enable for instance will allow execution to continue.
.macro waitstate .macro waitstate
.byte 0x27 .byte 0x27
.endm .endm
@@ -469,7 +469,7 @@
formatwarp \map, \a, \b, \c formatwarp \map, \a, \b, \c
.endm .endm
@ Sets the dynamic warp destination. Warps with a destination map of MAP_NONE will target this destination. @ Sets the dynamic warp destination. Warps with a destination map of MAP_DYNAMIC will target this destination.
@ Warp commands can be given either the id of which warp location to go to on the destination map @ Warp commands can be given either the id of which warp location to go to on the destination map
@ or a pair of x/y coordinates to go to directly on the destination map. @ or a pair of x/y coordinates to go to directly on the destination map.
.macro setdynamicwarp map:req, a, b, c .macro setdynamicwarp map:req, a, b, c
+2 -2
View File
@@ -152,8 +152,8 @@
create_movement_action walk_slow_diag_northeast, MOVEMENT_ACTION_WALK_SLOW_DIAGONAL_UP_RIGHT 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_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 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 lock_anim, MOVEMENT_ACTION_LOCK_ANIM
create_movement_action free_unlock_anim, MOVEMENT_ACTION_FREE_AND_UNLOCK_ANIM create_movement_action unlock_anim, MOVEMENT_ACTION_UNLOCK_ANIM
create_movement_action walk_left_affine, MOVEMENT_ACTION_WALK_LEFT_AFFINE 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 walk_right_affine, MOVEMENT_ACTION_WALK_RIGHT_AFFINE
create_movement_action levitate, MOVEMENT_ACTION_LEVITATE create_movement_action levitate, MOVEMENT_ACTION_LEVITATE
+2 -2
View File
@@ -416,13 +416,13 @@ SHADOW = FC 03 @ same as fc 01
COLOR_HIGHLIGHT_SHADOW = FC 04 @ takes 3 bytes COLOR_HIGHLIGHT_SHADOW = FC 04 @ takes 3 bytes
PALETTE = FC 05 @ used in credits PALETTE = FC 05 @ used in credits
FONT = FC 06 @ Given a font id, or use font constants below instead FONT = FC 06 @ Given a font id, or use font constants below instead
RESET_SIZE = FC 07 RESET_FONT = FC 07
PAUSE = FC 08 @ manually print the wait byte after this, havent mapped them PAUSE = FC 08 @ manually print the wait byte after this, havent mapped them
PAUSE_UNTIL_PRESS = FC 09 PAUSE_UNTIL_PRESS = FC 09
WAIT_SE = FC 0A WAIT_SE = FC 0A
PLAY_BGM = FC 0B PLAY_BGM = FC 0B
ESCAPE = FC 0C ESCAPE = FC 0C
SHIFT_TEXT = FC 0D SHIFT_RIGHT = FC 0D
SHIFT_DOWN = FC 0E SHIFT_DOWN = FC 0E
FILL_WINDOW = FC 0F FILL_WINDOW = FC 0F
PLAY_SE = FC 10 PLAY_SE = FC 10
+505 -505
View File
File diff suppressed because it is too large Load Diff
+325 -325
View File
File diff suppressed because it is too large Load Diff
+48 -44
View File
@@ -1,6 +1,7 @@
#include "constants/global.h" #include "constants/global.h"
#include "constants/battle.h" #include "constants/battle.h"
#include "constants/pokemon.h" #include "constants/pokemon.h"
#include "constants/battle_arena.h"
#include "constants/battle_script_commands.h" #include "constants/battle_script_commands.h"
#include "constants/battle_anim.h" #include "constants/battle_anim.h"
#include "constants/battle_string_ids.h" #include "constants/battle_string_ids.h"
@@ -374,7 +375,8 @@ BattleScript_EffectExplosion::
attackcanceler attackcanceler
attackstring attackstring
ppreduce ppreduce
faintifabilitynotdamp @ Below jumps to BattleScript_DampStopsExplosion if it fails (only way it can)
tryexplosion
setatkhptozero setatkhptozero
waitstate waitstate
jumpifbyte CMP_NO_COMMON_BITS, gMoveResultFlags, MOVE_RESULT_MISSED, BattleScript_ExplosionDoAnimStartLoop jumpifbyte CMP_NO_COMMON_BITS, gMoveResultFlags, MOVE_RESULT_MISSED, BattleScript_ExplosionDoAnimStartLoop
@@ -489,7 +491,7 @@ BattleScript_EffectStatUp::
BattleScript_EffectStatUpAfterAtkCanceler:: BattleScript_EffectStatUpAfterAtkCanceler::
attackstring attackstring
ppreduce ppreduce
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_StatUpEnd statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_StatUpEnd
jumpifbyte CMP_NOT_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_StatUpAttackAnim jumpifbyte CMP_NOT_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_StatUpAttackAnim
pause B_WAIT_TIME_SHORT pause B_WAIT_TIME_SHORT
goto BattleScript_StatUpPrintString goto BattleScript_StatUpPrintString
@@ -535,7 +537,7 @@ BattleScript_EffectStatDown::
accuracycheck BattleScript_PrintMoveMissed, ACC_CURR_MOVE accuracycheck BattleScript_PrintMoveMissed, ACC_CURR_MOVE
attackstring attackstring
ppreduce ppreduce
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_StatDownEnd statbuffchange STAT_CHANGE_ALLOW_PTR, BattleScript_StatDownEnd
jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_DECREASE, BattleScript_StatDownDoAnim jumpifbyte CMP_LESS_THAN, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_DECREASE, BattleScript_StatDownDoAnim
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_FELL_EMPTY, BattleScript_StatDownEnd jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_FELL_EMPTY, BattleScript_StatDownEnd
pause B_WAIT_TIME_SHORT pause B_WAIT_TIME_SHORT
@@ -1491,17 +1493,17 @@ BattleScript_CurseTrySpeed::
attackanimation attackanimation
waitanimation waitanimation
setstatchanger STAT_SPEED, 1, TRUE setstatchanger STAT_SPEED, 1, TRUE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CurseTryAttack statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_CurseTryAttack
printfromtable gStatDownStringIds printfromtable gStatDownStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
BattleScript_CurseTryAttack:: BattleScript_CurseTryAttack::
setstatchanger STAT_ATK, 1, FALSE setstatchanger STAT_ATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CurseTryDefense statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_CurseTryDefense
printfromtable gStatUpStringIds printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
BattleScript_CurseTryDefense:: BattleScript_CurseTryDefense::
setstatchanger STAT_DEF, 1, FALSE setstatchanger STAT_DEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CurseEnd statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_CurseEnd
printfromtable gStatUpStringIds printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
BattleScript_CurseEnd:: BattleScript_CurseEnd::
@@ -1613,7 +1615,7 @@ BattleScript_EffectSwagger::
attackanimation attackanimation
waitanimation waitanimation
setstatchanger STAT_ATK, 2, FALSE setstatchanger STAT_ATK, 2, FALSE
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_SwaggerTryConfuse statbuffchange STAT_CHANGE_ALLOW_PTR, BattleScript_SwaggerTryConfuse
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_SwaggerTryConfuse jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_SwaggerTryConfuse
setgraphicalstatchangevalues setgraphicalstatchangevalues
playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1 playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
@@ -1812,7 +1814,7 @@ BattleScript_EffectSkullBash::
setbyte sTWOTURN_STRINGID, B_MSG_TURN1_SKULL_BASH setbyte sTWOTURN_STRINGID, B_MSG_TURN1_SKULL_BASH
call BattleScriptFirstChargingTurn call BattleScriptFirstChargingTurn
setstatchanger STAT_DEF, 1, FALSE setstatchanger STAT_DEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_SkullBashEnd statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_SkullBashEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_SkullBashEnd jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_SkullBashEnd
setgraphicalstatchangevalues setgraphicalstatchangevalues
playanimation BS_ATTACKER, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1 playanimation BS_ATTACKER, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
@@ -1926,8 +1928,8 @@ BattleScript_EffectTeleport::
ppreduce ppreduce
jumpifbattletype BATTLE_TYPE_TRAINER, BattleScript_ButItFailed jumpifbattletype BATTLE_TYPE_TRAINER, BattleScript_ButItFailed
getifcantrunfrombattle BS_ATTACKER getifcantrunfrombattle BS_ATTACKER
jumpifbyte CMP_EQUAL, gBattleCommunication, 1, BattleScript_ButItFailed jumpifbyte CMP_EQUAL, gBattleCommunication, BATTLE_RUN_FORBIDDEN, BattleScript_ButItFailed
jumpifbyte CMP_EQUAL, gBattleCommunication, 2, BattleScript_PrintAbilityMadeIneffective jumpifbyte CMP_EQUAL, gBattleCommunication, BATTLE_RUN_FAILURE, BattleScript_PrintAbilityMadeIneffective
attackanimation attackanimation
waitanimation waitanimation
printstring STRINGID_PKMNFLEDFROMBATTLE printstring STRINGID_PKMNFLEDFROMBATTLE
@@ -2015,7 +2017,7 @@ BattleScript_EffectDefenseCurl::
ppreduce ppreduce
setdefensecurlbit setdefensecurlbit
setstatchanger STAT_DEF, 1, FALSE setstatchanger STAT_DEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_DefenseCurlDoStatUpAnim statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_DefenseCurlDoStatUpAnim
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_StatUpPrintString jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_StatUpPrintString
attackanimation attackanimation
waitanimation waitanimation
@@ -2156,7 +2158,7 @@ BattleScript_EffectFlatter::
attackanimation attackanimation
waitanimation waitanimation
setstatchanger STAT_SPATK, 1, FALSE setstatchanger STAT_SPATK, 1, FALSE
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_FlatterTryConfuse statbuffchange STAT_CHANGE_ALLOW_PTR, BattleScript_FlatterTryConfuse
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_FlatterTryConfuse jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_FlatterTryConfuse
setgraphicalstatchangevalues setgraphicalstatchangevalues
playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1 playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
@@ -2201,10 +2203,10 @@ BattleScript_AlreadyBurned::
BattleScript_EffectMemento:: BattleScript_EffectMemento::
attackcanceler attackcanceler
jumpifbyte CMP_EQUAL, cMISS_TYPE, B_MSG_PROTECTED, BattleScript_MementoFailProtect jumpifbyte CMP_EQUAL, cMISS_TYPE, B_MSG_PROTECTED, BattleScript_MementoTargetProtect
attackstring attackstring
ppreduce ppreduce
jumpifattackandspecialattackcannotfall BattleScript_ButItFailed trymemento BattleScript_ButItFailed
setatkhptozero setatkhptozero
attackanimation attackanimation
waitanimation waitanimation
@@ -2213,16 +2215,16 @@ BattleScript_EffectMemento::
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, STAT_CHANGE_NEGATIVE | STAT_CHANGE_BY_TWO | STAT_CHANGE_MULTIPLE_STATS playstatchangeanimation BS_TARGET, BIT_ATK | BIT_SPATK, STAT_CHANGE_NEGATIVE | STAT_CHANGE_BY_TWO | STAT_CHANGE_MULTIPLE_STATS
playstatchangeanimation BS_TARGET, BIT_ATK, STAT_CHANGE_NEGATIVE | STAT_CHANGE_BY_TWO playstatchangeanimation BS_TARGET, BIT_ATK, STAT_CHANGE_NEGATIVE | STAT_CHANGE_BY_TWO
setstatchanger STAT_ATK, 2, TRUE setstatchanger STAT_ATK, 2, TRUE
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_EffectMementoTrySpAtk statbuffchange STAT_CHANGE_ALLOW_PTR, BattleScript_EffectMementoTrySpAtk
@ Greater than STAT_FELL is checking if the stat cannot decrease @ Greater than B_MSG_DEFENDER_STAT_FELL is checking if the stat cannot decrease
jumpifbyte CMP_GREATER_THAN, cMULTISTRING_CHOOSER, B_MSG_DEFENDER_STAT_FELL, BattleScript_EffectMementoTrySpAtk jumpifbyte CMP_GREATER_THAN, cMULTISTRING_CHOOSER, B_MSG_DEFENDER_STAT_FELL, BattleScript_EffectMementoTrySpAtk
printfromtable gStatDownStringIds printfromtable gStatDownStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
BattleScript_EffectMementoTrySpAtk: BattleScript_EffectMementoTrySpAtk:
playstatchangeanimation BS_TARGET, BIT_SPATK, STAT_CHANGE_NEGATIVE | STAT_CHANGE_BY_TWO playstatchangeanimation BS_TARGET, BIT_SPATK, STAT_CHANGE_NEGATIVE | STAT_CHANGE_BY_TWO
setstatchanger STAT_SPATK, 2, TRUE setstatchanger STAT_SPATK, 2, TRUE
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_EffectMementoTryFaint statbuffchange STAT_CHANGE_ALLOW_PTR, BattleScript_EffectMementoTryFaint
@ Greater than STAT_FELL is checking if the stat cannot decrease @ Greater than B_MSG_DEFENDER_STAT_FELL is checking if the stat cannot decrease
jumpifbyte CMP_GREATER_THAN, cMULTISTRING_CHOOSER, B_MSG_DEFENDER_STAT_FELL, BattleScript_EffectMementoTryFaint jumpifbyte CMP_GREATER_THAN, cMULTISTRING_CHOOSER, B_MSG_DEFENDER_STAT_FELL, BattleScript_EffectMementoTryFaint
printfromtable gStatDownStringIds printfromtable gStatDownStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
@@ -2233,11 +2235,12 @@ BattleScript_EffectMementoPrintNoEffect:
printstring STRINGID_BUTNOEFFECT printstring STRINGID_BUTNOEFFECT
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
goto BattleScript_EffectMementoTryFaint goto BattleScript_EffectMementoTryFaint
BattleScript_MementoFailProtect: @ If the target is protected there's no need to check the target's stats or animate, the user will just faint
BattleScript_MementoTargetProtect:
attackstring attackstring
ppreduce ppreduce
jumpifattackandspecialattackcannotfall BattleScript_MementoFailEnd trymemento BattleScript_MementoTargetProtectEnd
BattleScript_MementoFailEnd: BattleScript_MementoTargetProtectEnd:
setatkhptozero setatkhptozero
pause B_WAIT_TIME_LONG pause B_WAIT_TIME_LONG
effectivenesssound effectivenesssound
@@ -2660,14 +2663,14 @@ BattleScript_TickleDoMoveAnim::
playstatchangeanimation BS_TARGET, BIT_ATK | BIT_DEF, STAT_CHANGE_NEGATIVE | STAT_CHANGE_MULTIPLE_STATS playstatchangeanimation BS_TARGET, BIT_ATK | BIT_DEF, STAT_CHANGE_NEGATIVE | STAT_CHANGE_MULTIPLE_STATS
playstatchangeanimation BS_TARGET, BIT_ATK, STAT_CHANGE_NEGATIVE playstatchangeanimation BS_TARGET, BIT_ATK, STAT_CHANGE_NEGATIVE
setstatchanger STAT_ATK, 1, TRUE setstatchanger STAT_ATK, 1, TRUE
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_TickleTryLowerDef statbuffchange STAT_CHANGE_ALLOW_PTR, BattleScript_TickleTryLowerDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_DECREASE, BattleScript_TickleTryLowerDef jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_DECREASE, BattleScript_TickleTryLowerDef
printfromtable gStatDownStringIds printfromtable gStatDownStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
BattleScript_TickleTryLowerDef:: BattleScript_TickleTryLowerDef::
playstatchangeanimation BS_TARGET, BIT_DEF, STAT_CHANGE_NEGATIVE playstatchangeanimation BS_TARGET, BIT_DEF, STAT_CHANGE_NEGATIVE
setstatchanger STAT_DEF, 1, TRUE setstatchanger STAT_DEF, 1, TRUE
statbuffchange STAT_BUFF_ALLOW_PTR, BattleScript_TickleEnd statbuffchange STAT_CHANGE_ALLOW_PTR, BattleScript_TickleEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_DECREASE, BattleScript_TickleEnd jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_DECREASE, BattleScript_TickleEnd
printfromtable gStatDownStringIds printfromtable gStatDownStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
@@ -2693,13 +2696,13 @@ BattleScript_CosmicPowerDoMoveAnim::
setbyte sSTAT_ANIM_PLAYED, FALSE setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_SPDEF, 0 playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_SPDEF, 0
setstatchanger STAT_DEF, 1, FALSE setstatchanger STAT_DEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CosmicPowerTrySpDef statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_CosmicPowerTrySpDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_CosmicPowerTrySpDef jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_CosmicPowerTrySpDef
printfromtable gStatUpStringIds printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
BattleScript_CosmicPowerTrySpDef:: BattleScript_CosmicPowerTrySpDef::
setstatchanger STAT_SPDEF, 1, FALSE setstatchanger STAT_SPDEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CosmicPowerEnd statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_CosmicPowerEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_CosmicPowerEnd jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_CosmicPowerEnd
printfromtable gStatUpStringIds printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
@@ -2722,13 +2725,13 @@ BattleScript_BulkUpDoMoveAnim::
setbyte sSTAT_ANIM_PLAYED, FALSE setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_DEF, 0 playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_DEF, 0
setstatchanger STAT_ATK, 1, FALSE setstatchanger STAT_ATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_BulkUpTryDef statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_BulkUpTryDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_BulkUpTryDef jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_BulkUpTryDef
printfromtable gStatUpStringIds printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
BattleScript_BulkUpTryDef:: BattleScript_BulkUpTryDef::
setstatchanger STAT_DEF, 1, FALSE setstatchanger STAT_DEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_BulkUpEnd statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_BulkUpEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_BulkUpEnd jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_BulkUpEnd
printfromtable gStatUpStringIds printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
@@ -2747,13 +2750,13 @@ BattleScript_CalmMindDoMoveAnim::
setbyte sSTAT_ANIM_PLAYED, FALSE setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_SPATK | BIT_SPDEF, 0 playstatchangeanimation BS_ATTACKER, BIT_SPATK | BIT_SPDEF, 0
setstatchanger STAT_SPATK, 1, FALSE setstatchanger STAT_SPATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CalmMindTrySpDef statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_CalmMindTrySpDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_CalmMindTrySpDef jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_CalmMindTrySpDef
printfromtable gStatUpStringIds printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
BattleScript_CalmMindTrySpDef:: BattleScript_CalmMindTrySpDef::
setstatchanger STAT_SPDEF, 1, FALSE setstatchanger STAT_SPDEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_CalmMindEnd statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_CalmMindEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_CalmMindEnd jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_CalmMindEnd
printfromtable gStatUpStringIds printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
@@ -2779,13 +2782,13 @@ BattleScript_DragonDanceDoMoveAnim::
setbyte sSTAT_ANIM_PLAYED, FALSE setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_SPEED, 0 playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_SPEED, 0
setstatchanger STAT_ATK, 1, FALSE setstatchanger STAT_ATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_DragonDanceTrySpeed statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_DragonDanceTrySpeed
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_DragonDanceTrySpeed jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_DragonDanceTrySpeed
printfromtable gStatUpStringIds printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
BattleScript_DragonDanceTrySpeed:: BattleScript_DragonDanceTrySpeed::
setstatchanger STAT_SPEED, 1, FALSE setstatchanger STAT_SPEED, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_DragonDanceEnd statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_DragonDanceEnd
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_DragonDanceEnd jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_INCREASE, BattleScript_DragonDanceEnd
printfromtable gStatUpStringIds printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
@@ -3456,27 +3459,27 @@ BattleScript_AllStatsUpAtk::
setbyte sSTAT_ANIM_PLAYED, FALSE setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_DEF | BIT_SPEED | BIT_SPATK | BIT_SPDEF, 0 playstatchangeanimation BS_ATTACKER, BIT_ATK | BIT_DEF | BIT_SPEED | BIT_SPATK | BIT_SPDEF, 0
setstatchanger STAT_ATK, 1, FALSE setstatchanger STAT_ATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_AllStatsUpDef statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_AllStatsUpDef
printfromtable gStatUpStringIds printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
BattleScript_AllStatsUpDef:: BattleScript_AllStatsUpDef::
setstatchanger STAT_DEF, 1, FALSE setstatchanger STAT_DEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_AllStatsUpSpeed statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_AllStatsUpSpeed
printfromtable gStatUpStringIds printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
BattleScript_AllStatsUpSpeed:: BattleScript_AllStatsUpSpeed::
setstatchanger STAT_SPEED, 1, FALSE setstatchanger STAT_SPEED, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_AllStatsUpSpAtk statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_AllStatsUpSpAtk
printfromtable gStatUpStringIds printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
BattleScript_AllStatsUpSpAtk:: BattleScript_AllStatsUpSpAtk::
setstatchanger STAT_SPATK, 1, FALSE setstatchanger STAT_SPATK, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_AllStatsUpSpDef statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_AllStatsUpSpDef
printfromtable gStatUpStringIds printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
BattleScript_AllStatsUpSpDef:: BattleScript_AllStatsUpSpDef::
setstatchanger STAT_SPDEF, 1, FALSE setstatchanger STAT_SPDEF, 1, FALSE
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_AllStatsUpRet statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_AllStatsUpRet
printfromtable gStatUpStringIds printfromtable gStatUpStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
BattleScript_AllStatsUpRet:: BattleScript_AllStatsUpRet::
@@ -3623,14 +3626,14 @@ BattleScript_AtkDefDown::
playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_ATK, STAT_CHANGE_CANT_PREVENT | STAT_CHANGE_NEGATIVE | STAT_CHANGE_MULTIPLE_STATS playstatchangeanimation BS_ATTACKER, BIT_DEF | BIT_ATK, STAT_CHANGE_CANT_PREVENT | STAT_CHANGE_NEGATIVE | STAT_CHANGE_MULTIPLE_STATS
playstatchangeanimation BS_ATTACKER, BIT_ATK, STAT_CHANGE_CANT_PREVENT | STAT_CHANGE_NEGATIVE playstatchangeanimation BS_ATTACKER, BIT_ATK, STAT_CHANGE_CANT_PREVENT | STAT_CHANGE_NEGATIVE
setstatchanger STAT_ATK, 1, TRUE setstatchanger STAT_ATK, 1, TRUE
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_BUFF_ALLOW_PTR, BattleScript_AtkDefDown_TryDef statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_CHANGE_ALLOW_PTR, BattleScript_AtkDefDown_TryDef
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_DECREASE, BattleScript_AtkDefDown_TryDef jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_DECREASE, BattleScript_AtkDefDown_TryDef
printfromtable gStatDownStringIds printfromtable gStatDownStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
BattleScript_AtkDefDown_TryDef:: BattleScript_AtkDefDown_TryDef::
playstatchangeanimation BS_ATTACKER, BIT_DEF, STAT_CHANGE_CANT_PREVENT | STAT_CHANGE_NEGATIVE playstatchangeanimation BS_ATTACKER, BIT_DEF, STAT_CHANGE_CANT_PREVENT | STAT_CHANGE_NEGATIVE
setstatchanger STAT_DEF, 1, TRUE setstatchanger STAT_DEF, 1, TRUE
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_BUFF_ALLOW_PTR, BattleScript_AtkDefDown_End statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_CHANGE_ALLOW_PTR, BattleScript_AtkDefDown_End
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_DECREASE, BattleScript_AtkDefDown_End jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_DECREASE, BattleScript_AtkDefDown_End
printfromtable gStatDownStringIds printfromtable gStatDownStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
@@ -3696,7 +3699,7 @@ BattleScript_SAtkDown2::
setbyte sSTAT_ANIM_PLAYED, FALSE setbyte sSTAT_ANIM_PLAYED, FALSE
playstatchangeanimation BS_ATTACKER, BIT_SPATK, STAT_CHANGE_CANT_PREVENT | STAT_CHANGE_NEGATIVE | STAT_CHANGE_BY_TWO playstatchangeanimation BS_ATTACKER, BIT_SPATK, STAT_CHANGE_CANT_PREVENT | STAT_CHANGE_NEGATIVE | STAT_CHANGE_BY_TWO
setstatchanger STAT_SPATK, 2, TRUE setstatchanger STAT_SPATK, 2, TRUE
statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_BUFF_ALLOW_PTR, BattleScript_SAtkDown2End statbuffchange MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN | STAT_CHANGE_ALLOW_PTR, BattleScript_SAtkDown2End
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_DECREASE, BattleScript_SAtkDown2End jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_WONT_DECREASE, BattleScript_SAtkDown2End
printfromtable gStatDownStringIds printfromtable gStatDownStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
@@ -4027,7 +4030,7 @@ BattleScript_IntimidateActivatesLoop:
jumpifability BS_TARGET, ABILITY_CLEAR_BODY, BattleScript_IntimidatePrevented jumpifability BS_TARGET, ABILITY_CLEAR_BODY, BattleScript_IntimidatePrevented
jumpifability BS_TARGET, ABILITY_HYPER_CUTTER, BattleScript_IntimidatePrevented jumpifability BS_TARGET, ABILITY_HYPER_CUTTER, BattleScript_IntimidatePrevented
jumpifability BS_TARGET, ABILITY_WHITE_SMOKE, BattleScript_IntimidatePrevented jumpifability BS_TARGET, ABILITY_WHITE_SMOKE, BattleScript_IntimidatePrevented
statbuffchange STAT_BUFF_NOT_PROTECT_AFFECTED | STAT_BUFF_ALLOW_PTR, BattleScript_IntimidateActivatesLoopIncrement statbuffchange STAT_CHANGE_NOT_PROTECT_AFFECTED | STAT_CHANGE_ALLOW_PTR, BattleScript_IntimidateActivatesLoopIncrement
jumpifbyte CMP_GREATER_THAN, cMULTISTRING_CHOOSER, 1, BattleScript_IntimidateActivatesLoopIncrement jumpifbyte CMP_GREATER_THAN, cMULTISTRING_CHOOSER, 1, BattleScript_IntimidateActivatesLoopIncrement
setgraphicalstatchangevalues setgraphicalstatchangevalues
playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1 playanimation BS_TARGET, B_ANIM_STATS_CHANGE, sB_ANIM_ARG1
@@ -4406,7 +4409,7 @@ BattleScript_BerryConfuseHealEnd2::
BattleScript_BerryStatRaiseEnd2:: BattleScript_BerryStatRaiseEnd2::
playanimation BS_ATTACKER, B_ANIM_HELD_ITEM_EFFECT playanimation BS_ATTACKER, B_ANIM_HELD_ITEM_EFFECT
statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_BUFF_ALLOW_PTR, BattleScript_BerryStatRaiseDoStatUp statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_BerryStatRaiseDoStatUp
BattleScript_BerryStatRaiseDoStatUp:: BattleScript_BerryStatRaiseDoStatUp::
setbyte cMULTISTRING_CHOOSER, B_MSG_STAT_ROSE_ITEM setbyte cMULTISTRING_CHOOSER, B_MSG_STAT_ROSE_ITEM
call BattleScript_StatUp call BattleScript_StatUp
@@ -4480,7 +4483,7 @@ BattleScript_ArenaDoJudgment::
arenajudgmentstring B_MSG_REF_THATS_IT arenajudgmentstring B_MSG_REF_THATS_IT
arenawaitmessage B_MSG_REF_THATS_IT arenawaitmessage B_MSG_REF_THATS_IT
pause B_WAIT_TIME_LONG pause B_WAIT_TIME_LONG
setbyte gBattleCommunication, 0 setbyte gBattleCommunication, 0 @ Reset state for arenajudgmentwindow
arenajudgmentwindow arenajudgmentwindow
pause B_WAIT_TIME_LONG pause B_WAIT_TIME_LONG
arenajudgmentwindow arenajudgmentwindow
@@ -4493,8 +4496,9 @@ BattleScript_ArenaDoJudgment::
arenajudgmentstring B_MSG_REF_JUDGE_BODY arenajudgmentstring B_MSG_REF_JUDGE_BODY
arenawaitmessage B_MSG_REF_JUDGE_BODY arenawaitmessage B_MSG_REF_JUDGE_BODY
arenajudgmentwindow arenajudgmentwindow
jumpifbyte CMP_EQUAL, gBattleCommunication + 1, 3, BattleScript_ArenaJudgmentPlayerLoses jumpifbyte CMP_EQUAL, gBattleCommunication + 1, ARENA_RESULT_PLAYER_LOST, BattleScript_ArenaJudgmentPlayerLoses
jumpifbyte CMP_EQUAL, gBattleCommunication + 1, 4, BattleScript_ArenaJudgmentDraw jumpifbyte CMP_EQUAL, gBattleCommunication + 1, ARENA_RESULT_TIE, BattleScript_ArenaJudgmentDraw
@ ARENA_RESULT_PLAYER_WON
arenajudgmentstring B_MSG_REF_PLAYER_WON arenajudgmentstring B_MSG_REF_PLAYER_WON
arenawaitmessage B_MSG_REF_PLAYER_WON arenawaitmessage B_MSG_REF_PLAYER_WON
arenajudgmentwindow arenajudgmentwindow
+18 -2
View File
@@ -435,11 +435,15 @@ AI_CGM_BetterWhenAudienceExcited:
AI_CGM_BetterWhenAudienceExcited_1stUp: AI_CGM_BetterWhenAudienceExcited_1stUp:
@ BUG: Should be if_appeal_num_eq 0 @ BUG: Should be if_appeal_num_eq 0
@ 1st up on 1st appeal excitement will always be 0 @ 1st up on 1st appeal excitement will always be 0
if_appeal_num_not_eq 0, AI_CGM_BetterWhenAudienceExcited_Not1stAppeal .ifdef BUGFIX
if_appeal_num_eq 0, AI_CGM_BetterWhenAudienceExcited_1stAppeal
.else
if_appeal_num_not_eq 0, AI_CGM_BetterWhenAudienceExcited_1stAppeal
.endif
if_excitement_eq 4, AI_CGM_BetterWhenAudienceExcited_1AwayFromMax if_excitement_eq 4, AI_CGM_BetterWhenAudienceExcited_1AwayFromMax
if_excitement_eq 3, AI_CGM_BetterWhenAudienceExcited_2AwayFromMax if_excitement_eq 3, AI_CGM_BetterWhenAudienceExcited_2AwayFromMax
end end
AI_CGM_BetterWhenAudienceExcited_Not1stAppeal: AI_CGM_BetterWhenAudienceExcited_1stAppeal:
if_random_less_than 125, AI_CGM_End if_random_less_than 125, AI_CGM_End
score -15 score -15
end end
@@ -542,7 +546,11 @@ AI_CGM_TargetMonWithJudgesAttention:
end end
AI_CGM_TargetMonWithJudgesAttention_CheckMon1: AI_CGM_TargetMonWithJudgesAttention_CheckMon1:
if_cannot_participate MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2 if_cannot_participate MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
.ifdef BUGFIX
if_not_used_combo_starter MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
.else
if_used_combo_starter MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2 if_used_combo_starter MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
.endif
if_random_less_than 125, AI_CGM_TargetMonWithJudgesAttention_CheckMon2 if_random_less_than 125, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
score +2 score +2
if_not_completed_combo MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2 if_not_completed_combo MON_1, AI_CGM_TargetMonWithJudgesAttention_CheckMon2
@@ -551,7 +559,11 @@ AI_CGM_TargetMonWithJudgesAttention_CheckMon1:
AI_CGM_TargetMonWithJudgesAttention_CheckMon2: AI_CGM_TargetMonWithJudgesAttention_CheckMon2:
if_user_order_eq MON_2, AI_CGM_End if_user_order_eq MON_2, AI_CGM_End
if_cannot_participate MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3 if_cannot_participate MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
.ifdef BUGFIX
if_not_used_combo_starter MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
.else
if_used_combo_starter MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3 if_used_combo_starter MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
.endif
if_random_less_than 125, AI_CGM_TargetMonWithJudgesAttention_CheckMon3 if_random_less_than 125, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
score +2 score +2
if_not_completed_combo MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3 if_not_completed_combo MON_2, AI_CGM_TargetMonWithJudgesAttention_CheckMon3
@@ -560,7 +572,11 @@ AI_CGM_TargetMonWithJudgesAttention_CheckMon2:
AI_CGM_TargetMonWithJudgesAttention_CheckMon3: AI_CGM_TargetMonWithJudgesAttention_CheckMon3:
if_user_order_eq MON_3, AI_CGM_End if_user_order_eq MON_3, AI_CGM_End
if_cannot_participate MON_3, AI_CGM_End if_cannot_participate MON_3, AI_CGM_End
.ifdef BUGFIX
if_not_used_combo_starter MON_3, AI_CGM_End
.else
if_used_combo_starter MON_3, AI_CGM_End if_used_combo_starter MON_3, AI_CGM_End
.endif
if_random_less_than 125, AI_CGM_End if_random_less_than 125, AI_CGM_End
score +2 score +2
if_not_completed_combo MON_3, AI_CGM_End if_not_completed_combo MON_3, AI_CGM_End
@@ -47,14 +47,14 @@
"y": 6, "y": 6,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_DECK", "dest_map": "MAP_ABANDONED_SHIP_DECK",
"dest_warp_id": 4 "dest_warp_id": "4"
}, },
{ {
"x": 8, "x": 8,
"y": 6, "y": 6,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_DECK", "dest_map": "MAP_ABANDONED_SHIP_DECK",
"dest_warp_id": 4 "dest_warp_id": "4"
} }
], ],
"coord_events": [], "coord_events": [],
+12 -12
View File
@@ -47,84 +47,84 @@
"y": 11, "y": 11,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_DECK", "dest_map": "MAP_ABANDONED_SHIP_DECK",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 8, "x": 8,
"y": 11, "y": 11,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_DECK", "dest_map": "MAP_ABANDONED_SHIP_DECK",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 0, "x": 0,
"y": 11, "y": 11,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_DECK", "dest_map": "MAP_ABANDONED_SHIP_DECK",
"dest_warp_id": 3 "dest_warp_id": "3"
}, },
{ {
"x": 1, "x": 1,
"y": 11, "y": 11,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_DECK", "dest_map": "MAP_ABANDONED_SHIP_DECK",
"dest_warp_id": 3 "dest_warp_id": "3"
}, },
{ {
"x": 11, "x": 11,
"y": 9, "y": 9,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_ROOMS_1F", "dest_map": "MAP_ABANDONED_SHIP_ROOMS_1F",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 14, "x": 14,
"y": 9, "y": 9,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_ROOMS_1F", "dest_map": "MAP_ABANDONED_SHIP_ROOMS_1F",
"dest_warp_id": 3 "dest_warp_id": "3"
}, },
{ {
"x": 11, "x": 11,
"y": 3, "y": 3,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_ROOMS_1F", "dest_map": "MAP_ABANDONED_SHIP_ROOMS_1F",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 14, "x": 14,
"y": 3, "y": 3,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_ROOMS_1F", "dest_map": "MAP_ABANDONED_SHIP_ROOMS_1F",
"dest_warp_id": 4 "dest_warp_id": "4"
}, },
{ {
"x": 3, "x": 3,
"y": 9, "y": 9,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_ROOMS2_1F", "dest_map": "MAP_ABANDONED_SHIP_ROOMS2_1F",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 16, "x": 16,
"y": 2, "y": 2,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F",
"dest_warp_id": 7 "dest_warp_id": "7"
}, },
{ {
"x": 5, "x": 5,
"y": 2, "y": 2,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F",
"dest_warp_id": 6 "dest_warp_id": "6"
}, },
{ {
"x": 3, "x": 3,
"y": 3, "y": 3,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_ROOMS2_1F", "dest_map": "MAP_ABANDONED_SHIP_ROOMS2_1F",
"dest_warp_id": 2 "dest_warp_id": "2"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -47,56 +47,56 @@
"y": 4, "y": 4,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_ROOMS2_B1F", "dest_map": "MAP_ABANDONED_SHIP_ROOMS2_B1F",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 3, "x": 3,
"y": 4, "y": 4,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_ROOMS2_B1F", "dest_map": "MAP_ABANDONED_SHIP_ROOMS2_B1F",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 5, "x": 5,
"y": 7, "y": 7,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_ROOMS_B1F", "dest_map": "MAP_ABANDONED_SHIP_ROOMS_B1F",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 8, "x": 8,
"y": 7, "y": 7,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_ROOMS_B1F", "dest_map": "MAP_ABANDONED_SHIP_ROOMS_B1F",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 11, "x": 11,
"y": 7, "y": 7,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_ROOMS_B1F", "dest_map": "MAP_ABANDONED_SHIP_ROOMS_B1F",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 11, "x": 11,
"y": 4, "y": 4,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_ROOM_B1F", "dest_map": "MAP_ABANDONED_SHIP_ROOM_B1F",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 0, "x": 0,
"y": 2, "y": 2,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
"dest_warp_id": 10 "dest_warp_id": "10"
}, },
{ {
"x": 8, "x": 8,
"y": 2, "y": 2,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
"dest_warp_id": 9 "dest_warp_id": "9"
} }
], ],
"coord_events": [], "coord_events": [],
+5 -5
View File
@@ -20,35 +20,35 @@
"y": 15, "y": 15,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ROUTE108", "dest_map": "MAP_ROUTE108",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 14, "x": 14,
"y": 15, "y": 15,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ROUTE108", "dest_map": "MAP_ROUTE108",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 13, "x": 13,
"y": 9, "y": 9,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 8, "x": 8,
"y": 9, "y": 9,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 12, "x": 12,
"y": 5, "y": 5,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CAPTAINS_OFFICE", "dest_map": "MAP_ABANDONED_SHIP_CAPTAINS_OFFICE",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -20,42 +20,42 @@
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS", "dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 6, "x": 6,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS", "dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 9, "x": 9,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS", "dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS",
"dest_warp_id": 4 "dest_warp_id": "4"
}, },
{ {
"x": 3, "x": 3,
"y": 3, "y": 3,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS", "dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS",
"dest_warp_id": 6 "dest_warp_id": "6"
}, },
{ {
"x": 6, "x": 6,
"y": 3, "y": 3,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS", "dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS",
"dest_warp_id": 7 "dest_warp_id": "7"
}, },
{ {
"x": 9, "x": 9,
"y": 3, "y": 3,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS", "dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS",
"dest_warp_id": 8 "dest_warp_id": "8"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -51,7 +51,7 @@
"trainer_type": "TRAINER_TYPE_NONE", "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_HiddenFloorRooms_EventScript_ItemTM18", "script": "AbandonedShip_HiddenFloorRooms_EventScript_ItemTM18",
"flag": "FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_1_TM_18" "flag": "FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_1_TM18"
}, },
{ {
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL", "graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
@@ -73,63 +73,63 @@
"y": 14, "y": 14,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS", "dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 7, "x": 7,
"y": 14, "y": 14,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS", "dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 21, "x": 21,
"y": 14, "y": 14,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS", "dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 22, "x": 22,
"y": 14, "y": 14,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS", "dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 36, "x": 36,
"y": 14, "y": 14,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS", "dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 37, "x": 37,
"y": 14, "y": 14,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS", "dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 6, "x": 6,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS", "dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS",
"dest_warp_id": 3 "dest_warp_id": "3"
}, },
{ {
"x": 21, "x": 21,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS", "dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS",
"dest_warp_id": 4 "dest_warp_id": "4"
}, },
{ {
"x": 36, "x": 36,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS", "dest_map": "MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS",
"dest_warp_id": 5 "dest_warp_id": "5"
} }
], ],
"coord_events": [], "coord_events": [],
+3 -3
View File
@@ -25,7 +25,7 @@
"trainer_type": "TRAINER_TYPE_NONE", "trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0", "trainer_sight_or_berry_tree_id": "0",
"script": "AbandonedShip_Room_B1F_EventScript_ItemTM13", "script": "AbandonedShip_Room_B1F_EventScript_ItemTM13",
"flag": "FLAG_ITEM_ABANDONED_SHIP_ROOMS_B1F_TM_13" "flag": "FLAG_ITEM_ABANDONED_SHIP_ROOMS_B1F_TM13"
} }
], ],
"warp_events": [ "warp_events": [
@@ -34,14 +34,14 @@
"y": 7, "y": 7,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F",
"dest_warp_id": 5 "dest_warp_id": "5"
}, },
{ {
"x": 5, "x": 5,
"y": 7, "y": 7,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F",
"dest_warp_id": 5 "dest_warp_id": "5"
} }
], ],
"coord_events": [], "coord_events": [],
+3 -3
View File
@@ -86,21 +86,21 @@
"y": 16, "y": 16,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
"dest_warp_id": 8 "dest_warp_id": "8"
}, },
{ {
"x": 5, "x": 5,
"y": 16, "y": 16,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
"dest_warp_id": 8 "dest_warp_id": "8"
}, },
{ {
"x": 4, "x": 4,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
"dest_warp_id": 11 "dest_warp_id": "11"
} }
], ],
"coord_events": [], "coord_events": [],
+4 -4
View File
@@ -47,28 +47,28 @@
"y": 7, "y": 7,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 5, "x": 5,
"y": 7, "y": 7,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 13, "x": 13,
"y": 7, "y": 7,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 14, "x": 14,
"y": 7, "y": 7,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
+6 -6
View File
@@ -73,42 +73,42 @@
"y": 16, "y": 16,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
"dest_warp_id": 4 "dest_warp_id": "4"
}, },
{ {
"x": 5, "x": 5,
"y": 16, "y": 16,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
"dest_warp_id": 4 "dest_warp_id": "4"
}, },
{ {
"x": 4, "x": 4,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
"dest_warp_id": 6 "dest_warp_id": "6"
}, },
{ {
"x": 13, "x": 13,
"y": 16, "y": 16,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
"dest_warp_id": 5 "dest_warp_id": "5"
}, },
{ {
"x": 13, "x": 13,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
"dest_warp_id": 7 "dest_warp_id": "7"
}, },
{ {
"x": 14, "x": 14,
"y": 16, "y": 16,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_1F",
"dest_warp_id": 5 "dest_warp_id": "5"
} }
], ],
"coord_events": [], "coord_events": [],
+3 -3
View File
@@ -47,21 +47,21 @@
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 13, "x": 13,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F",
"dest_warp_id": 3 "dest_warp_id": "3"
}, },
{ {
"x": 22, "x": 22,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F", "dest_map": "MAP_ABANDONED_SHIP_CORRIDORS_B1F",
"dest_warp_id": 4 "dest_warp_id": "4"
} }
], ],
"coord_events": [], "coord_events": [],
+2 -2
View File
@@ -20,14 +20,14 @@
"y": 7, "y": 7,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_UNDERWATER2", "dest_map": "MAP_ABANDONED_SHIP_UNDERWATER2",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 4, "x": 4,
"y": 7, "y": 7,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_UNDERWATER2", "dest_map": "MAP_ABANDONED_SHIP_UNDERWATER2",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
+1 -1
View File
@@ -20,7 +20,7 @@
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ABANDONED_SHIP_UNDERWATER1", "dest_map": "MAP_ABANDONED_SHIP_UNDERWATER1",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
+1 -1
View File
@@ -20,7 +20,7 @@
"y": 22, "y": 22,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_ROUTE103", "dest_map": "MAP_ROUTE103",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
+3 -3
View File
@@ -34,21 +34,21 @@
"y": 29, "y": 29,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ROUTE120", "dest_map": "MAP_ROUTE120",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 8, "x": 8,
"y": 20, "y": 20,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_ANCIENT_TOMB", "dest_map": "MAP_ANCIENT_TOMB",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 8, "x": 8,
"y": 11, "y": 11,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ANCIENT_TOMB", "dest_map": "MAP_ANCIENT_TOMB",
"dest_warp_id": 1 "dest_warp_id": "1"
} }
], ],
"coord_events": [], "coord_events": [],
+3 -3
View File
@@ -60,21 +60,21 @@
"y": 27, "y": 27,
"elevation": 1, "elevation": 1,
"dest_map": "MAP_LILYCOVE_CITY", "dest_map": "MAP_LILYCOVE_CITY",
"dest_warp_id": 6 "dest_warp_id": "6"
}, },
{ {
"x": 14, "x": 14,
"y": 27, "y": 27,
"elevation": 1, "elevation": 1,
"dest_map": "MAP_LILYCOVE_CITY", "dest_map": "MAP_LILYCOVE_CITY",
"dest_warp_id": 6 "dest_warp_id": "6"
}, },
{ {
"x": 22, "x": 22,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
+25 -25
View File
@@ -138,175 +138,175 @@
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_1F", "dest_map": "MAP_AQUA_HIDEOUT_1F",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 18, "x": 18,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B2F", "dest_map": "MAP_AQUA_HIDEOUT_B2F",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 12, "x": 12,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B2F", "dest_map": "MAP_AQUA_HIDEOUT_B2F",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 3, "x": 3,
"y": 3, "y": 3,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B2F", "dest_map": "MAP_AQUA_HIDEOUT_B2F",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 31, "x": 31,
"y": 4, "y": 4,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 7 "dest_warp_id": "7"
}, },
{ {
"x": 27, "x": 27,
"y": 4, "y": 4,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 8 "dest_warp_id": "8"
}, },
{ {
"x": 20, "x": 20,
"y": 4, "y": 4,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 10 "dest_warp_id": "10"
}, },
{ {
"x": 27, "x": 27,
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 4 "dest_warp_id": "4"
}, },
{ {
"x": 3, "x": 3,
"y": 15, "y": 15,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 5 "dest_warp_id": "5"
}, },
{ {
"x": 3, "x": 3,
"y": 20, "y": 20,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 12 "dest_warp_id": "12"
}, },
{ {
"x": 32, "x": 32,
"y": 19, "y": 19,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 6 "dest_warp_id": "6"
}, },
{ {
"x": 23, "x": 23,
"y": 10, "y": 10,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 22 "dest_warp_id": "22"
}, },
{ {
"x": 45, "x": 45,
"y": 3, "y": 3,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 9 "dest_warp_id": "9"
}, },
{ {
"x": 42, "x": 42,
"y": 5, "y": 5,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 18 "dest_warp_id": "18"
}, },
{ {
"x": 45, "x": 45,
"y": 5, "y": 5,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 12 "dest_warp_id": "12"
}, },
{ {
"x": 48, "x": 48,
"y": 5, "y": 5,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 16 "dest_warp_id": "16"
}, },
{ {
"x": 42, "x": 42,
"y": 9, "y": 9,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 15 "dest_warp_id": "15"
}, },
{ {
"x": 45, "x": 45,
"y": 9, "y": 9,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 20 "dest_warp_id": "20"
}, },
{ {
"x": 48, "x": 48,
"y": 9, "y": 9,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 13 "dest_warp_id": "13"
}, },
{ {
"x": 42, "x": 42,
"y": 13, "y": 13,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 24 "dest_warp_id": "24"
}, },
{ {
"x": 45, "x": 45,
"y": 13, "y": 13,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 17 "dest_warp_id": "17"
}, },
{ {
"x": 48, "x": 48,
"y": 13, "y": 13,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 12 "dest_warp_id": "12"
}, },
{ {
"x": 42, "x": 42,
"y": 17, "y": 17,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 11 "dest_warp_id": "11"
}, },
{ {
"x": 45, "x": 45,
"y": 17, "y": 17,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 17 "dest_warp_id": "17"
}, },
{ {
"x": 48, "x": 48,
"y": 17, "y": 17,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 19 "dest_warp_id": "19"
} }
], ],
"coord_events": [], "coord_events": [],
+10 -10
View File
@@ -99,70 +99,70 @@
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 12, "x": 12,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 3, "x": 3,
"y": 3, "y": 3,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 3 "dest_warp_id": "3"
}, },
{ {
"x": 31, "x": 31,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B2F", "dest_map": "MAP_AQUA_HIDEOUT_B2F",
"dest_warp_id": 5 "dest_warp_id": "5"
}, },
{ {
"x": 8, "x": 8,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B2F", "dest_map": "MAP_AQUA_HIDEOUT_B2F",
"dest_warp_id": 8 "dest_warp_id": "8"
}, },
{ {
"x": 5, "x": 5,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B2F", "dest_map": "MAP_AQUA_HIDEOUT_B2F",
"dest_warp_id": 3 "dest_warp_id": "3"
}, },
{ {
"x": 18, "x": 18,
"y": 13, "y": 13,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B2F", "dest_map": "MAP_AQUA_HIDEOUT_B2F",
"dest_warp_id": 7 "dest_warp_id": "7"
}, },
{ {
"x": 12, "x": 12,
"y": 13, "y": 13,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B2F", "dest_map": "MAP_AQUA_HIDEOUT_B2F",
"dest_warp_id": 6 "dest_warp_id": "6"
}, },
{ {
"x": 31, "x": 31,
"y": 17, "y": 17,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B2F", "dest_map": "MAP_AQUA_HIDEOUT_B2F",
"dest_warp_id": 4 "dest_warp_id": "4"
}, },
{ {
"x": 32, "x": 32,
"y": 20, "y": 20,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_AQUA_HIDEOUT_B1F", "dest_map": "MAP_AQUA_HIDEOUT_B1F",
"dest_warp_id": 4 "dest_warp_id": "4"
} }
], ],
"coord_events": [ "coord_events": [
+2 -2
View File
@@ -34,14 +34,14 @@
"y": 17, "y": 17,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 13 "dest_warp_id": "13"
}, },
{ {
"x": 6, "x": 6,
"y": 5, "y": 5,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_ARTISAN_CAVE_B1F", "dest_map": "MAP_ARTISAN_CAVE_B1F",
"dest_warp_id": 1 "dest_warp_id": "1"
} }
], ],
"coord_events": [], "coord_events": [],
+2 -2
View File
@@ -34,14 +34,14 @@
"y": 48, "y": 48,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 10 "dest_warp_id": "10"
}, },
{ {
"x": 38, "x": 38,
"y": 5, "y": 5,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_ARTISAN_CAVE_1F", "dest_map": "MAP_ARTISAN_CAVE_1F",
"dest_warp_id": 1 "dest_warp_id": "1"
} }
], ],
"coord_events": [], "coord_events": [],
+4 -4
View File
@@ -33,15 +33,15 @@
"x": 6, "x": 6,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_NONE", "dest_map": "MAP_DYNAMIC",
"dest_warp_id": 127 "dest_warp_id": "WARP_ID_DYNAMIC"
}, },
{ {
"x": 7, "x": 7,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_NONE", "dest_map": "MAP_DYNAMIC",
"dest_warp_id": 127 "dest_warp_id": "WARP_ID_DYNAMIC"
} }
], ],
"coord_events": [ "coord_events": [
+8 -8
View File
@@ -19,29 +19,29 @@
"x": 5, "x": 5,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_NONE", "dest_map": "MAP_DYNAMIC",
"dest_warp_id": 127 "dest_warp_id": "WARP_ID_DYNAMIC"
}, },
{ {
"x": 6, "x": 6,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_NONE", "dest_map": "MAP_DYNAMIC",
"dest_warp_id": 127 "dest_warp_id": "WARP_ID_DYNAMIC"
}, },
{ {
"x": 7, "x": 7,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_NONE", "dest_map": "MAP_DYNAMIC",
"dest_warp_id": 127 "dest_warp_id": "WARP_ID_DYNAMIC"
}, },
{ {
"x": 8, "x": 8,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_NONE", "dest_map": "MAP_DYNAMIC",
"dest_warp_id": 127 "dest_warp_id": "WARP_ID_DYNAMIC"
} }
], ],
"coord_events": [ "coord_events": [
@@ -86,7 +86,7 @@
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 1 "dest_warp_id": "1"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -5,6 +5,10 @@
.set LOCALID_PLAYER, 13 .set LOCALID_PLAYER, 13
.set LOCALID_OPPONENT, 15 .set LOCALID_OPPONENT, 15
.set NO_DRAW, 0
.set DRAW_TRAINER, 1
.set DRAW_TUCKER, 2
BattleFrontier_BattleDomeBattleRoom_MapScripts:: BattleFrontier_BattleDomeBattleRoom_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattleDomeBattleRoom_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, BattleFrontier_BattleDomeBattleRoom_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleDomeBattleRoom_OnFrame map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattleDomeBattleRoom_OnFrame
@@ -12,10 +16,6 @@ BattleFrontier_BattleDomeBattleRoom_MapScripts::
map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattleDomeBattleRoom_OnResume map_script MAP_SCRIPT_ON_RESUME, BattleFrontier_BattleDomeBattleRoom_OnResume
.byte 0 .byte 0
.set NO_DRAW, 0
.set DRAW_TRAINER, 1
.set DRAW_TUCKER, 2
BattleFrontier_BattleDomeBattleRoom_OnTransition: BattleFrontier_BattleDomeBattleRoom_OnTransition:
dome_setopponentgfx dome_setopponentgfx
frontier_get FRONTIER_DATA_BATTLE_NUM frontier_get FRONTIER_DATA_BATTLE_NUM
@@ -34,14 +34,14 @@
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 7, "x": 7,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 1 "dest_warp_id": "1"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -99,14 +99,14 @@
"y": 16, "y": 16,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 12, "x": 12,
"y": 16, "y": 16,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 1 "dest_warp_id": "1"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -34,14 +34,14 @@
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 7, "x": 7,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 1 "dest_warp_id": "1"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -99,14 +99,14 @@
"y": 11, "y": 11,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 10, "x": 10,
"y": 11, "y": 11,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 2 "dest_warp_id": "2"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -86,14 +86,14 @@
"y": 9, "y": 9,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 1, "x": 1,
"y": 9, "y": 9,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR",
"dest_warp_id": 2 "dest_warp_id": "2"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -112,28 +112,28 @@
"y": 13, "y": 13,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 9, "x": 9,
"y": 13, "y": 13,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 6, "x": 6,
"y": 3, "y": 3,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 10, "x": 10,
"y": 3, "y": 3,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -99,21 +99,21 @@
"y": 11, "y": 11,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 13, "x": 13,
"y": 11, "y": 11,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 5, "x": 5,
"y": 4, "y": 4,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -472,8 +472,8 @@ BattleFrontier_BattlePalaceLobby_Text_FeatWillBeRecorded:
@ Unused @ Unused
BattleFrontier_BattlePalaceLobby_Text_BattlePointsFor7WinStreak: BattleFrontier_BattlePalaceLobby_Text_BattlePointsFor7WinStreak:
.string "For the feat of your 7-win streak,\n" .string "For the feat of your 7-win streak,\n"
.string "we present you with Battle Point(s).$" .string "we present you with Battle Point(s).$"
BattleFrontier_BattlePalaceLobby_Text_NoSpaceForPrize: BattleFrontier_BattlePalaceLobby_Text_NoSpaceForPrize:
.string "You seem to have no space for\n" .string "You seem to have no space for\n"
@@ -73,21 +73,21 @@
"y": 12, "y": 12,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 4, "x": 4,
"y": 12, "y": 12,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 6, "x": 6,
"y": 12, "y": 12,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -364,7 +364,8 @@ BattleFrontier_BattlePikeLobby_Text_AwardYouTheseBattlePoints2:
@ Unused @ Unused
BattleFrontier_BattlePikeLobby_Text_ReachedBattlePointLimit: BattleFrontier_BattlePikeLobby_Text_ReachedBattlePointLimit:
.string "You appear to have reached the limit\n" .string "You appear to have reached the limit\n"
.string "for Battle Points…\pPlease exchange some Battle Points\n" .string "for Battle Points…\p"
.string "Please exchange some Battle Points\n"
.string "for prizes, then return…$" .string "for prizes, then return…$"
BattleFrontier_BattlePikeLobby_Text_FailedToSaveBeforeQuitting: BattleFrontier_BattlePikeLobby_Text_FailedToSaveBeforeQuitting:
@@ -73,7 +73,7 @@
"y": 17, "y": 17,
"elevation": 4, "elevation": 4,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 3 "dest_warp_id": "3"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -60,14 +60,14 @@
"y": 8, "y": 8,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 6, "x": 6,
"y": 8, "y": 8,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY",
"dest_warp_id": 2 "dest_warp_id": "2"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -138,21 +138,21 @@
"y": 9, "y": 9,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 13, "x": 13,
"y": 9, "y": 9,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 6, "x": 6,
"y": 1, "y": 1,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -411,7 +411,13 @@ BattleFrontier_BattleTowerLobby_EventScript_SaveBeforeLinkMultisChallenge::
special LoadPlayerParty special LoadPlayerParty
closemessage closemessage
delay 2 delay 2
@ The command tower_save ultimately calls TrySavingData(SAVE_LINK), which writes data in SaveBlock1 and SaveBlock2
@ to the flash, but not data in PokemonStorage. The SaveGame script that follows asks the player to do a full save,
@ which they can opt out of. As a result the player can save their party and quit without having saved the PC.
@ This allows players to clone pokemon and their held items by withdrawing them (or erase them by despositing).
.ifndef BUGFIX
tower_save 0 tower_save 0
.endif
call Common_EventScript_SaveGame call Common_EventScript_SaveGame
setvar VAR_TEMP_0, 255 setvar VAR_TEMP_0, 255
goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleTowerLobby_EventScript_CancelChallengeSaveFailed goto_if_eq VAR_RESULT, 0, BattleFrontier_BattleTowerLobby_EventScript_CancelChallengeSaveFailed
@@ -911,7 +917,7 @@ BattleFrontier_BattleTowerLobby_EventScript_ExitRules::
end end
@ Unused @ Unused
BattleFrontier_BattleTowerLobby_EventScript_DirectYouToBattleRoom: BattleFrontier_BattleTowerLobby_Text_DirectYouToBattleRoom:
.string "I'll direct you to your BATTLE ROOM now.$" .string "I'll direct you to your BATTLE ROOM now.$"
BattleFrontier_BattleTowerLobby_Text_DidntSaveBeforeQuitting: BattleFrontier_BattleTowerLobby_Text_DidntSaveBeforeQuitting:
@@ -138,21 +138,21 @@
"y": 10, "y": 10,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 6 "dest_warp_id": "6"
}, },
{ {
"x": 6, "x": 6,
"y": 10, "y": 10,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 6 "dest_warp_id": "6"
}, },
{ {
"x": 8, "x": 8,
"y": 10, "y": 10,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 6 "dest_warp_id": "6"
} }
], ],
"coord_events": [], "coord_events": [],
+1 -1
View File
@@ -60,7 +60,7 @@
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 5 "dest_warp_id": "5"
} }
], ],
"coord_events": [], "coord_events": [],
+2 -2
View File
@@ -86,14 +86,14 @@
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 3 "dest_warp_id": "3"
}, },
{ {
"x": 2, "x": 2,
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 3 "dest_warp_id": "3"
} }
], ],
"coord_events": [], "coord_events": [],
+14 -12
View File
@@ -22,18 +22,20 @@ BattleFrontier_Lounge2_EventScript_AlreadyMetManiac::
end end
BattleFrontier_Lounge2_EventScript_GiveAdvice:: BattleFrontier_Lounge2_EventScript_GiveAdvice::
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, 0, BattleFrontier_Lounge2_EventScript_BufferSingle call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_TOWER_SINGLES, BattleFrontier_Lounge2_EventScript_BufferSingle
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, 1, BattleFrontier_Lounge2_EventScript_BufferDouble call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_TOWER_DOUBLES, BattleFrontier_Lounge2_EventScript_BufferDouble
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, 2, BattleFrontier_Lounge2_EventScript_BufferMulti call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_TOWER_MULTIS, BattleFrontier_Lounge2_EventScript_BufferMulti
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, 3, BattleFrontier_Lounge2_EventScript_BufferMultiLink call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_TOWER_LINK, BattleFrontier_Lounge2_EventScript_BufferMultiLink
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, 4, BattleFrontier_Lounge2_EventScript_BufferBattleDome call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_DOME, BattleFrontier_Lounge2_EventScript_BufferBattleDome
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, 5, BattleFrontier_Lounge2_EventScript_BufferBattleFactory call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_FACTORY, BattleFrontier_Lounge2_EventScript_BufferBattleFactory
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, 6, BattleFrontier_Lounge2_EventScript_BufferBattlePalace call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_PALACE, BattleFrontier_Lounge2_EventScript_BufferBattlePalace
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, 7, BattleFrontier_Lounge2_EventScript_BufferBattleArena call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_ARENA, BattleFrontier_Lounge2_EventScript_BufferBattleArena
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, 8, BattleFrontier_Lounge2_EventScript_BufferBattlePike call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_PIKE, BattleFrontier_Lounge2_EventScript_BufferBattlePike
call_if_eq VAR_FRONTIER_MANIAC_FACILITY, 9, BattleFrontier_Lounge2_EventScript_BufferBattlePyramid call_if_eq VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_PYRAMID, BattleFrontier_Lounge2_EventScript_BufferBattlePyramid
call_if_le VAR_FRONTIER_MANIAC_FACILITY, 3, BattleFrontier_Lounge2_EventScript_BattleTowerNews @ <= FRONTIER_MANIAC_TOWER_LINK is any Battle Tower mode
call_if_ge VAR_FRONTIER_MANIAC_FACILITY, 4, BattleFrontier_Lounge2_EventScript_FacilityNews call_if_le VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_TOWER_LINK, BattleFrontier_Lounge2_EventScript_BattleTowerNews
@ >= FRONTIER_MANIAC_DOME is any facility other than Battle Tower
call_if_ge VAR_FRONTIER_MANIAC_FACILITY, FRONTIER_MANIAC_DOME, BattleFrontier_Lounge2_EventScript_FacilityNews
special ShowFrontierManiacMessage special ShowFrontierManiacMessage
waitmessage waitmessage
waitbuttonpress waitbuttonpress
+1 -1
View File
@@ -86,7 +86,7 @@
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 9 "dest_warp_id": "9"
} }
], ],
"coord_events": [], "coord_events": [],
+1 -1
View File
@@ -60,7 +60,7 @@
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 6 "dest_warp_id": "6"
} }
], ],
"coord_events": [], "coord_events": [],
+2 -2
View File
@@ -73,14 +73,14 @@
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 7 "dest_warp_id": "7"
}, },
{ {
"x": 2, "x": 2,
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 7 "dest_warp_id": "7"
} }
], ],
"coord_events": [], "coord_events": [],
+1 -1
View File
@@ -34,7 +34,7 @@
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 8 "dest_warp_id": "8"
} }
], ],
"coord_events": [], "coord_events": [],
+1 -1
View File
@@ -73,7 +73,7 @@
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 7 "dest_warp_id": "7"
} }
], ],
"coord_events": [], "coord_events": [],
+1 -1
View File
@@ -60,7 +60,7 @@
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 10 "dest_warp_id": "10"
} }
], ],
"coord_events": [], "coord_events": [],
+2 -2
View File
@@ -34,14 +34,14 @@
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 11 "dest_warp_id": "11"
}, },
{ {
"x": 2, "x": 2,
"y": 9, "y": 9,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 11 "dest_warp_id": "11"
} }
], ],
"coord_events": [], "coord_events": [],
+2 -2
View File
@@ -73,14 +73,14 @@
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 4 "dest_warp_id": "4"
}, },
{ {
"x": 4, "x": 4,
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 4 "dest_warp_id": "4"
} }
], ],
"coord_events": [], "coord_events": [],
+16 -16
View File
@@ -14,9 +14,9 @@
"battle_scene": "MAP_BATTLE_SCENE_NORMAL", "battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [ "connections": [
{ {
"direction": "left", "map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"offset": 0, "offset": 0,
"map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST" "direction": "left"
} }
], ],
"object_events": [ "object_events": [
@@ -365,98 +365,98 @@
"y": 14, "y": 14,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 39, "x": 39,
"y": 29, "y": 29,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_ARENA_LOBBY", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_ARENA_LOBBY",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 45, "x": 45,
"y": 56, "y": 56,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 58, "x": 58,
"y": 14, "y": 14,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 35, "x": 35,
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_RANKING_HALL", "dest_map": "MAP_BATTLE_FRONTIER_RANKING_HALL",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 4, "x": 4,
"y": 44, "y": 44,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_LOUNGE1", "dest_map": "MAP_BATTLE_FRONTIER_LOUNGE1",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 10, "x": 10,
"y": 28, "y": 28,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER", "dest_map": "MAP_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 22, "x": 22,
"y": 51, "y": 51,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_LOUNGE5", "dest_map": "MAP_BATTLE_FRONTIER_LOUNGE5",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 5, "x": 5,
"y": 8, "y": 8,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_LOUNGE6", "dest_map": "MAP_BATTLE_FRONTIER_LOUNGE6",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 65, "x": 65,
"y": 31, "y": 31,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_LOUNGE3", "dest_map": "MAP_BATTLE_FRONTIER_LOUNGE3",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 14, "x": 14,
"y": 51, "y": 51,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_LOUNGE8", "dest_map": "MAP_BATTLE_FRONTIER_LOUNGE8",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 21, "x": 21,
"y": 45, "y": 45,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_LOUNGE9", "dest_map": "MAP_BATTLE_FRONTIER_LOUNGE9",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 3, "x": 3,
"y": 51, "y": 51,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_POKEMON_CENTER_1F", "dest_map": "MAP_BATTLE_FRONTIER_POKEMON_CENTER_1F",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 28, "x": 28,
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_ARTISAN_CAVE_1F", "dest_map": "MAP_ARTISAN_CAVE_1F",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
+13 -13
View File
@@ -14,9 +14,9 @@
"battle_scene": "MAP_BATTLE_SCENE_NORMAL", "battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [ "connections": [
{ {
"direction": "right", "map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"offset": 0, "offset": 0,
"map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST" "direction": "right"
} }
], ],
"object_events": [ "object_events": [
@@ -339,77 +339,77 @@
"y": 27, "y": 27,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 19, "x": 19,
"y": 17, "y": 17,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_DOME_LOBBY", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_DOME_LOBBY",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 11, "x": 11,
"y": 38, "y": 38,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY", "dest_map": "MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 45, "x": 45,
"y": 44, "y": 44,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_LOUNGE2", "dest_map": "MAP_BATTLE_FRONTIER_LOUNGE2",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 51, "x": 51,
"y": 51, "y": 51,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_MART", "dest_map": "MAP_BATTLE_FRONTIER_MART",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 44, "x": 44,
"y": 5, "y": 5,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_SCOTTS_HOUSE", "dest_map": "MAP_BATTLE_FRONTIER_SCOTTS_HOUSE",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 53, "x": 53,
"y": 44, "y": 44,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_LOUNGE4", "dest_map": "MAP_BATTLE_FRONTIER_LOUNGE4",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 5, "x": 5,
"y": 20, "y": 20,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_LOUNGE7", "dest_map": "MAP_BATTLE_FRONTIER_LOUNGE7",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 26, "x": 26,
"y": 65, "y": 65,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_RECEPTION_GATE", "dest_map": "MAP_BATTLE_FRONTIER_RECEPTION_GATE",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 26, "x": 26,
"y": 61, "y": 61,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_RECEPTION_GATE", "dest_map": "MAP_BATTLE_FRONTIER_RECEPTION_GATE",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 39, "x": 39,
"y": 55, "y": 55,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_ARTISAN_CAVE_B1F", "dest_map": "MAP_ARTISAN_CAVE_B1F",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -86,21 +86,21 @@
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 12 "dest_warp_id": "12"
}, },
{ {
"x": 6, "x": 6,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 12 "dest_warp_id": "12"
}, },
{ {
"x": 1, "x": 1,
"y": 6, "y": 6,
"elevation": 4, "elevation": 4,
"dest_map": "MAP_BATTLE_FRONTIER_POKEMON_CENTER_2F", "dest_map": "MAP_BATTLE_FRONTIER_POKEMON_CENTER_2F",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -73,21 +73,21 @@
"y": 6, "y": 6,
"elevation": 4, "elevation": 4,
"dest_map": "MAP_BATTLE_FRONTIER_POKEMON_CENTER_1F", "dest_map": "MAP_BATTLE_FRONTIER_POKEMON_CENTER_1F",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 5, "x": 5,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_UNION_ROOM", "dest_map": "MAP_UNION_ROOM",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 9, "x": 9,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_TRADE_CENTER", "dest_map": "MAP_TRADE_CENTER",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -60,14 +60,14 @@
"y": 14, "y": 14,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 4 "dest_warp_id": "4"
}, },
{ {
"x": 27, "x": 27,
"y": 14, "y": 14,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_EAST",
"dest_warp_id": 4 "dest_warp_id": "4"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -86,14 +86,14 @@
"y": 13, "y": 13,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 8 "dest_warp_id": "8"
}, },
{ {
"x": 4, "x": 4,
"y": 1, "y": 1,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 9 "dest_warp_id": "9"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -34,14 +34,14 @@
"y": 7, "y": 7,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 5 "dest_warp_id": "5"
}, },
{ {
"x": 3, "x": 3,
"y": 7, "y": 7,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST", "dest_map": "MAP_BATTLE_FRONTIER_OUTSIDE_WEST",
"dest_warp_id": 5 "dest_warp_id": "5"
} }
], ],
"coord_events": [], "coord_events": [],
+1 -1
View File
@@ -47,7 +47,7 @@
"y": 24, "y": 24,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BIRTH_ISLAND_HARBOR", "dest_map": "MAP_BIRTH_ISLAND_HARBOR",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
+1 -1
View File
@@ -47,7 +47,7 @@
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_BIRTH_ISLAND_EXTERIOR", "dest_map": "MAP_BIRTH_ISLAND_EXTERIOR",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
+2 -2
View File
@@ -20,14 +20,14 @@
"y": 17, "y": 17,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_CAVE_OF_ORIGIN_ENTRANCE", "dest_map": "MAP_CAVE_OF_ORIGIN_ENTRANCE",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 14, "x": 14,
"y": 5, "y": 5,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_CAVE_OF_ORIGIN_B1F", "dest_map": "MAP_CAVE_OF_ORIGIN_B1F",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
+1 -1
View File
@@ -34,7 +34,7 @@
"y": 3, "y": 3,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_CAVE_OF_ORIGIN_1F", "dest_map": "MAP_CAVE_OF_ORIGIN_1F",
"dest_warp_id": 1 "dest_warp_id": "1"
} }
], ],
"coord_events": [], "coord_events": [],
+2 -2
View File
@@ -20,14 +20,14 @@
"y": 20, "y": 20,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_SOOTOPOLIS_CITY", "dest_map": "MAP_SOOTOPOLIS_CITY",
"dest_warp_id": 3 "dest_warp_id": "3"
}, },
{ {
"x": 9, "x": 9,
"y": 5, "y": 5,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_CAVE_OF_ORIGIN_1F", "dest_map": "MAP_CAVE_OF_ORIGIN_1F",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -20,14 +20,14 @@
"y": 5, "y": 5,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_CAVE_OF_ORIGIN_1F", "dest_map": "MAP_CAVE_OF_ORIGIN_1F",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 5, "x": 5,
"y": 11, "y": 11,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP2", "dest_map": "MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP2",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -20,14 +20,14 @@
"y": 10, "y": 10,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP1", "dest_map": "MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP1",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 8, "x": 8,
"y": 14, "y": 14,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP3", "dest_map": "MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP3",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -20,14 +20,14 @@
"y": 14, "y": 14,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP2", "dest_map": "MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP2",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 12, "x": 12,
"y": 6, "y": 6,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_CAVE_OF_ORIGIN_B1F", "dest_map": "MAP_CAVE_OF_ORIGIN_B1F",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
+3 -3
View File
@@ -34,21 +34,21 @@
"y": 29, "y": 29,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_ROUTE111", "dest_map": "MAP_ROUTE111",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 8, "x": 8,
"y": 20, "y": 20,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_DESERT_RUINS", "dest_map": "MAP_DESERT_RUINS",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 8, "x": 8,
"y": 11, "y": 11,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_DESERT_RUINS", "dest_map": "MAP_DESERT_RUINS",
"dest_warp_id": 1 "dest_warp_id": "1"
} }
], ],
"coord_events": [], "coord_events": [],
+1 -1
View File
@@ -34,7 +34,7 @@
"y": 12, "y": 12,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_ROUTE114_FOSSIL_MANIACS_TUNNEL", "dest_map": "MAP_ROUTE114_FOSSIL_MANIACS_TUNNEL",
"dest_warp_id": 2 "dest_warp_id": "2"
} }
], ],
"coord_events": [], "coord_events": [],
+9 -9
View File
@@ -14,14 +14,14 @@
"battle_scene": "MAP_BATTLE_SCENE_NORMAL", "battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [ "connections": [
{ {
"direction": "up", "map": "MAP_ROUTE106",
"offset": -60, "offset": -60,
"map": "MAP_ROUTE106" "direction": "up"
}, },
{ {
"direction": "right", "map": "MAP_ROUTE107",
"offset": 0, "offset": 0,
"map": "MAP_ROUTE107" "direction": "right"
} }
], ],
"object_events": [ "object_events": [
@@ -97,35 +97,35 @@
"y": 3, "y": 3,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_DEWFORD_TOWN_HALL", "dest_map": "MAP_DEWFORD_TOWN_HALL",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 2, "x": 2,
"y": 10, "y": 10,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_DEWFORD_TOWN_POKEMON_CENTER_1F", "dest_map": "MAP_DEWFORD_TOWN_POKEMON_CENTER_1F",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 8, "x": 8,
"y": 17, "y": 17,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_DEWFORD_TOWN_GYM", "dest_map": "MAP_DEWFORD_TOWN_GYM",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 17, "x": 17,
"y": 14, "y": 14,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_DEWFORD_TOWN_HOUSE1", "dest_map": "MAP_DEWFORD_TOWN_HOUSE1",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 8, "x": 8,
"y": 8, "y": 8,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_DEWFORD_TOWN_HOUSE2", "dest_map": "MAP_DEWFORD_TOWN_HOUSE2",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
+2 -2
View File
@@ -125,14 +125,14 @@
"y": 27, "y": 27,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_DEWFORD_TOWN", "dest_map": "MAP_DEWFORD_TOWN",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 6, "x": 6,
"y": 27, "y": 27,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_DEWFORD_TOWN", "dest_map": "MAP_DEWFORD_TOWN",
"dest_warp_id": 2 "dest_warp_id": "2"
} }
], ],
"coord_events": [], "coord_events": [],
+2 -2
View File
@@ -138,14 +138,14 @@
"y": 8, "y": 8,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_DEWFORD_TOWN", "dest_map": "MAP_DEWFORD_TOWN",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 6, "x": 6,
"y": 8, "y": 8,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_DEWFORD_TOWN", "dest_map": "MAP_DEWFORD_TOWN",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
+2 -2
View File
@@ -60,14 +60,14 @@
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_DEWFORD_TOWN", "dest_map": "MAP_DEWFORD_TOWN",
"dest_warp_id": 3 "dest_warp_id": "3"
}, },
{ {
"x": 4, "x": 4,
"y": 7, "y": 7,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_DEWFORD_TOWN", "dest_map": "MAP_DEWFORD_TOWN",
"dest_warp_id": 3 "dest_warp_id": "3"
} }
], ],
"coord_events": [], "coord_events": [],
+2 -2
View File
@@ -47,14 +47,14 @@
"y": 8, "y": 8,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_DEWFORD_TOWN", "dest_map": "MAP_DEWFORD_TOWN",
"dest_warp_id": 4 "dest_warp_id": "4"
}, },
{ {
"x": 4, "x": 4,
"y": 8, "y": 8,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_DEWFORD_TOWN", "dest_map": "MAP_DEWFORD_TOWN",
"dest_warp_id": 4 "dest_warp_id": "4"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -60,21 +60,21 @@
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_DEWFORD_TOWN", "dest_map": "MAP_DEWFORD_TOWN",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 6, "x": 6,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_DEWFORD_TOWN", "dest_map": "MAP_DEWFORD_TOWN",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 1, "x": 1,
"y": 6, "y": 6,
"elevation": 4, "elevation": 4,
"dest_map": "MAP_DEWFORD_TOWN_POKEMON_CENTER_2F", "dest_map": "MAP_DEWFORD_TOWN_POKEMON_CENTER_2F",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -73,21 +73,21 @@
"y": 6, "y": 6,
"elevation": 4, "elevation": 4,
"dest_map": "MAP_DEWFORD_TOWN_POKEMON_CENTER_1F", "dest_map": "MAP_DEWFORD_TOWN_POKEMON_CENTER_1F",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 5, "x": 5,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_UNION_ROOM", "dest_map": "MAP_UNION_ROOM",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 9, "x": 9,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_TRADE_CENTER", "dest_map": "MAP_TRADE_CENTER",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
+6 -6
View File
@@ -14,9 +14,9 @@
"battle_scene": "MAP_BATTLE_SCENE_NORMAL", "battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [ "connections": [
{ {
"direction": "left", "map": "MAP_ROUTE128",
"offset": 40, "offset": 40,
"map": "MAP_ROUTE128" "direction": "left"
} }
], ],
"object_events": [], "object_events": [],
@@ -26,28 +26,28 @@
"y": 5, "y": 5,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_EVER_GRANDE_CITY_POKEMON_LEAGUE_1F", "dest_map": "MAP_EVER_GRANDE_CITY_POKEMON_LEAGUE_1F",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 27, "x": 27,
"y": 48, "y": 48,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_EVER_GRANDE_CITY_POKEMON_CENTER_1F", "dest_map": "MAP_EVER_GRANDE_CITY_POKEMON_CENTER_1F",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 18, "x": 18,
"y": 41, "y": 41,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_VICTORY_ROAD_1F", "dest_map": "MAP_VICTORY_ROAD_1F",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 18, "x": 18,
"y": 27, "y": 27,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_VICTORY_ROAD_1F", "dest_map": "MAP_VICTORY_ROAD_1F",
"dest_warp_id": 1 "dest_warp_id": "1"
} }
], ],
"coord_events": [ "coord_events": [
@@ -60,14 +60,14 @@
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_HALL4", "dest_map": "MAP_EVER_GRANDE_CITY_HALL4",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 6, "x": 6,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_EVER_GRANDE_CITY_HALL_OF_FAME", "dest_map": "MAP_EVER_GRANDE_CITY_HALL_OF_FAME",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -33,8 +33,8 @@ EverGrandeCity_ChampionsRoom_EventScript_EnterRoom::
waitmovement 0 waitmovement 0
setvar VAR_TEMP_1, 1 setvar VAR_TEMP_1, 1
goto EverGrandeCity_ChampionsRoom_EventScript_Wallace goto EverGrandeCity_ChampionsRoom_EventScript_Wallace
releaseall releaseall
end end
EverGrandeCity_ChampionsRoom_Movement_PlayerApproachWallace: EverGrandeCity_ChampionsRoom_Movement_PlayerApproachWallace:
walk_up walk_up
+2 -2
View File
@@ -34,14 +34,14 @@
"y": 13, "y": 13,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_HALL3", "dest_map": "MAP_EVER_GRANDE_CITY_HALL3",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 6, "x": 6,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_EVER_GRANDE_CITY_HALL4", "dest_map": "MAP_EVER_GRANDE_CITY_HALL4",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -34,14 +34,14 @@
"y": 13, "y": 13,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_HALL2", "dest_map": "MAP_EVER_GRANDE_CITY_HALL2",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 6, "x": 6,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_EVER_GRANDE_CITY_HALL3", "dest_map": "MAP_EVER_GRANDE_CITY_HALL3",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
+4 -4
View File
@@ -20,28 +20,28 @@
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_SIDNEYS_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_SIDNEYS_ROOM",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 5, "x": 5,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_EVER_GRANDE_CITY_PHOEBES_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_PHOEBES_ROOM",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 4, "x": 4,
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_SIDNEYS_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_SIDNEYS_ROOM",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 6, "x": 6,
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_SIDNEYS_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_SIDNEYS_ROOM",
"dest_warp_id": 1 "dest_warp_id": "1"
} }
], ],
"coord_events": [], "coord_events": [],
+4 -4
View File
@@ -20,28 +20,28 @@
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_PHOEBES_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_PHOEBES_ROOM",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 5, "x": 5,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_EVER_GRANDE_CITY_GLACIAS_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_GLACIAS_ROOM",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 4, "x": 4,
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_PHOEBES_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_PHOEBES_ROOM",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 6, "x": 6,
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_PHOEBES_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_PHOEBES_ROOM",
"dest_warp_id": 1 "dest_warp_id": "1"
} }
], ],
"coord_events": [], "coord_events": [],
+4 -4
View File
@@ -20,28 +20,28 @@
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_GLACIAS_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_GLACIAS_ROOM",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 5, "x": 5,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_EVER_GRANDE_CITY_DRAKES_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_DRAKES_ROOM",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 4, "x": 4,
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_GLACIAS_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_GLACIAS_ROOM",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 6, "x": 6,
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_GLACIAS_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_GLACIAS_ROOM",
"dest_warp_id": 1 "dest_warp_id": "1"
} }
], ],
"coord_events": [], "coord_events": [],
+2 -2
View File
@@ -20,14 +20,14 @@
"y": 33, "y": 33,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_DRAKES_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_DRAKES_ROOM",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 5, "x": 5,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_EVER_GRANDE_CITY_CHAMPIONS_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_CHAMPIONS_ROOM",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
+4 -4
View File
@@ -20,28 +20,28 @@
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_POKEMON_LEAGUE_1F", "dest_map": "MAP_EVER_GRANDE_CITY_POKEMON_LEAGUE_1F",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 5, "x": 5,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_EVER_GRANDE_CITY_SIDNEYS_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_SIDNEYS_ROOM",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 4, "x": 4,
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_POKEMON_LEAGUE_1F", "dest_map": "MAP_EVER_GRANDE_CITY_POKEMON_LEAGUE_1F",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 6, "x": 6,
"y": 12, "y": 12,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_POKEMON_LEAGUE_1F", "dest_map": "MAP_EVER_GRANDE_CITY_POKEMON_LEAGUE_1F",
"dest_warp_id": 2 "dest_warp_id": "2"
} }
], ],
"coord_events": [], "coord_events": [],
+1 -1
View File
@@ -34,7 +34,7 @@
"y": 11, "y": 11,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_CHAMPIONS_ROOM", "dest_map": "MAP_EVER_GRANDE_CITY_CHAMPIONS_ROOM",
"dest_warp_id": 1 "dest_warp_id": "1"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -34,14 +34,14 @@
"y": 13, "y": 13,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY_HALL1", "dest_map": "MAP_EVER_GRANDE_CITY_HALL1",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 6, "x": 6,
"y": 2, "y": 2,
"elevation": 0, "elevation": 0,
"dest_map": "MAP_EVER_GRANDE_CITY_HALL2", "dest_map": "MAP_EVER_GRANDE_CITY_HALL2",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -73,21 +73,21 @@
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY", "dest_map": "MAP_EVER_GRANDE_CITY",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 6, "x": 6,
"y": 8, "y": 8,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_EVER_GRANDE_CITY", "dest_map": "MAP_EVER_GRANDE_CITY",
"dest_warp_id": 1 "dest_warp_id": "1"
}, },
{ {
"x": 1, "x": 1,
"y": 6, "y": 6,
"elevation": 4, "elevation": 4,
"dest_map": "MAP_EVER_GRANDE_CITY_POKEMON_CENTER_2F", "dest_map": "MAP_EVER_GRANDE_CITY_POKEMON_CENTER_2F",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],
@@ -73,21 +73,21 @@
"y": 6, "y": 6,
"elevation": 4, "elevation": 4,
"dest_map": "MAP_EVER_GRANDE_CITY_POKEMON_CENTER_1F", "dest_map": "MAP_EVER_GRANDE_CITY_POKEMON_CENTER_1F",
"dest_warp_id": 2 "dest_warp_id": "2"
}, },
{ {
"x": 5, "x": 5,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_UNION_ROOM", "dest_map": "MAP_UNION_ROOM",
"dest_warp_id": 0 "dest_warp_id": "0"
}, },
{ {
"x": 9, "x": 9,
"y": 1, "y": 1,
"elevation": 3, "elevation": 3,
"dest_map": "MAP_TRADE_CENTER", "dest_map": "MAP_TRADE_CENTER",
"dest_warp_id": 0 "dest_warp_id": "0"
} }
], ],
"coord_events": [], "coord_events": [],

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