Merge branch 'master' of https://github.com/GriffinRichards/pokefirered into clone-union

This commit is contained in:
GriffinR
2022-08-10 13:48:30 -04:00
1146 changed files with 40526 additions and 38156 deletions
+1 -1
View File
@@ -8,4 +8,4 @@ if [ ! -f $map_file ]; then
fi
output=$(perl $(dirname "$0")/calcrom.pl $build_name.map | sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g')
curl -d "{\"username\": \"$CALCROM_DISCORD_WEBHOOK_USERNAME\", \"avatar_url\": \"$CALCROM_DISCORD_WEBHOOK_AVATAR_URL\", \"content\":\"\`\`\`$build_name progress:\\n$output\`\`\`\"}" -H "Content-Type: application/json" -X POST "$CALCROM_DISCORD_WEBHOOK_URL"
curl -d "{\"username\": \"$CALCROM_DISCORD_WEBHOOK_USERNAME\", \"avatar_url\": \"$CALCROM_DISCORD_WEBHOOK_AVATAR_URL\", \"content\":\"\`\`\`\\n$build_name progress:\\n$output\\n\`\`\`\"}" -H "Content-Type: application/json" -X POST "$CALCROM_DISCORD_WEBHOOK_URL"
+1
View File
@@ -56,3 +56,4 @@ types_*.taghl
_Deparsed_XSubs.pm
porymap.project.cfg
.vscode/*.*
*.js
+514 -40
View File
@@ -1,77 +1,551 @@
## Prerequisites
# Instructions
| Linux | macOS | Windows 10 (build 18917+) | Windows 10 (1709+) | Windows 8, 8.1, and 10 (1507, 1511, 1607, 1703)
| ----- | ----- | ------------------------- | ------------------ | ---------------------------------------------------------
| none | [Xcode Command Line Tools package][xcode] | [Windows Subsystem for Linux 2][wsl2] | [Windows Subsystem for Linux][wsl] | [Cygwin][cygwin]
These instructions explain how to set up the tools required to build **pokefirered**, which assembles the source files into a ROM.
[xcode]: https://developer.apple.com/library/archive/technotes/tn2339/_index.html#//apple_ref/doc/uid/DTS40014588-CH1-DOWNLOADING_COMMAND_LINE_TOOLS_IS_NOT_AVAILABLE_IN_XCODE_FOR_MACOS_10_9__HOW_CAN_I_INSTALL_THEM_ON_MY_MACHINE_
[wsl2]: https://docs.microsoft.com/windows/wsl/wsl2-install
[wsl]: https://docs.microsoft.com/windows/wsl/install-win10
[cygwin]: https://cygwin.com/install.html
These instructions come with notes which can be expanded by clicking the "<i>Note...</i>" text.
In general, you should not need to open these unless if you get an error or if you need additional clarification.
The [prerelease version of the Linux subsystem](https://docs.microsoft.com/windows/wsl/install-legacy) available in the 1607 and 1703 releases of Windows 10 is obsolete so consider uninstalling it.
If you run into trouble, ask for help on Discord or IRC (see [README.md](README.md)).
Make sure that the `build-essential`, `git`, and `libpng-dev` packages are installed. The `build-essential` package includes the `make`, `gcc-core`, and `g++` packages so they do not have to be obtained separately.
## Windows
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 (msys2)](#windows-msys2) (Second fastest)
- [Windows (Cygwin)](#windows-cygwin) (Slowest)
In the case of Cygwin, [include](https://cygwin.com/cygwin-ug-net/setup-net.html#setup-packages) the `make`, `git`, `gcc-core`, `gcc-g++`, and `libpng-devel` packages.
Unscientific benchmarks suggest **msys2 is 2x slower** than WSL1, and **Cygwin is 5-6x slower** than WSL1.
<details>
<summary><i>Note for advanced users: <b>WSL2</b>...</i></summary>
Install the **devkitARM** toolchain of [devkitPro](https://devkitpro.org/wiki/Getting_Started) and add its environment variables. For Windows versions without the Linux subsystem, the devkitPro [graphical installer](https://github.com/devkitPro/installer/releases) includes a preconfigured MSYS2 environment, thus the steps below are not required.
> <b>WSL2</b> is an option and is even faster than <b>WSL1</b> if files are stored on the WSL2 file system, but some tools may have trouble interacting
> with the WSL2 file system over the network drive. For example, tools which use Qt versions before 5.15.2 such as <a href="https://github.com/huderlem/porymap">porymap</a>
> may <a href="https://bugreports.qt.io/browse/QTBUG-86277">have problems with parsing the <code>\\wsl$</code> network drive path</a>.
</details>
sudo (dkp-)pacman -S gba-dev
All of the Windows instructions assume that the default drive is C:\\. If this differs to your actual drive letter, then replace C with the correct drive letter when reading the 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)
WSL1 is the preferred terminal to build **pokefirered**. 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).
- 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, **open WSL** and go to [Choosing where to store pokefirered (WSL1)](#Choosing-where-to-store-pokefirered-WSL1).
### Installing WSL1
1. Open [Windows Powershell **as Administrator**](https://i.imgur.com/QKmVbP9.png), and run the following command (Right Click or Shift+Insert is paste in the Powershell).
```powershell
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
```
2. Once the process finishes, restart your machine.
3. The next step is to choose and install a Linux distribution from the Microsoft Store. The following instructions will assume Ubuntu as the Linux distribution of choice.
<details>
<summary><i>Note for advanced users...</i></summary>
> You can pick a preferred Linux distribution, but setup instructions may differ. Debian should work with the given instructions, but has not been tested.
</details>
4. Open the [Microsoft Store Linux Selection](https://aka.ms/wslstore), click Ubuntu, then click Get, which will install the Ubuntu distribution.
<details>
<summary><i>Notes...</i></summary>
> Note 1: If a dialog pops up asking for you to sign into a Microsoft Account, then just close the dialog.
> Note 2: If the link does not work, then open the Microsoft Store manually, and search for the Ubuntu app (choose the one with no version number).
</details>
### Setting up WSL1
Some tips before proceeding:
- In WSL, Copy and Paste is either done via
- **right-click** (selection + right click to Copy, right click with no selection to Paste)
- **Ctrl+Shift+C/Ctrl+Shift+V** (enabled by right-clicking the title bar, going to Properties, then checking the checkbox next to "Use Ctrl+Shift+C/V as Copy/Paste").
- Some of the commands that you'll run will ask for your WSL password and/or confirmation to perform the stated action. This is to be expected, just enter your WSL password and/or the yes action when necessary.
1. Open **Ubuntu** (e.g. using Search).
2. WSL/Ubuntu will set up its own installation when it runs for the first time. Once WSL/Ubuntu finishes installing, it will ask for a username and password (to be input in).
<details>
<summary><i>Note...</i></summary>
> When typing in the password, there will be no visible response, but the terminal will still read in input.
</details>
3. Update WSL/Ubuntu before continuing. Do this by running the following command. These commands will likely take a long time to finish:
```bash
sudo apt update && sudo apt upgrade
```
> Note: If the repository you plan to build has an **[older revision of the INSTALL.md](https://github.com/pret/pokefirered/blob/b7a6240/INSTALL.md)**, then follow the [legacy WSL1 instructions](docs/legacy_WSL1_INSTALL.md) from here.
4. Certain packages are required to build pokefirered. Install these packages by running the following command:
```bash
sudo apt install build-essential binutils-arm-none-eabi git libpng-dev
```
<details>
<summary><i>Note...</i></summary>
> If the above command does not work, try the above command but replacing `apt` with `apt-get`.
</details>
### Choosing where to store pokefirered (WSL1)
WSL has its own file system that's not natively accessible from Windows, but Windows files *are* accessible from WSL. So you're going to want to store pokefirered within Windows.
For example, say you want to store pokefirered (and agbcc) in **C:\Users\\_\<user>_\Desktop\decomps**. First, ensure that the folder already exists. Then, enter this command to **change directory** to said folder, where *\<user>* is your **Windows** username:
```bash
cd /mnt/c/Users/<user>/Desktop/decomps
```
<details>
<summary><i>Notes...</i></summary>
> Note 1: The Windows C:\ drive is called /mnt/c/ in WSL.
> Note 2: If the path has spaces, then the path must be wrapped with quotations, e.g. `cd "/mnt/c/users/<user>/Desktop/decomp folder"`.
> Note 3: Windows path names are case-insensitive so adhering to capitalization isn't needed
</details>
If this works, then proceed to [Installation](#installation).
Otherwise, ask for help on Discord or IRC (see [README.md](README.md)), or continue reading below for [Windows instructions using msys2](#windows-msys2).
## Windows (msys2)
- If devkitARM is **not installed**, then go to [Installing devkitARM](#installing-devkitarm).
- If devkitARM is installed, but msys2 **hasn't previously been set up for another decompilation project**, then go to [Setting up msys2](#setting-up-msys2).
- Otherwise, **open msys2** and go to [Choosing where to store pokefirered (msys2)](#choosing-where-to-store-pokefirered-msys2).
### Installing devkitARM
1. Download the devkitPro installer [here](https://github.com/devkitPro/installer/releases).
2. Run the devkitPro installer. In the "Choose Components" screen, uncheck everything except GBA Development unless if you plan to install other devkitPro components for other purposes. Keep the install location as C:\devkitPro and leave the Start Menu option unchanged.
### Setting up msys2
Note that in msys2, Copy is Ctrl+Insert and Paste is Shift+Insert.
1. Open msys2 at C:\devkitPro\msys2\mingw64.exe or run `C:\devkitPro\msys2\msys2_shell.bat -mingw64`.
2. Certain packages are required to build pokefirered. Install these by running the following command:
```bash
pacman -S make zlib-devel git mingw-w64-x86_64-gcc mingw-w64-x86_64-libpng
```
<details>
<summary><i>Note...</i></summary>
> This command will ask for confirmation, just enter the yes action when prompted.
</details>
### Choosing where to store pokefirered (msys2)
At this point, you can choose a folder to store pokefirered into. If you're okay with storing pokefirered in the user profile folder, then proceed to [Installation](#installation). Otherwise, you'll need to account for where pokefirered is stored when changing directory to the pokefirered folder.
For example, if you want to store pokefirered (and agbcc) in **C:\Users\\_\<user>_\Desktop\decomps** (where *\<user>* is your **Windows** username), enter this command:
```bash
cd Desktop/decomps
```
If this works, then proceed to [Installation](#installation).
Otherwise, ask for help on Discord or IRC (see [README.md](README.md)), or continue reading below for [Windows instructions using Cygwin](#windows-cygwin).
## Windows (Cygwin)
1. If devkitARM is **not installed**, then follow the instructions used to [install devkitARM](#installing-devkitarm) for the msys2 setup before continuing. *Remember to not continue following the msys2 instructions by mistake!*
2.
- If Cygwin is **not installed**, or does not have all of the required packages installed, then go to [Installing Cygwin](#installing-cygwin).
- If Cygwin is installed, but **is not configured to work with devkitARM**, then go to [Configuring devkitARM for Cygwin](#configuring-devkitarm-for-cygwin).
- Otherwise, **open Cygwin** and go to [Choosing where to store pokefirered (Cygwin)](#choosing-where-to-store-pokefirered-cygwin)
### Installing Cygwin
1. Download [Cygwin](https://cygwin.com/install.html): setup-x86_64.exe for 64-bit Windows, setup-x86.exe for 32-bit.
2. Run the Cygwin setup. Within the Cygwin setup, leave the default settings until the "Choose A Download Site" screen.
3. At "Choose a Download Site", select any mirror within the Available Download Sites.
4. At "Select Packages", set the view to "Full" (top left) and search for the following packages:
- `make`
- `git`
- `gcc-core`
- `gcc-g++`
- `libpng-devel`
To quickly find these, use the search bar and type the name of each package. Ensure that the selected package name is the **exact** same as the one you're trying to download, e.g. `cmake` is **NOT** the same as `make`.
5. For each package, double click on the text that says "**Skip**" next to each package to select the most recent version to install. If the text says anything other than "**Skip**", (e.g. Keep or a version number), then the package is or will be installed and you don't need to do anything.
6. Once all required packages have been selected, finish the installation.
### Configuring devkitARM for Cygwin
Note that in Cygwin, Copy is Ctrl+Insert and Paste is Shift+Insert.
1. Open **Cygwin**.
2. Run the following commands to configure devkitPro to work with Cygwin.
```bash
export DEVKITPRO=/cygdrive/c/devkitpro
echo export DEVKITPRO=$DEVKITPRO >> ~/.bashrc
export DEVKITARM=$DEVKITPRO/devkitARM
echo export DEVKITARM=$DEVKITARM >> ~/.bashrc
```
<details>
<summary><i>Note...</i></summary>
> Replace the drive letter c with the actual drive letter if it is not c.
</details>
### Choosing where to store pokefirered (Cygwin)
Cygwin has its own file system that's within Windows, at **C:\cygwin64\home\\_\<user>_**. If you don't want to store pokefirered there, you'll need to account for where pokefirered is stored when **changing directory** to the pokefirered folder.
For example, if you want to store pokefirered (and agbcc) in **C:\Users\\_\<user>_\Desktop\decomps**, enter this command, where *\<user>* is your **Windows** username:
```bash
cd c:/Users/<user>/Desktop/decomps
```
Note that the directory **must exist** in Windows. If you want to store pokefirered in a dedicated folder that doesn't exist (e.g. the example provided above), then create the folder (e.g. using Windows Explorer) before executing the `cd` command.
<details>
<summary><i>Notes...</i></summary>
> Note 1: If the path has spaces, then the path must be wrapped with quotations, e.g. `cd "c:/users/<user>/Desktop/decomp folder"`.
> Note 2: Windows path names are case-insensitive so adhering to capitalization isn't needed
</details>
If this works, then proceed to [Installation](#installation). Otherwise, ask for help on Discord or IRC (see [README.md](README.md)).
## macOS
1. If the Xcode Command Line Tools are not installed, download the tools [here](https://developer.apple.com/xcode/resources/), open your Terminal, and run the following command:
```bash
xcode-select --install
```
2. - If libpng is **not installed**, then go to [Installing libpng (macOS)](#installing-libpng-macos).
- If devkitARM is **not installed**, then go to [Installing devkitARM (macOS)](#installing-devkitarm-macos).
- Otherwise, **open the Terminal** and go to [Choosing where to store pokefirered (macOS)](#choosing-where-to-store-pokefirered-macos)
### Installing libpng (macOS)
<details>
<summary><i>Note for advanced users...</i></summary>
> This guide installs libpng via Homebrew as it is the easiest method, however advanced users can install libpng through other means if they so desire.
</details>
1. Open the Terminal.
2. If Homebrew is not installed, then install [Homebrew](https://brew.sh/) by following the instructions on the website.
3. Run the following command to install libpng.
```bash
brew install libpng
```
libpng is now installed.
Continue to [Installing devkitARM (macOS)](#installing-devkitarm-macos) if **devkitARM is not installed**, otherwise, go to [Choosing where to store pokefirered (macOS)](#choosing-where-to-store-pokefirered-macos).
### Installing devkitARM (macOS)
1. Download the `devkitpro-pacman-installer.pkg` package from [here](https://github.com/devkitPro/pacman/releases).
2. Open the package to install devkitPro pacman.
3. In the Terminal, run the following commands to install devkitARM:
```bash
sudo dkp-pacman -Sy
sudo dkp-pacman -S gba-dev
sudo dkp-pacman -S devkitarm-rules
```
The command with gba-dev will ask for the selection of packages to install. Just press Enter to install all of them, followed by entering Y to proceed with the installation.
4. After the tools are installed, devkitARM must now be made accessible from anywhere by the system. To do so, run the following commands:
```bash
export DEVKITPRO=/opt/devkitpro
echo "export DEVKITPRO=$DEVKITPRO" >> ~/.bashrc
export DEVKITARM=$DEVKITPRO/devkitARM
echo "export DEVKITARM=$DEVKITARM" >> ~/.bashrc
echo "if [ -f ~/.bashrc ]; then . ~/.bashrc; fi" >> ~/.bash_profile
```
### Choosing where to store pokefirered (macOS)
At this point, you can choose a folder to store pokefirered into. If you're okay with storing pokefirered in the user folder, then proceed to [Installation](#installation). Otherwise, you'll need to account for where pokefirered is stored when changing directory to the pokefirered folder.
For example, if you want to store pokefirered (and agbcc) in **~/Desktop/decomps**, enter this command to **change directory** to the desired folder:
```bash
cd Desktop/decomps
```
Note that the directory **must exist** in the folder system. If you want to store pokefirered in a dedicated folder that doesn't exist (e.g. the example provided above), then create the folder (e.g. using Finder) before executing the `cd` command.
<details>
<summary><i>Note..</i>.</summary>
> Note: If the path has spaces, then the path must be wrapped with quotations, e.g. `cd "Desktop/decomp folder"`
</details>
If this works, then proceed to [Installation](#installation). Otherwise, ask for help on Discord or IRC (see [README.md](README.md)).
## Linux
Open Terminal and enter the following commands, depending on which distro you're using.
### Debian/Ubuntu-based distributions
Run the following command to install the necessary packages:
```bash
sudo apt install build-essential binutils-arm-none-eabi git libpng-dev
```
Then proceed to [Choosing where to store pokefirered (Linux)](#choosing-where-to-store-pokefirered-linux).
<details>
<summary><i>Note for legacy repos...</i></summary>
> If the repository you plan to build has an **[older revision of the INSTALL.md](https://github.com/pret/pokefirered/blob/571c598/INSTALL.md)**,
> then you will have to install devkitARM. Install all the above packages except binutils-arm-none-eabi, and follow the instructions to
> [install devkitARM on Debian/Ubuntu-based distributions](#installing-devkitarm-on-debianubuntu-based-distributions).
</details>
### Other distributions
_(Specific instructions for other distributions would be greatly appreciated!)_
1. Try to find the required software in its repositories:
- `gcc`
- `g++`
- `make`
- `git`
- `libpng-dev`
2. Follow the instructions [here](https://devkitpro.org/wiki/devkitPro_pacman) to install devkitPro pacman. As a reminder, the goal is to configure an existing pacman installation to recognize devkitPro's repositories.
3. Once devkitPro pacman is configured, run the following commands:
```bash
sudo pacman -Sy
sudo pacman -S gba-dev
```
The last command will ask for the selection of packages to install. Just press Enter to install all of them, followed by entering Y to proceed with the installation.
### Choosing where to store pokefirered (Linux)
At this point, you can choose a folder to store pokefirered (and agbcc) into. If so, you'll have to account for the modified folder path when changing directory to the pokefirered folder.
If this works, then proceed to [Installation](#installation). Otherwise, ask for help on Discord or IRC (see [README.md](README.md)).
## Installation
To set up the repository:
<details>
<summary><i>Note for Windows users...</i></summary>
> Consider adding an exception for the `pokefirered` and/or `decomps` folder in Windows Security using
> [these instructions](https://support.microsoft.com/help/4028485). This prevents Microsoft Defender from
> scanning them which might improve performance while building.
</details>
1. If pokefirered is not already downloaded (some users may prefer to download pokefirered via a git client like GitHub Desktop), run:
```bash
git clone https://github.com/pret/pokefirered
```
<details>
<summary><i>Note for WSL1...</i></summary>
> If you get an error stating `fatal: could not set 'core.filemode' to 'false'`, then run the following commands:
> ```bash
> cd
> sudo umount /mnt/c
> sudo mount -t drvfs C: /mnt/c -o metadata,noatime
> cd <folder where pokefirered is to be stored>
> ```
> Where *\<folder where pokefirered is to be stored>* is the path of the folder [where you chose to store pokefirered](#Choosing-where-to-store-pokefirered-WSL1). Then run the `git clone` command again.
</details>
2. Install agbcc into pokefirered. The commands to run depend on certain conditions. **You should only follow one of the listed instructions**:
- If agbcc has **not been built before** in the folder where you chose to store pokefirered, run the following commands to build and install it into pokefirered:
```bash
git clone https://github.com/pret/agbcc
cd agbcc
./build.sh
./install.sh ../pokefirered
```
cd ./agbcc
sh build.sh
sh install.sh ../pokefirered
- **Otherwise**, if agbcc has been built before (e.g. if the git clone above fails), but was **last built on a different terminal** than the one currently used (only relevant to Windows, e.g. switching from msys2 to WSL1), then run the following commands to build and install it into pokefirered:
cd ../pokefirered
```bash
cd agbcc
git clean -fX
./build.sh
./install.sh ../pokefirered
```
To build **pokefirered.gba**:
- **Otherwise**, if agbcc has been built before on the same terminal, run the following commands to install agbcc into pokefirered:
make -j$(nproc)
```bash
cd agbcc
./install.sh ../pokefirered
```
To confirm it matches the official ROM image while building, do this instead:
<details>
<summary><i>Note...</i></summary>
make compare -j$(nproc)
> If building agbcc or pokefirered results in an error, try deleting the agbcc folder and re-installing agbcc as if it has not been built before.
</details>
If only `.c` or `.s` files were changed, turn off the dependency scanning temporarily. Changes to any other files will be ignored and the build will either fail or not reflect those changes.
3. Once agbcc is installed, change directory back to the base directory where pokefirered and agbcc are stored:
make -j$(nproc) NODEP=1
```bash
cd ..
```
Convenient targets have been defined to build Pokémon LeafGreen and the 1.1 revisions of both games:
Now you're ready to [build **pokefirered**](#build-pokefirered)
## Build pokefirered
If you aren't in the pokefirered directory already, then **change directory** to the pokefirered folder:
```bash
cd pokefirered
```
To build **pokefirered.gba** for the first time and confirm it matches the official ROM image (Note: to speed up builds, see [Parallel builds](#parallel-builds)):
```bash
make compare
```
If an OK is returned, then the installation went smoothly.
<details>
<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.
</details>
# LeafGreen 1.0
make -j$(nproc) leafgreen
# FireRed 1.1
make -j$(nproc) firered_rev1
# LeafGreen 1.1
make -j$(nproc) leafgreen_rev1
To build **pokefirered.gba** with your changes:
```bash
make
```
To confirm these match the respective official ROM images, prefix `compare_` to each target name. For example:
## Build pokeleafgreen and REV1
Pokemon FireRed and LeafGreen were both released together. As such, this project is capable of building both ROMs. To do so, simply run
```bash
make leafgreen
```
make -j$(nproc) compare_leafgreen
This project can also build the version 1.1 ROMs of both FireRed and LeafGreen. To build each, run
```bash
make firered_rev1 # for FireRed 1.1
make leafgreen_rev1 # for LeafGreen 1.1
```
**Note:** If the build command is not recognized on Linux, including the Linux environment used within Windows, run `nproc` and replace `$(nproc)` with the returned value (e.g.: `make -j4`). Because `nproc` is not available on macOS, the alternative is `sysctl -n hw.ncpu`.
# Building guidance
### Note for Mac users
## Parallel builds
The BSD make that comes with Mac XCode can be buggy, so obtain GNU make and sed using [Homebrew](https://brew.sh):
See [the GNU docs](https://www.gnu.org/software/make/manual/html_node/Parallel.html) and [this Stack Exchange thread](https://unix.stackexchange.com/questions/208568) for more information.
brew install make gnu-sed
To speed up building, first get the value of `nproc` by running the following command:
```bash
nproc
```
Builds can then be sped up by running the following command:
```bash
make -j<output of nproc>
```
Replace `<output of nproc>` with the number that the `nproc` command returned.
When compiling agbcc, substitute the `build.sh` line for
`nproc` is not available on macOS. The alternative is `sysctl -n hw.ncpu` ([relevant Stack Overflow thread](https://stackoverflow.com/questions/1715580)).
gsed 's/^make/gmake/g' build.sh | sh
## Debug info
Finally, use `gmake` instead of `make` to compile the ROM(s).
To build **pokefirered.elf** with enhanced debug info:
```bash
make DINFO=1
```
## devkitARM's C compiler
This project supports the `arm-none-eabi-gcc` compiler included with devkitARM. If devkitARM (a.k.a. gba-dev) has already been installed as part of the platform-specific instructions, simply run:
```bash
make modern # or leafgreen_modern, firered_rev1_modern, leafgreen_rev1_modern
```
Otherwise, follow the instructions below to install devkitARM.
### Installing devkitARM on WSL1
1. `gdebi-core` must be installed beforehand in order to install devkitPro pacman (which facilitates the installation of devkitARM). Install this with the following command:
```bash
sudo apt install gdebi-core
```
<details>
<summary><i>Note...</i></summary>
> If the above command does not work, try the above command but replacing `apt` with `apt-get`.
</details>
2. Once `gdebi-core` is done installing, download the devkitPro pacman package [here](https://github.com/devkitPro/pacman/releases). The file to download is `devkitpro-pacman.amd64.deb`.
3. Change directory to where the package was downloaded. For example, if the package file was saved to **C:\Users\\_\<user>_\Downloads** (the Downloads location for most users), enter this command, where *\<user> is your **Windows** username:
```bash
cd /mnt/c/Users/<user>/Downloads
```
4. Once the directory has been changed to the folder containing the devkitPro pacman package, run the following commands to install devkitARM.
```bash
sudo gdebi devkitpro-pacman.amd64.deb
sudo dkp-pacman -Sy
sudo dkp-pacman -S gba-dev
```
The last command will ask for the selection of packages to install. Just press Enter to install all of them, followed by entering Y to proceed with the installation.
<details>
<summary><i>Note...</i></summary>
> Note: `devkitpro-pacman.amd64.deb` is the expected filename of the devkitPro package downloaded (for the first command). If the downloaded package filename differs, then use that filename instead.
</details>
5. Run the following command to set devkitPro related environment variables (alternatively, close and re-open WSL):
```bash
source /etc/profile.d/devkit-env.sh
```
devkitARM is now installed.
### Installing devkitARM on Debian/Ubuntu-based distributions
1. If `gdebi-core` is not installed, run the following command:
```bash
sudo apt install gdebi-core
```
2. Download the devkitPro pacman package [here](https://github.com/devkitPro/pacman/releases). The file to download is `devkitpro-pacman.amd64.deb`.
3. Change directory to where the package was downloaded. Then, run the following commands to install devkitARM:
```bash
sudo gdebi devkitpro-pacman.amd64.deb
sudo dkp-pacman -Sy
sudo dkp-pacman -S gba-dev
```
The last command will ask for the selection of packages to install. Just press Enter to install all of them, followed by entering Y to proceed with the installation.
> Note: `devkitpro-pacman.amd64.deb` is the expected filename of the devkitPro package downloaded (for the first command). If the downloaded package filename differs, then use that filename instead.
4. Run the following command to set devkitPro related environment variables (alternatively, close and re-open the Terminal):
```bash
source /etc/profile.d/devkit-env.sh
```
devkitARM is now installed.
## 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`.
```bash
make TOOLCHAIN="/path/to/toolchain/here"
```
The following is an example:
```bash
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.
# Useful additional tools
* [porymap](https://github.com/huderlem/porymap) for viewing and editing maps
* [poryscript](https://github.com/huderlem/poryscript) for scripting ([VS Code extension](https://marketplace.visualstudio.com/items?itemName=karathan.poryscript))
* [Tilemap Studio](https://github.com/Rangi42/tilemap-studio) for viewing and editing tilemaps
+40 -24
View File
@@ -1,30 +1,28 @@
TOOLCHAIN := $(DEVKITARM)
COMPARE ?= 0
ifeq ($(CC),)
HOSTCC := gcc
else
HOSTCC := $(CC)
endif
# don't use dkP's base_tools anymore
# because the redefinition of $(CC) conflicts
# with when we want to use $(CC) to preprocess files
# thus, manually create the variables for the bin
# files, or use arm-none-eabi binaries on the system
# if dkP is not installed on this system
ifeq ($(CXX),)
HOSTCXX := g++
else
HOSTCXX := $(CXX)
endif
ifneq (,$(wildcard $(TOOLCHAIN)/base_tools))
include $(TOOLCHAIN)/base_tools
else
ifneq (,$(TOOLCHAIN))
ifneq ($(wildcard $(TOOLCHAIN)/bin),)
export PATH := $(TOOLCHAIN)/bin:$(PATH)
endif
endif
PREFIX := arm-none-eabi-
OBJCOPY := $(PREFIX)objcopy
export CC := $(PREFIX)gcc
export AS := $(PREFIX)as
endif
export CPP := $(PREFIX)cpp
export LD := $(PREFIX)ld
OBJDUMP := $(PREFIX)objdump
AS := $(PREFIX)as
LD := $(PREFIX)ld
# note: the makefile must be set up so MODERNCC is never called
# if MODERN=0
MODERNCC := $(PREFIX)gcc
ifeq ($(OS),Windows_NT)
EXE := .exe
@@ -32,6 +30,23 @@ else
EXE :=
endif
# use arm-none-eabi-cpp for macOS
# as macOS's default compiler is clang
# and clang's preprocessor will warn on \u
# when preprocessing asm files, expecting a unicode literal
# we can't unconditionally use arm-none-eabi-cpp
# as installations which install binutils-arm-none-eabi
# don't come with it
ifneq ($(MODERN),1)
ifeq ($(shell uname -s),Darwin)
CPP := $(PREFIX)cpp
else
CPP := $(CC) -E
endif
else
CPP := $(PREFIX)cpp
endif
include config.mk
GCC_VER = $(shell $(CC) -dumpversion)
@@ -41,9 +56,9 @@ CC1 := tools/agbcc/bin/agbcc$(EXE)
override CFLAGS += -mthumb-interwork -Wimplicit -Wparentheses -Werror -O2 -fhex-asm
LIBPATH := -L ../../tools/agbcc/lib
else
CC1 := $(shell $(CC) --print-prog-name=cc1) -quiet
CC1 := $(shell $(MODERNCC) --print-prog-name=cc1) -quiet
override CFLAGS += -mthumb -mthumb-interwork -O2 -mcpu=arm7tdmi -mabi=apcs-gnu -fno-toplevel-reorder -fno-aggressive-loop-optimizations -Wno-pointer-to-int-cast
LIBPATH := -L $(shell dirname $(shell $(CC) --print-file-name=libgcc.a)) -L $(shell dirname $(shell $(CC) --print-file-name=libc.a))
LIBPATH := -L $(shell dirname $(shell $(MODERNCC) --print-file-name=libgcc.a)) -L $(shell dirname $(shell $(MODERNCC) --print-file-name=libc.a))
endif
CPPFLAGS := -iquote include -D$(GAME_VERSION) -DREVISION=$(GAME_REVISION) -D$(GAME_LANGUAGE) -DMODERN=$(MODERN)
@@ -287,11 +302,11 @@ endif
ifeq ($(NODEP),1)
$(DATA_ASM_BUILDDIR)/%.o: $(DATA_ASM_SUBDIR)/%.s
$(PREPROC) $< charmap.txt | $(CPP) -I include | $(AS) $(ASFLAGS) -o $@
$(PREPROC) $< charmap.txt | $(CPP) -I include - | $(AS) $(ASFLAGS) -o $@
else
define DATA_ASM_DEP
$1: $2 $$(shell $(SCANINC) -I include -I "" $2)
$$(PREPROC) $$< charmap.txt | $$(CPP) -I include | $$(AS) $$(ASFLAGS) -o $$@
$$(PREPROC) $$< charmap.txt | $$(CPP) -I include - | $$(AS) $$(ASFLAGS) -o $$@
endef
$(foreach src, $(REGULAR_DATA_ASM_SRCS), $(eval $(call DATA_ASM_DEP,$(patsubst $(DATA_ASM_SUBDIR)/%.s,$(DATA_ASM_BUILDDIR)/%.o, $(src)),$(src))))
endif
@@ -320,7 +335,8 @@ $(OBJ_DIR)/ld_script.ld: $(LD_SCRIPT) $(LD_SCRIPT_DEPS)
cd $(OBJ_DIR) && sed -f ../../ld_script.sed ../../$< | sed "s#tools/#../../tools/#g" > ld_script.ld
$(ELF): $(OBJ_DIR)/ld_script.ld $(OBJS)
cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ld_script.ld -o ../../$@ $(OBJS_REL) $(LIB)
@echo "cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ld_script.ld -o ../../$@ <objects> <lib>"
@cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ld_script.ld -o ../../$@ $(OBJS_REL) $(LIB)
$(FIX) $@ -t"$(TITLE)" -c$(GAME_CODE) -m$(MAKER_CODE) -r$(GAME_REVISION) --silent
$(ROM): $(ELF)
+30 -23
View File
@@ -109,10 +109,17 @@
.byte \battler
.endm
.macro tryfaintmon battler:req, fromMove:req, ptr:req
.macro tryfaintmon battler:req
.byte 0x19
.byte \battler
.byte \fromMove
.byte FALSE
.4byte NULL
.endm
.macro tryfaintmon_spikes battler:req, ptr:req
.byte 0x19
.byte \battler
.byte TRUE
.4byte \ptr
.endm
@@ -183,7 +190,7 @@
.byte \battler
.endm
.macro atk24 ptr:req
.macro checkteamslost ptr:req
.byte 0x24
.4byte \ptr
.endm
@@ -373,18 +380,18 @@
.byte 0x44
.endm
.macro playanimation battler:req, param1:req, param2:req
.macro playanimation battler:req, animType:req, arg=NULL
.byte 0x45
.byte \battler
.byte \param1
.4byte \param2
.byte \animType
.4byte \arg
.endm
.macro playanimation2 battler:req, param1:req, param2:req
.macro playanimation_var battler:req, animType:req, arg=NULL
.byte 0x46
.byte \battler
.4byte \param1
.4byte \param2
.4byte \animType
.4byte \arg
.endm
.macro setgraphicalstatchangevalues
@@ -503,7 +510,7 @@
.byte \battler
.endm
.macro atk57
.macro endlinkbattle
.byte 0x57
.endm
@@ -539,7 +546,7 @@
.4byte \addr
.endm
.macro atk5E battler:req
.macro updatebattlermoves battler:req
.byte 0x5e
.byte \battler
.endm
@@ -662,7 +669,7 @@
.byte 0x77
.endm
.macro faintifabilitynotdamp
.macro tryexplosion
.byte 0x78
.endm
@@ -942,7 +949,7 @@
.byte 0xb5
.endm
.macro happinesstodamagecalculation
.macro friendshiptodamagecalculation
.byte 0xb6
.endm
@@ -1025,7 +1032,7 @@
.byte 0xc8
.endm
.macro jumpifattackandspecialattackcannotfall ptr:req
.macro trymemento ptr:req
.byte 0xc9
.4byte \ptr
.endm
@@ -1259,8 +1266,8 @@
various \battler, VARIOUS_GET_MOVE_TARGET
.endm
.macro various4 battler:req
various \battler, 4
.macro getbattlerfainted battler:req
various \battler, VARIOUS_GET_BATTLER_FAINTED
.endm
.macro resetintimidatetracebits battler:req
@@ -1271,8 +1278,8 @@
various \battler, VARIOUS_UPDATE_CHOICE_MOVE_ON_LVL_UP
.endm
.macro various7 battler:req
various \battler, 7
.macro resetplayerfainted
various BS_ATTACKER, VARIOUS_RESET_PLAYER_FAINTED
.endm
.macro various8 battler:req
@@ -1288,11 +1295,11 @@
.endm
.macro checkpokeflute battler:req
various \battler, 11
various \battler, VARIOUS_CHECK_POKEFLUTE
.endm
.macro waitfanfare battler:req
various \battler, 12
various \battler, VARIOUS_WAIT_FANFARE
.endm
@ helpful macros
@@ -1301,15 +1308,15 @@
.endm
.macro setmoveeffect effect:req
setbyte cEFFECT_CHOOSER \effect
setbyte cEFFECT_CHOOSER, \effect
.endm
.macro chosenstatus1animation battler:req, status:req
chosenstatusanimation \battler 0x0 \status
chosenstatusanimation \battler, 0x0, \status
.endm
.macro chosenstatus2animation battler:req, status:req
chosenstatusanimation \battler 0x1 \status
chosenstatusanimation \battler, 0x1, \status
.endm
.macro sethword dst:req, value:req
+1 -1
View File
@@ -124,7 +124,7 @@
create_movement walk_slowest_up
create_movement walk_slowest_left
create_movement walk_slowest_right
create_movement shake_head
create_movement shake_head_or_walk_in_place
enum_start 0xa6
create_movement jump_special_with_effect_down
+1 -1
View File
@@ -145,7 +145,7 @@
.byte 0xff, 0, 0xff, 0
.endm
.macro cry2 sample:req
.macro cry_reverse sample:req
.byte 0x30, 60, 0, 0
.4byte \sample
.byte 0xff, 0, 0xff, 0
-35
View File
@@ -1,35 +0,0 @@
.global RomHeaderNintendoLogo
RomHeaderNintendoLogo:
.space 156
RomHeaderGameTitle:
.space 12
.global RomHeaderGameCode
RomHeaderGameCode:
.space 4
RomHeaderMakerCode:
.space 2
RomHeaderMagic:
.byte 0
RomHeaderMainUnitCode:
.byte 0
RomHeaderDeviceType:
.byte 0
RomHeaderReserved1:
.space 7
.global RomHeaderSoftwareVersion
RomHeaderSoftwareVersion:
.byte 0
RomHeaderChecksum:
.byte 0
RomHeaderReserved2:
.space 2
+8 -4
View File
@@ -427,7 +427,7 @@ HIGHLIGHT = FC 02 @ same as fc 01
SHADOW = FC 03 @ same as fc 01
COLOR_HIGHLIGHT_SHADOW = FC 04 @ takes 3 bytes
PALETTE = FC 05 @ used in credits
SIZE = FC 06 @ note that anything other than "SMALL" is invalid
FONT = FC 06 @ Given a font id, or use font constants below instead
RESET_SIZE = FC 07
PAUSE = FC 08 @ manually print the wait byte after this, havent mapped them
PAUSE_UNTIL_PRESS = FC 09
@@ -447,10 +447,14 @@ ENG = FC 16
PAUSE_MUSIC = FC 17
RESUME_MUSIC = FC 18
@ font sizes
@ fonts
SMALL = FC 06 00
BIG = FC 06 04
FONT_0 = FC 06 00
FONT_1 = FC 06 01
FONT_2 = FC 06 02
FONT_3 = FC 06 03
FONT_4 = FC 06 04
FONT_5 = FC 06 05
@ colors
+6 -6
View File
@@ -1,12 +1,12 @@
gFirstSaveSector
gPrevSaveCounter
gLastWrittenSector
gLastSaveCounter
gLastKnownGoodSector
gDamagedSaveSectors
gSaveCounter
gFastSaveSection
gUnknown_3005398
gSaveDataBufferPtr
gIncrementalSectorId
gSaveUnusedVar
gSaveFileStatus
gGameContinueCallback
gRamSaveSectionLocations
gSaveSucceeded
gRamSaveSectorLocations
gSaveAttemptStatus
+507 -507
View File
File diff suppressed because it is too large Load Diff
+827 -826
View File
File diff suppressed because it is too large Load Diff
+931 -949
View File
File diff suppressed because it is too large Load Diff
+32 -32
View File
@@ -87,7 +87,7 @@ BattleScript_CaughtPokemonSkipNewDex::
trygivecaughtmonnick BattleScript_CaughtPokemonSkipNickname
givecaughtmon
printfromtable gCaughtMonStringIds
waitmessage 64
waitmessage B_WAIT_TIME_LONG
goto BattleScript_CaughtPokemonDone
BattleScript_CaughtPokemonSkipNickname::
@@ -99,32 +99,32 @@ BattleScript_CaughtPokemonDone::
BattleScript_OldMan_Pokedude_CaughtMessage::
printstring STRINGID_GOTCHAPKMNCAUGHT2
setbyte gBattleOutcome, B_OUTCOME_CAUGHT
atk57
endlinkbattle
finishturn
BattleScript_ShakeBallThrow::
printfromtable gBallEscapeStringIds
waitmessage 64
waitmessage B_WAIT_TIME_LONG
jumpifnotbattletype BATTLE_TYPE_SAFARI, BattleScript_CatchFailEnd
jumpifbyte CMP_NOT_EQUAL, gNumSafariBalls, 0, BattleScript_CatchFailEnd
printstring STRINGID_OUTOFSAFARIBALLS
waitmessage 64
waitmessage B_WAIT_TIME_LONG
setbyte gBattleOutcome, B_OUTCOME_NO_SAFARI_BALLS
BattleScript_CatchFailEnd::
finishaction
BattleScript_TrainerBallBlock::
waitmessage 64
waitmessage B_WAIT_TIME_LONG
printstring STRINGID_TRAINERBLOCKEDBALL
waitmessage 64
waitmessage B_WAIT_TIME_LONG
printstring STRINGID_DONTBEATHIEF
waitmessage 64
waitmessage B_WAIT_TIME_LONG
finishaction
BattleScript_GhostBallDodge::
waitmessage 64
waitmessage B_WAIT_TIME_LONG
printstring STRINGID_ITDODGEDBALL
waitmessage 64
waitmessage B_WAIT_TIME_LONG
finishaction
BattleScript_PlayerUseItem::
@@ -133,54 +133,54 @@ BattleScript_PlayerUseItem::
BattleScript_AIUseFullRestoreOrHpHeal::
printstring STRINGID_EMPTYSTRING3
pause 48
pause B_WAIT_TIME_MED
playse SE_USE_ITEM
printstring STRINGID_TRAINER1USEDITEM
waitmessage 64
waitmessage B_WAIT_TIME_LONG
useitemonopponent
orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE
healthbarupdate BS_ATTACKER
datahpupdate BS_ATTACKER
printstring STRINGID_PKMNSITEMRESTOREDHEALTH
waitmessage 64
waitmessage B_WAIT_TIME_LONG
updatestatusicon BS_ATTACKER
moveendcase 15
finishaction
BattleScript_AIUseStatRestore::
printstring STRINGID_EMPTYSTRING3
pause 48
pause B_WAIT_TIME_MED
playse SE_USE_ITEM
printstring STRINGID_TRAINER1USEDITEM
waitmessage 64
waitmessage B_WAIT_TIME_LONG
useitemonopponent
printfromtable gTrainerItemCuredStatusStringIds
waitmessage 64
waitmessage B_WAIT_TIME_LONG
updatestatusicon BS_ATTACKER
moveendcase 15
finishaction
BattleScript_AIUseXstat::
printstring STRINGID_EMPTYSTRING3
pause 48
pause B_WAIT_TIME_MED
playse SE_USE_ITEM
printstring STRINGID_TRAINER1USEDITEM
waitmessage 64
waitmessage B_WAIT_TIME_LONG
useitemonopponent
printfromtable gStatUpStringIds
waitmessage 64
waitmessage B_WAIT_TIME_LONG
moveendcase 15
finishaction
BattleScript_AIUseGuardSpec::
printstring STRINGID_EMPTYSTRING3
pause 48
pause B_WAIT_TIME_MED
playse SE_USE_ITEM
printstring STRINGID_TRAINER1USEDITEM
waitmessage 64
waitmessage B_WAIT_TIME_LONG
useitemonopponent
printfromtable gMistUsedStringIds
waitmessage 64
waitmessage B_WAIT_TIME_LONG
moveendcase 15
finishaction
@@ -193,16 +193,16 @@ BattleScript_UsePokeFlute::
checkpokeflute BS_ATTACKER
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 1, BattleScript_PokeFluteWakeUp
printstring STRINGID_POKEFLUTECATCHY
waitmessage 64
waitmessage B_WAIT_TIME_LONG
goto BattleScript_PokeFluteEnd
BattleScript_PokeFluteWakeUp::
printstring STRINGID_POKEFLUTE
waitmessage 64
waitmessage B_WAIT_TIME_LONG
fanfare MUS_POKE_FLUTE
waitfanfare BS_ATTACKER
printstring STRINGID_MONHEARINGFLUTEAWOKE
waitmessage 64
waitmessage B_WAIT_TIME_LONG
updatestatusicon BS_PLAYER2
waitstate
BattleScript_PokeFluteEnd::
@@ -210,29 +210,29 @@ BattleScript_PokeFluteEnd::
BattleScript_WatchesCarefully::
printfromtable gSafariPokeblockResultStringIds
waitmessage 64
playanimation BS_OPPONENT1, B_ANIM_SAFARI_REACTION, NULL
waitmessage B_WAIT_TIME_LONG
playanimation BS_OPPONENT1, B_ANIM_SAFARI_REACTION
end2
BattleScript_ThrowRock::
printstring STRINGID_THREWROCK
waitmessage 64
playanimation BS_ATTACKER, B_ANIM_ROCK_THROW, NULL
waitmessage B_WAIT_TIME_LONG
playanimation BS_ATTACKER, B_ANIM_ROCK_THROW
end2
BattleScript_ThrowBait::
printstring STRINGID_THREWBAIT
waitmessage 64
playanimation BS_ATTACKER, B_ANIM_BAIT_THROW, NULL
waitmessage B_WAIT_TIME_LONG
playanimation BS_ATTACKER, B_ANIM_BAIT_THROW
end2
BattleScript_LeftoverWallyPrepToThrow::
printstring STRINGID_RETURNMON
waitmessage 64
waitmessage B_WAIT_TIME_LONG
returnatktoball
waitstate
trainerslidein BS_TARGET
waitstate
printstring STRINGID_YOUTHROWABALLNOWRIGHT
waitmessage 64
waitmessage B_WAIT_TIME_LONG
end2
+88 -87
View File
@@ -10,6 +10,7 @@
#include "constants/pokemon.h"
#include "constants/moves.h"
#include "constants/songs.h"
#include "constants/sound.h"
#include "constants/species.h"
#include "constants/vars.h"
#include "constants/battle.h"
@@ -45,7 +46,7 @@
.include "data/script_cmd_table.inc"
.align 2
gSpecialVars:: @ 815FD0C
gSpecialVars::
.4byte gSpecialVar_0x8000
.4byte gSpecialVar_0x8001
.4byte gSpecialVar_0x8002
@@ -71,7 +72,7 @@ gSpecialVars:: @ 815FD0C
.include "data/specials.inc"
.align 2
gStdScripts:: @ 8160450
gStdScripts::
.4byte Std_ObtainItem
.4byte Std_FindItem
.4byte Std_MsgboxNPC
@@ -342,9 +343,9 @@ gStdScriptsEnd::
.include "data/maps/PalletTown_PlayersHouse_2F/scripts.inc"
.include "data/maps/PalletTown_RivalsHouse/scripts.inc"
.include "data/maps/PalletTown_ProfessorOaksLab/scripts.inc"
.include "data/maps/ViridianCity_House1/scripts.inc"
.include "data/maps/ViridianCity_House/scripts.inc"
.include "data/maps/ViridianCity_Gym/scripts.inc"
.include "data/maps/ViridianCity_House2/scripts.inc"
.include "data/maps/ViridianCity_School/scripts.inc"
.include "data/maps/ViridianCity_Mart/scripts.inc"
.include "data/maps/ViridianCity_PokemonCenter_1F/scripts.inc"
.include "data/maps/ViridianCity_PokemonCenter_2F/scripts.inc"
@@ -668,9 +669,9 @@ gStdScriptsEnd::
.include "data/maps/PalletTown_PlayersHouse_2F/text.inc"
.include "data/maps/PalletTown_RivalsHouse/text.inc"
.include "data/maps/PalletTown_ProfessorOaksLab/text.inc"
.include "data/maps/ViridianCity_House1/text.inc"
.include "data/maps/ViridianCity_House/text.inc"
.include "data/maps/ViridianCity_Gym/text.inc"
.include "data/maps/ViridianCity_House2/text.inc"
.include "data/maps/ViridianCity_School/text.inc"
.include "data/maps/ViridianCity_Mart/text.inc"
.include "data/maps/ViridianCity_PokemonCenter_1F/text.inc"
.include "data/maps/PewterCity_Museum_1F/text.inc"
@@ -805,58 +806,58 @@ gStdScriptsEnd::
.include "data/scripts/trainer_battle.inc"
@ Unused
Text_WouldYouLikeToMixRecords:: @ 81A5028
Text_WouldYouLikeToMixRecords::
.string "Would you like to mix records with\n"
.string "other TRAINERS?$"
@ Unused
Text_WeHopeToSeeYouAgain2:: @ 81A505B
Text_WeHopeToSeeYouAgain2::
.string "We hope to see you again!$"
.include "data/text/pc.inc"
@ Unused
Text_WelcomeTradeCenter:: @ 81A5103
Text_WelcomeTradeCenter::
.string "Welcome to the POKéMON CABLE CLUB\n"
.string "TRADE CENTER.$"
@ Unused
Text_WelcomeColosseum:: @ 81A5133
Text_WelcomeColosseum::
.string "Welcome to the POKéMON CABLE CLUB\n"
.string "COLOSSEUM.$"
@ Unused
Text_WelcomeTimeCapsule:: @ 81A5160
Text_WelcomeTimeCapsule::
.string "Welcome to the POKéMON CABLE CLUB\n"
.string "TIME CAPSULE.$"
Text_PleaseComeAgain:: @ 81A5190
Text_PleaseComeAgain::
.string "Please come again!$"
@ Unused
Text_HavingDiscountSaleToday:: @ 81A51A3
Text_HavingDiscountSaleToday::
.string "Welcome!\p"
.string "We're having a discount sale today!$"
@ Unused
Text_PlayerWhatCanIDoForYou:: @ 81A51D0
Text_PlayerWhatCanIDoForYou::
.string "{PLAYER}{KUN}, welcome!\p"
.string "What can I do for you?$"
.include "data/text/obtain_item.inc"
Text_MakingPreparations:: @ 81A5351
Text_MakingPreparations::
.string "$"
Text_WantWhichFloor:: @ 81A535C
Text_WantWhichFloor::
.string "Which floor do you want?$"
Text_BagItemCanBeRegistered:: @ 81A5375
Text_BagItemCanBeRegistered::
.string "An item in the BAG can be\n"
.string "registered to SELECT for easy use.$"
@ Unused (email from R/S Rivals computer)
Text_TrainerSchoolEmail:: @ 81A53B2
Text_TrainerSchoolEmail::
.string "\n"
.string "  \l"
.string " \p"
@@ -866,35 +867,35 @@ Text_TrainerSchoolEmail:: @ 81A53B2
.string "  \p"
.string "  $"
Text_PlayerBootedUpPC:: @ 81A5420
Text_PlayerBootedUpPC::
.string "{PLAYER} booted up the PC.$"
@ Unused
Text_LinkWasCanceled:: @ 81A5435
Text_LinkWasCanceled::
.string " $"
@ Unused
Text_GiveNicknameToReceivedMon:: @ 81A5446
Text_GiveNicknameToReceivedMon::
.string "Want to give a nickname to the\n"
.string "{STR_VAR_2} you received?$"
gText_PkmnFainted3:: @ 81A5476
gText_PkmnFainted3::
.string "{STR_VAR_1} fainted\p"
.string "$"
Text_WelcomeWantToHealPkmn:: @ 81A5483
Text_WelcomeWantToHealPkmn::
.string "Welcome to our POKéMON CENTER!\p"
.string "Would you like me to heal your\n"
.string "POKéMON back to perfect health?$"
Text_TakeYourPkmnForFewSeconds:: @ 81A54E1
Text_TakeYourPkmnForFewSeconds::
.string "Okay, I'll take your POKéMON for a\n"
.string "few seconds.$"
Text_WeHopeToSeeYouAgain:: @ 81A5511
Text_WeHopeToSeeYouAgain::
.string "We hope to see you again!$"
Text_RestoredPkmnToFullHealth:: @ 81A552B
Text_RestoredPkmnToFullHealth::
.string "Thank you for waiting.\n"
.string "We've restored your POKéMON to\l"
.string "full health.$"
@@ -902,29 +903,29 @@ Text_RestoredPkmnToFullHealth:: @ 81A552B
.include "data/text/surf.inc"
@ Unused, from R/S
Text_DoorOpenedFarAway:: @ 81A55EA
Text_DoorOpenedFarAway::
.string "  \n"
.string " $"
@ Unused, from R/S
Text_BigHoleInTheWall:: @ 81A5606
Text_BigHoleInTheWall::
.string "\n"
.string "  $"
Text_WirelessClubUndergoingAdjustments:: @ 81A561A
Text_WirelessClubUndergoingAdjustments::
.string "I'm terribly sorry.\n"
.string "The POKéMON WIRELESS CLUB is\l"
.string "undergoing adjustments now.$"
Text_AppearsToBeUndergoingAdjustments:: @ 81A5667
Text_AppearsToBeUndergoingAdjustments::
.string "It appears to be undergoing\n"
.string "adjustments$"
Text_HandedOverItem:: @ 81A5690
Text_HandedOverItem::
.string "{PLAYER} handed over the\n"
.string "{STR_VAR_1}.$"
Text_GiveNicknameToThisMon:: @ 81A56A7
Text_GiveNicknameToThisMon::
.string "Do you want to give a nickname to\n"
.string "this {STR_VAR_1}?$"
@@ -933,81 +934,81 @@ Text_GiveNicknameToThisMon:: @ 81A56A7
.include "data/text/aide.inc"
.include "data/text/ingame_trade.inc"
Text_CardKeyOpenedDoor:: @ 81A5B88
Text_CardKeyOpenedDoor::
.string "Bingo!\n"
.string "The CARD KEY opened the door!$"
Text_ItNeedsCardKey:: @ 81A5BAD
Text_ItNeedsCardKey::
.string "No!\n"
.string "It needs a CARD KEY!$"
Text_AccessedProfOaksPC:: @ 81A5BC6
Text_AccessedProfOaksPC::
.string "Accessed PROF. OAK's PC\p"
.string "Accessed the POKéDEX Rating\n"
.string "System$"
Text_HavePokedexRated:: @ 81A5C03
Text_HavePokedexRated::
.string "Would you like to have your\n"
.string "POKéDEX rated?$"
Text_ClosedLinkToProfOaksPC:: @ 81A5C2E
Text_ClosedLinkToProfOaksPC::
.string "Closed link to PROF. OAK's PC.$"
Text_VoiceRangOutDontRunAway:: @ 81A5C4D
Text_VoiceRangOutDontRunAway::
.string "Someone's voice rang out,\n"
.string "Don't run away!$"
@ Uncear what the below unused JP texts were for
Text_IdLikeToSeeRequest:: @ 81A5C79
Text_IdLikeToSeeRequest::
.string "\n"
.string "{STR_VAR_2} \p"
.string " {STR_VAR_1}{STR_VAR_3}\n"
.string "{STR_VAR_2} $"
Text_ThankYouForShowingMe:: @ 81A5C9F
Text_ThankYouForShowingMe::
.string " \n"
.string "{STR_VAR_1}{STR_VAR_3}{STR_VAR_2}\p"
.string "\n"
.string " $"
Text_ThatsNotRight:: @ 81A5CC3
Text_ThatsNotRight::
.string " $"
Text_ISee:: @ 81A5CCE
Text_ISee::
.string "$"
Text_TheDoorIsClosed:: @ 81A5CD3
Text_TheDoorIsClosed::
.string " $"
Text_TheDoorIsOpen:: @ 81A5CDF
Text_TheDoorIsOpen::
.string "The door is open$"
.include "data/text/pc_transfer.inc"
.include "data/text/white_out.inc"
.include "data/text/poke_mart.inc"
Text_MonFlewAway:: @ 81A63C4
Text_MonFlewAway::
.string "The {STR_VAR_1} flew away!$"
Text_TheresBedLetsRest:: @ 81A63D6
Text_TheresBedLetsRest::
.string " \n"
.string "$"
Text_FoundTMHMContainsMove:: @ 81A63E8
Text_FoundTMHMContainsMove::
.string "{PLAYER} found a {STR_VAR_2}!\n"
.string "It contains {STR_VAR_1}.$"
.include "data/text/seagallop.inc"
@ Call for legendary bird trio
Text_Gyaoo:: @ 81A6448
Text_Gyaoo::
.string "Gyaoo!$"
Text_MoveCanOnlyBeLearnedOnce:: @ 81A644F
Text_MoveCanOnlyBeLearnedOnce::
.string "This move can be learned only\n"
.string "once. Is that okay?$"
EventScript_ResetAllMapFlags:: @ 81A6481
EventScript_ResetAllMapFlags::
setflag FLAG_HIDE_OAK_IN_HIS_LAB
setflag FLAG_HIDE_OAK_IN_PALLET_TOWN
setflag FLAG_HIDE_BILL_HUMAN_SEA_COTTAGE
@@ -1065,7 +1066,7 @@ EventScript_ResetAllMapFlags:: @ 81A6481
.include "data/scripts/obtain_item.inc"
.include "data/scripts/pc.inc"
Common_ShowEasyChatScreen:: @ 81A6AC0
Common_ShowEasyChatScreen::
fadescreen FADE_TO_BLACK
special ShowEasyChatScreen
fadescreen FADE_FROM_BLACK
@@ -1076,12 +1077,12 @@ Common_ShowEasyChatScreen:: @ 81A6AC0
.include "data/scripts/bag_full.inc"
@ Unused
EventScript_GymBadgeFanfare:: @ 81A6C21
EventScript_GymBadgeFanfare::
playfanfare MUS_OBTAIN_BADGE
waitfanfare
return
EventScript_OutOfCenterPartyHeal:: @ 81A6C26
EventScript_OutOfCenterPartyHeal::
fadescreen FADE_TO_BLACK
playfanfare MUS_HEAL
waitfanfare
@@ -1089,7 +1090,7 @@ EventScript_OutOfCenterPartyHeal:: @ 81A6C26
fadescreen FADE_FROM_BLACK
return
EventScript_WallTownMap:: @ 81A6C32
EventScript_WallTownMap::
lockall
msgbox Text_ATownMap
goto_if_questlog EventScript_ReleaseEnd
@@ -1103,14 +1104,14 @@ EventScript_WallTownMap:: @ 81A6C32
.include "data/scripts/pokedex_rating.inc"
.include "data/scripts/cave_of_origin.inc"
EventScript_ChangePokemonNickname:: @ 81A74EB
EventScript_ChangePokemonNickname::
fadescreen FADE_TO_BLACK
special ChangePokemonNickname
waitstate
return
@ Unused
EventScript_HandOverItem:: @ 81A74F2
EventScript_HandOverItem::
getitemname 0, VAR_0x8004
playfanfare MUS_OBTAIN_TMHM
message Text_HandedOverItem
@@ -1124,29 +1125,29 @@ EventScript_HandOverItem:: @ 81A74F2
.include "data/scripts/flavor_text.inc"
.include "data/scripts/questionnaire.inc"
EventScript_BagItemCanBeRegistered:: @ 81A77A0
EventScript_BagItemCanBeRegistered::
msgbox Text_BagItemCanBeRegistered, MSGBOX_SIGN
end
EventScript_Return:: @ 81A77A9
EventScript_Return::
return
EventScript_SetResultTrue:: @ 81A77AA
EventScript_SetResultTrue::
setvar VAR_RESULT, TRUE
return
EventScript_SetResultFalse:: @ 81A77B0
EventScript_SetResultFalse::
setvar VAR_RESULT, FALSE
return
EventScript_SetExitingCyclingRoad:: @ 81A77B6
EventScript_SetExitingCyclingRoad::
lockall
clearflag FLAG_SYS_ON_CYCLING_ROAD
setvar VAR_MAP_SCENE_ROUTE16, 0
releaseall
end
EventScript_SetEnteringCyclingRoad:: @ 81A77C1
EventScript_SetEnteringCyclingRoad::
lockall
setvar VAR_MAP_SCENE_ROUTE16, 1
releaseall
@@ -1154,25 +1155,25 @@ EventScript_SetEnteringCyclingRoad:: @ 81A77C1
.include "data/scripts/route23.inc"
EventScript_GetElevatorFloor:: @ 81A7AB9
EventScript_GetElevatorFloor::
special GetElevatorFloor
return
.include "data/scripts/aide.inc"
EventScript_CancelMessageBox:: @ 81A7ADB
EventScript_CancelMessageBox::
special DoPicboxCancel
release
end
EventScript_ReleaseEnd:: @ 81A7AE0
EventScript_ReleaseEnd::
release
end
.include "data/scripts/pokemon_mansion.inc"
@ Unused
EventScript_DelayedLookAround:: @ 81A80FE
EventScript_DelayedLookAround::
lockall
applymovement VAR_0x8004, Movement_WalkInPlaceFastestLeft
waitmovement 0
@@ -1192,13 +1193,13 @@ EventScript_DelayedLookAround:: @ 81A80FE
.include "data/scripts/silphco_doors.inc"
.include "data/scripts/pc_transfer.inc"
EventScript_GetInGameTradeSpeciesInfo:: @ 81A8CAD
EventScript_GetInGameTradeSpeciesInfo::
copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_0x8009, VAR_RESULT
return
EventScript_ChooseMonForInGameTrade:: @ 81A8CBD
EventScript_ChooseMonForInGameTrade::
special ChoosePartyMon
waitstate
lock
@@ -1206,13 +1207,13 @@ EventScript_ChooseMonForInGameTrade:: @ 81A8CBD
copyvar VAR_0x800A, VAR_0x8004
return
EventScript_GetInGameTradeSpecies:: @ 81A8CC9
EventScript_GetInGameTradeSpecies::
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, GetTradeSpecies
copyvar VAR_0x800B, VAR_RESULT
return
EventScript_DoInGameTrade:: @ 81A8CD9
EventScript_DoInGameTrade::
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
special CreateInGameTradePokemon
@@ -1222,26 +1223,26 @@ EventScript_DoInGameTrade:: @ 81A8CD9
faceplayer
return
EventScript_VsSeekerChargingDone:: @ 81A8CED
EventScript_VsSeekerChargingDone::
special VsSeekerFreezeObjectsAfterChargeComplete
waitstate
special VsSeekerResetObjectMovementAfterChargeComplete
releaseall
end
Common_EventScript_UnionRoomAttendant:: @ 81A8CF6
Common_EventScript_UnionRoomAttendant::
call CableClub_EventScript_UnionRoomAttendant
end
Common_EventScript_WirelessClubAttendant:: @ 81A8CFC
Common_EventScript_WirelessClubAttendant::
call CableClub_EventScript_WirelessClubAttendant
end
Common_EventScript_DirectCornerAttendant:: @ 81A8D02
Common_EventScript_DirectCornerAttendant::
call CableClub_EventScript_DirectCornerAttendant
end
VermilionCity_PokemonCenter_1F_EventScript_VSSeekerWoman:: @ 81A8D08
VermilionCity_PokemonCenter_1F_EventScript_VSSeekerWoman::
lock
faceplayer
goto_if_set FLAG_GOT_VS_SEEKER, VermilionCity_PokemonCenter_1F_EventScript_ExplainVSSeeker
@@ -1254,7 +1255,7 @@ VermilionCity_PokemonCenter_1F_EventScript_VSSeekerWoman:: @ 81A8D08
release
end
VermilionCity_PokemonCenter_1F_EventScript_ExplainVSSeeker:: @ 81A8D3F
VermilionCity_PokemonCenter_1F_EventScript_ExplainVSSeeker::
msgbox VermilionCity_PokemonCenter_1F_Text_ExplainVSSeeker
release
end
@@ -1262,14 +1263,14 @@ VermilionCity_PokemonCenter_1F_EventScript_ExplainVSSeeker:: @ 81A8D3F
.include "data/scripts/itemfinder.inc"
.include "data/scripts/white_out.inc"
Std_PutItemAway:: @ 81A8E58
Std_PutItemAway::
bufferitemnameplural 1, VAR_0x8000, VAR_0x8001
checkitemtype VAR_0x8000
call EventScript_BufferPutAwayPocketName
msgbox Text_PutItemAway
return
EventScript_BufferPutAwayPocketName:: @ 81A8E6F
EventScript_BufferPutAwayPocketName::
switch VAR_RESULT
case POCKET_ITEMS, EventScript_BufferPutAwayPocketItems
case POCKET_KEY_ITEMS, EventScript_BufferPutAwayPocketKeyItems
@@ -1278,36 +1279,36 @@ EventScript_BufferPutAwayPocketName:: @ 81A8E6F
case POCKET_BERRY_POUCH, EventScript_BufferPutAwayPocketBerryPouch
end
EventScript_BufferPutAwayPocketItems:: @ 81A8EAC
EventScript_BufferPutAwayPocketItems::
getstdstring 2, STDSTRING_ITEMS_POCKET
return
EventScript_BufferPutAwayPocketKeyItems:: @ 81A8EB1
EventScript_BufferPutAwayPocketKeyItems::
getstdstring 2, STDSTRING_KEY_ITEMS_POCKET
return
EventScript_BufferPutAwayPocketPokeBalls:: @ 81A8EB6
EventScript_BufferPutAwayPocketPokeBalls::
getstdstring 2, STDSTRING_POKEBALLS_POCKET
return
EventScript_BufferPutAwayPocketTMCase:: @ 81A8EBB
EventScript_BufferPutAwayPocketTMCase::
getstdstring 2, STDSTRING_TM_CASE
return
EventScript_BufferPutAwayPocketBerryPouch:: @ 81A8EC0
EventScript_BufferPutAwayPocketBerryPouch::
getstdstring 2, STDSTRING_BERRY_POUCH
return
.include "data/scripts/seagallop.inc"
.include "data/scripts/static_pokemon.inc"
EventScript_TryDarkenRuins:: @ 81A925E
EventScript_TryDarkenRuins::
goto_if_set FLAG_SYS_UNLOCKED_TANOBY_RUINS, EventScript_Return
setweather WEATHER_SHADE
doweather
return
EventScript_BrailleCursorWaitButton:: @ 81A926C
EventScript_BrailleCursorWaitButton::
special BrailleCursorToggle
waitbuttonpress
playse SE_SELECT
@@ -1315,7 +1316,7 @@ EventScript_BrailleCursorWaitButton:: @ 81A926C
special BrailleCursorToggle
return
EventScript_NoMoreRoomForPokemon:: @ 81A927C
EventScript_NoMoreRoomForPokemon::
textcolor 3
msgbox Text_NoMoreRoomForPokemon
release
@@ -1326,7 +1327,7 @@ EventScript_NoMoreRoomForPokemon:: @ 81A927C
@ Test message!
@ Welcome to the world of Pokémon!
Text_TestMsg:: @ 81ACD45
Text_TestMsg::
.string " \n"
.string "  $"
+151 -151
View File
@@ -1,346 +1,346 @@
.include "asm/macros/field_effect_script.inc"
.section script_data, "aw", %progbits
.align 2
gFieldEffectScriptPointers:: @ 81D96AC
.4byte gFldEffScript_ExclamationMarkIcon
.4byte gFldEffScript_UseCutOnGrass
.4byte gFldEffScript_UseCutOnTree
.4byte gFldEffScript_Shadow
.4byte gFldEffScript_TallGrass
.4byte gFldEffScript_Ripple
.4byte gFldEffScript_FieldMoveShowMon
.4byte gFldEffScript_Ash
.4byte gFldEffScript_SurfBlob
.4byte gFldEffScript_UseSurf
.4byte gFldEffScript_Dust
.4byte gFldEffScript_UseSecretPowerCave
.4byte gFldEffScript_JumpTallGrass
.4byte gFldEffScript_SandFootprints
.4byte gFldEffScript_JumpBigSplash
.4byte gFldEffScript_Splash
.4byte gFldEffScript_JumpSmallSplash
.4byte gFldEffScript_LongGrass
.4byte gFldEffScript_JumpLongGrass
.4byte gFldEffScript_Unknown19
.4byte gFldEffScript_Unknown20
.4byte gFldEffScript_Unknown21
.4byte gFldEffScript_Unknown22
.4byte gFldEffScript_BerryTreeGrowthSparkle
.4byte gFldEffScript_DeepSandFootprints
.4byte gFldEffScript_PokecenterHeal
.4byte gFldEffScript_UseSecretPowerTree
.4byte gFldEffScript_UseSecretPowerShrub
.4byte gFldEffScript_TreeDisguise
.4byte gFldEffScript_MountainDisguise
.4byte gFldEffScript_NpcflyOut
.4byte gFldEffScript_UseFly
.4byte gFldEffScript_FlyIn
.4byte gFldEffScript_QuestionMarkIcon
.4byte gFldEffScript_FeetInFlowingWater
.4byte gFldEffScript_BikeTireTracks
.4byte gFldEffScript_SandDisguise
.4byte gFldEffScript_UseRockSmash
.4byte gFldEffScript_UseDig
.4byte gFldEffScript_SandPile
.4byte gFldEffScript_UseStrength
.4byte gFldEffScript_ShortGrass
.4byte gFldEffScript_HotSpringsWater
.4byte gFldEffScript_UseWaterfall
.4byte gFldEffScript_UseDive
.4byte gFldEffScript_Pokeball
.4byte gFldEffScript_HeartIcon
.4byte gFldEffScript_Nop47
.4byte gFldEffScript_Nop48
.4byte gFldEffScript_PopOutOfAsh
.4byte gFldEffScript_LavaridgeGymWarp
.4byte gFldEffScript_SweetScent
.4byte gFldEffScript_SandPillar
.4byte gFldEffScript_Bubbles
.4byte gFldEffScript_Sparkle
.4byte gFldEffScript_SecretPowerCave
.4byte gFldEffScript_SecretPowerTree
.4byte gFldEffScript_SecretPowerShrub
.4byte gFldEffScript_CutGrass
.4byte gFldEffScript_FieldMoveShowMonInit
.4byte gFldEffScript_UseFlyAncientTomb
.4byte gFldEffScript_PcturnOn
.4byte gFldEffScript_HallOfFameRecord
.4byte gFldEffScript_UseTeleport
.4byte gFldEffScript_SmileyFaceIcon
.4byte gFldEffScript_UseVsSeeker
.4byte gFldEffScript_DoubleExclMarkIcon
.4byte gFldEffScript_MoveDeoxysRock
.4byte gFldEffScript_Unk44
.4byte gFldEffScript_Unk45
gFieldEffectScriptPointers::
.4byte gFldEffScript_ExclamationMarkIcon @ FLDEFF_EXCLAMATION_MARK_ICON
.4byte gFldEffScript_UseCutOnGrass @ FLDEFF_USE_CUT_ON_GRASS
.4byte gFldEffScript_UseCutOnTree @ FLDEFF_USE_CUT_ON_TREE
.4byte gFldEffScript_Shadow @ FLDEFF_SHADOW
.4byte gFldEffScript_TallGrass @ FLDEFF_TALL_GRASS
.4byte gFldEffScript_Ripple @ FLDEFF_RIPPLE
.4byte gFldEffScript_FieldMoveShowMon @ FLDEFF_FIELD_MOVE_SHOW_MON
.4byte gFldEffScript_Ash @ FLDEFF_ASH
.4byte gFldEffScript_SurfBlob @ FLDEFF_SURF_BLOB
.4byte gFldEffScript_UseSurf @ FLDEFF_USE_SURF
.4byte gFldEffScript_Dust @ FLDEFF_DUST
.4byte gFldEffScript_UseSecretPowerCave @ FLDEFF_USE_SECRET_POWER_CAVE
.4byte gFldEffScript_JumpTallGrass @ FLDEFF_JUMP_TALL_GRASS
.4byte gFldEffScript_SandFootprints @ FLDEFF_SAND_FOOTPRINTS
.4byte gFldEffScript_JumpBigSplash @ FLDEFF_JUMP_BIG_SPLASH
.4byte gFldEffScript_Splash @ FLDEFF_SPLASH
.4byte gFldEffScript_JumpSmallSplash @ FLDEFF_JUMP_SMALL_SPLASH
.4byte gFldEffScript_LongGrass @ FLDEFF_LONG_GRASS
.4byte gFldEffScript_JumpLongGrass @ FLDEFF_JUMP_LONG_GRASS
.4byte gFldEffScript_UnusedGrass @ FLDEFF_UNUSED_GRASS
.4byte gFldEffScript_UnusedGrass2 @ FLDEFF_UNUSED_GRASS_2
.4byte gFldEffScript_UnusedSand @ FLDEFF_UNUSED_SAND
.4byte gFldEffScript_UnusedWaterSurfacing @ FLDEFF_UNUSED_WATER_SURFACING
.4byte gFldEffScript_BerryTreeGrowthSparkle @ FLDEFF_BERRY_TREE_GROWTH_SPARKLE
.4byte gFldEffScript_DeepSandFootprints @ FLDEFF_DEEP_SAND_FOOTPRINTS
.4byte gFldEffScript_PokecenterHeal @ FLDEFF_POKECENTER_HEAL
.4byte gFldEffScript_UseSecretPowerTree @ FLDEFF_USE_SECRET_POWER_TREE
.4byte gFldEffScript_UseSecretPowerShrub @ FLDEFF_USE_SECRET_POWER_SHRUB
.4byte gFldEffScript_TreeDisguise @ FLDEFF_TREE_DISGUISE
.4byte gFldEffScript_MountainDisguise @ FLDEFF_MOUNTAIN_DISGUISE
.4byte gFldEffScript_NpcflyOut @ FLDEFF_NPCFLY_OUT
.4byte gFldEffScript_FlyOut @ FLDEFF_FLY_OUT
.4byte gFldEffScript_FlyIn @ FLDEFF_FLY_IN
.4byte gFldEffScript_QuestionMarkIcon @ FLDEFF_QUESTION_MARK_ICON
.4byte gFldEffScript_FeetInFlowingWater @ FLDEFF_FEET_IN_FLOWING_WATER
.4byte gFldEffScript_BikeTireTracks @ FLDEFF_BIKE_TIRE_TRACKS
.4byte gFldEffScript_SandDisguise @ FLDEFF_SAND_DISGUISE
.4byte gFldEffScript_UseRockSmash @ FLDEFF_USE_ROCK_SMASH
.4byte gFldEffScript_UseDig @ FLDEFF_USE_DIG
.4byte gFldEffScript_SandPile @ FLDEFF_SAND_PILE
.4byte gFldEffScript_UseStrength @ FLDEFF_USE_STRENGTH
.4byte gFldEffScript_ShortGrass @ FLDEFF_SHORT_GRASS
.4byte gFldEffScript_HotSpringsWater @ FLDEFF_HOT_SPRINGS_WATER
.4byte gFldEffScript_UseWaterfall @ FLDEFF_USE_WATERFALL
.4byte gFldEffScript_UseDive @ FLDEFF_USE_DIVE
.4byte gFldEffScript_Pokeball @ FLDEFF_POKEBALL
.4byte gFldEffScript_HeartIcon @ FLDEFF_X_ICON
.4byte gFldEffScript_Nop47 @ FLDEFF_NOP_47
.4byte gFldEffScript_Nop48 @ FLDEFF_NOP_48
.4byte gFldEffScript_PopOutOfAsh @ FLDEFF_POP_OUT_OF_ASH
.4byte gFldEffScript_LavaridgeGymWarp @ FLDEFF_LAVARIDGE_GYM_WARP
.4byte gFldEffScript_SweetScent @ FLDEFF_SWEET_SCENT
.4byte gFldEffScript_SandPillar @ FLDEFF_SAND_PILLAR
.4byte gFldEffScript_Bubbles @ FLDEFF_BUBBLES
.4byte gFldEffScript_Sparkle @ FLDEFF_SPARKLE
.4byte gFldEffScript_SecretPowerCave @ FLDEFF_SECRET_POWER_CAVE
.4byte gFldEffScript_SecretPowerTree @ FLDEFF_SECRET_POWER_TREE
.4byte gFldEffScript_SecretPowerShrub @ FLDEFF_SECRET_POWER_SHRUB
.4byte gFldEffScript_CutGrass @ FLDEFF_CUT_GRASS
.4byte gFldEffScript_FieldMoveShowMonInit @ FLDEFF_FIELD_MOVE_SHOW_MON_INIT
.4byte gFldEffScript_UseFlyAncientTomb @ FLDEFF_USE_FLY_ANCIENT_TOMB
.4byte gFldEffScript_PcturnOn @ FLDEFF_PCTURN_ON
.4byte gFldEffScript_HallOfFameRecord @ FLDEFF_HALL_OF_FAME_RECORD
.4byte gFldEffScript_UseTeleport @ FLDEFF_USE_TELEPORT
.4byte gFldEffScript_SmileyFaceIcon @ FLDEFF_SMILEY_FACE_ICON
.4byte gFldEffScript_UseVsSeeker @ FLDEFF_USE_VS_SEEKER
.4byte gFldEffScript_DoubleExclMarkIcon @ FLDEFF_DOUBLE_EXCL_MARK_ICON
.4byte gFldEffScript_MoveDeoxysRock @ FLDEFF_MOVE_DEOXYS_ROCK
.4byte gFldEffScript_DestroyDeoxysRock @ FLDEFF_DESTROY_DEOXYS_ROCK
.4byte gFldEffScript_PhotoFlash @ FLDEFF_PHOTO_FLASH
gFldEffScript_ExclamationMarkIcon:: @ 81D97C4
gFldEffScript_ExclamationMarkIcon::
callnative FldEff_ExclamationMarkIcon1
end
gFldEffScript_UseCutOnGrass:: @ 81D97CA
gFldEffScript_UseCutOnGrass::
callnative FldEff_UseCutOnGrass
end
gFldEffScript_UseCutOnTree:: @ 81D97D0
gFldEffScript_UseCutOnTree::
callnative FldEff_UseCutOnTree
end
gFldEffScript_Shadow:: @ 81D97D6
gFldEffScript_Shadow::
callnative FldEff_Shadow
end
gFldEffScript_TallGrass:: @ 81D97DC
gFldEffScript_TallGrass::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_TallGrass
end
gFldEffScript_Ripple:: @ 81D97E6
gFldEffScript_Ripple::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_Ripple
end
gFldEffScript_FieldMoveShowMon:: @ 81D97F0
gFldEffScript_FieldMoveShowMon::
callnative FldEff_FieldMoveShowMon
end
gFldEffScript_Ash:: @ 81D97F6
gFldEffScript_Ash::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_Ash
end
gFldEffScript_SurfBlob:: @ 81D9800
gFldEffScript_SurfBlob::
callnative FldEff_SurfBlob
end
gFldEffScript_UseSurf:: @ 81D9806
gFldEffScript_UseSurf::
callnative FldEff_UseSurf
end
gFldEffScript_Dust:: @ 81D980C
gFldEffScript_Dust::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_Dust
end
gFldEffScript_UseSecretPowerCave:: @ 81D9816
gFldEffScript_UseSecretPowerCave::
end
gFldEffScript_JumpTallGrass:: @ 81D9817
gFldEffScript_JumpTallGrass::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_JumpTallGrass
end
gFldEffScript_SandFootprints:: @ 81D9821
gFldEffScript_SandFootprints::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_SandFootprints
end
gFldEffScript_JumpBigSplash:: @ 81D982B
gFldEffScript_JumpBigSplash::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_JumpBigSplash
end
gFldEffScript_Splash:: @ 81D9835
gFldEffScript_Splash::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_Splash
end
gFldEffScript_JumpSmallSplash:: @ 81D983F
gFldEffScript_JumpSmallSplash::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_JumpSmallSplash
end
gFldEffScript_LongGrass:: @ 81D9849
gFldEffScript_LongGrass::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_LongGrass
end
gFldEffScript_JumpLongGrass:: @ 81D9853
gFldEffScript_JumpLongGrass::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_JumpLongGrass
end
gFldEffScript_Unknown19:: @ 81D985D
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_Unknown19
gFldEffScript_UnusedGrass::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_UnusedGrass
end
gFldEffScript_Unknown20:: @ 81D9867
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_Unknown20
gFldEffScript_UnusedGrass2::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_UnusedGrass2
end
gFldEffScript_Unknown21:: @ 81D9871
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_Unknown21
gFldEffScript_UnusedSand::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_UnusedSand
end
gFldEffScript_Unknown22:: @ 81D987B
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_Unknown22
gFldEffScript_UnusedWaterSurfacing::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_UnusedWaterSurfacing
end
gFldEffScript_BerryTreeGrowthSparkle:: @ 81D9885
gFldEffScript_BerryTreeGrowthSparkle::
callnative FldEff_BerryTreeGrowthSparkle
end
gFldEffScript_DeepSandFootprints:: @ 81D988B
gFldEffScript_DeepSandFootprints::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_DeepSandFootprints
end
gFldEffScript_PokecenterHeal:: @ 81D9895
loadfadedpal gUnknown_83CBE9C
gFldEffScript_PokecenterHeal::
loadfadedpal gSpritePalette_PokeballGlow
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_PokecenterHeal
end
gFldEffScript_UseSecretPowerTree:: @ 81D98A4
gFldEffScript_UseSecretPowerTree::
end
gFldEffScript_UseSecretPowerShrub:: @ 81D98A5
gFldEffScript_UseSecretPowerShrub::
end
gFldEffScript_TreeDisguise:: @ 81D98A6
gFldEffScript_TreeDisguise::
callnative ShowTreeDisguiseFieldEffect
end
gFldEffScript_MountainDisguise:: @ 81D98AC
gFldEffScript_MountainDisguise::
callnative ShowMountainDisguiseFieldEffect
end
gFldEffScript_NpcflyOut:: @ 81D98B2
gFldEffScript_NpcflyOut::
callnative FldEff_NpcFlyOut
end
gFldEffScript_UseFly:: @ 81D98B8
callnative FldEff_UseFly
gFldEffScript_FlyOut::
callnative FldEff_FlyOut
end
gFldEffScript_FlyIn:: @ 81D98BE
gFldEffScript_FlyIn::
callnative FldEff_FlyIn
end
gFldEffScript_QuestionMarkIcon:: @ 81D98C4
gFldEffScript_QuestionMarkIcon::
callnative FldEff_QuestionMarkIcon
end
gFldEffScript_FeetInFlowingWater:: @ 81D98CA
gFldEffScript_FeetInFlowingWater::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_FeetInFlowingWater
end
gFldEffScript_BikeTireTracks:: @ 81D98D4
gFldEffScript_BikeTireTracks::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_BikeTireTracks
end
gFldEffScript_SandDisguise:: @ 81D98DE
gFldEffScript_SandDisguise::
callnative ShowSandDisguiseFieldEffect
end
gFldEffScript_UseRockSmash:: @ 81D98E4
gFldEffScript_UseRockSmash::
callnative FldEff_UseRockSmash
end
gFldEffScript_UseStrength:: @ 81D98EA
gFldEffScript_UseStrength::
callnative FldEff_UseStrength
end
gFldEffScript_UseDig:: @ 81D98F0
gFldEffScript_UseDig::
callnative FldEff_UseDig
end
gFldEffScript_SandPile:: @ 81D98F6
gFldEffScript_SandPile::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_SandPile
end
gFldEffScript_ShortGrass:: @ 81D9900
gFldEffScript_ShortGrass::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_ShortGrass
end
gFldEffScript_HotSpringsWater:: @ 81D990A
gFldEffScript_HotSpringsWater::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect1, FldEff_HotSpringsWater
end
gFldEffScript_UseWaterfall:: @ 81D9914
gFldEffScript_UseWaterfall::
callnative FldEff_UseWaterfall
end
gFldEffScript_UseDive:: @ 81D991A
gFldEffScript_UseDive::
callnative FldEff_UseDive
end
gFldEffScript_Pokeball:: @ 81D9920
gFldEffScript_Pokeball::
loadpal sSpritePalette_SlidingPokeball
callnative FldEff_Pokeball
end
gFldEffScript_HeartIcon:: @ 81D992B
gFldEffScript_HeartIcon::
callnative FldEff_XIcon
end
gFldEffScript_Nop47:: @ 81D9931
gFldEffScript_Nop47::
end
gFldEffScript_Nop48:: @ 81D9932
gFldEffScript_Nop48::
end
gFldEffScript_PopOutOfAsh:: @ 81D9933
gFldEffScript_PopOutOfAsh::
loadfadedpal_callnative gSpritePalette_Ash, FldEff_PopOutOfAsh
end
gFldEffScript_LavaridgeGymWarp:: @ 81D993D
gFldEffScript_LavaridgeGymWarp::
loadfadedpal_callnative gSpritePalette_Ash, FldEff_LavaridgeGymWarp
end
gFldEffScript_SweetScent:: @ 81D9947
gFldEffScript_SweetScent::
callnative FldEff_SweetScent
end
gFldEffScript_SandPillar:: @ 81D994D
gFldEffScript_SandPillar::
end
gFldEffScript_Bubbles:: @ 81D994E
gFldEffScript_Bubbles::
loadfadedpal_callnative gSpritePalette_GeneralFieldEffect0, FldEff_Bubbles
end
gFldEffScript_Sparkle:: @ 81D9958
gFldEffScript_Sparkle::
loadfadedpal_callnative gSpritePalette_SmallSparkle, FldEff_Sparkle
end
gFldEffScript_SecretPowerCave:: @ 81D9962
gFldEffScript_SecretPowerCave::
end
gFldEffScript_SecretPowerTree:: @ 81D9963
gFldEffScript_SecretPowerTree::
end
gFldEffScript_SecretPowerShrub:: @ 81D9964
gFldEffScript_SecretPowerShrub::
end
gFldEffScript_CutGrass:: @ 81D9965
gFldEffScript_CutGrass::
loadfadedpal_callnative gFldEffPalette_CutGrass, FldEff_CutGrass
end
gFldEffScript_FieldMoveShowMonInit:: @ 81D996F
gFldEffScript_FieldMoveShowMonInit::
callnative FldEff_FieldMoveShowMonInit
end
gFldEffScript_UseFlyAncientTomb:: @ 81D9975
gFldEffScript_UseFlyAncientTomb::
end
gFldEffScript_PcturnOn:: @ 81D9976
gFldEffScript_PcturnOn::
end
gFldEffScript_HallOfFameRecord:: @ 81D9977
loadfadedpal gUnknown_83CBE9C
loadfadedpal_callnative gUnknown_83CBEA4, FldEff_HallOfFameRecord
gFldEffScript_HallOfFameRecord::
loadfadedpal gSpritePalette_PokeballGlow
loadfadedpal_callnative gSpritePalette_HofMonitor, FldEff_HallOfFameRecord
end
gFldEffScript_UseTeleport:: @ 81D9986
gFldEffScript_UseTeleport::
callnative FldEff_UseTeleport
end
gFldEffScript_SmileyFaceIcon:: @ 81D998C
gFldEffScript_SmileyFaceIcon::
callnative FldEff_SmileyFaceIcon
end
gFldEffScript_UseVsSeeker:: @ 81D9992
gFldEffScript_UseVsSeeker::
callnative FldEff_UseVsSeeker
end
gFldEffScript_DoubleExclMarkIcon:: @ 81D9998
gFldEffScript_DoubleExclMarkIcon::
callnative FldEff_DoubleExclMarkIcon
end
gFldEffScript_MoveDeoxysRock:: @ 81D999E
gFldEffScript_MoveDeoxysRock::
callnative FldEff_MoveDeoxysRock
end
gFldEffScript_Unk44:: @ 81D99A4
callnative FldEff_Unk44
gFldEffScript_DestroyDeoxysRock::
callnative FldEff_DestroyDeoxysRock
end
gFldEffScript_Unk45:: @ 81D99AA
callnative FldEff_Unk45
gFldEffScript_PhotoFlash::
callnative FldEff_PhotoFlash
end
+8 -8
View File
@@ -2984,16 +2984,16 @@
"blockdata_filepath": "data/layouts/SevenIsland_House_Room2/map.bin"
},
{
"id": "LAYOUT_VIRIDIAN_CITY_HOUSE2",
"name": "ViridianCity_House2_Layout",
"id": "LAYOUT_VIRIDIAN_CITY_SCHOOL",
"name": "ViridianCity_School_Layout",
"width": 10,
"height": 9,
"border_width": 2,
"border_height": 2,
"primary_tileset": "gTileset_Building",
"secondary_tileset": "gTileset_School",
"border_filepath": "data/layouts/ViridianCity_House2/border.bin",
"blockdata_filepath": "data/layouts/ViridianCity_House2/map.bin"
"border_filepath": "data/layouts/ViridianCity_School/border.bin",
"blockdata_filepath": "data/layouts/ViridianCity_School/map.bin"
},
{
"id": "LAYOUT_CELADON_CITY_RESTAURANT_DUPLICATE",
@@ -3104,16 +3104,16 @@
"blockdata_filepath": "data/layouts/Route5_PokemonDayCare/map.bin"
},
{
"id": "LAYOUT_VIRIDIAN_CITY_HOUSE1",
"name": "ViridianCity_House1_Layout",
"id": "LAYOUT_VIRIDIAN_CITY_HOUSE",
"name": "ViridianCity_House_Layout",
"width": 11,
"height": 9,
"border_width": 2,
"border_height": 2,
"primary_tileset": "gTileset_Building",
"secondary_tileset": "gTileset_GenericBuilding2",
"border_filepath": "data/layouts/ViridianCity_House1/border.bin",
"blockdata_filepath": "data/layouts/ViridianCity_House1/map.bin"
"border_filepath": "data/layouts/ViridianCity_House/border.bin",
"blockdata_filepath": "data/layouts/ViridianCity_House/map.bin"
},
{
"id": "LAYOUT_FOUR_ISLAND_POKEMON_DAY_CARE",
+1 -1
View File
@@ -1,2 +1,2 @@
BattleColosseum_2P_MapScripts:: @ 8160478
BattleColosseum_2P_MapScripts::
.byte 0
+1 -1
View File
@@ -1,2 +1,2 @@
BattleColosseum_4P_MapScripts:: @ 816047B
BattleColosseum_4P_MapScripts::
.byte 0
+16 -16
View File
@@ -1,17 +1,17 @@
.set LOCALID_DEOXYS_ROCK, 1
.set LOCALID_DEOXYS, 2
BirthIsland_Exterior_MapScripts:: @ 8165203
BirthIsland_Exterior_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, BirthIsland_Exterior_OnTransition
map_script MAP_SCRIPT_ON_RESUME, BirthIsland_Exterior_OnResume
map_script MAP_SCRIPT_ON_RETURN_TO_FIELD, BirthIsland_Exterior_OnReturnToField
.byte 0
BirthIsland_Exterior_OnReturnToField:: @ 8165213
BirthIsland_Exterior_OnReturnToField::
special SetDeoxysTrianglePalette
end
BirthIsland_Exterior_OnTransition:: @ 8165217
BirthIsland_Exterior_OnTransition::
setworldmapflag FLAG_WORLD_MAP_BIRTH_ISLAND_EXTERIOR
setvar VAR_OBJ_GFX_ID_0, OBJ_EVENT_GFX_DEOXYS_N
setvar VAR_DEOXYS_INTERACTION_STEP_COUNTER, 0
@@ -20,29 +20,29 @@ BirthIsland_Exterior_OnTransition:: @ 8165217
call_if_unset FLAG_FOUGHT_DEOXYS, BirthIsland_Exterior_EventScript_TryShowDeoxysPuzzle
end
BirthIsland_Exterior_EventScript_HideDeoxysAndPuzzle:: @ 816523C
BirthIsland_Exterior_EventScript_HideDeoxysAndPuzzle::
setflag FLAG_HIDE_DEOXYS
setflag FLAG_HIDE_BIRTH_ISLAND_METEORITE
return
BirthIsland_Exterior_EventScript_TryShowDeoxysPuzzle:: @ 8165243
BirthIsland_Exterior_EventScript_TryShowDeoxysPuzzle::
goto_if_set FLAG_DEOXYS_FLEW_AWAY, EventScript_Return
clearflag FLAG_HIDE_BIRTH_ISLAND_METEORITE
clearflag FLAG_SYS_DEOXYS_AWAKENED
return
BirthIsland_Exterior_OnResume:: @ 8165253
BirthIsland_Exterior_OnResume::
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, BirthIsland_Exterior_EventScript_TryRemoveDeoxys
end
BirthIsland_Exterior_EventScript_TryRemoveDeoxys:: @ 816525D
BirthIsland_Exterior_EventScript_TryRemoveDeoxys::
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne EventScript_Return
removeobject LOCALID_DEOXYS
return
BirthIsland_Exterior_EventScript_Triangle:: @ 8165271
BirthIsland_Exterior_EventScript_Triangle::
lock
faceplayer
goto_if_questlog EventScript_ReleaseEnd
@@ -56,19 +56,19 @@ BirthIsland_Exterior_EventScript_Triangle:: @ 8165271
case 3, BirthIsland_Exterior_EventScript_NotSolved3
end
BirthIsland_Exterior_EventScript_NotSolved1:: @ 81652BA
BirthIsland_Exterior_EventScript_NotSolved1::
release
end
BirthIsland_Exterior_EventScript_NotSolved2:: @ 81652BC
BirthIsland_Exterior_EventScript_NotSolved2::
release
end
BirthIsland_Exterior_EventScript_NotSolved3:: @ 81652BE
BirthIsland_Exterior_EventScript_NotSolved3::
release
end
BirthIsland_Exterior_EventScript_Deoxys:: @ 81652C0
BirthIsland_Exterior_EventScript_Deoxys::
addobject LOCALID_DEOXYS
waitse
setfieldeffectarg 0, LOCALID_DEOXYS_ROCK
@@ -80,7 +80,7 @@ BirthIsland_Exterior_EventScript_Deoxys:: @ 81652C0
applymovement LOCALID_DEOXYS, Movement_DeoxysApproach
waitmovement 0
waitse
playmoncry SPECIES_DEOXYS, 2
playmoncry SPECIES_DEOXYS, CRY_MODE_ENCOUNTER
delay 40
waitmoncry
setvar VAR_LAST_TALKED, LOCALID_DEOXYS
@@ -103,18 +103,18 @@ BirthIsland_Exterior_EventScript_Deoxys:: @ 81652C0
release
end
BirthIsland_Exterior_EventScript_DefeatedDeoxys:: @ 816533A
BirthIsland_Exterior_EventScript_DefeatedDeoxys::
setflag FLAG_DEOXYS_FLEW_AWAY
setvar VAR_0x8004, SPECIES_DEOXYS
goto EventScript_MonFlewAway
end
BirthIsland_Exterior_EventScript_RanFromDeoxys:: @ 8165348
BirthIsland_Exterior_EventScript_RanFromDeoxys::
setvar VAR_0x8004, SPECIES_DEOXYS
goto EventScript_MonFlewAway
end
Movement_DeoxysApproach: @ 8165353
Movement_DeoxysApproach:
walk_slower_down
walk_slower_down
walk_slower_down
+2 -2
View File
@@ -1,7 +1,7 @@
BirthIsland_Harbor_MapScripts:: @ 81653E6
BirthIsland_Harbor_MapScripts::
.byte 0
BirthIsland_Harbor_EventScript_Sailor:: @ 81653E7
BirthIsland_Harbor_EventScript_Sailor::
lock
faceplayer
message Text_WhereDoYouWantToSail
+22 -22
View File
@@ -1,37 +1,37 @@
.set LOCALID_FAT_MAN, 2
.set LOCALID_POLIWRATH, 3
CeladonCity_MapScripts:: @ 8166C8F
CeladonCity_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CeladonCity_OnTransition
.byte 0
CeladonCity_OnTransition:: @ 8166C95
CeladonCity_OnTransition::
setworldmapflag FLAG_WORLD_MAP_CELADON_CITY
end
CeladonCity_EventScript_LittleGirl:: @ 8166C99
CeladonCity_EventScript_LittleGirl::
msgbox CeladonCity_Text_GotMyKoffingInCinnabar, MSGBOX_NPC
end
CeladonCity_EventScript_OldMan1:: @ 8166CA2
CeladonCity_EventScript_OldMan1::
lock
msgbox CeladonCity_Text_GymIsGreatFullOfWomen
release
end
CeladonCity_EventScript_Woman:: @ 8166CAD
CeladonCity_EventScript_Woman::
msgbox CeladonCity_Text_GameCornerIsBadForCitysImage, MSGBOX_NPC
end
CeladonCity_EventScript_OldMan2:: @ 8166CB6
CeladonCity_EventScript_OldMan2::
msgbox CeladonCity_Text_BlewItAllAtSlots, MSGBOX_NPC
end
CeladonCity_EventScript_SoftboiledTutor:: @ 8166CBF
CeladonCity_EventScript_SoftboiledTutor::
goto EventScript_SoftboiledTutor
end
CeladonCity_EventScript_FatMan:: @ 8166CC5
CeladonCity_EventScript_FatMan::
lock
faceplayer
msgbox CeladonCity_Text_MyTrustedPalPoliwrath
@@ -41,11 +41,11 @@ CeladonCity_EventScript_FatMan:: @ 8166CC5
release
end
CeladonCity_EventScript_Poliwrath:: @ 8166CDC
CeladonCity_EventScript_Poliwrath::
lock
faceplayer
waitse
playmoncry SPECIES_POLIWRATH, 0
playmoncry SPECIES_POLIWRATH, CRY_MODE_NORMAL
msgbox CeladonCity_Text_Poliwrath
closemessage
waitmoncry
@@ -54,53 +54,53 @@ CeladonCity_EventScript_Poliwrath:: @ 8166CDC
release
end
CeladonCity_EventScript_RocketGrunt1:: @ 8166CFA
CeladonCity_EventScript_RocketGrunt1::
msgbox CeladonCity_Text_KeepOutOfTeamRocketsWay, MSGBOX_NPC
end
CeladonCity_EventScript_RocketGrunt2:: @ 8166D03
CeladonCity_EventScript_RocketGrunt2::
msgbox CeladonCity_Text_GetLostOrIllPunchYou, MSGBOX_NPC
end
CeladonCity_EventScript_Boy:: @ 8166D0C
CeladonCity_EventScript_Boy::
msgbox CeladonCity_Text_ScaldedTongueOnTea, MSGBOX_NPC
end
CeladonCity_EventScript_SilphCoScientist:: @ 8166D15
CeladonCity_EventScript_SilphCoScientist::
msgbox CeladonCity_Text_SomeoneStoleSilphScope, MSGBOX_NPC
end
CeladonCity_EventScript_TrainerTips1:: @ 8166D1E
CeladonCity_EventScript_TrainerTips1::
msgbox CeladonCity_Text_ExplainXAccuracyDireHit, MSGBOX_SIGN
end
CeladonCity_EventScript_CitySign:: @ 8166D27
CeladonCity_EventScript_CitySign::
msgbox CeladonCity_Text_CitySign, MSGBOX_SIGN
end
CeladonCity_EventScript_GymSign:: @ 8166D30
CeladonCity_EventScript_GymSign::
lockall
famechecker FAMECHECKER_ERIKA, 0
msgbox CeladonCity_Text_GymSign
releaseall
end
CeladonCity_EventScript_MansionSign:: @ 8166D48
CeladonCity_EventScript_MansionSign::
msgbox CeladonCity_Text_MansionSign, MSGBOX_SIGN
end
CeladonCity_EventScript_DeptStoreSign:: @ 8166D51
CeladonCity_EventScript_DeptStoreSign::
msgbox CeladonCity_Text_DeptStoreSign, MSGBOX_SIGN
end
CeladonCity_EventScript_TrainerTips2:: @ 8166D5A
CeladonCity_EventScript_TrainerTips2::
msgbox CeladonCity_Text_GuardSpecProtectsFromStatus, MSGBOX_SIGN
end
CeladonCity_EventScript_PrizeExchangeSign:: @ 8166D63
CeladonCity_EventScript_PrizeExchangeSign::
msgbox CeladonCity_Text_PrizeExchangeSign, MSGBOX_SIGN
end
CeladonCity_EventScript_GameCornerSign:: @ 8166D6C
CeladonCity_EventScript_GameCornerSign::
msgbox CeladonCity_Text_GameCornerSign, MSGBOX_SIGN
end
+22 -22
View File
@@ -1,40 +1,40 @@
CeladonCity_Text_GotMyKoffingInCinnabar:: @ 817FEC3
CeladonCity_Text_GotMyKoffingInCinnabar::
.string "I got my KOFFING in CINNABAR.\p"
.string "It's usually nice, but it breathes\n"
.string "poison when it's angry.$"
CeladonCity_Text_GymIsGreatFullOfWomen:: @ 817FF1C
CeladonCity_Text_GymIsGreatFullOfWomen::
.string "Heheh! This GYM is great!\n"
.string "It's full of women!$"
CeladonCity_Text_GameCornerIsBadForCitysImage:: @ 817FF4A
CeladonCity_Text_GameCornerIsBadForCitysImage::
.string "CELADON takes pride in its efforts\n"
.string "to keep the city beautiful.\p"
.string "That's why the new GAME CORNER is\n"
.string "bad for our city's image.$"
CeladonCity_Text_BlewItAllAtSlots:: @ 817FFC5
CeladonCity_Text_BlewItAllAtSlots::
.string "Moan…\n"
.string "I blew it all at the slots!\p"
.string "I knew I should have cashed in my\n"
.string "COINS for prizes!$"
CeladonCity_Text_MyTrustedPalPoliwrath:: @ 818001B
CeladonCity_Text_MyTrustedPalPoliwrath::
.string "This is my trusted pal, POLIWRATH.\p"
.string "It evolved from a POLIWHIRL when\n"
.string "I used a WATER STONE.$"
CeladonCity_Text_Poliwrath:: @ 8180075
CeladonCity_Text_Poliwrath::
.string "POLIWRATH: Ribi ribit!$"
CeladonCity_Text_GetLostOrIllPunchYou:: @ 818008C
CeladonCity_Text_GetLostOrIllPunchYou::
.string "What are you staring at?\n"
.string "Get lost, or I'll punch you.$"
CeladonCity_Text_KeepOutOfTeamRocketsWay:: @ 81800C2
CeladonCity_Text_KeepOutOfTeamRocketsWay::
.string "Keep out of TEAM ROCKET's way!$"
CeladonCity_Text_ExplainXAccuracyDireHit:: @ 81800E1
CeladonCity_Text_ExplainXAccuracyDireHit::
.string "TRAINER TIPS\p"
.string "X ACCURACY boosts the accuracy of\n"
.string "techniques.\p"
@@ -43,23 +43,23 @@ CeladonCity_Text_ExplainXAccuracyDireHit:: @ 81800E1
.string "Get your items at the CELADON\n"
.string "DEPT. STORE!$"
CeladonCity_Text_CitySign:: @ 818017A
CeladonCity_Text_CitySign::
.string "CELADON CITY\n"
.string "The City of Rainbow Dreams$"
CeladonCity_Text_GymSign:: @ 81801A2
CeladonCity_Text_GymSign::
.string "CELADON CITY POKéMON GYM\n"
.string "LEADER: ERIKA\l"
.string "The Nature-Loving Princess!$"
CeladonCity_Text_MansionSign:: @ 81801E5
CeladonCity_Text_MansionSign::
.string "CELADON MANSION$"
CeladonCity_Text_DeptStoreSign:: @ 81801F5
CeladonCity_Text_DeptStoreSign::
.string "Find what you need at the\n"
.string "CELADON DEPT. STORE!$"
CeladonCity_Text_GuardSpecProtectsFromStatus:: @ 8180224
CeladonCity_Text_GuardSpecProtectsFromStatus::
.string "TRAINER TIPS\p"
.string "GUARD SPEC. protects POKéMON\n"
.string "from status-reduction moves during\l"
@@ -67,15 +67,15 @@ CeladonCity_Text_GuardSpecProtectsFromStatus:: @ 8180224
.string "Get your items at the\n"
.string "CELADON DEPT. STORE!$"
CeladonCity_Text_PrizeExchangeSign:: @ 81802A4
CeladonCity_Text_PrizeExchangeSign::
.string "COINS exchanged for prizes!\n"
.string "PRIZE EXCHANGE$"
CeladonCity_Text_GameCornerSign:: @ 81802CF
CeladonCity_Text_GameCornerSign::
.string "ROCKET GAME CORNER\n"
.string "The playground for grown-ups!$"
CeladonCity_Text_ScaldedTongueOnTea:: @ 8180300
CeladonCity_Text_ScaldedTongueOnTea::
.string "Aaaagh, ow…\n"
.string "I scalded my tongue!\p"
.string "This nice old lady in the MANSION\n"
@@ -83,7 +83,7 @@ CeladonCity_Text_ScaldedTongueOnTea:: @ 8180300
.string "But it was boiling hot!\n"
.string "Gotta cool it to drink it.$"
Text_SoftboiledTeach:: @ 8180388
Text_SoftboiledTeach::
.string "Hello, there!\p"
.string "I've seen you about, but I never\n"
.string "had a chance to chat.\p"
@@ -92,19 +92,19 @@ Text_SoftboiledTeach:: @ 8180388
.string "I'd like to celebrate by teaching\n"
.string "you the move SOFTBOILED.$"
Text_SoftboiledDeclined:: @ 818043F
Text_SoftboiledDeclined::
.string "I'll always be keeping an eye out\n"
.string "for you.\p"
.string "I hope we can chat again.$"
Text_SoftboiledWhichMon:: @ 8180484
Text_SoftboiledWhichMon::
.string "So, who's the POKéMON that gets\n"
.string "the chance to learn SOFTBOILED?$"
Text_SoftboiledTaught:: @ 81804C4
Text_SoftboiledTaught::
.string "I wish you the best of luck!$"
CeladonCity_Text_SomeoneStoleSilphScope:: @ 81804E1
CeladonCity_Text_SomeoneStoleSilphScope::
.string "Oh, what am I to do…\p"
.string "Someone stole our SILPH SCOPE.\p"
.string "The thief came running this way,\n"
@@ -1,7 +1,7 @@
CeladonCity_Condominiums_1F_MapScripts:: @ 816C320
CeladonCity_Condominiums_1F_MapScripts::
.byte 0
CeladonCity_Condominiums_1F_EventScript_TeaWoman:: @ 816C321
CeladonCity_Condominiums_1F_EventScript_TeaWoman::
lock
faceplayer
goto_if_set FLAG_TALKED_TO_TEA_LADY_AFTER_HOF, CeladonCity_Condominiums_1F_EventScript_TeaWomanAfterTea
@@ -16,48 +16,48 @@ CeladonCity_Condominiums_1F_EventScript_TeaWoman:: @ 816C321
release
end
CeladonCity_Condominiums_1F_EventScript_TeaWomanAfterTea:: @ 816C36A
CeladonCity_Condominiums_1F_EventScript_TeaWomanAfterTea::
msgbox CeladonCity_Condominiums_1F_Text_MyDearMonsKeepMeCompany
release
end
CeladonCity_Condominiums_1F_EventScript_TeaWomanMentionDaisy:: @ 816C374
CeladonCity_Condominiums_1F_EventScript_TeaWomanMentionDaisy::
famechecker FAMECHECKER_DAISY, 4
setflag FLAG_TALKED_TO_TEA_LADY_AFTER_HOF
msgbox CeladonCity_Condominiums_1F_Text_DaisyComesToBuyTea
release
end
CeladonCity_Condominiums_1F_EventScript_Meowth:: @ 816C38E
CeladonCity_Condominiums_1F_EventScript_Meowth::
lock
faceplayer
waitse
playmoncry SPECIES_MEOWTH, 0
playmoncry SPECIES_MEOWTH, CRY_MODE_NORMAL
msgbox CeladonCity_Condominiums_1F_Text_Meowth
waitmoncry
release
end
CeladonCity_Condominiums_1F_EventScript_Clefairy:: @ 816C3A1
CeladonCity_Condominiums_1F_EventScript_Clefairy::
lock
faceplayer
waitse
playmoncry SPECIES_CLEFAIRY, 0
playmoncry SPECIES_CLEFAIRY, CRY_MODE_NORMAL
msgbox CeladonCity_Condominiums_1F_Text_Clefairy
waitmoncry
release
end
CeladonCity_Condominiums_1F_EventScript_Nidoran:: @ 816C3B4
CeladonCity_Condominiums_1F_EventScript_Nidoran::
lock
faceplayer
waitse
playmoncry SPECIES_NIDORAN_F, 0
playmoncry SPECIES_NIDORAN_F, CRY_MODE_NORMAL
msgbox CeladonCity_Condominiums_1F_Text_Nidoran
waitmoncry
release
end
CeladonCity_Condominiums_1F_EventScript_SuiteSign:: @ 816C3C7
CeladonCity_Condominiums_1F_EventScript_SuiteSign::
msgbox CeladonCity_Condominiums_1F_Text_ManagersSuite, MSGBOX_SIGN
end
@@ -1,21 +1,21 @@
CeladonCity_Condominiums_1F_Text_Meowth:: @ 81960BB
CeladonCity_Condominiums_1F_Text_Meowth::
.string "MEOWTH: Meow!$"
CeladonCity_Condominiums_1F_Text_TryThisDrinkInstead:: @ 81960C9
CeladonCity_Condominiums_1F_Text_TryThisDrinkInstead::
.string "You shouldn't spend all your money\n"
.string "on drinks.\p"
.string "Try this instead.$"
CeladonCity_Condominiums_1F_Text_NothingBeatsThirstLikeTea:: @ 8196109
CeladonCity_Condominiums_1F_Text_NothingBeatsThirstLikeTea::
.string "Nothing beats thirst like some hot\n"
.string "TEA.\p"
.string "It really is the best.$"
CeladonCity_Condominiums_1F_Text_MyDearMonsKeepMeCompany:: @ 8196148
CeladonCity_Condominiums_1F_Text_MyDearMonsKeepMeCompany::
.string "My dear POKéMON keep me company.\n"
.string "MEOWTH even brings money home!$"
CeladonCity_Condominiums_1F_Text_DaisyComesToBuyTea:: @ 8196188
CeladonCity_Condominiums_1F_Text_DaisyComesToBuyTea::
.string "Oh, hello, dearie.\n"
.string "Did you enjoy my TEA?\p"
.string "By the way, dear. Are you, by any\n"
@@ -25,13 +25,13 @@ CeladonCity_Condominiums_1F_Text_DaisyComesToBuyTea:: @ 8196188
.string "She visits the CELADON DEPT. STORE\n"
.string "to buy some TEA.$"
CeladonCity_Condominiums_1F_Text_Clefairy:: @ 819625B
CeladonCity_Condominiums_1F_Text_Clefairy::
.string "CLEFAIRY: Pi pippippi!$"
CeladonCity_Condominiums_1F_Text_Nidoran:: @ 8196272
CeladonCity_Condominiums_1F_Text_Nidoran::
.string "NIDORAN♀: Kya kyaoo!$"
CeladonCity_Condominiums_1F_Text_ManagersSuite:: @ 8196287
CeladonCity_Condominiums_1F_Text_ManagersSuite::
.string "CELADON MANSION\n"
.string "Manager's Suite$"
@@ -1,6 +1,6 @@
CeladonCity_Condominiums_2F_MapScripts:: @ 816C3D0
CeladonCity_Condominiums_2F_MapScripts::
.byte 0
CeladonCity_Condominiums_2F_EventScript_MeetingRoomSign:: @ 816C3D1
CeladonCity_Condominiums_2F_EventScript_MeetingRoomSign::
msgbox CeladonCity_Condominiums_2F_Text_GameFreakMeetingRoom, MSGBOX_SIGN
end
@@ -1,3 +1,3 @@
CeladonCity_Condominiums_2F_Text_GameFreakMeetingRoom:: @ 81962A7
CeladonCity_Condominiums_2F_Text_GameFreakMeetingRoom::
.string "GAME FREAK Meeting Room$"
@@ -1,19 +1,19 @@
CeladonCity_Condominiums_3F_MapScripts:: @ 816C3DA
CeladonCity_Condominiums_3F_MapScripts::
.byte 0
CeladonCity_Condominiums_3F_EventScript_Programmer:: @ 816C3DB
CeladonCity_Condominiums_3F_EventScript_Programmer::
msgbox CeladonCity_Condominiums_3F_Text_ImTheProgrammer, MSGBOX_NPC
end
CeladonCity_Condominiums_3F_EventScript_GraphicArtist:: @ 816C3E4
CeladonCity_Condominiums_3F_EventScript_GraphicArtist::
msgbox CeladonCity_Condominiums_3F_Text_ImTheGraphicArtist, MSGBOX_NPC
end
CeladonCity_Condominiums_3F_EventScript_Writer:: @ 816C3ED
CeladonCity_Condominiums_3F_EventScript_Writer::
msgbox CeladonCity_Condominiums_3F_Text_IWroteTheStory, MSGBOX_NPC
end
CeladonCity_Condominiums_3F_EventScript_Designer:: @ 816C3F6
CeladonCity_Condominiums_3F_EventScript_Designer::
lock
faceplayer
specialvar VAR_RESULT, HasAllKantoMons
@@ -23,11 +23,11 @@ CeladonCity_Condominiums_3F_EventScript_Designer:: @ 816C3F6
release
end
CeladonCity_Condominiums_3F_EventScript_CompletedPokedex:: @ 816C412
CeladonCity_Condominiums_3F_EventScript_CompletedPokedex::
goto CeladonCity_Condominiums_3F_EventScript_ShowDiploma
end
CeladonCity_Condominiums_3F_EventScript_ShowDiploma:: @ 816C418
CeladonCity_Condominiums_3F_EventScript_ShowDiploma::
message CeladonCity_Condominiums_3F_Text_CompletedPokedexCongratulations
waitmessage
delay 60
@@ -37,18 +37,18 @@ CeladonCity_Condominiums_3F_EventScript_ShowDiploma:: @ 816C418
release
end
CeladonCity_Condominiums_3F_EventScript_DevelopmentRoomSign:: @ 816C435
CeladonCity_Condominiums_3F_EventScript_DevelopmentRoomSign::
msgbox CeladonCity_Condominiums_3F_Text_GameFreakDevelopmentRoom, MSGBOX_SIGN
end
CeladonCity_Condominiums_3F_EventScript_Computer1:: @ 816C43E
CeladonCity_Condominiums_3F_EventScript_Computer1::
msgbox CeladonCity_Condominiums_3F_Text_ItsTheGameProgram, MSGBOX_SIGN
end
CeladonCity_Condominiums_3F_EventScript_Computer2:: @ 816C447
CeladonCity_Condominiums_3F_EventScript_Computer2::
msgbox CeladonCity_Condominiums_3F_Text_SomeonesPlayingGame, MSGBOX_SIGN
end
CeladonCity_Condominiums_3F_EventScript_Computer3:: @ 816C450
CeladonCity_Condominiums_3F_EventScript_Computer3::
msgbox CeladonCity_Condominiums_3F_Text_ItsScriptBetterNotLookAtEnding, MSGBOX_SIGN
end
@@ -1,42 +1,42 @@
CeladonCity_Condominiums_3F_Text_ImTheProgrammer:: @ 81962BF
CeladonCity_Condominiums_3F_Text_ImTheProgrammer::
.string "Me?\n"
.string "I'm the programmer!$"
CeladonCity_Condominiums_3F_Text_ImTheGraphicArtist:: @ 81962D7
CeladonCity_Condominiums_3F_Text_ImTheGraphicArtist::
.string "I'm the graphic artist!\n"
.string "I drew you!$"
CeladonCity_Condominiums_3F_Text_IWroteTheStory:: @ 81962FB
CeladonCity_Condominiums_3F_Text_IWroteTheStory::
.string "I wrote the story!\n"
.string "Isn't ERIKA cute?\p"
.string "I like MISTY a lot, too!\n"
.string "Oh, and SABRINA, I like her!$"
CeladonCity_Condominiums_3F_Text_ImGameDesignerShowMeFinishedPokedex:: @ 8196356
CeladonCity_Condominiums_3F_Text_ImGameDesignerShowMeFinishedPokedex::
.string "Is that right?\p"
.string "I'm the game designer!\p"
.string "Filling up your POKéDEX is tough,\n"
.string "but don't quit!\p"
.string "When you finish, come tell me!$"
CeladonCity_Condominiums_3F_Text_CompletedPokedexCongratulations:: @ 81963CD
CeladonCity_Condominiums_3F_Text_CompletedPokedexCongratulations::
.string "Wow! Excellent!\n"
.string "You completed your POKéDEX!\l"
.string "Congratulations!\l"
.string "$"
CeladonCity_Condominiums_3F_Text_ItsTheGameProgram:: @ 819640C
CeladonCity_Condominiums_3F_Text_ItsTheGameProgram::
.string "It's the game program! Messing with\n"
.string "it could bug out the game!$"
CeladonCity_Condominiums_3F_Text_SomeonesPlayingGame:: @ 819644B
CeladonCity_Condominiums_3F_Text_SomeonesPlayingGame::
.string "Someone's playing a game instead of\n"
.string "working!$"
CeladonCity_Condominiums_3F_Text_ItsScriptBetterNotLookAtEnding:: @ 8196478
CeladonCity_Condominiums_3F_Text_ItsScriptBetterNotLookAtEnding::
.string "It's the script!\n"
.string "Better not look at the ending!$"
CeladonCity_Condominiums_3F_Text_GameFreakDevelopmentRoom:: @ 81964A8
CeladonCity_Condominiums_3F_Text_GameFreakDevelopmentRoom::
.string "GAME FREAK Development Room$"
@@ -1,6 +1,6 @@
CeladonCity_Condominiums_Roof_MapScripts:: @ 816C459
CeladonCity_Condominiums_Roof_MapScripts::
.byte 0
CeladonCity_Condominiums_Roof_EventScript_Sign:: @ 816C45A
CeladonCity_Condominiums_Roof_EventScript_Sign::
msgbox CeladonCity_Condominiums_Roof_Text_IKnowEverything, MSGBOX_SIGN
end
@@ -1,3 +1,3 @@
CeladonCity_Condominiums_Roof_Text_IKnowEverything:: @ 81964C4
CeladonCity_Condominiums_Roof_Text_IKnowEverything::
.string "I KNOW EVERYTHING!$"
@@ -1,13 +1,13 @@
.set LOCALID_EEVEE_POKEBALL, 2
CeladonCity_Condominiums_RoofRoom_MapScripts:: @ 816C463
CeladonCity_Condominiums_RoofRoom_MapScripts::
.byte 0
CeladonCity_Condominiums_RoofRoom_EventScript_BlackBelt:: @ 816C464
CeladonCity_Condominiums_RoofRoom_EventScript_BlackBelt::
msgbox CeladonCity_Condominiums_RoofRoom_Text_TheresNothingIDontKnow, MSGBOX_NPC
end
CeladonCity_Condominiums_RoofRoom_EventScript_EeveeBall:: @ 816C46D
CeladonCity_Condominiums_RoofRoom_EventScript_EeveeBall::
lock
faceplayer
setvar VAR_TEMP_1, SPECIES_EEVEE
@@ -21,7 +21,7 @@ CeladonCity_Condominiums_RoofRoom_EventScript_EeveeBall:: @ 816C46D
release
end
CeladonCity_Condominiums_RoofRoom_EventScript_GetEeveeParty:: @ 816C4A6
CeladonCity_Condominiums_RoofRoom_EventScript_GetEeveeParty::
removeobject LOCALID_EEVEE_POKEBALL
playfanfare MUS_LEVEL_UP
message CeladonCity_Condominiums_RoofRoom_Text_ObtainedAnEevee
@@ -36,7 +36,7 @@ CeladonCity_Condominiums_RoofRoom_EventScript_GetEeveeParty:: @ 816C4A6
goto CeladonCity_Condominiums_RoofRoom_EventScript_SetGotEevee
end
CeladonCity_Condominiums_RoofRoom_EventScript_GetEeveePC:: @ 816C4DA
CeladonCity_Condominiums_RoofRoom_EventScript_GetEeveePC::
removeobject LOCALID_EEVEE_POKEBALL
playfanfare MUS_LEVEL_UP
message CeladonCity_Condominiums_RoofRoom_Text_ObtainedAnEevee
@@ -50,21 +50,21 @@ CeladonCity_Condominiums_RoofRoom_EventScript_GetEeveePC:: @ 816C4DA
goto CeladonCity_Condominiums_RoofRoom_EventScript_TransferEeveeToPC
end
CeladonCity_Condominiums_RoofRoom_EventScript_TransferEeveeToPC:: @ 816C509
CeladonCity_Condominiums_RoofRoom_EventScript_TransferEeveeToPC::
call EventScript_TransferredToPC
goto CeladonCity_Condominiums_RoofRoom_EventScript_SetGotEevee
end
CeladonCity_Condominiums_RoofRoom_EventScript_SetGotEevee:: @ 816C514
CeladonCity_Condominiums_RoofRoom_EventScript_SetGotEevee::
setflag FLAG_GOT_EEVEE
release
end
CeladonCity_Condominiums_RoofRoom_EventScript_TMsPamphlet:: @ 816C519
CeladonCity_Condominiums_RoofRoom_EventScript_TMsPamphlet::
msgbox CeladonCity_Condominiums_RoofRoom_Text_PamphletOnTMs, MSGBOX_SIGN
end
CeladonCity_Condominiums_RoofRoom_EventScript_Blackboard:: @ 816C522
CeladonCity_Condominiums_RoofRoom_EventScript_Blackboard::
lockall
msgbox CeladonCity_Condominiums_RoofRoom_Text_WirelessAdapterLecture
message CeladonCity_Condominiums_RoofRoom_Text_ReadWhichHeading
@@ -79,7 +79,7 @@ CeladonCity_Condominiums_RoofRoom_EventScript_Blackboard:: @ 816C522
case 127, CeladonCity_Condominiums_RoofRoom_EventScript_ExitBlackboard
end
CeladonCity_Condominiums_RoofRoom_EventScript_ReadAnotherHeading:: @ 816C578
CeladonCity_Condominiums_RoofRoom_EventScript_ReadAnotherHeading::
message CeladonCity_Condominiums_RoofRoom_Text_ReadWhichHeading
waitmessage
multichoice 0, 0, MULTICHOICE_LINKED_DIRECT_UNION, FALSE
@@ -91,21 +91,21 @@ CeladonCity_Condominiums_RoofRoom_EventScript_ReadAnotherHeading:: @ 816C578
case 127, CeladonCity_Condominiums_RoofRoom_EventScript_ExitBlackboard
end
CeladonCity_Condominiums_RoofRoom_EventScript_WirelessClub:: @ 816C5C0
CeladonCity_Condominiums_RoofRoom_EventScript_WirelessClub::
msgbox CeladonCity_Condominiums_RoofRoom_Text_ExplainWirelessClub
goto CeladonCity_Condominiums_RoofRoom_EventScript_ReadAnotherHeading
end
CeladonCity_Condominiums_RoofRoom_EventScript_DirectCorner:: @ 816C5CE
CeladonCity_Condominiums_RoofRoom_EventScript_DirectCorner::
msgbox CeladonCity_Condominiums_RoofRoom_Text_ExplainDirectCorner
goto CeladonCity_Condominiums_RoofRoom_EventScript_ReadAnotherHeading
end
CeladonCity_Condominiums_RoofRoom_EventScript_UnionRoom:: @ 816C5DC
CeladonCity_Condominiums_RoofRoom_EventScript_UnionRoom::
msgbox CeladonCity_Condominiums_RoofRoom_Text_ExplainUnionRoom
goto CeladonCity_Condominiums_RoofRoom_EventScript_ReadAnotherHeading
end
CeladonCity_Condominiums_RoofRoom_EventScript_ExitBlackboard:: @ 816C5EA
CeladonCity_Condominiums_RoofRoom_EventScript_ExitBlackboard::
releaseall
end
@@ -1,4 +1,4 @@
CeladonCity_Condominiums_RoofRoom_Text_TheresNothingIDontKnow:: @ 81964D7
CeladonCity_Condominiums_RoofRoom_Text_TheresNothingIDontKnow::
.string "There is nothing that I don't know,\n"
.string "like I wrote on the blackboard.\p"
.string "I know about the world of POKéMON\n"
@@ -6,27 +6,27 @@ CeladonCity_Condominiums_RoofRoom_Text_TheresNothingIDontKnow:: @ 81964D7
.string "Get together with your friends and\n"
.string "enjoy trading POKéMON!$"
CeladonCity_Condominiums_RoofRoom_Text_ObtainedAnEevee:: @ 8196591
CeladonCity_Condominiums_RoofRoom_Text_ObtainedAnEevee::
.string "{PLAYER} obtained an EEVEE!$"
CeladonCity_Condominiums_RoofRoom_Text_BoxIsFull:: @ 81965A7
CeladonCity_Condominiums_RoofRoom_Text_BoxIsFull::
.string "ポケモンが いっぱいだ\n"
.string "ボックスを かえて きなさい$"
CeladonCity_Condominiums_RoofRoom_Text_WirelessAdapterLecture:: @ 81965C2
CeladonCity_Condominiums_RoofRoom_Text_WirelessAdapterLecture::
.string "POKéMON Lecture\p"
.string "Playing with the Wireless Adapter$"
CeladonCity_Condominiums_RoofRoom_Text_ReadWhichHeading:: @ 81965F4
CeladonCity_Condominiums_RoofRoom_Text_ReadWhichHeading::
.string "Which heading do you want to read?$"
CeladonCity_Condominiums_RoofRoom_Text_ExplainWirelessClub:: @ 8196617
CeladonCity_Condominiums_RoofRoom_Text_ExplainWirelessClub::
.string "The POKéMON WIRELESS CLUB is\n"
.string "upstairs at any POKéMON CENTER.\p"
.string "Visit one to link up with friend(s)\n"
.string "using your Wireless Adapter.$"
CeladonCity_Condominiums_RoofRoom_Text_ExplainDirectCorner:: @ 8196695
CeladonCity_Condominiums_RoofRoom_Text_ExplainDirectCorner::
.string "To link only with a friend, go to\n"
.string "the DIRECT CORNER.\p"
.string "It is the right counter at the\n"
@@ -34,7 +34,7 @@ CeladonCity_Condominiums_RoofRoom_Text_ExplainDirectCorner:: @ 8196695
.string "Go into the TRADE CORNER or the\n"
.string "COLOSSEUM with your friend.$"
CeladonCity_Condominiums_RoofRoom_Text_ExplainUnionRoom:: @ 819673C
CeladonCity_Condominiums_RoofRoom_Text_ExplainUnionRoom::
.string "To link and communicate with\n"
.string "anyone, go to the UNION ROOM.\p"
.string "It is the left counter at the\n"
@@ -42,7 +42,7 @@ CeladonCity_Condominiums_RoofRoom_Text_ExplainUnionRoom:: @ 819673C
.string "Go to the UNION ROOM and enjoy\n"
.string "meeting other TRAINERS.$"
CeladonCity_Condominiums_RoofRoom_Text_PamphletOnTMs:: @ 81967E3
CeladonCity_Condominiums_RoofRoom_Text_PamphletOnTMs::
.string "It's a pamphlet on TMs.\p"
.string "… …\p"
.string "There are fifty TMs in all.\p"
@@ -1,14 +1,14 @@
CeladonCity_DepartmentStore_1F_MapScripts:: @ 816BAD8
CeladonCity_DepartmentStore_1F_MapScripts::
.byte 0
CeladonCity_DepartmentStore_1F_EventScript_Receptionist:: @ 816BAD9
CeladonCity_DepartmentStore_1F_EventScript_Receptionist::
msgbox CeladonCity_DepartmentStore_1F_Text_WelcomeToDeptStore, MSGBOX_NPC
end
CeladonCity_DepartmentStore_1F_EventScript_LayoutSign:: @ 816BAE2
CeladonCity_DepartmentStore_1F_EventScript_LayoutSign::
msgbox CeladonCity_DepartmentStore_1F_Text_FloorDescriptions, MSGBOX_SIGN
end
CeladonCity_DepartmentStore_1F_EventScript_FloorSign:: @ 816BAEB
CeladonCity_DepartmentStore_1F_EventScript_FloorSign::
msgbox CeladonCity_DepartmentStore_1F_Text_ServiceCounter, MSGBOX_SIGN
end
@@ -1,10 +1,10 @@
CeladonCity_DepartmentStore_1F_Text_WelcomeToDeptStore:: @ 81954DD
CeladonCity_DepartmentStore_1F_Text_WelcomeToDeptStore::
.string "Hello!\n"
.string "Welcome to CELADON DEPT. STORE.\p"
.string "The board on the right describes\n"
.string "the store layout.$"
CeladonCity_DepartmentStore_1F_Text_FloorDescriptions:: @ 8195537
CeladonCity_DepartmentStore_1F_Text_FloorDescriptions::
.string "1F: SERVICE COUNTER\p"
.string "2F: TRAINER'S MARKET\p"
.string "3F: TV GAME SHOP\p"
@@ -12,6 +12,6 @@ CeladonCity_DepartmentStore_1F_Text_FloorDescriptions:: @ 8195537
.string "5F: DRUGSTORE\p"
.string "ROOFTOP SQUARE: VENDING MACHINES$"
CeladonCity_DepartmentStore_1F_Text_ServiceCounter:: @ 81955B3
CeladonCity_DepartmentStore_1F_Text_ServiceCounter::
.string "1F: SERVICE COUNTER$"
@@ -1,19 +1,19 @@
CeladonCity_DepartmentStore_2F_MapScripts:: @ 816BAF4
CeladonCity_DepartmentStore_2F_MapScripts::
.byte 0
CeladonCity_DepartmentStore_2F_EventScript_UnusedNPC:: @ 816BAF5
CeladonCity_DepartmentStore_2F_EventScript_UnusedNPC::
msgbox CeladonCity_DepartmentStore_2F_Text_SuperRepelMorePowerfulRepel, MSGBOX_NPC
end
CeladonCity_DepartmentStore_2F_EventScript_Lass:: @ 816BAFE
CeladonCity_DepartmentStore_2F_EventScript_Lass::
msgbox CeladonCity_DepartmentStore_2F_Text_BuyReviveForLongOutings, MSGBOX_NPC
end
CeladonCity_DepartmentStore_2F_EventScript_FloorSign:: @ 816BB07
CeladonCity_DepartmentStore_2F_EventScript_FloorSign::
msgbox CeladonCity_DepartmentStore_2F_Text_FloorSign, MSGBOX_SIGN
end
CeladonCity_DepartmentStore_2F_EventScript_ClerkItems:: @ 816BB10
CeladonCity_DepartmentStore_2F_EventScript_ClerkItems::
goto_if_questlog EventScript_ReleaseEnd
lock
faceplayer
@@ -25,7 +25,7 @@ CeladonCity_DepartmentStore_2F_EventScript_ClerkItems:: @ 816BB10
end
.align 2
CeladonCity_DepartmentStore_2F_Items:: @ 816BB38
CeladonCity_DepartmentStore_2F_Items::
.2byte ITEM_GREAT_BALL
.2byte ITEM_SUPER_POTION
.2byte ITEM_REVIVE
@@ -39,7 +39,7 @@ CeladonCity_DepartmentStore_2F_Items:: @ 816BB38
release
end
CeladonCity_DepartmentStore_2F_EventScript_ClerkTMs:: @ 816BB4E
CeladonCity_DepartmentStore_2F_EventScript_ClerkTMs::
goto_if_questlog EventScript_ReleaseEnd
lock
faceplayer
@@ -51,7 +51,7 @@ CeladonCity_DepartmentStore_2F_EventScript_ClerkTMs:: @ 816BB4E
end
.align 2
CeladonCity_DepartmentStore_2F_TMs:: @ 816BB74
CeladonCity_DepartmentStore_2F_TMs::
.2byte ITEM_TM05
.2byte ITEM_TM15
.2byte ITEM_TM28
@@ -1,17 +1,17 @@
CeladonCity_DepartmentStore_2F_Text_SuperRepelMorePowerfulRepel:: @ 81955C7
CeladonCity_DepartmentStore_2F_Text_SuperRepelMorePowerfulRepel::
.string "SUPER REPEL keeps weak POKéMON at\n"
.string "bay…\p"
.string "Hmm, it's a more powerful REPEL.$"
CeladonCity_DepartmentStore_2F_Text_BuyReviveForLongOutings:: @ 819560F
CeladonCity_DepartmentStore_2F_Text_BuyReviveForLongOutings::
.string "For long outings, you should buy\n"
.string "REVIVE.$"
CeladonCity_DepartmentStore_2F_Text_FloorSign:: @ 8195638
CeladonCity_DepartmentStore_2F_Text_FloorSign::
.string "Top-Grade Items for TRAINERS!\p"
.string "2F: TRAINER'S MARKET$"
CeladonCity_DepartmentStore_2F_Text_LanceComesToBuyCapes:: @ 819566B
CeladonCity_DepartmentStore_2F_Text_LanceComesToBuyCapes::
.string "We have a customer, LANCE, who\n"
.string "occasionally comes.\p"
.string "He always buys capes.\p"
@@ -1,50 +1,50 @@
CeladonCity_DepartmentStore_3F_MapScripts:: @ 816BB84
CeladonCity_DepartmentStore_3F_MapScripts::
.byte 0
CeladonCity_DepartmentStore_3F_EventScript_CounterTutor:: @ 816BB85
CeladonCity_DepartmentStore_3F_EventScript_CounterTutor::
goto EventScript_CounterTutor
end
CeladonCity_DepartmentStore_3F_EventScript_GBAKid1:: @ 816BB8B
CeladonCity_DepartmentStore_3F_EventScript_GBAKid1::
msgbox CeladonCity_DepartmentStore_3F_Text_OTStandsForOriginalTrainer, MSGBOX_NPC
end
CeladonCity_DepartmentStore_3F_EventScript_GBAKid2:: @ 816BB94
CeladonCity_DepartmentStore_3F_EventScript_GBAKid2::
msgbox CeladonCity_DepartmentStore_3F_Text_BuddyTradingKangaskhanForHaunter, MSGBOX_NPC
end
CeladonCity_DepartmentStore_3F_EventScript_GBAKid3:: @ 816BB9D
CeladonCity_DepartmentStore_3F_EventScript_GBAKid3::
msgbox CeladonCity_DepartmentStore_3F_Text_HaunterEvolvedOnTrade, MSGBOX_NPC
end
CeladonCity_DepartmentStore_3F_EventScript_LittleGirl:: @ 816BBA6
CeladonCity_DepartmentStore_3F_EventScript_LittleGirl::
msgbox CeladonCity_DepartmentStore_3F_Text_CanIdentifyTradeMonsByID, MSGBOX_NPC
end
CeladonCity_DepartmentStore_3F_EventScript_SuperNES:: @ 816BBAF
CeladonCity_DepartmentStore_3F_EventScript_SuperNES::
msgbox CeladonCity_DepartmentStore_3F_Text_ItsSuperNES, MSGBOX_SIGN
end
CeladonCity_DepartmentStore_3F_EventScript_TV1:: @ 816BBB8
CeladonCity_DepartmentStore_3F_EventScript_TV1::
msgbox CeladonCity_DepartmentStore_3F_Text_AnRPG, MSGBOX_SIGN
end
CeladonCity_DepartmentStore_3F_EventScript_TV2:: @ 816BBC1
CeladonCity_DepartmentStore_3F_EventScript_TV2::
msgbox CeladonCity_DepartmentStore_3F_Text_SportsGame, MSGBOX_SIGN
end
CeladonCity_DepartmentStore_3F_EventScript_TV3:: @ 816BBCA
CeladonCity_DepartmentStore_3F_EventScript_TV3::
msgbox CeladonCity_DepartmentStore_3F_Text_PuzzleGame, MSGBOX_SIGN
end
CeladonCity_DepartmentStore_3F_EventScript_TV4:: @ 816BBD3
CeladonCity_DepartmentStore_3F_EventScript_TV4::
msgbox CeladonCity_DepartmentStore_3F_Text_FightingGame, MSGBOX_SIGN
end
CeladonCity_DepartmentStore_3F_EventScript_FloorSign:: @ 816BBDC
CeladonCity_DepartmentStore_3F_EventScript_FloorSign::
msgbox CeladonCity_DepartmentStore_3F_Text_TVGameShop, MSGBOX_SIGN
end
CeladonCity_DepartmentStore_3F_EventScript_Poster:: @ 816BBE5
CeladonCity_DepartmentStore_3F_EventScript_Poster::
msgbox CeladonCity_DepartmentStore_3F_Text_RedGreenBothArePokemon, MSGBOX_SIGN
end
@@ -1,15 +1,15 @@
CeladonCity_DepartmentStore_3F_Text_OTStandsForOriginalTrainer:: @ 81956E9
CeladonCity_DepartmentStore_3F_Text_OTStandsForOriginalTrainer::
.string "Captured POKéMON are registered\n"
.string "with an ID No. and the OT.\p"
.string "OT stands for “Original TRAINER” -\n"
.string "the TRAINER that caught it first.$"
CeladonCity_DepartmentStore_3F_Text_BuddyTradingKangaskhanForHaunter:: @ 8195769
CeladonCity_DepartmentStore_3F_Text_BuddyTradingKangaskhanForHaunter::
.string "All right!\p"
.string "My buddy's going to trade me his\n"
.string "KANGASKHAN for my HAUNTER!$"
CeladonCity_DepartmentStore_3F_Text_HaunterEvolvedOnTrade:: @ 81957B0
CeladonCity_DepartmentStore_3F_Text_HaunterEvolvedOnTrade::
.string "Come on, HAUNTER!\p"
.string "I love HAUNTER!\n"
.string "I collect them!\p"
@@ -17,37 +17,37 @@ CeladonCity_DepartmentStore_3F_Text_HaunterEvolvedOnTrade:: @ 81957B0
.string "HAUNTER turned into a different\n"
.string "POKéMON while being traded!$"
CeladonCity_DepartmentStore_3F_Text_CanIdentifyTradeMonsByID:: @ 8195823
CeladonCity_DepartmentStore_3F_Text_CanIdentifyTradeMonsByID::
.string "You can identify POKéMON you get\n"
.string "in trades by their ID Numbers.$"
CeladonCity_DepartmentStore_3F_Text_ItsSuperNES:: @ 8195863
CeladonCity_DepartmentStore_3F_Text_ItsSuperNES::
.string "It's a Super NES.$"
CeladonCity_DepartmentStore_3F_Text_AnRPG:: @ 8195875
CeladonCity_DepartmentStore_3F_Text_AnRPG::
.string "An RPG!\n"
.string "There's no time for that!$"
CeladonCity_DepartmentStore_3F_Text_SportsGame:: @ 8195897
CeladonCity_DepartmentStore_3F_Text_SportsGame::
.string "A sports game!\n"
.string "Dad'll like that!$"
CeladonCity_DepartmentStore_3F_Text_PuzzleGame:: @ 81958B8
CeladonCity_DepartmentStore_3F_Text_PuzzleGame::
.string "A puzzle game!\n"
.string "Looks addictive!$"
CeladonCity_DepartmentStore_3F_Text_FightingGame:: @ 81958D8
CeladonCity_DepartmentStore_3F_Text_FightingGame::
.string "A fighting game!\n"
.string "Looks tough!$"
CeladonCity_DepartmentStore_3F_Text_TVGameShop:: @ 81958F6
CeladonCity_DepartmentStore_3F_Text_TVGameShop::
.string "3F: TV GAME SHOP$"
CeladonCity_DepartmentStore_3F_Text_RedGreenBothArePokemon:: @ 8195907
CeladonCity_DepartmentStore_3F_Text_RedGreenBothArePokemon::
.string "Red and Green!\n"
.string "Both are POKéMON!$"
Text_CounterTeach:: @ 8195928
Text_CounterTeach::
.string "Oh, hi!\n"
.string "I finally finished POKéMON.\p"
.string "Not done yet? How about I teach\n"
@@ -57,14 +57,14 @@ Text_CounterTeach:: @ 8195928
.string "Not like the one I'm leaning on,\n"
.string "mind you!$"
Text_CounterDeclined:: @ 81959CC
Text_CounterDeclined::
.string "You're not interested? Come see\n"
.string "me if you change your mind.$"
Text_CounterWhichMon:: @ 8195A08
Text_CounterWhichMon::
.string "Which POKéMON should I teach\n"
.string "COUNTER to?$"
Text_CounterTaught:: @ 8195A31
Text_CounterTaught::
.string "Are you using that COUNTER move\n"
.string "I taught your POKéMON?$"
@@ -1,19 +1,19 @@
CeladonCity_DepartmentStore_4F_MapScripts:: @ 816BBEE
CeladonCity_DepartmentStore_4F_MapScripts::
.byte 0
CeladonCity_DepartmentStore_4F_EventScript_Man:: @ 816BBEF
CeladonCity_DepartmentStore_4F_EventScript_Man::
msgbox CeladonCity_DepartmentStore_4F_Text_GettingPokeDollAsPresent, MSGBOX_NPC
end
CeladonCity_DepartmentStore_4F_EventScript_Youngster:: @ 816BBF8
CeladonCity_DepartmentStore_4F_EventScript_Youngster::
msgbox CeladonCity_DepartmentStore_4F_Text_CanRunAwayWithPokeDoll, MSGBOX_NPC
end
CeladonCity_DepartmentStore_4F_EventScript_FloorSign:: @ 816BC01
CeladonCity_DepartmentStore_4F_EventScript_FloorSign::
msgbox CeladonCity_DepartmentStore_4F_Text_FloorSign, MSGBOX_SIGN
end
CeladonCity_DepartmentStore_4F_EventScript_Clerk:: @ 816BC0A
CeladonCity_DepartmentStore_4F_EventScript_Clerk::
goto_if_questlog EventScript_ReleaseEnd
lock
faceplayer
@@ -25,7 +25,7 @@ CeladonCity_DepartmentStore_4F_EventScript_Clerk:: @ 816BC0A
end
.align 2
CeladonCity_DepartmentStore_4F_Items:: @ 816BC30
CeladonCity_DepartmentStore_4F_Items::
.2byte ITEM_POKE_DOLL
.2byte ITEM_RETRO_MAIL
.2byte ITEM_FIRE_STONE
@@ -1,17 +1,17 @@
CeladonCity_DepartmentStore_4F_Text_GettingPokeDollAsPresent:: @ 8195A68
CeladonCity_DepartmentStore_4F_Text_GettingPokeDollAsPresent::
.string "I'm getting a present for my\n"
.string "girlfriend.\p"
.string "I guess a POKé DOLL will be it.\n"
.string "It's the popular thing.$"
CeladonCity_DepartmentStore_4F_Text_CanRunAwayWithPokeDoll:: @ 8195AC9
CeladonCity_DepartmentStore_4F_Text_CanRunAwayWithPokeDoll::
.string "I heard something useful.\p"
.string "If a wild POKéMON appears, you can\n"
.string "distract it with a POKé DOLL.\p"
.string "You can run away while the wild\n"
.string "POKéMON is distracted.$"
CeladonCity_DepartmentStore_4F_Text_FloorSign:: @ 8195B5B
CeladonCity_DepartmentStore_4F_Text_FloorSign::
.string "Express yourself with gifts!\n"
.string "4F: WISE MAN GIFTS\p"
.string "Evolution Special!\n"
@@ -1,19 +1,19 @@
CeladonCity_DepartmentStore_5F_MapScripts:: @ 816BC40
CeladonCity_DepartmentStore_5F_MapScripts::
.byte 0
CeladonCity_DepartmentStore_5F_EventScript_Gentleman:: @ 816BC41
CeladonCity_DepartmentStore_5F_EventScript_Gentleman::
msgbox CeladonCity_DepartmentStore_5F_Text_ExplainStatEnhancers, MSGBOX_NPC
end
CeladonCity_DepartmentStore_5F_EventScript_Sailor:: @ 816BC4A
CeladonCity_DepartmentStore_5F_EventScript_Sailor::
msgbox CeladonCity_DepartmentStore_5F_Text_HereForStatEnhancers, MSGBOX_NPC
end
CeladonCity_DepartmentStore_5F_EventScript_FloorSign:: @ 816BC53
CeladonCity_DepartmentStore_5F_EventScript_FloorSign::
msgbox CeladonCity_DepartmentStore_5F_Text_Drugstore, MSGBOX_SIGN
end
CeladonCity_DepartmentStore_5F_EventScript_ClerkXItems:: @ 816BC5C
CeladonCity_DepartmentStore_5F_EventScript_ClerkXItems::
goto_if_questlog EventScript_ReleaseEnd
lock
faceplayer
@@ -25,7 +25,7 @@ CeladonCity_DepartmentStore_5F_EventScript_ClerkXItems:: @ 816BC5C
end
.align 2
CeladonCity_DepartmentStore_5F_XItems:: @ 816BC84
CeladonCity_DepartmentStore_5F_XItems::
.2byte ITEM_X_ATTACK
.2byte ITEM_X_DEFEND
.2byte ITEM_X_SPEED
@@ -37,7 +37,7 @@ CeladonCity_DepartmentStore_5F_XItems:: @ 816BC84
release
end
CeladonCity_DepartmentStore_5F_EventScript_ClerkVitamins:: @ 816BC96
CeladonCity_DepartmentStore_5F_EventScript_ClerkVitamins::
goto_if_questlog EventScript_ReleaseEnd
lock
faceplayer
@@ -49,7 +49,7 @@ CeladonCity_DepartmentStore_5F_EventScript_ClerkVitamins:: @ 816BC96
end
.align 2
CeladonCity_DepartmentStore_5F_Vitamins:: @ 816BCBC
CeladonCity_DepartmentStore_5F_Vitamins::
.2byte ITEM_HP_UP
.2byte ITEM_PROTEIN
.2byte ITEM_IRON
@@ -1,4 +1,4 @@
CeladonCity_DepartmentStore_5F_Text_ExplainStatEnhancers:: @ 8195BBA
CeladonCity_DepartmentStore_5F_Text_ExplainStatEnhancers::
.string "POKéMON stat enhancers can be\n"
.string "bought only here.\p"
.string "HP UP increases the base HP of a\n"
@@ -10,7 +10,7 @@ CeladonCity_DepartmentStore_5F_Text_ExplainStatEnhancers:: @ 8195BBA
.string "CARBOS enhances the base SPEED\n"
.string "stat.$"
CeladonCity_DepartmentStore_5F_Text_HereForStatEnhancers:: @ 8195CA0
CeladonCity_DepartmentStore_5F_Text_HereForStatEnhancers::
.string "I'm here for POKéMON stat\n"
.string "enhancers.\p"
.string "PROTEIN increases the base ATTACK\n"
@@ -18,6 +18,6 @@ CeladonCity_DepartmentStore_5F_Text_HereForStatEnhancers:: @ 8195CA0
.string "IRON increases the base DEFENSE\n"
.string "stat.$"
CeladonCity_DepartmentStore_5F_Text_Drugstore:: @ 8195D14
CeladonCity_DepartmentStore_5F_Text_Drugstore::
.string "5F: DRUGSTORE$"
@@ -1,7 +1,7 @@
CeladonCity_DepartmentStore_Elevator_MapScripts:: @ 816C152
CeladonCity_DepartmentStore_Elevator_MapScripts::
.byte 0
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelect:: @ 816C153
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelect::
lockall
setvar VAR_0x8004, 3
call_if_unset FLAG_TEMP_2, EventScript_GetElevatorFloor
@@ -19,32 +19,32 @@ CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelect:: @ 816C153
case 4, CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom1F
end
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom5F:: @ 816C1B7
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom5F::
multichoicedefault 0, 0, MULTICHOICE_DEPT_STORE_ELEVATOR, 0, FALSE
goto CeladonCity_DepartmentStore_Elevator_EventScript_ChooseFloor
end
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom4F:: @ 816C1C3
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom4F::
multichoicedefault 0, 0, MULTICHOICE_DEPT_STORE_ELEVATOR, 1, FALSE
goto CeladonCity_DepartmentStore_Elevator_EventScript_ChooseFloor
end
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom3F:: @ 816C1CF
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom3F::
multichoicedefault 0, 0, MULTICHOICE_DEPT_STORE_ELEVATOR, 2, FALSE
goto CeladonCity_DepartmentStore_Elevator_EventScript_ChooseFloor
end
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom2F:: @ 816C1DB
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom2F::
multichoicedefault 0, 0, MULTICHOICE_DEPT_STORE_ELEVATOR, 3, FALSE
goto CeladonCity_DepartmentStore_Elevator_EventScript_ChooseFloor
end
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom1F:: @ 816C1E7
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelectFrom1F::
multichoicedefault 0, 0, MULTICHOICE_DEPT_STORE_ELEVATOR, 4, FALSE
goto CeladonCity_DepartmentStore_Elevator_EventScript_ChooseFloor
end
CeladonCity_DepartmentStore_Elevator_EventScript_ChooseFloor:: @ 816C1F3
CeladonCity_DepartmentStore_Elevator_EventScript_ChooseFloor::
switch VAR_RESULT
case 0, CeladonCity_DepartmentStore_Elevator_EventScript_To5F
case 1, CeladonCity_DepartmentStore_Elevator_EventScript_To4F
@@ -55,7 +55,7 @@ CeladonCity_DepartmentStore_Elevator_EventScript_ChooseFloor:: @ 816C1F3
case 127, CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
end
CeladonCity_DepartmentStore_Elevator_EventScript_To1F:: @ 816C246
CeladonCity_DepartmentStore_Elevator_EventScript_To1F::
setvar VAR_0x8006, 4
setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_1F, 255, 6, 1
compare VAR_ELEVATOR_FLOOR, 4
@@ -65,7 +65,7 @@ CeladonCity_DepartmentStore_Elevator_EventScript_To1F:: @ 816C246
goto CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
end
CeladonCity_DepartmentStore_Elevator_EventScript_To2F:: @ 816C26E
CeladonCity_DepartmentStore_Elevator_EventScript_To2F::
setvar VAR_0x8006, 5
setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_2F, 255, 6, 1
compare VAR_ELEVATOR_FLOOR, 5
@@ -75,7 +75,7 @@ CeladonCity_DepartmentStore_Elevator_EventScript_To2F:: @ 816C26E
goto CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
end
CeladonCity_DepartmentStore_Elevator_EventScript_To3F:: @ 816C296
CeladonCity_DepartmentStore_Elevator_EventScript_To3F::
setvar VAR_0x8006, 6
setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_3F, 255, 6, 1
compare VAR_ELEVATOR_FLOOR, 6
@@ -85,7 +85,7 @@ CeladonCity_DepartmentStore_Elevator_EventScript_To3F:: @ 816C296
goto CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
end
CeladonCity_DepartmentStore_Elevator_EventScript_To4F:: @ 816C2BE
CeladonCity_DepartmentStore_Elevator_EventScript_To4F::
setvar VAR_0x8006, 7
setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_4F, 255, 6, 1
compare VAR_ELEVATOR_FLOOR, 7
@@ -95,7 +95,7 @@ CeladonCity_DepartmentStore_Elevator_EventScript_To4F:: @ 816C2BE
goto CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
end
CeladonCity_DepartmentStore_Elevator_EventScript_To5F:: @ 816C2E6
CeladonCity_DepartmentStore_Elevator_EventScript_To5F::
setvar VAR_0x8006, 8
setdynamicwarp MAP_CELADON_CITY_DEPARTMENT_STORE_5F, 255, 6, 1
compare VAR_ELEVATOR_FLOOR, 8
@@ -105,12 +105,12 @@ CeladonCity_DepartmentStore_Elevator_EventScript_To5F:: @ 816C2E6
goto CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect
end
CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect:: @ 816C30E
CeladonCity_DepartmentStore_Elevator_EventScript_ExitFloorSelect::
special CloseElevatorCurrentFloorWindow
releaseall
end
CeladonCity_DepartmentStore_Elevator_EventScript_MoveElevator:: @ 816C313
CeladonCity_DepartmentStore_Elevator_EventScript_MoveElevator::
special CloseElevatorCurrentFloorWindow
closemessage
waitse
@@ -1,7 +1,7 @@
CeladonCity_DepartmentStore_Roof_MapScripts:: @ 816BCCC
CeladonCity_DepartmentStore_Roof_MapScripts::
.byte 0
CeladonCity_DepartmentStore_Roof_EventScript_ThirstyGirl:: @ 816BCCD
CeladonCity_DepartmentStore_Roof_EventScript_ThirstyGirl::
goto_if_questlog EventScript_ReleaseEnd
special QuestLog_CutRecording
lock
@@ -12,7 +12,7 @@ CeladonCity_DepartmentStore_Roof_EventScript_ThirstyGirl:: @ 816BCCD
goto CeladonCity_DepartmentStore_Roof_EventScript_AskGiveDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_CheckPlayerHasDrinks:: @ 816BCF6
CeladonCity_DepartmentStore_Roof_EventScript_CheckPlayerHasDrinks::
setvar VAR_TEMP_1, 0
checkitem ITEM_FRESH_WATER, 1
compare VAR_RESULT, TRUE
@@ -25,19 +25,19 @@ CeladonCity_DepartmentStore_Roof_EventScript_CheckPlayerHasDrinks:: @ 816BCF6
call_if_eq CeladonCity_DepartmentStore_Roof_EventScript_SetHasLemonade
return
CeladonCity_DepartmentStore_Roof_EventScript_SetHasFreshWater:: @ 816BD2C
CeladonCity_DepartmentStore_Roof_EventScript_SetHasFreshWater::
addvar VAR_TEMP_1, 1
return
CeladonCity_DepartmentStore_Roof_EventScript_SetHasSodaPop:: @ 816BD32
CeladonCity_DepartmentStore_Roof_EventScript_SetHasSodaPop::
addvar VAR_TEMP_1, 2
return
CeladonCity_DepartmentStore_Roof_EventScript_SetHasLemonade:: @ 816BD38
CeladonCity_DepartmentStore_Roof_EventScript_SetHasLemonade::
addvar VAR_TEMP_1, 4
return
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveDrink:: @ 816BD3E
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveDrink::
msgbox CeladonCity_DepartmentStore_Roof_Text_ImThirstyGiveHerDrink, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
@@ -55,7 +55,7 @@ CeladonCity_DepartmentStore_Roof_EventScript_AskGiveDrink:: @ 816BD3E
case 7, CeladonCity_DepartmentStore_Roof_EventScript_AskGiveAllDrinks
end
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWater:: @ 816BDAE
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWater::
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_FRESH_WATER, FALSE
switch VAR_RESULT
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater
@@ -63,7 +63,7 @@ CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWater:: @ 816BDAE
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveSodaPop:: @ 816BDDA
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveSodaPop::
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_SODA_POP, FALSE
switch VAR_RESULT
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveSodaPop
@@ -71,7 +71,7 @@ CeladonCity_DepartmentStore_Roof_EventScript_AskGiveSodaPop:: @ 816BDDA
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWaterSodaPop:: @ 816BE06
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWaterSodaPop::
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_FRESH_WATER_SODA_POP, FALSE
switch VAR_RESULT
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater
@@ -80,7 +80,7 @@ CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWaterSodaPop:: @ 816BE0
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveLemonade:: @ 816BE3D
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveLemonade::
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_LEMONADE, FALSE
switch VAR_RESULT
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveLemonade
@@ -88,7 +88,7 @@ CeladonCity_DepartmentStore_Roof_EventScript_AskGiveLemonade:: @ 816BE3D
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWaterLemonade:: @ 816BE69
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWaterLemonade::
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_FRESH_WATER_LEMONADE, FALSE
switch VAR_RESULT
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater
@@ -97,7 +97,7 @@ CeladonCity_DepartmentStore_Roof_EventScript_AskGiveFreshWaterLemonade:: @ 816BE
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveSodaPopLemonade:: @ 816BEA0
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveSodaPopLemonade::
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_SODA_POP_LEMONADE, FALSE
switch VAR_RESULT
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveSodaPop
@@ -106,7 +106,7 @@ CeladonCity_DepartmentStore_Roof_EventScript_AskGiveSodaPopLemonade:: @ 816BEA0
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveAllDrinks:: @ 816BED7
CeladonCity_DepartmentStore_Roof_EventScript_AskGiveAllDrinks::
multichoice 0, 0, MULTICHOICE_THIRSTY_GIRL_FRESH_WATER_SODA_POP_LEMONADE, FALSE
switch VAR_RESULT
case 0, CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater
@@ -116,7 +116,7 @@ CeladonCity_DepartmentStore_Roof_EventScript_AskGiveAllDrinks:: @ 816BED7
case 127, CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater:: @ 816BF19
CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater::
setvar VAR_0x8008, ITEM_FRESH_WATER
setvar VAR_0x8009, ITEM_TM16
goto_if_set FLAG_GOT_TM16_FROM_THIRSTY_GIRL, CeladonCity_DepartmentStore_Roof_EventScript_NotThirstyAfterAll
@@ -124,7 +124,7 @@ CeladonCity_DepartmentStore_Roof_EventScript_GiveFreshWater:: @ 816BF19
goto CeladonCity_DepartmentStore_Roof_EventScript_GiveDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_GiveSodaPop:: @ 816BF3A
CeladonCity_DepartmentStore_Roof_EventScript_GiveSodaPop::
setvar VAR_0x8008, ITEM_SODA_POP
setvar VAR_0x8009, ITEM_TM20
goto_if_set FLAG_GOT_TM20_FROM_THIRSTY_GIRL, CeladonCity_DepartmentStore_Roof_EventScript_NotThirstyAfterAll
@@ -132,7 +132,7 @@ CeladonCity_DepartmentStore_Roof_EventScript_GiveSodaPop:: @ 816BF3A
goto CeladonCity_DepartmentStore_Roof_EventScript_GiveDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_GiveLemonade:: @ 816BF5B
CeladonCity_DepartmentStore_Roof_EventScript_GiveLemonade::
setvar VAR_0x8008, ITEM_LEMONADE
setvar VAR_0x8009, ITEM_TM33
goto_if_set FLAG_GOT_TM33_FROM_THIRSTY_GIRL, CeladonCity_DepartmentStore_Roof_EventScript_NotThirstyAfterAll
@@ -140,7 +140,7 @@ CeladonCity_DepartmentStore_Roof_EventScript_GiveLemonade:: @ 816BF5B
goto CeladonCity_DepartmentStore_Roof_EventScript_GiveDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_GiveDrink:: @ 816BF7C
CeladonCity_DepartmentStore_Roof_EventScript_GiveDrink::
getitemname 0, VAR_0x8008
getitemname 1, VAR_0x8009
removeitem VAR_0x8008, 1
@@ -164,49 +164,49 @@ CeladonCity_DepartmentStore_Roof_EventScript_GiveDrink:: @ 816BF7C
release
end
CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM16:: @ 816BFDE
CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM16::
setflag FLAG_GOT_TM16_FROM_THIRSTY_GIRL
msgbox CeladonCity_DepartmentStore_Roof_Text_ExplainTM16
return
CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM20:: @ 816BFEA
CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM20::
setflag FLAG_GOT_TM20_FROM_THIRSTY_GIRL
msgbox CeladonCity_DepartmentStore_Roof_Text_ExplainTM20
return
CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM33:: @ 816BFF6
CeladonCity_DepartmentStore_Roof_EventScript_ExplainTM33::
setflag FLAG_GOT_TM33_FROM_THIRSTY_GIRL
msgbox CeladonCity_DepartmentStore_Roof_Text_ExplainTM33
return
CeladonCity_DepartmentStore_Roof_EventScript_NoRoomForReward:: @ 816C002
CeladonCity_DepartmentStore_Roof_EventScript_NoRoomForReward::
msgbox CeladonCity_DepartmentStore_Roof_Text_DontHaveSpaceForThis
release
end
CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink:: @ 816C00C
CeladonCity_DepartmentStore_Roof_EventScript_DontGiveDrink::
release
end
CeladonCity_DepartmentStore_Roof_EventScript_IWantDrink:: @ 816C00E
CeladonCity_DepartmentStore_Roof_EventScript_IWantDrink::
msgbox CeladonCity_DepartmentStore_Roof_Text_ImThirstyIWantDrink
release
end
CeladonCity_DepartmentStore_Roof_EventScript_NotThirstyAfterAll:: @ 816C018
CeladonCity_DepartmentStore_Roof_EventScript_NotThirstyAfterAll::
msgbox CeladonCity_DepartmentStore_Roof_Text_ImNotThirstyAfterAll
release
end
CeladonCity_DepartmentStore_Roof_EventScript_CooltrainerM:: @ 816C022
CeladonCity_DepartmentStore_Roof_EventScript_CooltrainerM::
msgbox CeladonCity_DepartmentStore_Roof_Text_MySisterIsImmature, MSGBOX_NPC
end
CeladonCity_DepartmentStore_Roof_EventScript_FloorSign:: @ 816C02B
CeladonCity_DepartmentStore_Roof_EventScript_FloorSign::
msgbox CeladonCity_DepartmentStore_Roof_Text_FloorSign, MSGBOX_SIGN
end
CeladonCity_DepartmentStore_Roof_EventScript_VendingMachine:: @ 816C034
CeladonCity_DepartmentStore_Roof_EventScript_VendingMachine::
lockall
message CeladonCity_DepartmentStore_Roof_Text_VendingMachineWhatDoesItHave
waitmessage
@@ -214,7 +214,7 @@ CeladonCity_DepartmentStore_Roof_EventScript_VendingMachine:: @ 816C034
goto CeladonCity_DepartmentStore_Roof_EventScript_ChooseDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_ChooseDrink:: @ 816C045
CeladonCity_DepartmentStore_Roof_EventScript_ChooseDrink::
multichoice 12, 0, MULTICHOICE_CELADON_VENDING_MACHINE, FALSE
copyvar VAR_TEMP_1, VAR_RESULT
switch VAR_TEMP_1
@@ -225,37 +225,37 @@ CeladonCity_DepartmentStore_Roof_EventScript_ChooseDrink:: @ 816C045
goto CeladonCity_DepartmentStore_Roof_EventScript_ExitVendingMachine
end
CeladonCity_DepartmentStore_Roof_EventScript_BuyFreshWater:: @ 816C083
CeladonCity_DepartmentStore_Roof_EventScript_BuyFreshWater::
setvar VAR_TEMP_0, ITEM_FRESH_WATER
checkmoney 200, 0
goto CeladonCity_DepartmentStore_Roof_EventScript_TryBuyDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_BuySodaPop:: @ 816C094
CeladonCity_DepartmentStore_Roof_EventScript_BuySodaPop::
setvar VAR_TEMP_0, ITEM_SODA_POP
checkmoney 300, 0
goto CeladonCity_DepartmentStore_Roof_EventScript_TryBuyDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_BuyLemonade:: @ 816C0A5
CeladonCity_DepartmentStore_Roof_EventScript_BuyLemonade::
setvar VAR_TEMP_0, ITEM_LEMONADE
checkmoney 350, 0
goto CeladonCity_DepartmentStore_Roof_EventScript_TryBuyDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneyFreshWater:: @ 816C0B6
CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneyFreshWater::
removemoney 200, 0
return
CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneySodaPop:: @ 816C0BD
CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneySodaPop::
removemoney 300, 0
return
CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneyLemonade:: @ 816C0C4
CeladonCity_DepartmentStore_Roof_EventScript_RemoveMoneyLemonade::
removemoney 350, 0
return
CeladonCity_DepartmentStore_Roof_EventScript_TryBuyDrink:: @ 816C0CB
CeladonCity_DepartmentStore_Roof_EventScript_TryBuyDrink::
compare VAR_RESULT, FALSE
goto_if_eq CeladonCity_DepartmentStore_Roof_EventScript_NotEnoughMoney
checkitemspace VAR_TEMP_0, 1
@@ -275,23 +275,23 @@ CeladonCity_DepartmentStore_Roof_EventScript_TryBuyDrink:: @ 816C0CB
goto CeladonCity_DepartmentStore_Roof_EventScript_ChooseNewDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_ChooseNewDrink:: @ 816C125
CeladonCity_DepartmentStore_Roof_EventScript_ChooseNewDrink::
message CeladonCity_DepartmentStore_Roof_Text_VendingMachineWhatDoesItHave
waitmessage
goto CeladonCity_DepartmentStore_Roof_EventScript_ChooseDrink
end
CeladonCity_DepartmentStore_Roof_EventScript_NotEnoughMoney:: @ 816C131
CeladonCity_DepartmentStore_Roof_EventScript_NotEnoughMoney::
msgbox CeladonCity_DepartmentStore_Roof_Text_NotEnoughMoney
goto CeladonCity_DepartmentStore_Roof_EventScript_ExitVendingMachine
end
CeladonCity_DepartmentStore_Roof_EventScript_NoRoomForDrink:: @ 816C13F
CeladonCity_DepartmentStore_Roof_EventScript_NoRoomForDrink::
msgbox CeladonCity_DepartmentStore_Roof_Text_NoMoreRoomForStuff
goto CeladonCity_DepartmentStore_Roof_EventScript_ExitVendingMachine
end
CeladonCity_DepartmentStore_Roof_EventScript_ExitVendingMachine:: @ 816C14D
CeladonCity_DepartmentStore_Roof_EventScript_ExitVendingMachine::
hidemoneybox 0, 0
releaseall
end
@@ -1,82 +1,82 @@
CeladonCity_DepartmentStore_Roof_Text_ImThirstyGiveHerDrink:: @ 8195D22
CeladonCity_DepartmentStore_Roof_Text_ImThirstyGiveHerDrink::
.string "I'm thirsty!\n"
.string "I want something to drink!\p"
.string "{SIZE}ÁGive her a drink?$"
.string "{FONT_2}Give her a drink?$"
CeladonCity_DepartmentStore_Roof_Text_GiveWhichDrink:: @ 8195D5F
CeladonCity_DepartmentStore_Roof_Text_GiveWhichDrink::
.string "Give her which drink?$"
CeladonCity_DepartmentStore_Roof_Text_YayFreshWaterHaveThis:: @ 8195D75
CeladonCity_DepartmentStore_Roof_Text_YayFreshWaterHaveThis::
.string "Yay!\p"
.string "FRESH WATER!\p"
.string "Thank you!\n"
.string "You can have this from me!$"
Text_ReceivedItemFromLittleGirl:: @ 8195DAD
Text_ReceivedItemFromLittleGirl::
.string "{PLAYER} received a {STR_VAR_2}\n"
.string "from the little girl.$"
CeladonCity_DepartmentStore_Roof_Text_ExplainTM16:: @ 8195DD4
CeladonCity_DepartmentStore_Roof_Text_ExplainTM16::
.string "TM16 contains LIGHT SCREEN.\p"
.string "It's a move that weakens the power\n"
.string "of special attacks by your foe.$"
CeladonCity_DepartmentStore_Roof_Text_YaySodaPopHaveThis:: @ 8195E33
CeladonCity_DepartmentStore_Roof_Text_YaySodaPopHaveThis::
.string "Yay!\p"
.string "SODA POP!\p"
.string "Thank you!\n"
.string "You can have this from me!$"
CeladonCity_DepartmentStore_Roof_Text_ExplainTM20:: @ 8195E68
CeladonCity_DepartmentStore_Roof_Text_ExplainTM20::
.string "TM20 contains SAFEGUARD.\p"
.string "It's a move that prevents status\n"
.string "problems among your POKéMON.$"
CeladonCity_DepartmentStore_Roof_Text_YayLemonadeHaveThis:: @ 8195EBF
CeladonCity_DepartmentStore_Roof_Text_YayLemonadeHaveThis::
.string "Yay!\p"
.string "LEMONADE!\p"
.string "Thank you!\n"
.string "You can have this from me!$"
CeladonCity_DepartmentStore_Roof_Text_ExplainTM33:: @ 8195EF4
CeladonCity_DepartmentStore_Roof_Text_ExplainTM33::
.string "TM33 contains REFLECT.\p"
.string "It's a move that weakens the power\n"
.string "of physical attacks by your foe.$"
CeladonCity_DepartmentStore_Roof_Text_DontHaveSpaceForThis:: @ 8195F4F
CeladonCity_DepartmentStore_Roof_Text_DontHaveSpaceForThis::
.string "You don't have space for this!$"
CeladonCity_DepartmentStore_Roof_Text_ImNotThirstyAfterAll:: @ 8195F6E
CeladonCity_DepartmentStore_Roof_Text_ImNotThirstyAfterAll::
.string "No, thank you!\n"
.string "I'm not thirsty after all!$"
CeladonCity_DepartmentStore_Roof_Text_MySisterIsImmature:: @ 8195F98
CeladonCity_DepartmentStore_Roof_Text_MySisterIsImmature::
.string "My sister is a TRAINER, believe it\n"
.string "or not.\p"
.string "But, she's so immature, she drives\n"
.string "me nuts!$"
CeladonCity_DepartmentStore_Roof_Text_ImThirstyIWantDrink:: @ 8195FEF
CeladonCity_DepartmentStore_Roof_Text_ImThirstyIWantDrink::
.string "I'm thirsty!\n"
.string "I want something to drink!$"
CeladonCity_DepartmentStore_Roof_Text_FloorSign:: @ 8196017
CeladonCity_DepartmentStore_Roof_Text_FloorSign::
.string "ROOFTOP SQUARE:\n"
.string "VENDING MACHINES$"
CeladonCity_DepartmentStore_Roof_Text_VendingMachineWhatDoesItHave:: @ 8196038
CeladonCity_DepartmentStore_Roof_Text_VendingMachineWhatDoesItHave::
.string "A vending machine!\n"
.string "What does it have?$"
CeladonCity_DepartmentStore_Roof_Text_NotEnoughMoney:: @ 819605E
CeladonCity_DepartmentStore_Roof_Text_NotEnoughMoney::
.string "Oops, not enough money!$"
CeladonCity_DepartmentStore_Roof_Text_DrinkCanPoppedOut:: @ 8196076
CeladonCity_DepartmentStore_Roof_Text_DrinkCanPoppedOut::
.string "A can of {STR_VAR_1} popped out!$"
CeladonCity_DepartmentStore_Roof_Text_NoMoreRoomForStuff:: @ 819608E
CeladonCity_DepartmentStore_Roof_Text_NoMoreRoomForStuff::
.string "There's no more room for stuff!$"
CeladonCity_DepartmentStore_Roof_Text_NotThirsty:: @ 81960AE
CeladonCity_DepartmentStore_Roof_Text_NotThirsty::
.string "Not thirsty!$"
+67 -67
View File
@@ -1,14 +1,14 @@
.set LOCALID_GRUNT, 11
CeladonCity_GameCorner_MapScripts:: @ 816C646
CeladonCity_GameCorner_MapScripts::
map_script MAP_SCRIPT_ON_LOAD, CeladonCity_GameCorner_OnLoad
.byte 0
CeladonCity_GameCorner_OnLoad:: @ 816C64C
CeladonCity_GameCorner_OnLoad::
call_if_unset FLAG_OPENED_ROCKET_HIDEOUT, CeladonCity_GameCorner_EventScript_HideRocketHideout
end
CeladonCity_GameCorner_EventScript_HideRocketHideout:: @ 816C656
CeladonCity_GameCorner_EventScript_HideRocketHideout::
setmetatile 15, 2, METATILE_GameCorner_Floor_ShadeFull, 0
setmetatile 16, 2, METATILE_GameCorner_Floor_ShadeFull, 0
setmetatile 17, 2, METATILE_GameCorner_Floor_ShadeFull, 0
@@ -16,11 +16,11 @@ CeladonCity_GameCorner_EventScript_HideRocketHideout:: @ 816C656
setmetatile 17, 3, METATILE_GameCorner_PurpleWall_Floor, 1
return
CeladonCity_GameCorner_EventScript_InfoClerk:: @ 816C684
CeladonCity_GameCorner_EventScript_InfoClerk::
msgbox CeladonCity_GameCorner_Text_CanExchangeCoinsNextDoor, MSGBOX_NPC
end
CeladonCity_GameCorner_EventScript_CoinsClerk:: @ 816C68D
CeladonCity_GameCorner_EventScript_CoinsClerk::
goto_if_questlog EventScript_ReleaseEnd
lock
faceplayer
@@ -37,7 +37,7 @@ CeladonCity_GameCorner_EventScript_CoinsClerk:: @ 816C68D
case 127, CeladonCity_GameCorner_EventScript_ClerkDeclineBuy
end
CeladonCity_GameCorner_EventScript_BuyCoins:: @ 816C6E6
CeladonCity_GameCorner_EventScript_BuyCoins::
goto_if_unset FLAG_GOT_COIN_CASE, CeladonCity_GameCorner_EventScript_ClerkNoCoinCase
compare VAR_0x8009, 0
goto_if_eq CeladonCity_GameCorner_EventScript_Buy50Coins
@@ -45,7 +45,7 @@ CeladonCity_GameCorner_EventScript_BuyCoins:: @ 816C6E6
goto_if_eq CeladonCity_GameCorner_EventScript_Buy500Coins
end
CeladonCity_GameCorner_EventScript_Buy500Coins:: @ 816C706
CeladonCity_GameCorner_EventScript_Buy500Coins::
checkcoins VAR_TEMP_1
compare VAR_TEMP_1, (MAX_COINS + 1) - 500
goto_if_ge CeladonCity_GameCorner_EventScript_ClerkNoRoomForCoins
@@ -57,7 +57,7 @@ CeladonCity_GameCorner_EventScript_Buy500Coins:: @ 816C706
goto CeladonCity_GameCorner_EventScript_BoughtCoins
end
CeladonCity_GameCorner_EventScript_Buy50Coins:: @ 816C734
CeladonCity_GameCorner_EventScript_Buy50Coins::
checkcoins VAR_TEMP_1
compare VAR_TEMP_1, (MAX_COINS + 1) - 50
goto_if_ge CeladonCity_GameCorner_EventScript_ClerkNoRoomForCoins
@@ -69,7 +69,7 @@ CeladonCity_GameCorner_EventScript_Buy50Coins:: @ 816C734
goto CeladonCity_GameCorner_EventScript_BoughtCoins
end
CeladonCity_GameCorner_EventScript_BoughtCoins:: @ 816C762
CeladonCity_GameCorner_EventScript_BoughtCoins::
updatemoneybox 0, 0, 0
updatecoinsbox 0, 5
playse SE_SHOP
@@ -77,54 +77,54 @@ CeladonCity_GameCorner_EventScript_BoughtCoins:: @ 816C762
goto CeladonCity_GameCorner_EventScript_ClerkEnd
end
CeladonCity_GameCorner_EventScript_ClerkEnd:: @ 816C77A
CeladonCity_GameCorner_EventScript_ClerkEnd::
hidemoneybox 0, 0
hidecoinsbox 0, 5
release
end
CeladonCity_GameCorner_EventScript_ClerkDeclineBuy:: @ 816C782
CeladonCity_GameCorner_EventScript_ClerkDeclineBuy::
msgbox CeladonCity_GameCorner_Text_ComePlaySometime
goto CeladonCity_GameCorner_EventScript_ClerkEnd
end
CeladonCity_GameCorner_EventScript_ClerkNoCoinCase:: @ 816C790
CeladonCity_GameCorner_EventScript_ClerkNoCoinCase::
msgbox CeladonCity_GameCorner_Text_SorryDontHaveCoinCase
goto CeladonCity_GameCorner_EventScript_ClerkEnd
end
CeladonCity_GameCorner_EventScript_ClerkNoRoomForCoins:: @ 816C79E
CeladonCity_GameCorner_EventScript_ClerkNoRoomForCoins::
msgbox CeladonCity_GameCorner_Text_CoinCaseIsFull
goto CeladonCity_GameCorner_EventScript_ClerkEnd
end
CeladonCity_GameCorner_EventScript_ClerkNotEnoughMoney:: @ 816C7AC
CeladonCity_GameCorner_EventScript_ClerkNotEnoughMoney::
msgbox CeladonCity_GameCorner_Text_CantAffordCoins
goto CeladonCity_GameCorner_EventScript_ClerkEnd
end
CeladonCity_GameCorner_EventScript_BaldingMan:: @ 816C7BA
CeladonCity_GameCorner_EventScript_BaldingMan::
lock
faceplayer
msgbox CeladonCity_GameCorner_Text_RumoredTeamRocketRunsThisPlace
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_FaceSlotMachine:: @ 816C7CA
CeladonCity_GameCorner_EventScript_FaceSlotMachine::
closemessage
applymovement VAR_LAST_TALKED, Movement_FaceOriginalDirection
waitmovement 0
release
end
CeladonCity_GameCorner_EventScript_Woman1:: @ 816C7D7
CeladonCity_GameCorner_EventScript_Woman1::
lock
faceplayer
msgbox CeladonCity_GameCorner_Text_ThinkMachinesHaveDifferentOdds
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_Fisher:: @ 816C7E7
CeladonCity_GameCorner_EventScript_Fisher::
lock
faceplayer
goto_if_set FLAG_GOT_10_COINS_FROM_GAMBLER, CeladonCity_GameCorner_EventScript_FisherAlreadyGotCoins
@@ -142,23 +142,23 @@ CeladonCity_GameCorner_EventScript_Fisher:: @ 816C7E7
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_FisherNoRoomForCoins:: @ 816C82B
CeladonCity_GameCorner_EventScript_FisherNoRoomForCoins::
msgbox CeladonCity_GameCorner_Text_DontNeedMyCoins
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_GamblerNoCoinCase:: @ 816C839
CeladonCity_GameCorner_EventScript_GamblerNoCoinCase::
textcolor 3
msgbox CeladonCity_GameCorner_Text_DontHaveCoinCase
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_FisherAlreadyGotCoins:: @ 816C849
CeladonCity_GameCorner_EventScript_FisherAlreadyGotCoins::
msgbox CeladonCity_GameCorner_Text_WinsComeAndGo
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_GymGuy:: @ 816C857
CeladonCity_GameCorner_EventScript_GymGuy::
lock
faceplayer
goto_if_set FLAG_DEFEATED_ERIKA, CeladonCity_GameCorner_EventScript_GymGuyPostVictory
@@ -166,26 +166,26 @@ CeladonCity_GameCorner_EventScript_GymGuy:: @ 816C857
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_GymGuyPostVictory:: @ 816C870
CeladonCity_GameCorner_EventScript_GymGuyPostVictory::
msgbox CeladonCity_GameCorner_Text_RareMonsForCoins
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_Woman2:: @ 816C87E
CeladonCity_GameCorner_EventScript_Woman2::
lock
faceplayer
msgbox CeladonCity_GameCorner_Text_WinOrLoseItsOnlyLuck
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_OldMan:: @ 816C88E
CeladonCity_GameCorner_EventScript_OldMan::
lock
faceplayer
msgbox CeladonCity_GameCorner_Text_SoEasyToGetHooked
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_Scientist:: @ 816C89E
CeladonCity_GameCorner_EventScript_Scientist::
lock
faceplayer
goto_if_set FLAG_GOT_20_COINS_FROM_GAMBLER, CeladonCity_GameCorner_EventScript_ScientistAlreadyGotCoins
@@ -203,17 +203,17 @@ CeladonCity_GameCorner_EventScript_Scientist:: @ 816C89E
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_ScientistNoRoomForCoins:: @ 816C8E2
CeladonCity_GameCorner_EventScript_ScientistNoRoomForCoins::
msgbox CeladonCity_GameCorner_Text_YouHaveLotsOfCoins
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_ScientistAlreadyGotCoins:: @ 816C8F0
CeladonCity_GameCorner_EventScript_ScientistAlreadyGotCoins::
msgbox CeladonCity_GameCorner_Text_NeedMoreCoinsForMonIWant
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_Gentleman:: @ 816C8FE
CeladonCity_GameCorner_EventScript_Gentleman::
lock
faceplayer
goto_if_set FLAG_GOT_20_COINS_FROM_GAMBLER_2, CeladonCity_GameCorner_EventScript_GentlemanAlreadyGotCoins
@@ -231,27 +231,27 @@ CeladonCity_GameCorner_EventScript_Gentleman:: @ 816C8FE
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_GentlemanNoRoomForCoins:: @ 816C942
CeladonCity_GameCorner_EventScript_GentlemanNoRoomForCoins::
msgbox CeladonCity_GameCorner_Text_YouveGotPlentyCoins
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_GentlemanAlreadyGotCoins:: @ 816C950
CeladonCity_GameCorner_EventScript_GentlemanAlreadyGotCoins::
msgbox CeladonCity_GameCorner_Text_WatchReelsClosely
goto CeladonCity_GameCorner_EventScript_FaceSlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine0:: @ 816C95E
CeladonCity_GameCorner_EventScript_SlotMachine0::
lockall
setvar VAR_0x8004, 0
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_DontPlaySlotMachine:: @ 816C96A
CeladonCity_GameCorner_EventScript_DontPlaySlotMachine::
releaseall
end
CeladonCity_GameCorner_EventScript_SlotMachine:: @ 816C96C
CeladonCity_GameCorner_EventScript_SlotMachine::
goto_if_unset FLAG_GOT_COIN_CASE, CeladonCity_GameCorner_EventScript_SlotMachineNoCoinCase
msgbox CeladonCity_GameCorner_Text_SlotMachineWantToPlay, MSGBOX_YESNO
compare VAR_RESULT, NO
@@ -266,145 +266,145 @@ CeladonCity_GameCorner_EventScript_SlotMachine:: @ 816C96C
releaseall
end
CeladonCity_GameCorner_EventScript_SlotMachine1:: @ 816C9A4
CeladonCity_GameCorner_EventScript_SlotMachine1::
lockall
setvar VAR_0x8004, 1
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine2:: @ 816C9B0
CeladonCity_GameCorner_EventScript_SlotMachine2::
lockall
setvar VAR_0x8004, 2
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine3:: @ 816C9BC
CeladonCity_GameCorner_EventScript_SlotMachine3::
lockall
setvar VAR_0x8004, 3
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine4:: @ 816C9C8
CeladonCity_GameCorner_EventScript_SlotMachine4::
lockall
setvar VAR_0x8004, 4
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine5:: @ 816C9D4
CeladonCity_GameCorner_EventScript_SlotMachine5::
lockall
setvar VAR_0x8004, 5
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine6:: @ 816C9E0
CeladonCity_GameCorner_EventScript_SlotMachine6::
lockall
setvar VAR_0x8004, 6
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine7:: @ 816C9EC
CeladonCity_GameCorner_EventScript_SlotMachine7::
lockall
setvar VAR_0x8004, 7
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine8:: @ 816C9F8
CeladonCity_GameCorner_EventScript_SlotMachine8::
lockall
setvar VAR_0x8004, 8
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine9:: @ 816CA04
CeladonCity_GameCorner_EventScript_SlotMachine9::
lockall
setvar VAR_0x8004, 9
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine10:: @ 816CA10
CeladonCity_GameCorner_EventScript_SlotMachine10::
lockall
setvar VAR_0x8004, 10
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine11:: @ 816CA1C
CeladonCity_GameCorner_EventScript_SlotMachine11::
lockall
setvar VAR_0x8004, 11
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine12:: @ 816CA28
CeladonCity_GameCorner_EventScript_SlotMachine12::
lockall
setvar VAR_0x8004, 12
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine13:: @ 816CA34
CeladonCity_GameCorner_EventScript_SlotMachine13::
lockall
setvar VAR_0x8004, 13
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine14:: @ 816CA40
CeladonCity_GameCorner_EventScript_SlotMachine14::
lockall
setvar VAR_0x8004, 14
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine15:: @ 816CA4C
CeladonCity_GameCorner_EventScript_SlotMachine15::
lockall
setvar VAR_0x8004, 15
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine16:: @ 816CA58
CeladonCity_GameCorner_EventScript_SlotMachine16::
lockall
setvar VAR_0x8004, 16
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine17:: @ 816CA64
CeladonCity_GameCorner_EventScript_SlotMachine17::
lockall
setvar VAR_0x8004, 17
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine18:: @ 816CA70
CeladonCity_GameCorner_EventScript_SlotMachine18::
lockall
setvar VAR_0x8004, 18
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine19:: @ 816CA7C
CeladonCity_GameCorner_EventScript_SlotMachine19::
lockall
setvar VAR_0x8004, 19
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine20:: @ 816CA88
CeladonCity_GameCorner_EventScript_SlotMachine20::
lockall
setvar VAR_0x8004, 20
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachine21:: @ 816CA94
CeladonCity_GameCorner_EventScript_SlotMachine21::
lockall
setvar VAR_0x8004, 21
goto CeladonCity_GameCorner_EventScript_SlotMachine
end
CeladonCity_GameCorner_EventScript_SlotMachineNoCoinCase:: @ 816CAA0
CeladonCity_GameCorner_EventScript_SlotMachineNoCoinCase::
msgbox CeladonCity_GameCorner_Text_CoinCaseIsRequired
releaseall
end
CeladonCity_GameCorner_EventScript_Poster:: @ 816CAAA
CeladonCity_GameCorner_EventScript_Poster::
lockall
msgbox CeladonCity_GameCorner_Text_SwitchBehindPosterPushIt
call_if_unset FLAG_OPENED_ROCKET_HIDEOUT, CeladonCity_GameCorner_EventScript_OpenRocketHideout
releaseall
end
CeladonCity_GameCorner_EventScript_OpenRocketHideout:: @ 816CABE
CeladonCity_GameCorner_EventScript_OpenRocketHideout::
playse SE_UNLOCK
setmetatile 15, 2, METATILE_GameCorner_Floor_StairsTop, 0
setmetatile 16, 2, METATILE_GameCorner_StairsTop, 1
@@ -415,12 +415,12 @@ CeladonCity_GameCorner_EventScript_OpenRocketHideout:: @ 816CABE
setflag FLAG_OPENED_ROCKET_HIDEOUT
return
CeladonCity_GameCorner_EventScript_RocketGrunt:: @ 816CAF5
CeladonCity_GameCorner_EventScript_RocketGrunt::
trainerbattle_single TRAINER_TEAM_ROCKET_GRUNT_7, CeladonCity_GameCorner_Text_GruntIntro, CeladonCity_GameCorner_Text_GruntDefeat, CeladonCity_GameCorner_Text_DefeatedGrunt
msgbox CeladonCity_GameCorner_Text_GruntPostBattle, MSGBOX_AUTOCLOSE
end
CeladonCity_GameCorner_Text_DefeatedGrunt:: @ 816CB10
CeladonCity_GameCorner_Text_DefeatedGrunt::
msgbox CeladonCity_GameCorner_Text_GruntPostBattle
closemessage
compare VAR_FACING, DIR_WEST
@@ -431,17 +431,17 @@ CeladonCity_GameCorner_Text_DefeatedGrunt:: @ 816CB10
release
end
CeladonCity_GameCorner_Text_GruntExitWest:: @ 816CB34
CeladonCity_GameCorner_Text_GruntExitWest::
applymovement LOCALID_GRUNT, CeladonCity_GameCorner_Movement_GruntExitWest
waitmovement 0
return
CeladonCity_GameCorner_Text_GruntExit:: @ 816CB3F
CeladonCity_GameCorner_Text_GruntExit::
applymovement LOCALID_GRUNT, CeladonCity_GameCorner_Movement_GruntExit
waitmovement 0
return
CeladonCity_GameCorner_Movement_GruntExitWest:: @ 816CB4A
CeladonCity_GameCorner_Movement_GruntExitWest::
walk_down
walk_right
walk_right
@@ -452,7 +452,7 @@ CeladonCity_GameCorner_Movement_GruntExitWest:: @ 816CB4A
walk_right
step_end
CeladonCity_GameCorner_Movement_GruntExit:: @ 816CB53
CeladonCity_GameCorner_Movement_GruntExit::
walk_right
walk_right
walk_right
@@ -461,14 +461,14 @@ CeladonCity_GameCorner_Movement_GruntExit:: @ 816CB53
walk_right
step_end
CeladonCity_GameCorner_EventScript_UnusableSlotMachine1:: @ 816CB5A
CeladonCity_GameCorner_EventScript_UnusableSlotMachine1::
msgbox CeladonCity_GameCorner_Text_OutOfOrder, MSGBOX_SIGN
end
CeladonCity_GameCorner_EventScript_UnusableSlotMachine2:: @ 816CB63
CeladonCity_GameCorner_EventScript_UnusableSlotMachine2::
msgbox CeladonCity_GameCorner_Text_OutToLunch, MSGBOX_SIGN
end
CeladonCity_GameCorner_EventScript_UnusableSlotMachine3:: @ 816CB6C
CeladonCity_GameCorner_EventScript_UnusableSlotMachine3::
msgbox CeladonCity_GameCorner_Text_SomeonesKeys, MSGBOX_SIGN
end
+35 -35
View File
@@ -1,60 +1,60 @@
CeladonCity_GameCorner_Text_CanExchangeCoinsNextDoor:: @ 8196940
CeladonCity_GameCorner_Text_CanExchangeCoinsNextDoor::
.string "Welcome!\p"
.string "You can exchange your COINS for\n"
.string "fabulous prizes next door.$"
CeladonCity_GameCorner_Text_WelcomeBuySomeCoins:: @ 8196984
CeladonCity_GameCorner_Text_WelcomeBuySomeCoins::
.string "Welcome to ROCKET GAME CORNER!\p"
.string "Do you need some game COINS?\n"
.string "Would you like to buy some?$"
CeladonCity_GameCorner_Text_ComePlaySometime:: @ 81969DC
CeladonCity_GameCorner_Text_ComePlaySometime::
.string "No?\n"
.string "Please come play sometime!$"
CeladonCity_GameCorner_Text_SorryDontHaveCoinCase:: @ 81969FB
CeladonCity_GameCorner_Text_SorryDontHaveCoinCase::
.string "Oh, I'm sorry.\n"
.string "You don't have a COIN CASE.$"
CeladonCity_GameCorner_Text_CoinCaseIsFull:: @ 8196A26
CeladonCity_GameCorner_Text_CoinCaseIsFull::
.string "Whoops!\n"
.string "Your COIN CASE is full.$"
CeladonCity_GameCorner_Text_CantAffordCoins:: @ 8196A46
CeladonCity_GameCorner_Text_CantAffordCoins::
.string "You can't afford the COINS.$"
CeladonCity_GameCorner_Text_HereAreYourCoins:: @ 8196A62
CeladonCity_GameCorner_Text_HereAreYourCoins::
.string "Thank you.\n"
.string "Here are your COINS!$"
CeladonCity_GameCorner_Text_RumoredTeamRocketRunsThisPlace:: @ 8196A82
CeladonCity_GameCorner_Text_RumoredTeamRocketRunsThisPlace::
.string "Keep this quiet.\p"
.string "It's rumored that this place is run\n"
.string "by TEAM ROCKET.$"
CeladonCity_GameCorner_Text_ThinkMachinesHaveDifferentOdds:: @ 8196AC7
CeladonCity_GameCorner_Text_ThinkMachinesHaveDifferentOdds::
.string "I think these machines have\n"
.string "different odds.$"
CeladonCity_GameCorner_Text_DoYouWantToPlay:: @ 8196AF3
CeladonCity_GameCorner_Text_DoYouWantToPlay::
.string "Kid, do you want to play?$"
CeladonCity_GameCorner_Text_Received10CoinsFromMan:: @ 8196B0D
CeladonCity_GameCorner_Text_Received10CoinsFromMan::
.string "{PLAYER} received 10 COINS\n"
.string "from the man.$"
CeladonCity_GameCorner_Text_DontNeedMyCoins:: @ 8196B30
CeladonCity_GameCorner_Text_DontNeedMyCoins::
.string "You don't need my COINS!$"
CeladonCity_GameCorner_Text_WinsComeAndGo:: @ 8196B49
CeladonCity_GameCorner_Text_WinsComeAndGo::
.string "Wins seem to come and go.\n"
.string "Nothing's a sure thing.$"
CeladonCity_GameCorner_Text_WinOrLoseItsOnlyLuck:: @ 8196B7B
CeladonCity_GameCorner_Text_WinOrLoseItsOnlyLuck::
.string "These slot games…\n"
.string "Win or lose, it's only by luck.$"
CeladonCity_GameCorner_Text_GymGuyAdvice:: @ 8196BAD
CeladonCity_GameCorner_Text_GymGuyAdvice::
.string "Hey!\p"
.string "You have better things to do,\n"
.string "champ in the making!\p"
@@ -66,83 +66,83 @@ CeladonCity_GameCorner_Text_GymGuyAdvice:: @ 8196BAD
.string "But she's not one to be taken\n"
.string "lightly!$"
CeladonCity_GameCorner_Text_RareMonsForCoins:: @ 8196CA1
CeladonCity_GameCorner_Text_RareMonsForCoins::
.string "They offer rare POKéMON that can\n"
.string "be exchanged for your COINS.\p"
.string "But, I just can't seem to win!$"
CeladonCity_GameCorner_Text_SoEasyToGetHooked:: @ 8196CFE
CeladonCity_GameCorner_Text_SoEasyToGetHooked::
.string "Games are scary!\n"
.string "It's so easy to get hooked!$"
CeladonCity_GameCorner_Text_WantSomeCoins:: @ 8196D2B
CeladonCity_GameCorner_Text_WantSomeCoins::
.string "What's up?\n"
.string "Want some COINS?$"
CeladonCity_GameCorner_Text_Received20CoinsFromNiceGuy:: @ 8196D47
CeladonCity_GameCorner_Text_Received20CoinsFromNiceGuy::
.string "{PLAYER} received 20 COINS\n"
.string "from the nice guy.$"
CeladonCity_GameCorner_Text_YouHaveLotsOfCoins:: @ 8196D6F
CeladonCity_GameCorner_Text_YouHaveLotsOfCoins::
.string "You have lots of COINS!$"
CeladonCity_GameCorner_Text_NeedMoreCoinsForMonIWant:: @ 8196D87
CeladonCity_GameCorner_Text_NeedMoreCoinsForMonIWant::
.string "Darn! I need more COINS for the\n"
.string "POKéMON I want!$"
CeladonCity_GameCorner_Text_HereAreSomeCoinsShoo:: @ 8196DB7
CeladonCity_GameCorner_Text_HereAreSomeCoinsShoo::
.string "Hey, what? You're throwing me off!\n"
.string "Here are some COINS, so shoo!$"
CeladonCity_GameCorner_Text_Received20CoinsFromMan:: @ 8196DF8
CeladonCity_GameCorner_Text_Received20CoinsFromMan::
.string "{PLAYER} received 20 COINS\n"
.string "from the man.$"
CeladonCity_GameCorner_Text_YouveGotPlentyCoins:: @ 8196E1B
CeladonCity_GameCorner_Text_YouveGotPlentyCoins::
.string "You've got plenty of your own\n"
.string "COINS!$"
CeladonCity_GameCorner_Text_WatchReelsClosely:: @ 8196E40
CeladonCity_GameCorner_Text_WatchReelsClosely::
.string "The trick is to watch the reels\n"
.string "closely.$"
CeladonCity_GameCorner_Text_GruntIntro:: @ 8196E69
CeladonCity_GameCorner_Text_GruntIntro::
.string "I'm guarding this poster!\n"
.string "Go away, or else!$"
CeladonCity_GameCorner_Text_GruntDefeat:: @ 8196E95
CeladonCity_GameCorner_Text_GruntDefeat::
.string "Dang!$"
CeladonCity_GameCorner_Text_GruntPostBattle:: @ 8196E9B
CeladonCity_GameCorner_Text_GruntPostBattle::
.string "The TEAM ROCKET HIDEOUT might\n"
.string "be discovered!\p"
.string "I better tell BOSS!$"
CeladonCity_GameCorner_Text_SwitchBehindPosterPushIt:: @ 8196EDC
CeladonCity_GameCorner_Text_SwitchBehindPosterPushIt::
.string "Hey!\p"
.string "A switch behind the poster!?\n"
.string "Let's push it!$"
CeladonCity_GameCorner_Text_CoinCaseIsRequired:: @ 8196F0D
CeladonCity_GameCorner_Text_CoinCaseIsRequired::
.string "A COIN CASE is required…$"
CeladonCity_GameCorner_Text_DontHaveCoinCase:: @ 8196F26
CeladonCity_GameCorner_Text_DontHaveCoinCase::
.string "Oops!\n"
.string "Don't have the COIN CASE!$"
CeladonCity_GameCorner_Text_SlotMachineWantToPlay:: @ 8196F46
CeladonCity_GameCorner_Text_SlotMachineWantToPlay::
.string "A slot machine!\n"
.string "Want to play?$"
CeladonCity_GameCorner_Text_OutOfOrder:: @ 8196F64
CeladonCity_GameCorner_Text_OutOfOrder::
.string "OUT OF ORDER\n"
.string "This is broken.$"
CeladonCity_GameCorner_Text_OutToLunch:: @ 8196F81
CeladonCity_GameCorner_Text_OutToLunch::
.string "OUT TO LUNCH\n"
.string "This is reserved.$"
CeladonCity_GameCorner_Text_SomeonesKeys:: @ 8196FA0
CeladonCity_GameCorner_Text_SomeonesKeys::
.string "Someone's keys!\n"
.string "They'll be back.$"
@@ -1,15 +1,15 @@
CeladonCity_GameCorner_PrizeRoom_MapScripts:: @ 816CB75
CeladonCity_GameCorner_PrizeRoom_MapScripts::
.byte 0
CeladonCity_GameCorner_PrizeRoom_EventScript_BaldingMan:: @ 816CB76
CeladonCity_GameCorner_PrizeRoom_EventScript_BaldingMan::
msgbox CeladonCity_GameCorner_PrizeRoom_Text_FancyThatPorygon, MSGBOX_NPC
end
CeladonCity_GameCorner_PrizeRoom_EventScript_OldMan:: @ 816CB7F
CeladonCity_GameCorner_PrizeRoom_EventScript_OldMan::
msgbox CeladonCity_GameCorner_PrizeRoom_Text_RakedItInToday, MSGBOX_NPC
end
CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkMons:: @ 816CB88
CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkMons::
lock
faceplayer
goto_if_unset FLAG_GOT_COIN_CASE, CeladonCity_GameCorner_PrizeRoom_EventScript_NeedCoinCase
@@ -19,7 +19,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkMons:: @ 816CB88
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeMon
end
CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeMon:: @ 816CBB2
CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeMon::
message CeladonCity_GameCorner_PrizeRoom_Text_WhichPrize
waitmessage
multichoice 11, 0, MULTICHOICE_GAME_CORNER_POKEMON_PRIZES, FALSE
@@ -33,12 +33,12 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeMon:: @ 816CBB2
case 127, CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
end
CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange:: @ 816CC10
CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange::
hidecoinsbox 0, 0
release
end
CeladonCity_GameCorner_PrizeRoom_EventScript_Abra:: @ 816CC15
CeladonCity_GameCorner_PrizeRoom_EventScript_Abra::
.ifdef FIRERED
setvar VAR_TEMP_1, SPECIES_ABRA
setvar VAR_TEMP_2, 180
@@ -51,7 +51,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_Abra:: @ 816CC15
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeMon
end
CeladonCity_GameCorner_PrizeRoom_EventScript_Clefairy:: @ 816CC25
CeladonCity_GameCorner_PrizeRoom_EventScript_Clefairy::
.ifdef FIRERED
setvar VAR_TEMP_1, SPECIES_CLEFAIRY
setvar VAR_TEMP_2, 500
@@ -64,7 +64,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_Clefairy:: @ 816CC25
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeMon
end
CeladonCity_GameCorner_PrizeRoom_EventScript_DratiniPinsir:: @ 816CC35
CeladonCity_GameCorner_PrizeRoom_EventScript_DratiniPinsir::
.ifdef FIRERED
setvar VAR_TEMP_1, SPECIES_DRATINI
setvar VAR_TEMP_2, 2800
@@ -77,7 +77,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_DratiniPinsir:: @ 816CC35
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeMon
end
CeladonCity_GameCorner_PrizeRoom_EventScript_ScytherDratini:: @ 816CC45
CeladonCity_GameCorner_PrizeRoom_EventScript_ScytherDratini::
.ifdef FIRERED
setvar VAR_TEMP_1, SPECIES_SCYTHER
setvar VAR_TEMP_2, 5500
@@ -90,7 +90,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_ScytherDratini:: @ 816CC45
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeMon
end
CeladonCity_GameCorner_PrizeRoom_EventScript_Porygon:: @ 816CC55
CeladonCity_GameCorner_PrizeRoom_EventScript_Porygon::
.ifdef FIRERED
setvar VAR_TEMP_1, SPECIES_PORYGON
setvar VAR_TEMP_2, 9999
@@ -103,7 +103,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_Porygon:: @ 816CC55
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeMon
end
CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeMon:: @ 816CC65
CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeMon::
getspeciesname 0, VAR_TEMP_1
msgbox CeladonCity_GameCorner_PrizeRoom_Text_YouWantPrize, MSGBOX_YESNO
compare VAR_RESULT, NO
@@ -121,7 +121,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeMon:: @ 816CC65
case SPECIES_PINSIR, CeladonCity_GameCorner_PrizeRoom_EventScript_GivePinsir
end
CeladonCity_GameCorner_PrizeRoom_EventScript_GiveAbra:: @ 816CCD4
CeladonCity_GameCorner_PrizeRoom_EventScript_GiveAbra::
.ifdef FIRERED
givemon VAR_TEMP_1, 9, ITEM_NONE
.else
@@ -132,7 +132,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_GiveAbra:: @ 816CCD4
goto CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon
end
CeladonCity_GameCorner_PrizeRoom_EventScript_GiveClefairy:: @ 816CCE9
CeladonCity_GameCorner_PrizeRoom_EventScript_GiveClefairy::
.ifdef FIRERED
givemon VAR_TEMP_1, 8, ITEM_NONE
.else
@@ -143,7 +143,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_GiveClefairy:: @ 816CCE9
goto CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon
end
CeladonCity_GameCorner_PrizeRoom_EventScript_GiveDratini:: @ 816CCFE
CeladonCity_GameCorner_PrizeRoom_EventScript_GiveDratini::
.ifdef FIRERED
givemon VAR_TEMP_1, 18, ITEM_NONE
.else
@@ -154,12 +154,12 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_GiveDratini:: @ 816CCFE
goto CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon
end
CeladonCity_GameCorner_PrizeRoom_EventScript_GiveScyther:: @ 816CD13
CeladonCity_GameCorner_PrizeRoom_EventScript_GiveScyther::
givemon VAR_TEMP_1, 25, ITEM_NONE
goto CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon
end
CeladonCity_GameCorner_PrizeRoom_EventScript_GivePorygon:: @ 816CD28
CeladonCity_GameCorner_PrizeRoom_EventScript_GivePorygon::
.ifdef FIRERED
givemon VAR_TEMP_1, 26, ITEM_NONE
.else
@@ -170,12 +170,12 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_GivePorygon:: @ 816CD28
goto CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon
end
CeladonCity_GameCorner_PrizeRoom_EventScript_GivePinsir:: @ 816CD3D
CeladonCity_GameCorner_PrizeRoom_EventScript_GivePinsir::
givemon VAR_TEMP_1, 18, ITEM_NONE
goto CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon
end
CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon:: @ 816CD52
CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon::
compare VAR_RESULT, 0
goto_if_eq CeladonCity_GameCorner_PrizeRoom_EventScript_ReceivedMonParty
compare VAR_RESULT, 1
@@ -184,14 +184,14 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_CheckReceivedMon:: @ 816CD52
goto_if_eq CeladonCity_GameCorner_PrizeRoom_EventScript_PartyFull
end
CeladonCity_GameCorner_PrizeRoom_EventScript_PartyFull:: @ 816CD74
CeladonCity_GameCorner_PrizeRoom_EventScript_PartyFull::
textcolor 3
msgbox Text_NoMoreRoomForPokemon
hidecoinsbox 0, 0
release
end
CeladonCity_GameCorner_PrizeRoom_EventScript_NicknamePartyMon:: @ 816CD83
CeladonCity_GameCorner_PrizeRoom_EventScript_NicknamePartyMon::
getpartysize
subvar VAR_RESULT, 1
copyvar VAR_0x8004, VAR_RESULT
@@ -199,18 +199,18 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_NicknamePartyMon:: @ 816CD83
goto CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
end
CeladonCity_GameCorner_PrizeRoom_EventScript_NeedCoinCase:: @ 816CD99
CeladonCity_GameCorner_PrizeRoom_EventScript_NeedCoinCase::
textcolor 3
msgbox CeladonCity_GameCorner_PrizeRoom_Text_CoinCaseRequired
release
end
CeladonCity_GameCorner_PrizeRoom_EventScript_NotEnoughCoins:: @ 816CDA5
CeladonCity_GameCorner_PrizeRoom_EventScript_NotEnoughCoins::
msgbox CeladonCity_GameCorner_PrizeRoom_Text_NeedMoreCoins
goto CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
end
CeladonCity_GameCorner_PrizeRoom_EventScript_ReceivedMonParty:: @ 816CDB3
CeladonCity_GameCorner_PrizeRoom_EventScript_ReceivedMonParty::
removecoins VAR_TEMP_2
updatecoinsbox 0, 5
getspeciesname 0, VAR_TEMP_1
@@ -224,7 +224,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_ReceivedMonParty:: @ 816CDB3
goto CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
end
CeladonCity_GameCorner_PrizeRoom_EventScript_ReceivedMonPC:: @ 816CDE0
CeladonCity_GameCorner_PrizeRoom_EventScript_ReceivedMonPC::
removecoins VAR_TEMP_2
updatecoinsbox 0, 5
getspeciesname 0, VAR_TEMP_1
@@ -239,12 +239,12 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_ReceivedMonPC:: @ 816CDE0
goto CeladonCity_GameCorner_PrizeRoom_EventScript_TransferredToPC
end
CeladonCity_GameCorner_PrizeRoom_EventScript_TransferredToPC:: @ 816CE12
CeladonCity_GameCorner_PrizeRoom_EventScript_TransferredToPC::
call EventScript_TransferredToPC
goto CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
end
CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkTMs:: @ 816CE1D
CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkTMs::
lock
faceplayer
goto_if_unset FLAG_GOT_COIN_CASE, CeladonCity_GameCorner_PrizeRoom_EventScript_NeedCoinCase
@@ -254,7 +254,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkTMs:: @ 816CE1D
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeTM
end
CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeTM:: @ 816CE47
CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeTM::
message CeladonCity_GameCorner_PrizeRoom_Text_WhichPrize
waitmessage
multichoice 11, 0, MULTICHOICE_GAME_CORNER_TMPRIZES, FALSE
@@ -268,49 +268,49 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeTM:: @ 816CE47
case 127, CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
end
CeladonCity_GameCorner_PrizeRoom_EventScript_TM13:: @ 816CEA5
CeladonCity_GameCorner_PrizeRoom_EventScript_TM13::
setvar VAR_TEMP_1, ITEM_TM13
setvar VAR_TEMP_2, 4000
getmovename 1, MOVE_ICE_BEAM
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeTM
end
CeladonCity_GameCorner_PrizeRoom_EventScript_TM23:: @ 816CEB9
CeladonCity_GameCorner_PrizeRoom_EventScript_TM23::
setvar VAR_TEMP_1, ITEM_TM23
setvar VAR_TEMP_2, 3500
getmovename 1, MOVE_IRON_TAIL
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeTM
end
CeladonCity_GameCorner_PrizeRoom_EventScript_TM24:: @ 816CECD
CeladonCity_GameCorner_PrizeRoom_EventScript_TM24::
setvar VAR_TEMP_1, ITEM_TM24
setvar VAR_TEMP_2, 4000
getmovename 1, MOVE_THUNDERBOLT
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeTM
end
CeladonCity_GameCorner_PrizeRoom_EventScript_TM30:: @ 816CEE1
CeladonCity_GameCorner_PrizeRoom_EventScript_TM30::
setvar VAR_TEMP_1, ITEM_TM30
setvar VAR_TEMP_2, 4500
getmovename 1, MOVE_SHADOW_BALL
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeTM
end
CeladonCity_GameCorner_PrizeRoom_EventScript_TM35:: @ 816CEF5
CeladonCity_GameCorner_PrizeRoom_EventScript_TM35::
setvar VAR_TEMP_1, ITEM_TM35
setvar VAR_TEMP_2, 4000
getmovename 1, MOVE_FLAMETHROWER
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeTM
end
CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeTM:: @ 816CF09
CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeTM::
msgbox CeladonCity_GameCorner_PrizeRoom_Text_YouWantTM, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
goto CeladonCity_GameCorner_PrizeRoom_EventScript_TryGivePrize
end
CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeItem:: @ 816CF22
CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeItem::
getitemname 0, VAR_TEMP_1
msgbox CeladonCity_GameCorner_PrizeRoom_Text_YouWantPrize, MSGBOX_YESNO
compare VAR_RESULT, NO
@@ -318,7 +318,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeItem:: @ 816CF22
goto CeladonCity_GameCorner_PrizeRoom_EventScript_TryGivePrize
end
CeladonCity_GameCorner_PrizeRoom_EventScript_TryGivePrize:: @ 816CF3F
CeladonCity_GameCorner_PrizeRoom_EventScript_TryGivePrize::
getitemname 0, VAR_TEMP_1
checkcoins VAR_RESULT
compare VAR_RESULT, VAR_TEMP_2
@@ -332,14 +332,14 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_TryGivePrize:: @ 816CF3F
goto CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
end
CeladonCity_GameCorner_PrizeRoom_EventScript_BagFull:: @ 816CF79
CeladonCity_GameCorner_PrizeRoom_EventScript_BagFull::
textcolor 3
msgbox Text_TooBadBagFull
hidecoinsbox 0, 0
release
end
CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkItems:: @ 816CF88
CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkItems::
lock
faceplayer
goto_if_unset FLAG_GOT_COIN_CASE, CeladonCity_GameCorner_PrizeRoom_EventScript_NeedCoinCase
@@ -349,7 +349,7 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkItems:: @ 816CF88
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeItem
end
CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeItem:: @ 816CFB2
CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeItem::
message CeladonCity_GameCorner_PrizeRoom_Text_WhichPrize
waitmessage
multichoice 10, 0, MULTICHOICE_GAME_CORNER_BATTLE_ITEM_PRIZES, FALSE
@@ -363,31 +363,31 @@ CeladonCity_GameCorner_PrizeRoom_EventScript_ChoosePrizeItem:: @ 816CFB2
case 127, CeladonCity_GameCorner_PrizeRoom_EventScript_EndPrizeExchange
end
CeladonCity_GameCorner_PrizeRoom_EventScript_SmokeBall:: @ 816D010
CeladonCity_GameCorner_PrizeRoom_EventScript_SmokeBall::
setvar VAR_TEMP_1, ITEM_SMOKE_BALL
setvar VAR_TEMP_2, 800
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeItem
end
CeladonCity_GameCorner_PrizeRoom_EventScript_MiracleSeed:: @ 816D020
CeladonCity_GameCorner_PrizeRoom_EventScript_MiracleSeed::
setvar VAR_TEMP_1, ITEM_MIRACLE_SEED
setvar VAR_TEMP_2, 1000
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeItem
end
CeladonCity_GameCorner_PrizeRoom_EventScript_Charcoal:: @ 816D030
CeladonCity_GameCorner_PrizeRoom_EventScript_Charcoal::
setvar VAR_TEMP_1, ITEM_CHARCOAL
setvar VAR_TEMP_2, 1000
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeItem
end
CeladonCity_GameCorner_PrizeRoom_EventScript_MysticWater:: @ 816D040
CeladonCity_GameCorner_PrizeRoom_EventScript_MysticWater::
setvar VAR_TEMP_1, ITEM_MYSTIC_WATER
setvar VAR_TEMP_2, 1000
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeItem
end
CeladonCity_GameCorner_PrizeRoom_EventScript_YellowFlute:: @ 816D050
CeladonCity_GameCorner_PrizeRoom_EventScript_YellowFlute::
setvar VAR_TEMP_1, ITEM_YELLOW_FLUTE
setvar VAR_TEMP_2, 1600
goto CeladonCity_GameCorner_PrizeRoom_EventScript_ConfirmPrizeItem
@@ -1,37 +1,37 @@
CeladonCity_GameCorner_PrizeRoom_Text_FancyThatPorygon:: @ 8196FC1
CeladonCity_GameCorner_PrizeRoom_Text_FancyThatPorygon::
.string "I sure do fancy that PORYGON!\n"
.string "But, it's hard to win at slots!$"
CeladonCity_GameCorner_PrizeRoom_Text_RakedItInToday:: @ 8196FFF
CeladonCity_GameCorner_PrizeRoom_Text_RakedItInToday::
.string "Gahaha! I raked it in today!\n"
.string "If only every day were like this…$"
CeladonCity_GameCorner_PrizeRoom_Text_CoinCaseRequired:: @ 819703E
CeladonCity_GameCorner_PrizeRoom_Text_CoinCaseRequired::
.string "A COIN CASE is required…$"
CeladonCity_GameCorner_PrizeRoom_Text_WeExchangeCoinsForPrizes:: @ 8197057
CeladonCity_GameCorner_PrizeRoom_Text_WeExchangeCoinsForPrizes::
.string "We exchange your COINS for prizes.$"
CeladonCity_GameCorner_PrizeRoom_Text_WhichPrize:: @ 819707A
CeladonCity_GameCorner_PrizeRoom_Text_WhichPrize::
.string "Which prize would you like?$"
CeladonCity_GameCorner_PrizeRoom_Text_HereYouGo:: @ 8197096
CeladonCity_GameCorner_PrizeRoom_Text_HereYouGo::
.string "はい どうぞ$"
CeladonCity_GameCorner_PrizeRoom_Text_YouWantPrize:: @ 819709D
CeladonCity_GameCorner_PrizeRoom_Text_YouWantPrize::
.string "So, you want the {STR_VAR_1}?$"
CeladonCity_GameCorner_PrizeRoom_Text_YouWantTM:: @ 81970B2
CeladonCity_GameCorner_PrizeRoom_Text_YouWantTM::
.string "Okay, a TM of {STR_VAR_2}\n"
.string "is what you want?$"
CeladonCity_GameCorner_PrizeRoom_Text_NeedMoreCoins:: @ 81970D5
CeladonCity_GameCorner_PrizeRoom_Text_NeedMoreCoins::
.string "Sorry, you'll need more COINS\n"
.string "than that.$"
CeladonCity_GameCorner_PrizeRoom_Text_OopsNotEnoughRoom:: @ 81970FE
CeladonCity_GameCorner_PrizeRoom_Text_OopsNotEnoughRoom::
.string "おきゃくさん もう もてないよ$"
CeladonCity_GameCorner_PrizeRoom_Text_OhFineThen:: @ 819710E
CeladonCity_GameCorner_PrizeRoom_Text_OhFineThen::
.string "あっ そう$"
+14 -14
View File
@@ -1,7 +1,7 @@
CeladonCity_Gym_MapScripts:: @ 816D060
CeladonCity_Gym_MapScripts::
.byte 0
CeladonCity_Gym_EventScript_Erika:: @ 816D061
CeladonCity_Gym_EventScript_Erika::
famechecker FAMECHECKER_ERIKA, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
trainerbattle_single TRAINER_LEADER_ERIKA, CeladonCity_Gym_Text_ErikaIntro, CeladonCity_Gym_Text_ErikaDefeat, CeladonCity_Gym_EventScript_DefeatedErika, NO_MUSIC
goto_if_unset FLAG_GOT_TM19_FROM_ERIKA, CeladonCity_Gym_EventScript_GiveTM19
@@ -10,7 +10,7 @@ CeladonCity_Gym_EventScript_Erika:: @ 816D061
release
end
CeladonCity_Gym_EventScript_DefeatedErika:: @ 816D0A0
CeladonCity_Gym_EventScript_DefeatedErika::
famechecker FAMECHECKER_ERIKA, 1
clearflag FLAG_HIDE_FAME_CHECKER_ERIKA_JOURNALS
setflag FLAG_DEFEATED_ERIKA
@@ -19,7 +19,7 @@ CeladonCity_Gym_EventScript_DefeatedErika:: @ 816D0A0
goto CeladonCity_Gym_EventScript_GiveTM19
end
CeladonCity_Gym_EventScript_GiveTM19:: @ 816D0C6
CeladonCity_Gym_EventScript_GiveTM19::
msgbox CeladonCity_Gym_Text_ExplainRainbowBadgeTakeThis
checkitemspace ITEM_TM19, 1
compare VAR_RESULT, FALSE
@@ -30,56 +30,56 @@ CeladonCity_Gym_EventScript_GiveTM19:: @ 816D0C6
release
end
CeladonCity_Gym_EventScript_NoRoomForTM19:: @ 816D107
CeladonCity_Gym_EventScript_NoRoomForTM19::
msgbox CeladonCity_Gym_Text_ShouldMakeRoomForThis
release
end
CeladonCity_Gym_EventScript_Kay:: @ 816D111
CeladonCity_Gym_EventScript_Kay::
trainerbattle_single TRAINER_LASS_KAY, CeladonCity_Gym_Text_KayIntro, CeladonCity_Gym_Text_KayDefeat
msgbox CeladonCity_Gym_Text_KayPostBattle, MSGBOX_AUTOCLOSE
end
CeladonCity_Gym_EventScript_Lisa:: @ 816D128
CeladonCity_Gym_EventScript_Lisa::
trainerbattle_single TRAINER_LASS_LISA, CeladonCity_Gym_Text_LisaIntro, CeladonCity_Gym_Text_LisaDefeat
famechecker FAMECHECKER_ERIKA, 2
msgbox CeladonCity_Gym_Text_LisaPostBattle, MSGBOX_AUTOCLOSE
end
CeladonCity_Gym_EventScript_Tina:: @ 816D14C
CeladonCity_Gym_EventScript_Tina::
trainerbattle_single TRAINER_PICNICKER_TINA, CeladonCity_Gym_Text_TinaIntro, CeladonCity_Gym_Text_TinaDefeat
msgbox CeladonCity_Gym_Text_TinaPostBattle, MSGBOX_AUTOCLOSE
end
CeladonCity_Gym_EventScript_Bridget:: @ 816D163
CeladonCity_Gym_EventScript_Bridget::
trainerbattle_single TRAINER_BEAUTY_BRIDGET, CeladonCity_Gym_Text_BridgetIntro, CeladonCity_Gym_Text_BridgetDefeat
msgbox CeladonCity_Gym_Text_BridgetPostBattle, MSGBOX_AUTOCLOSE
end
CeladonCity_Gym_EventScript_Tamia:: @ 816D17A
CeladonCity_Gym_EventScript_Tamia::
trainerbattle_single TRAINER_BEAUTY_TAMIA, CeladonCity_Gym_Text_TamiaIntro, CeladonCity_Gym_Text_TamiaDefeat
famechecker FAMECHECKER_ERIKA, 3
msgbox CeladonCity_Gym_Text_TamiaPostBattle, MSGBOX_AUTOCLOSE
end
CeladonCity_Gym_EventScript_Lori:: @ 816D19E
CeladonCity_Gym_EventScript_Lori::
trainerbattle_single TRAINER_BEAUTY_LORI, CeladonCity_Gym_Text_LoriIntro, CeladonCity_Gym_Text_LoriDefeat
msgbox CeladonCity_Gym_Text_LoriPostBattle, MSGBOX_AUTOCLOSE
end
CeladonCity_Gym_EventScript_Mary:: @ 816D1B5
CeladonCity_Gym_EventScript_Mary::
trainerbattle_single TRAINER_COOLTRAINER_MARY, CeladonCity_Gym_Text_MaryIntro, CeladonCity_Gym_Text_MaryDefeat
msgbox CeladonCity_Gym_Text_MaryPostBattle, MSGBOX_AUTOCLOSE
end
CeladonCity_Gym_EventScript_GymStatue:: @ 816D1CC
CeladonCity_Gym_EventScript_GymStatue::
lockall
goto_if_set FLAG_BADGE04_GET, CeladonCity_Gym_EventScript_GymStatuePostVictory
msgbox CeladonCity_Gym_Text_GymStatue
releaseall
end
CeladonCity_Gym_EventScript_GymStatuePostVictory:: @ 816D1E0
CeladonCity_Gym_EventScript_GymStatuePostVictory::
msgbox CeladonCity_Gym_Text_GymStatuePlayerWon
releaseall
end
+30 -30
View File
@@ -1,4 +1,4 @@
CeladonCity_Gym_Text_ErikaIntro:: @ 8197114
CeladonCity_Gym_Text_ErikaIntro::
.string "Hello…\n"
.string "Lovely weather, isn't it?\l"
.string "It's so pleasant…\p"
@@ -14,137 +14,137 @@ CeladonCity_Gym_Text_ErikaIntro:: @ 8197114
.string "you wished to challenge me.\p"
.string "Very well, but I shall not lose.{PLAY_BGM MUS_ENCOUNTER_GYM_LEADER}$"
CeladonCity_Gym_Text_ErikaDefeat:: @ 8197260
CeladonCity_Gym_Text_ErikaDefeat::
.string "Oh!\n"
.string "I concede defeat.\l"
.string "You are remarkably strong.\p"
.string "I must confer on you the\n"
.string "RAINBOWBADGE.$"
CeladonCity_Gym_Text_ErikaPostBattle:: @ 81972B8
CeladonCity_Gym_Text_ErikaPostBattle::
.string "You are cataloging POKéMON?\n"
.string "I must say I'm impressed.\p"
.string "I would never collect POKéMON if\n"
.string "they were unattractive.$"
CeladonCity_Gym_Text_ExplainRainbowBadgeTakeThis:: @ 8197327
CeladonCity_Gym_Text_ExplainRainbowBadgeTakeThis::
.string "The RAINBOWBADGE will make\n"
.string "POKéMON up to Lv. 50 obey.\p"
.string "It also allows POKéMON to use\n"
.string "STRENGTH in and out of battle.\p"
.string "Please also take this with you.$"
CeladonCity_Gym_Text_ReceivedTM19FromErika:: @ 81973BA
CeladonCity_Gym_Text_ReceivedTM19FromErika::
.string "{PLAYER} received TM19\n"
.string "from ERIKA.$"
CeladonCity_Gym_Text_ExplainTM19:: @ 81973D7
CeladonCity_Gym_Text_ExplainTM19::
.string "TM19 contains GIGA DRAIN.\p"
.string "Half the damage it inflicts is\n"
.string "drained to heal your POKéMON.\p"
.string "Wouldn't you agree that it's a\n"
.string "wonderful move?$"
CeladonCity_Gym_Text_ShouldMakeRoomForThis:: @ 819745D
CeladonCity_Gym_Text_ShouldMakeRoomForThis::
.string "You should make room for this.$"
CeladonCity_Gym_Text_KayIntro:: @ 819747C
CeladonCity_Gym_Text_KayIntro::
.string "I should tell you about this GYM.\p"
.string "Only real ladies are allowed in\n"
.string "here!$"
CeladonCity_Gym_Text_KayDefeat:: @ 81974C4
CeladonCity_Gym_Text_KayDefeat::
.string "You're too rough!$"
CeladonCity_Gym_Text_KayPostBattle:: @ 81974D6
CeladonCity_Gym_Text_KayPostBattle::
.string "Bleaah!\n"
.string "I hope ERIKA wipes you out!$"
CeladonCity_Gym_Text_BridgetIntro:: @ 81974FA
CeladonCity_Gym_Text_BridgetIntro::
.string "Oh, welcome.\n"
.string "I was getting bored.$"
CeladonCity_Gym_Text_BridgetDefeat:: @ 819751C
CeladonCity_Gym_Text_BridgetDefeat::
.string "My makeup!$"
CeladonCity_Gym_Text_BridgetPostBattle:: @ 8197527
CeladonCity_Gym_Text_BridgetPostBattle::
.string "GRASS-type POKéMON are tough\n"
.string "against the WATER type.\p"
.string "They also have an edge on ROCK-\n"
.string "and GROUND-type POKéMON.$"
CeladonCity_Gym_Text_TinaIntro:: @ 8197595
CeladonCity_Gym_Text_TinaIntro::
.string "…Weren't you peeking in here\n"
.string "earlier?$"
CeladonCity_Gym_Text_TinaDefeat:: @ 81975BB
CeladonCity_Gym_Text_TinaDefeat::
.string "You're an eye-opener!$"
CeladonCity_Gym_Text_TinaPostBattle:: @ 81975D1
CeladonCity_Gym_Text_TinaPostBattle::
.string "Oh, you were looking at ERIKA…\n"
.string "You weren't looking at me…$"
CeladonCity_Gym_Text_TamiaIntro:: @ 819760B
CeladonCity_Gym_Text_TamiaIntro::
.string "Look, look!\n"
.string "See my POKéMON!\p"
.string "I like the GRASS type.\n"
.string "I like how they're easy to raise.$"
CeladonCity_Gym_Text_TamiaDefeat:: @ 8197660
CeladonCity_Gym_Text_TamiaDefeat::
.string "No!$"
CeladonCity_Gym_Text_TamiaPostBattle:: @ 8197664
CeladonCity_Gym_Text_TamiaPostBattle::
.string "We only use GRASS-type POKéMON at\n"
.string "our GYM.\p"
.string "Why? We also use them for making\n"
.string "flower arrangements!$"
CeladonCity_Gym_Text_LisaIntro:: @ 81976C5
CeladonCity_Gym_Text_LisaIntro::
.string "Oh, hey!\p"
.string "We don't like BUG- or FIRE-type\n"
.string "POKéMON in here!$"
CeladonCity_Gym_Text_LisaDefeat:: @ 81976FF
CeladonCity_Gym_Text_LisaDefeat::
.string "Oh!\n"
.string "You!$"
CeladonCity_Gym_Text_LisaPostBattle:: @ 8197708
CeladonCity_Gym_Text_LisaPostBattle::
.string "Our LEADER ERIKA might be quiet,\n"
.string "but she's famous around here.$"
CeladonCity_Gym_Text_LoriIntro:: @ 8197747
CeladonCity_Gym_Text_LoriIntro::
.string "Pleased to meet you.\n"
.string "My hobby is POKéMON training.$"
CeladonCity_Gym_Text_LoriDefeat:: @ 819777A
CeladonCity_Gym_Text_LoriDefeat::
.string "Oh!\n"
.string "Splendid!$"
CeladonCity_Gym_Text_LoriPostBattle:: @ 8197788
CeladonCity_Gym_Text_LoriPostBattle::
.string "I have a blind date coming up.\n"
.string "I have to learn to be polite,\l"
.string "especially if I have to battle.$"
CeladonCity_Gym_Text_MaryIntro:: @ 81977E5
CeladonCity_Gym_Text_MaryIntro::
.string "Welcome to CELADON GYM!\p"
.string "You'd better not underestimate\n"
.string "the nice ladies here.$"
CeladonCity_Gym_Text_MaryDefeat:: @ 8197832
CeladonCity_Gym_Text_MaryDefeat::
.string "Oh!\n"
.string "Beaten!$"
CeladonCity_Gym_Text_MaryPostBattle:: @ 819783E
CeladonCity_Gym_Text_MaryPostBattle::
.string "I didn't bring my best POKéMON.\n"
.string "Wait until next time!$"
CeladonCity_Gym_Text_GymStatue:: @ 8197874
CeladonCity_Gym_Text_GymStatue::
.string "CELADON POKéMON GYM\n"
.string "LEADER: ERIKA\p"
.string "WINNING TRAINERS:\n"
.string "{RIVAL}$"
CeladonCity_Gym_Text_GymStatuePlayerWon:: @ 81978AB
CeladonCity_Gym_Text_GymStatuePlayerWon::
.string "CELADON POKéMON GYM\n"
.string "LEADER: ERIKA\p"
.string "WINNING TRAINERS:\n"
+5 -5
View File
@@ -1,18 +1,18 @@
CeladonCity_Hotel_MapScripts:: @ 816D283
CeladonCity_Hotel_MapScripts::
.byte 0
CeladonCity_Hotel_EventScript_Receptionist:: @ 816D284
CeladonCity_Hotel_EventScript_Receptionist::
msgbox CeladonCity_Hotel_Text_ThisHotelIsForPeople, MSGBOX_NPC
end
CeladonCity_Hotel_EventScript_Beauty:: @ 816D28D
CeladonCity_Hotel_EventScript_Beauty::
msgbox CeladonCity_Hotel_Text_OnVacationWithBrotherAndBoyfriend, MSGBOX_NPC
end
CeladonCity_Hotel_EventScript_BeautyBoyfriend:: @ 816D296
CeladonCity_Hotel_EventScript_BeautyBoyfriend::
msgbox CeladonCity_Hotel_Text_WhyDidSheBringBrother, MSGBOX_NPC
end
CeladonCity_Hotel_EventScript_BeautyBrother:: @ 816D29F
CeladonCity_Hotel_EventScript_BeautyBrother::
msgbox CeladonCity_Hotel_Text_SisBroughtMeOnVacation, MSGBOX_NPC
end
+4 -4
View File
@@ -1,18 +1,18 @@
CeladonCity_Hotel_Text_ThisHotelIsForPeople:: @ 8197B77
CeladonCity_Hotel_Text_ThisHotelIsForPeople::
.string "POKéMON?\n"
.string "No, this is a hotel for people.\p"
.string "We're full up, unfortunately.$"
CeladonCity_Hotel_Text_OnVacationWithBrotherAndBoyfriend:: @ 8197BBE
CeladonCity_Hotel_Text_OnVacationWithBrotherAndBoyfriend::
.string "I'm on vacation with my brother and\n"
.string "boyfriend.\p"
.string "CELADON is such a pretty city!$"
CeladonCity_Hotel_Text_WhyDidSheBringBrother:: @ 8197C0C
CeladonCity_Hotel_Text_WhyDidSheBringBrother::
.string "Why?\n"
.string "Why did she bring her brother?$"
CeladonCity_Hotel_Text_SisBroughtMeOnVacation:: @ 8197C30
CeladonCity_Hotel_Text_SisBroughtMeOnVacation::
.string "Yippee! I'm on vacation!\n"
.string "My sis brought me along! Awesome!$"
+4 -4
View File
@@ -1,14 +1,14 @@
CeladonCity_House1_MapScripts:: @ 816D267
CeladonCity_House1_MapScripts::
.byte 0
CeladonCity_House1_EventScript_RocketChief:: @ 816D268
CeladonCity_House1_EventScript_RocketChief::
msgbox CeladonCity_House1_Text_SlotsReelInTheDough, MSGBOX_NPC
end
CeladonCity_House1_EventScript_Rocket1:: @ 816D271
CeladonCity_House1_EventScript_Rocket1::
msgbox CeladonCity_House1_Text_ShippedMonsAsSlotPrizes, MSGBOX_NPC
end
CeladonCity_House1_EventScript_Rocket2:: @ 816D27A
CeladonCity_House1_EventScript_Rocket2::
msgbox CeladonCity_House1_Text_DontTouchGameCornerPoster, MSGBOX_NPC
end
+4 -4
View File
@@ -1,20 +1,20 @@
CeladonCity_House1_Text_SlotsReelInTheDough:: @ 8197A9F
CeladonCity_House1_Text_SlotsReelInTheDough::
.string "Hehehe!\p"
.string "The slots just reel in the dough,\n"
.string "big-time!$"
CeladonCity_House1_Text_ShippedMonsAsSlotPrizes:: @ 8197AD3
CeladonCity_House1_Text_ShippedMonsAsSlotPrizes::
.string "CHIEF!\p"
.string "We just shipped two thousand\n"
.string "more POKéMON as slot prizes\l"
.string "again today!$"
CeladonCity_House1_Text_DontTouchGameCornerPoster:: @ 8197B20
CeladonCity_House1_Text_DontTouchGameCornerPoster::
.string "Don't touch the poster at the GAME\n"
.string "CORNER!\p"
.string "There's no secret switch behind it!$"
@ Text for the replaced altars in the rocket chiefs house / celadon mansion
@ In English RB, this is westernized as "It's a sculpture of DIGLETT.", and is removed altogether in FRLG
Text_ItsABuddhistAltar:: @ 8197B6F
Text_ItsABuddhistAltar::
.string "ぶつだん だ‥$"
@@ -1,27 +1,27 @@
CeladonCity_PokemonCenter_1F_MapScripts:: @ 816C5EC
CeladonCity_PokemonCenter_1F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CeladonCity_PokemonCenter_1F_OnTransition
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
.byte 0
CeladonCity_PokemonCenter_1F_OnTransition:: @ 816C5F7
CeladonCity_PokemonCenter_1F_OnTransition::
setrespawn SPAWN_CELADON_CITY
end
CeladonCity_PokemonCenter_1F_EventScript_Nurse:: @ 816C5FB
CeladonCity_PokemonCenter_1F_EventScript_Nurse::
lock
faceplayer
call EventScript_PkmnCenterNurse
release
end
CeladonCity_PokemonCenter_1F_EventScript_Gentleman:: @ 816C604
CeladonCity_PokemonCenter_1F_EventScript_Gentleman::
msgbox CeladonCity_PokemonCenter_1F_Text_PokeFluteAwakensSleepingMons, MSGBOX_NPC
end
CeladonCity_PokemonCenter_1F_EventScript_CooltrainerF:: @ 816C60D
CeladonCity_PokemonCenter_1F_EventScript_CooltrainerF::
msgbox CeladonCity_PokemonCenter_1F_Text_RodeHereFromFuchsia, MSGBOX_NPC
end
CeladonCity_PokemonCenter_1F_EventScript_Youngster:: @ 816C616
CeladonCity_PokemonCenter_1F_EventScript_Youngster::
msgbox CeladonCity_PokemonCenter_1F_Text_GoToCyclingRoadIfIHadBike, MSGBOX_NPC
end
@@ -1,15 +1,15 @@
CeladonCity_PokemonCenter_1F_Text_PokeFluteAwakensSleepingMons:: @ 819685B
CeladonCity_PokemonCenter_1F_Text_PokeFluteAwakensSleepingMons::
.string "A POKé FLUTE awakens sleeping\n"
.string "POKéMON. You know that.\p"
.string "It does so with a sound that only\n"
.string "they can hear.$"
CeladonCity_PokemonCenter_1F_Text_RodeHereFromFuchsia:: @ 81968C2
CeladonCity_PokemonCenter_1F_Text_RodeHereFromFuchsia::
.string "I rode here from FUCHSIA.\p"
.string "It's an uphill ride on CYCLING\n"
.string "ROAD, so I'm exhausted.$"
CeladonCity_PokemonCenter_1F_Text_GoToCyclingRoadIfIHadBike:: @ 8196913
CeladonCity_PokemonCenter_1F_Text_GoToCyclingRoadIfIHadBike::
.string "If I had a BIKE, I would go to\n"
.string "CYCLING ROAD!$"
@@ -1,4 +1,4 @@
CeladonCity_PokemonCenter_2F_MapScripts:: @ 816C61F
CeladonCity_PokemonCenter_2F_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, CableClub_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, CableClub_OnWarp
map_script MAP_SCRIPT_ON_LOAD, CableClub_OnLoad
@@ -6,14 +6,14 @@ CeladonCity_PokemonCenter_2F_MapScripts:: @ 816C61F
.byte 0
@ The below 3 are unused and leftover from RS
CeladonCity_PokemonCenter_2F_EventScript_Colosseum:: @ 816C634
CeladonCity_PokemonCenter_2F_EventScript_Colosseum::
call CableClub_EventScript_Colosseum
end
CeladonCity_PokemonCenter_2F_EventScript_TradeCenter:: @ 816C63A
CeladonCity_PokemonCenter_2F_EventScript_TradeCenter::
call CableClub_EventScript_TradeCenter
end
CeladonCity_PokemonCenter_2F_EventScript_RecordCorner:: @ 816C640
CeladonCity_PokemonCenter_2F_EventScript_RecordCorner::
call CableClub_EventScript_RecordCorner
end
+8 -8
View File
@@ -1,15 +1,15 @@
CeladonCity_Restaurant_MapScripts:: @ 816D1EA
CeladonCity_Restaurant_MapScripts::
.byte 0
CeladonCity_Restaurant_EventScript_Chef:: @ 816D1EB
CeladonCity_Restaurant_EventScript_Chef::
msgbox CeladonCity_Restaurant_Text_TakingBreakRightNow, MSGBOX_NPC
end
CeladonCity_Restaurant_EventScript_Woman:: @ 816D1F4
CeladonCity_Restaurant_EventScript_Woman::
msgbox CeladonCity_Restaurant_Text_OftenGoToDrugstore, MSGBOX_NPC
end
CeladonCity_Restaurant_EventScript_CoinCaseMan:: @ 816D1FD
CeladonCity_Restaurant_EventScript_CoinCaseMan::
lock
faceplayer
goto_if_set FLAG_GOT_COIN_CASE, CeladonCity_Restaurant_EventScript_AlreadyGotCoinCase
@@ -22,20 +22,20 @@ CeladonCity_Restaurant_EventScript_CoinCaseMan:: @ 816D1FD
release
end
CeladonCity_Restaurant_EventScript_NoRoomForCoinCase:: @ 816D241
CeladonCity_Restaurant_EventScript_NoRoomForCoinCase::
msgbox CeladonCity_Restaurant_Text_MakeRoomForThis
release
end
CeladonCity_Restaurant_EventScript_AlreadyGotCoinCase:: @ 816D24B
CeladonCity_Restaurant_EventScript_AlreadyGotCoinCase::
msgbox CeladonCity_Restaurant_Text_ThoughtIdWinItBack
release
end
CeladonCity_Restaurant_EventScript_WorkerM:: @ 816D255
CeladonCity_Restaurant_EventScript_WorkerM::
msgbox CeladonCity_Restaurant_Text_PsstBasementUnderGameCorner, MSGBOX_NPC
end
CeladonCity_Restaurant_EventScript_FatMan:: @ 816D25E
CeladonCity_Restaurant_EventScript_FatMan::
msgbox CeladonCity_Restaurant_Text_ManLostItAllAtSlots, MSGBOX_NPC
end
+8 -8
View File
@@ -1,22 +1,22 @@
CeladonCity_Restaurant_Text_TakingBreakRightNow:: @ 81978E6
CeladonCity_Restaurant_Text_TakingBreakRightNow::
.string "Hi!\p"
.string "Sorry, but we're taking a break\n"
.string "right now.$"
CeladonCity_Restaurant_Text_OftenGoToDrugstore:: @ 8197915
CeladonCity_Restaurant_Text_OftenGoToDrugstore::
.string "My POKéMON are weak, so I often\n"
.string "have to go to the DRUGSTORE.$"
CeladonCity_Restaurant_Text_PsstBasementUnderGameCorner:: @ 8197952
CeladonCity_Restaurant_Text_PsstBasementUnderGameCorner::
.string "Psst! There's a basement under the\n"
.string "GAME CORNER, I hear.$"
CeladonCity_Restaurant_Text_ManLostItAllAtSlots:: @ 819798A
CeladonCity_Restaurant_Text_ManLostItAllAtSlots::
.string "Munch…\p"
.string "The man at that table lost it all\n"
.string "at the slots.$"
CeladonCity_Restaurant_Text_TakeThisImBusted:: @ 81979C1
CeladonCity_Restaurant_Text_TakeThisImBusted::
.string "Go ahead! Laugh!\n"
.string "I'm flat-out busted!\p"
.string "No more slots for me!\n"
@@ -24,14 +24,14 @@ CeladonCity_Restaurant_Text_TakeThisImBusted:: @ 81979C1
.string "Here!\n"
.string "I won't be needing this anymore!$"
CeladonCity_Restaurant_Text_ReceivedCoinCaseFromMan:: @ 8197A38
CeladonCity_Restaurant_Text_ReceivedCoinCaseFromMan::
.string "{PLAYER} received a COIN CASE\n"
.string "from the man.$"
CeladonCity_Restaurant_Text_MakeRoomForThis:: @ 8197A5E
CeladonCity_Restaurant_Text_MakeRoomForThis::
.string "Make room for this!$"
CeladonCity_Restaurant_Text_ThoughtIdWinItBack:: @ 8197A72
CeladonCity_Restaurant_Text_ThoughtIdWinItBack::
.string "I always thought I was going to\n"
.string "win it back…$"
+2 -2
View File
@@ -1,7 +1,7 @@
CeruleanCave_1F_MapScripts:: @ 81624B3
CeruleanCave_1F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CeruleanCave_1F_OnTransition
.byte 0
CeruleanCave_1F_OnTransition:: @ 81624B9
CeruleanCave_1F_OnTransition::
setworldmapflag FLAG_WORLD_MAP_CERULEAN_CAVE_1F
end
+1 -1
View File
@@ -1,2 +1,2 @@
CeruleanCave_2F_MapScripts:: @ 81624BD
CeruleanCave_2F_MapScripts::
.byte 0
+9 -9
View File
@@ -1,34 +1,34 @@
CeruleanCave_B1F_MapScripts:: @ 81624BE
CeruleanCave_B1F_MapScripts::
map_script MAP_SCRIPT_ON_RESUME, CeruleanCave_B1F_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, CeruleanCave_B1F_OnTransition
.byte 0
CeruleanCave_B1F_OnResume:: @ 81624C9
CeruleanCave_B1F_OnResume::
call_if_set FLAG_SYS_SPECIAL_WILD_BATTLE, CeruleanCave_B1F_EventScript_TryRemoveMewtwo
end
CeruleanCave_B1F_EventScript_TryRemoveMewtwo:: @ 81624D3
CeruleanCave_B1F_EventScript_TryRemoveMewtwo::
specialvar VAR_RESULT, GetBattleOutcome
compare VAR_RESULT, B_OUTCOME_CAUGHT
goto_if_ne EventScript_Return
removeobject VAR_LAST_TALKED
return
CeruleanCave_B1F_OnTransition:: @ 81624E7
CeruleanCave_B1F_OnTransition::
call_if_unset FLAG_FOUGHT_MEWTWO, CeruleanCave_B1F_EventScript_ShowMewtwo
end
CeruleanCave_B1F_EventScript_ShowMewtwo:: @ 81624F1
CeruleanCave_B1F_EventScript_ShowMewtwo::
clearflag FLAG_HIDE_MEWTWO
return
CeruleanCave_B1F_EventScript_Mewtwo:: @ 81624F5
CeruleanCave_B1F_EventScript_Mewtwo::
goto_if_questlog EventScript_ReleaseEnd
special QuestLog_CutRecording
lock
faceplayer
waitse
playmoncry SPECIES_MEWTWO, 2
playmoncry SPECIES_MEWTWO, CRY_MODE_ENCOUNTER
message CeruleanCave_B1F_Text_Mew
waitmessage
waitmoncry
@@ -51,12 +51,12 @@ CeruleanCave_B1F_EventScript_Mewtwo:: @ 81624F5
release
end
CeruleanCave_B1F_EventScript_DefeatedMewtwo:: @ 8162558
CeruleanCave_B1F_EventScript_DefeatedMewtwo::
setflag FLAG_FOUGHT_MEWTWO
goto EventScript_RemoveStaticMon
end
CeruleanCave_B1F_EventScript_RanFromMewtwo:: @ 8162561
CeruleanCave_B1F_EventScript_RanFromMewtwo::
setvar VAR_0x8004, SPECIES_MEWTWO
goto EventScript_MonFlewAway
end
+1 -1
View File
@@ -1,3 +1,3 @@
CeruleanCave_B1F_Text_Mew:: @ 8177F9F
CeruleanCave_B1F_Text_Mew::
.string "Mew!$"
+47 -47
View File
@@ -5,42 +5,42 @@
.set LOCALID_RIVAL, 8
.set LOCALID_WOMAN, 11
CeruleanCity_MapScripts:: @ 8166471
CeruleanCity_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CeruleanCity_OnTransition
.byte 0
CeruleanCity_OnTransition:: @ 8166477
CeruleanCity_OnTransition::
setworldmapflag FLAG_WORLD_MAP_CERULEAN_CITY
call_if_unset FLAG_GOT_SS_TICKET, CeruleanCity_EventScript_BlockExits
end
CeruleanCity_EventScript_BlockExits:: @ 8166484
CeruleanCity_EventScript_BlockExits::
setobjectxyperm LOCALID_POLICEMAN, 30, 12
setobjectxyperm LOCALID_SLOWBRO, 26, 31
setobjectxyperm LOCALID_LASS, 27, 31
return
CeruleanCity_EventScript_RivalTriggerLeft:: @ 816649A
CeruleanCity_EventScript_RivalTriggerLeft::
lockall
setvar VAR_TEMP_1, 0
goto CeruleanCity_EventScript_Rival
end
CeruleanCity_EventScript_RivalTriggerMid:: @ 81664A6
CeruleanCity_EventScript_RivalTriggerMid::
lockall
setvar VAR_TEMP_1, 1
setobjectxyperm LOCALID_RIVAL, 23, 0
goto CeruleanCity_EventScript_Rival
end
CeruleanCity_EventScript_RivalTriggerRight:: @ 81664B9
CeruleanCity_EventScript_RivalTriggerRight::
lockall
setvar VAR_TEMP_1, 2
setobjectxyperm LOCALID_RIVAL, 24, 0
goto CeruleanCity_EventScript_Rival
end
CeruleanCity_EventScript_Rival:: @ 81664CC
CeruleanCity_EventScript_Rival::
textcolor 0
setvar VAR_MAP_SCENE_ROUTE22, 2
playbgm MUS_ENCOUNTER_RIVAL, 0
@@ -78,31 +78,31 @@ CeruleanCity_EventScript_Rival:: @ 81664CC
releaseall
end
CeruleanCity_EventScript_RivalSquirtle:: @ 8166582
CeruleanCity_EventScript_RivalSquirtle::
trainerbattle_no_intro TRAINER_RIVAL_CERULEAN_SQUIRTLE, CeruleanCity_Text_RivalDefeat
return
CeruleanCity_EventScript_RivalBulbasaur:: @ 816658D
CeruleanCity_EventScript_RivalBulbasaur::
trainerbattle_no_intro TRAINER_RIVAL_CERULEAN_BULBASAUR, CeruleanCity_Text_RivalDefeat
return
CeruleanCity_EventScript_RivalCharmander:: @ 8166598
CeruleanCity_EventScript_RivalCharmander::
trainerbattle_no_intro TRAINER_RIVAL_CERULEAN_CHARMANDER, CeruleanCity_Text_RivalDefeat
return
CeruleanCity_EventScript_RivalStartExit:: @ 81665A3
CeruleanCity_EventScript_RivalStartExit::
applymovement OBJ_EVENT_ID_PLAYER, CeruleanCity_Movement_PlayerWatchRivalExit
applymovement LOCALID_RIVAL, CeruleanCity_Movement_RivalStartExit
waitmovement 0
return
CeruleanCity_EventScript_RivalStartExitRight:: @ 81665B5
CeruleanCity_EventScript_RivalStartExitRight::
applymovement OBJ_EVENT_ID_PLAYER, CeruleanCity_Movement_PlayerWatchRivalExitRight
applymovement LOCALID_RIVAL, CeruleanCity_Movement_RivalStartExitRight
waitmovement 0
return
CeruleanCity_Movement_PlayerWatchRivalExit:: @ 81665C7
CeruleanCity_Movement_PlayerWatchRivalExit::
delay_16
delay_8
walk_in_place_fastest_right
@@ -110,7 +110,7 @@ CeruleanCity_Movement_PlayerWatchRivalExit:: @ 81665C7
walk_in_place_fastest_down
step_end
CeruleanCity_Movement_PlayerWatchRivalExitRight:: @ 81665CD
CeruleanCity_Movement_PlayerWatchRivalExitRight::
delay_16
delay_8
walk_in_place_fastest_left
@@ -118,7 +118,7 @@ CeruleanCity_Movement_PlayerWatchRivalExitRight:: @ 81665CD
walk_in_place_fastest_down
step_end
CeruleanCity_Movement_RivalEnter:: @ 81665D3
CeruleanCity_Movement_RivalEnter::
walk_down
walk_down
walk_down
@@ -126,7 +126,7 @@ CeruleanCity_Movement_RivalEnter:: @ 81665D3
walk_down
step_end
CeruleanCity_Movement_RivalStartExit:: @ 81665D9
CeruleanCity_Movement_RivalStartExit::
walk_right
walk_down
walk_down
@@ -145,7 +145,7 @@ CeruleanCity_Movement_RivalStartExit:: @ 81665D9
walk_up
step_end
CeruleanCity_Movement_RivalStartExitRight:: @ 81665EA
CeruleanCity_Movement_RivalStartExitRight::
walk_left
walk_down
walk_down
@@ -164,7 +164,7 @@ CeruleanCity_Movement_RivalStartExitRight:: @ 81665EA
walk_up
step_end
CeruleanCity_Movement_RivalExit:: @ 81665FB
CeruleanCity_Movement_RivalExit::
walk_down
walk_down
walk_down
@@ -174,7 +174,7 @@ CeruleanCity_Movement_RivalExit:: @ 81665FB
walk_down
step_end
CeruleanCity_EventScript_Grunt:: @ 8166603
CeruleanCity_EventScript_Grunt::
lock
faceplayer
goto_if_defeated TRAINER_TEAM_ROCKET_GRUNT_5, CeruleanCity_EventScript_GruntDefeated
@@ -187,7 +187,7 @@ CeruleanCity_EventScript_Grunt:: @ 8166603
goto CeruleanCity_EventScript_GruntDefeated
end
CeruleanCity_EventScript_GruntDefeated:: @ 816662E
CeruleanCity_EventScript_GruntDefeated::
msgbox CeruleanCity_Text_OkayIllReturnStolenTM
checkitemspace ITEM_TM28, 1
compare VAR_RESULT, FALSE
@@ -202,13 +202,13 @@ CeruleanCity_EventScript_GruntDefeated:: @ 816662E
release
end
CeruleanCity_EventScript_NoRoomForTM28:: @ 8166677
CeruleanCity_EventScript_NoRoomForTM28::
textcolor 0
msgbox CeruleanCity_Text_MakeRoomForThisCantRun
release
end
CeruleanCity_EventScript_GruntTriggerTop:: @ 8166683
CeruleanCity_EventScript_GruntTriggerTop::
lockall
setvar VAR_TEMP_1, 0
applymovement LOCALID_GRUNT, Movement_WalkInPlaceFastestUp
@@ -218,7 +218,7 @@ CeruleanCity_EventScript_GruntTriggerTop:: @ 8166683
goto CeruleanCity_EventScript_GruntTrigger
end
CeruleanCity_EventScript_GruntTriggerBottom:: @ 81666A3
CeruleanCity_EventScript_GruntTriggerBottom::
lockall
setvar VAR_TEMP_1, 1
applymovement LOCALID_GRUNT, Movement_WalkInPlaceFastestDown
@@ -228,7 +228,7 @@ CeruleanCity_EventScript_GruntTriggerBottom:: @ 81666A3
goto CeruleanCity_EventScript_GruntTrigger
end
CeruleanCity_EventScript_GruntTrigger:: @ 81666C3
CeruleanCity_EventScript_GruntTrigger::
textcolor 0
msgbox CeruleanCity_Text_GruntIntro
setvar VAR_LAST_TALKED, LOCALID_GRUNT
@@ -237,7 +237,7 @@ CeruleanCity_EventScript_GruntTrigger:: @ 81666C3
goto CeruleanCity_EventScript_GruntDefeated
end
CeruleanCity_EventScript_Policeman:: @ 81666E7
CeruleanCity_EventScript_Policeman::
lock
faceplayer
msgbox CeruleanCity_Text_PeopleHereWereRobbed
@@ -247,7 +247,7 @@ CeruleanCity_EventScript_Policeman:: @ 81666E7
release
end
CeruleanCity_EventScript_LittleBoy:: @ 81666FE
CeruleanCity_EventScript_LittleBoy::
lock
faceplayer
goto_if_set FLAG_GOT_SS_TICKET, CeruleanCity_EventScript_LittleBoySlowbroMoved
@@ -255,24 +255,24 @@ CeruleanCity_EventScript_LittleBoy:: @ 81666FE
release
end
CeruleanCity_EventScript_LittleBoySlowbroMoved:: @ 8166713
CeruleanCity_EventScript_LittleBoySlowbroMoved::
msgbox CeruleanCity_Text_YouCanCutDownSmallTrees
release
end
CeruleanCity_EventScript_BaldingMan:: @ 816671D
CeruleanCity_EventScript_BaldingMan::
msgbox CeruleanCity_Text_PokemonEncyclopediaAmusing, MSGBOX_NPC
end
CeruleanCity_EventScript_Youngster:: @ 8166726
CeruleanCity_EventScript_Youngster::
msgbox CeruleanCity_Text_TrainerLifeIsToughIsntIt, MSGBOX_NPC
end
CeruleanCity_EventScript_CeruleanCaveGuard:: @ 816672F
CeruleanCity_EventScript_CeruleanCaveGuard::
msgbox CeruleanCity_Text_ThisIsCeruleanCave, MSGBOX_NPC
end
CeruleanCity_EventScript_Woman:: @ 8166738
CeruleanCity_EventScript_Woman::
lock
faceplayer
msgbox CeruleanCity_Text_WantBrightRedBicycle
@@ -282,7 +282,7 @@ CeruleanCity_EventScript_Woman:: @ 8166738
release
end
CeruleanCity_EventScript_Lass:: @ 816674F
CeruleanCity_EventScript_Lass::
lock
random 3
copyvar VAR_0x8008, VAR_RESULT
@@ -307,31 +307,31 @@ CeruleanCity_EventScript_Lass:: @ 816674F
release
end
CeruleanCity_EventScript_SlowbroCommand1:: @ 81667B0
CeruleanCity_EventScript_SlowbroCommand1::
message CeruleanCity_Text_SlowbroUseSonicboom
return
CeruleanCity_EventScript_SlowbroCommand2:: @ 81667B6
CeruleanCity_EventScript_SlowbroCommand2::
message CeruleanCity_Text_SlowbroPunch
return
CeruleanCity_EventScript_SlowbroCommand3:: @ 81667BC
CeruleanCity_EventScript_SlowbroCommand3::
message CeruleanCity_Text_SlowbroWithdraw
return
CeruleanCity_EventScript_SlowbroFailed1:: @ 81667C2
CeruleanCity_EventScript_SlowbroFailed1::
msgbox CeruleanCity_Text_SlowbroPayAttention
return
CeruleanCity_EventScript_SlowbroFailed2:: @ 81667CB
CeruleanCity_EventScript_SlowbroFailed2::
msgbox CeruleanCity_Text_NoYouBlewItAgain
return
CeruleanCity_EventScript_SlowbroFailed3:: @ 81667D4
CeruleanCity_EventScript_SlowbroFailed3::
msgbox CeruleanCity_Text_HardToControlMonsObedience
return
CeruleanCity_EventScript_Slowbro:: @ 81667DD
CeruleanCity_EventScript_Slowbro::
lock
random 4
copyvar VAR_0x8008, VAR_RESULT
@@ -346,35 +346,35 @@ CeruleanCity_EventScript_Slowbro:: @ 81667DD
release
end
CeruleanCity_EventScript_SlowbroText1:: @ 8166814
CeruleanCity_EventScript_SlowbroText1::
msgbox CeruleanCity_Text_SlowbroTookSnooze
return
CeruleanCity_EventScript_SlowbroText2:: @ 816681D
CeruleanCity_EventScript_SlowbroText2::
msgbox CeruleanCity_Text_SlowbroLoafingAround
return
CeruleanCity_EventScript_SlowbroText3:: @ 8166826
CeruleanCity_EventScript_SlowbroText3::
msgbox CeruleanCity_Text_SlowbroTurnedAway
return
CeruleanCity_EventScript_SlowbroText4:: @ 816682F
CeruleanCity_EventScript_SlowbroText4::
msgbox CeruleanCity_Text_SlowbroIgnoredOrders
return
CeruleanCity_EventScript_CitySign:: @ 8166838
CeruleanCity_EventScript_CitySign::
msgbox CeruleanCity_Text_CitySign, MSGBOX_SIGN
end
CeruleanCity_EventScript_TrainerTips:: @ 8166841
CeruleanCity_EventScript_TrainerTips::
msgbox CeruleanCity_Text_TrainerTipsHeldItems, MSGBOX_SIGN
end
CeruleanCity_EventScript_BikeShopSign:: @ 816684A
CeruleanCity_EventScript_BikeShopSign::
msgbox CeruleanCity_Text_BikeShopSign, MSGBOX_SIGN
end
CeruleanCity_EventScript_GymSign:: @ 8166853
CeruleanCity_EventScript_GymSign::
lockall
famechecker FAMECHECKER_MISTY, 0
msgbox CeruleanCity_Text_GymSign
+33 -33
View File
@@ -1,4 +1,4 @@
CeruleanCity_Text_RivalIntro:: @ 817EAD7
CeruleanCity_Text_RivalIntro::
.string "{RIVAL}: Yo! {PLAYER}!\p"
.string "You're still struggling along back\n"
.string "here?\p"
@@ -7,12 +7,12 @@ CeruleanCity_Text_RivalIntro:: @ 817EAD7
.string "Here, let me see what you caught,\n"
.string "{PLAYER}!$"
CeruleanCity_Text_RivalDefeat:: @ 817EB71
CeruleanCity_Text_RivalDefeat::
.string "Hey!\n"
.string "Take it easy!\l"
.string "You won already!$"
CeruleanCity_Text_RivalPostBattle:: @ 817EB95
CeruleanCity_Text_RivalPostBattle::
.string "{RIVAL}: Hey, guess what?\p"
.string "I went to BILL's and got him to\n"
.string "show me his rare POKéMON.\p"
@@ -27,14 +27,14 @@ CeruleanCity_Text_RivalPostBattle:: @ 817EB95
.string "Well, I better get rolling!\n"
.string "Smell ya later!$"
CeruleanCity_Text_OhRightLittlePresentAsFavor:: @ 817ECD4
CeruleanCity_Text_OhRightLittlePresentAsFavor::
.string "Oh, yeah, right.\p"
.string "I feel sorry for you. No, really.\n"
.string "You're always plodding behind me.\p"
.string "So here, I'll give you a little\n"
.string "present as a favor.$"
CeruleanCity_Text_ExplainFameCheckerSmellYa:: @ 817ED5D
CeruleanCity_Text_ExplainFameCheckerSmellYa::
.string "A chatty gossip like you…\n"
.string "That thing's perfect.\p"
.string "I don't need it because I don't\n"
@@ -43,11 +43,11 @@ CeruleanCity_Text_ExplainFameCheckerSmellYa:: @ 817ED5D
.string "gone. Smell ya!$"
@ RB translation: "Heh! You're no match for my genius!"
CeruleanCity_Text_RivalVictory:: @ 817EDF8
CeruleanCity_Text_RivalVictory::
.string "なんたって!\n"
.string "おれは てんさい だからよ!$"
CeruleanCity_Text_GruntIntro:: @ 817EE0E
CeruleanCity_Text_GruntIntro::
.string "Hey! Stay out!\n"
.string "It's not your yard!\p"
.string "…Huh?\n"
@@ -55,32 +55,32 @@ CeruleanCity_Text_GruntIntro:: @ 817EE0E
.string "I'm an innocent bystander!\n"
.string "Don't you believe me?{PLAY_BGM}{MUS_ENCOUNTER_ROCKET}$"
CeruleanCity_Text_GruntDefeat:: @ 817EE70
CeruleanCity_Text_GruntDefeat::
.string "GRUNT: Stop! I give up!\n"
.string "I'll leave quietly!$"
CeruleanCity_Text_OkayIllReturnStolenTM:: @ 817EE9C
CeruleanCity_Text_OkayIllReturnStolenTM::
.string "…Okay.\n"
.string "I'll return the TM I stole.$"
CeruleanCity_Text_RecoveredTM28FromGrunt:: @ 817EEBF
CeruleanCity_Text_RecoveredTM28FromGrunt::
.string "{PLAYER} recovered TM28 from\n"
.string "the TEAM ROCKET GRUNT.$"
CeruleanCity_Text_BetterGetMovingBye:: @ 817EEED
CeruleanCity_Text_BetterGetMovingBye::
.string "I better get moving!\n"
.string "Bye!$"
CeruleanCity_Text_MakeRoomForThisCantRun:: @ 817EF07
CeruleanCity_Text_MakeRoomForThisCantRun::
.string "Make room for this!\n"
.string "I can't run until I give it to you!$"
CeruleanCity_Text_TrainerLifeIsToughIsntIt:: @ 817EF3F
CeruleanCity_Text_TrainerLifeIsToughIsntIt::
.string "You're a TRAINER, too?\p"
.string "Collecting, battling…\n"
.string "It's a tough life, isn't it?$"
CeruleanCity_Text_YouCanCutDownSmallTrees:: @ 817EF89
CeruleanCity_Text_YouCanCutDownSmallTrees::
.string "Did you know that you can CUT down\n"
.string "small trees?\p"
.string "Even that small tree in front of\n"
@@ -88,7 +88,7 @@ CeruleanCity_Text_YouCanCutDownSmallTrees:: @ 817EF89
.string "I think there's a way around it,\n"
.string "though.$"
CeruleanCity_Text_IfSlowbroWasntThereCouldCutTree:: @ 817F01D
CeruleanCity_Text_IfSlowbroWasntThereCouldCutTree::
.string "If that SLOWBRO wasn't there, you\n"
.string "could CUT down the small tree.\p"
.string "That way, you could get to the\n"
@@ -96,58 +96,58 @@ CeruleanCity_Text_IfSlowbroWasntThereCouldCutTree:: @ 817F01D
.string "I think there's a way around it,\n"
.string "though.$"
CeruleanCity_Text_PokemonEncyclopediaAmusing:: @ 817F0B2
CeruleanCity_Text_PokemonEncyclopediaAmusing::
.string "You're making an encyclopedia on\n"
.string "POKéMON? That sounds amusing.$"
CeruleanCity_Text_PeopleHereWereRobbed:: @ 817F0F1
CeruleanCity_Text_PeopleHereWereRobbed::
.string "The people here were robbed.\p"
.string "It's obvious that TEAM ROCKET is\n"
.string "behind this most heinous crime!\p"
.string "Even our POLICE FORCE has\n"
.string "trouble with the ROCKETS!$"
CeruleanCity_Text_SlowbroUseSonicboom:: @ 817F183
CeruleanCity_Text_SlowbroUseSonicboom::
.string "Okay! SLOWBRO!\n"
.string "Use SONICBOOM!$"
CeruleanCity_Text_SlowbroPayAttention:: @ 817F1A1
CeruleanCity_Text_SlowbroPayAttention::
.string "Come on, SLOWBRO, pay attention!$"
CeruleanCity_Text_SlowbroPunch:: @ 817F1C2
CeruleanCity_Text_SlowbroPunch::
.string "SLOWBRO, punch!$"
CeruleanCity_Text_NoYouBlewItAgain:: @ 817F1D2
CeruleanCity_Text_NoYouBlewItAgain::
.string "No!\n"
.string "You blew it again!$"
CeruleanCity_Text_SlowbroWithdraw:: @ 817F1E9
CeruleanCity_Text_SlowbroWithdraw::
.string "SLOWBRO, WITHDRAW!$"
CeruleanCity_Text_HardToControlMonsObedience:: @ 817F1FC
CeruleanCity_Text_HardToControlMonsObedience::
.string "No! That's wrong!\n"
.string "It's so hard to control POKéMON!\p"
.string "Your POKéMON's obedience depends\n"
.string "on your abilities as a TRAINER.$"
CeruleanCity_Text_SlowbroTookSnooze:: @ 817F270
CeruleanCity_Text_SlowbroTookSnooze::
.string "SLOWBRO took a snooze…$"
CeruleanCity_Text_SlowbroLoafingAround:: @ 817F287
CeruleanCity_Text_SlowbroLoafingAround::
.string "SLOWBRO is loafing around…$"
CeruleanCity_Text_SlowbroTurnedAway:: @ 817F2A2
CeruleanCity_Text_SlowbroTurnedAway::
.string "SLOWBRO turned away…$"
CeruleanCity_Text_SlowbroIgnoredOrders:: @ 817F2B7
CeruleanCity_Text_SlowbroIgnoredOrders::
.string "SLOWBRO ignored orders…$"
CeruleanCity_Text_WantBrightRedBicycle:: @ 817F2CF
CeruleanCity_Text_WantBrightRedBicycle::
.string "I want a bright red bicycle.\p"
.string "I'll keep it at home, so it won't\n"
.string "get dirty.$"
CeruleanCity_Text_ThisIsCeruleanCave:: @ 817F319
CeruleanCity_Text_ThisIsCeruleanCave::
.string "This is CERULEAN CAVE.\p"
.string "Horribly strong POKéMON live inside\n"
.string "there.\p"
@@ -159,23 +159,23 @@ CeruleanCity_Text_ThisIsCeruleanCave:: @ 817F319
.string "And, you would have to have\n"
.string "made a great achievement.$"
CeruleanCity_Text_CitySign:: @ 817F420
CeruleanCity_Text_CitySign::
.string "CERULEAN CITY\n"
.string "A Mysterious, Blue Aura Surrounds\l"
.string "It$"
CeruleanCity_Text_TrainerTipsHeldItems:: @ 817F453
CeruleanCity_Text_TrainerTipsHeldItems::
.string "TRAINER TIPS\p"
.string "A POKéMON can be made to hold\n"
.string "an item.\p"
.string "Some items can even be used by\n"
.string "the holding POKéMON in battle.$"
CeruleanCity_Text_BikeShopSign:: @ 817F4C5
CeruleanCity_Text_BikeShopSign::
.string "Grass and caves handled easily!\n"
.string "BIKE SHOP$"
CeruleanCity_Text_GymSign:: @ 817F4EF
CeruleanCity_Text_GymSign::
.string "CERULEAN CITY POKéMON GYM\n"
.string "LEADER: MISTY\l"
.string "The Tomboyish Mermaid!$"
+11 -11
View File
@@ -1,7 +1,7 @@
CeruleanCity_BikeShop_MapScripts:: @ 816ABBC
CeruleanCity_BikeShop_MapScripts::
.byte 0
CeruleanCity_BikeShop_EventScript_Clerk:: @ 816ABBD
CeruleanCity_BikeShop_EventScript_Clerk::
lock
faceplayer
goto_if_set FLAG_GOT_BICYCLE, CeruleanCity_BikeShop_EventScript_AlreadyGotBicycle
@@ -17,18 +17,18 @@ CeruleanCity_BikeShop_EventScript_Clerk:: @ 816ABBD
end
@ The Bicycle price / players money is never actually checked
CeruleanCity_BikeShop_EventScript_TryPurchaseBicycle:: @ 816AC07
CeruleanCity_BikeShop_EventScript_TryPurchaseBicycle::
msgbox CeruleanCity_BikeShop_Text_SorryYouCantAffordIt
goto CeruleanCity_BikeShop_EventScript_ClerkGoodbye
end
CeruleanCity_BikeShop_EventScript_ClerkGoodbye:: @ 816AC15
CeruleanCity_BikeShop_EventScript_ClerkGoodbye::
msgbox CeruleanCity_BikeShop_Text_ThankYouComeAgain
hidemoneybox 0, 0
release
end
CeruleanCity_BikeShop_EventScript_ExchangeBikeVoucher:: @ 816AC22
CeruleanCity_BikeShop_EventScript_ExchangeBikeVoucher::
msgbox CeruleanCity_BikeShop_Text_OhBikeVoucherHereYouGo
msgreceiveditem CeruleanCity_BikeShop_Text_ExchangedVoucherForBicycle, ITEM_BICYCLE, 1, MUS_OBTAIN_KEY_ITEM
setflag FLAG_GOT_BICYCLE
@@ -38,22 +38,22 @@ CeruleanCity_BikeShop_EventScript_ExchangeBikeVoucher:: @ 816AC22
release
end
CeruleanCity_BikeShop_EventScript_AlreadyGotBicycle:: @ 816AC58
CeruleanCity_BikeShop_EventScript_AlreadyGotBicycle::
msgbox CeruleanCity_BikeShop_Text_HowDoYouLikeNewBicycle
release
end
@ Unused
CeruleanCity_BikeShop_EventScript_NoRoomForBicycle:: @ 816AC62
CeruleanCity_BikeShop_EventScript_NoRoomForBicycle::
msgbox CeruleanCity_BikeShop_Text_MakeRoomForBicycle
release
end
CeruleanCity_BikeShop_EventScript_Woman:: @ 816AC6C
CeruleanCity_BikeShop_EventScript_Woman::
msgbox CeruleanCity_BikeShop_Text_CityBikeGoodEnoughForMe, MSGBOX_NPC
end
CeruleanCity_BikeShop_EventScript_Youngster:: @ 816AC75
CeruleanCity_BikeShop_EventScript_Youngster::
lock
faceplayer
goto_if_set FLAG_GOT_BICYCLE, CeruleanCity_BikeShop_EventScript_YoungsterHaveBike
@@ -61,11 +61,11 @@ CeruleanCity_BikeShop_EventScript_Youngster:: @ 816AC75
release
end
CeruleanCity_BikeShop_EventScript_YoungsterHaveBike:: @ 816AC8A
CeruleanCity_BikeShop_EventScript_YoungsterHaveBike::
msgbox CeruleanCity_BikeShop_Text_WowYourBikeIsCool
release
end
CeruleanCity_BikeShop_EventScript_Bicycle:: @ 816AC94
CeruleanCity_BikeShop_EventScript_Bicycle::
msgbox CeruleanCity_BikeShop_Text_ShinyNewBicycle, MSGBOX_SIGN
end
+12 -12
View File
@@ -1,57 +1,57 @@
CeruleanCity_BikeShop_Text_WelcomeToBikeShop:: @ 8192755
CeruleanCity_BikeShop_Text_WelcomeToBikeShop::
.string "Hi!\n"
.string "Welcome to our BIKE SHOP.\p"
.string "Have we got just the BIKE for\n"
.string "you!$"
CeruleanCity_BikeShop_Text_SorryYouCantAffordIt:: @ 8192796
CeruleanCity_BikeShop_Text_SorryYouCantAffordIt::
.string "Sorry!\n"
.string "You can't afford it!$"
CeruleanCity_BikeShop_Text_OhBikeVoucherHereYouGo:: @ 81927B2
CeruleanCity_BikeShop_Text_OhBikeVoucherHereYouGo::
.string "Oh, that's…\p"
.string "A BIKE VOUCHER!\p"
.string "Okay!\n"
.string "Here you go!$"
CeruleanCity_BikeShop_Text_ExchangedVoucherForBicycle:: @ 81927E1
CeruleanCity_BikeShop_Text_ExchangedVoucherForBicycle::
.string "{PLAYER} exchanged the\n"
.string "BIKE VOUCHER for a BICYCLE.$"
CeruleanCity_BikeShop_Text_ThankYouComeAgain:: @ 819280E
CeruleanCity_BikeShop_Text_ThankYouComeAgain::
.string "Thank you!\n"
.string "Come back again sometime!$"
CeruleanCity_BikeShop_Text_HowDoYouLikeNewBicycle:: @ 8192833
CeruleanCity_BikeShop_Text_HowDoYouLikeNewBicycle::
.string "How do you like your new BICYCLE?\n"
.string "Do you like how it rides?\p"
.string "You can take it out on CYCLING\n"
.string "ROAD and even into caves!$"
CeruleanCity_BikeShop_Text_MakeRoomForBicycle:: @ 81928A8
CeruleanCity_BikeShop_Text_MakeRoomForBicycle::
.string "You better make room for your\n"
.string "BICYCLE!$"
CeruleanCity_BikeShop_Text_CityBikeGoodEnoughForMe:: @ 81928CF
CeruleanCity_BikeShop_Text_CityBikeGoodEnoughForMe::
.string "A plain city bike is good enough\n"
.string "for me.\p"
.string "After all, you can't put a shopping\n"
.string "basket on a mountain bike.$"
CeruleanCity_BikeShop_Text_BikesCoolButExpensive:: @ 8192937
CeruleanCity_BikeShop_Text_BikesCoolButExpensive::
.string "These bikes are cool, but they're\n"
.string "way expensive!$"
CeruleanCity_BikeShop_Text_WowYourBikeIsCool:: @ 8192968
CeruleanCity_BikeShop_Text_WowYourBikeIsCool::
.string "Wow.\n"
.string "Your BIKE is really cool!$"
@ Unused
CeruleanCity_BikeShop_Text_GermanFoldableBicyleFinallyOnMarket:: @ 8192987
CeruleanCity_BikeShop_Text_GermanFoldableBicyleFinallyOnMarket::
.string "ついに はつばい!\p"
.string "ドイツ せい さいこうきゅう\n"
.string "おりたたみ じてんしゃ!$"
CeruleanCity_BikeShop_Text_ShinyNewBicycle:: @ 81929AD
CeruleanCity_BikeShop_Text_ShinyNewBicycle::
.string "A shiny new BICYCLE!$"
+11 -11
View File
@@ -1,7 +1,7 @@
CeruleanCity_Gym_MapScripts:: @ 816AAA0
CeruleanCity_Gym_MapScripts::
.byte 0
CeruleanCity_Gym_EventScript_Misty:: @ 816AAA1
CeruleanCity_Gym_EventScript_Misty::
famechecker FAMECHECKER_MISTY, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
trainerbattle_single TRAINER_LEADER_MISTY, CeruleanCity_Gym_Text_MistyIntro, CeruleanCity_Gym_Text_MistyDefeat, CeruleanCity_Gym_EventScript_MistyDefeated, NO_MUSIC
goto_if_unset FLAG_GOT_TM03_FROM_MISTY, CeruleanCity_Gym_EventScript_GiveTM03
@@ -9,7 +9,7 @@ CeruleanCity_Gym_EventScript_Misty:: @ 816AAA1
release
end
CeruleanCity_Gym_EventScript_MistyDefeated:: @ 816AAD3
CeruleanCity_Gym_EventScript_MistyDefeated::
famechecker FAMECHECKER_MISTY, 1
setflag FLAG_DEFEATED_MISTY
setflag FLAG_BADGE02_GET
@@ -18,7 +18,7 @@ CeruleanCity_Gym_EventScript_MistyDefeated:: @ 816AAD3
goto CeruleanCity_Gym_EventScript_GiveTM03
end
CeruleanCity_Gym_EventScript_GiveTM03:: @ 816AAF9
CeruleanCity_Gym_EventScript_GiveTM03::
msgbox CeruleanCity_Gym_Text_ExplainCascadeBadge
checkitemspace ITEM_TM03, 1
compare VAR_RESULT, FALSE
@@ -29,23 +29,23 @@ CeruleanCity_Gym_EventScript_GiveTM03:: @ 816AAF9
release
end
CeruleanCity_Gym_EventScript_NoRoomForTM03:: @ 816AB3A
CeruleanCity_Gym_EventScript_NoRoomForTM03::
msgbox CeruleanCity_Gym_Text_BetterMakeRoomForThis
release
end
CeruleanCity_Gym_EventScript_Diana:: @ 816AB44
CeruleanCity_Gym_EventScript_Diana::
trainerbattle_single TRAINER_PICNICKER_DIANA, CeruleanCity_Gym_Text_DianaIntro, CeruleanCity_Gym_Text_DianaDefeat
msgbox CeruleanCity_Gym_Text_DianaPostBattle, MSGBOX_AUTOCLOSE
end
CeruleanCity_Gym_EventScript_Luis:: @ 816AB5B
CeruleanCity_Gym_EventScript_Luis::
trainerbattle_single TRAINER_SWIMMER_MALE_LUIS, CeruleanCity_Gym_Text_LuisIntro, CeruleanCity_Gym_Text_LuisDefeat
famechecker FAMECHECKER_MISTY, 2
msgbox CeruleanCity_Gym_Text_LuisPostBattle, MSGBOX_AUTOCLOSE
end
CeruleanCity_Gym_EventScript_GymGuy:: @ 816AB7F
CeruleanCity_Gym_EventScript_GymGuy::
lock
faceplayer
goto_if_set FLAG_DEFEATED_MISTY, CeruleanCity_Gym_EventScript_GymGuyPostVictory
@@ -53,19 +53,19 @@ CeruleanCity_Gym_EventScript_GymGuy:: @ 816AB7F
release
end
CeruleanCity_Gym_EventScript_GymGuyPostVictory:: @ 816AB94
CeruleanCity_Gym_EventScript_GymGuyPostVictory::
msgbox CeruleanCity_Gym_Text_WeMakePrettyGoodTeam
release
end
CeruleanCity_Gym_EventScript_GymStatue:: @ 816AB9E
CeruleanCity_Gym_EventScript_GymStatue::
lockall
goto_if_set FLAG_BADGE02_GET, CeruleanCity_Gym_EventScript_GymStatuePostVictory
msgbox CeruleanCity_Gym_Text_GymStatue
releaseall
end
CeruleanCity_Gym_EventScript_GymStatuePostVictory:: @ 816ABB2
CeruleanCity_Gym_EventScript_GymStatuePostVictory::
msgbox CeruleanCity_Gym_Text_GymStatuePlayerWon
releaseall
end
+16 -16
View File
@@ -1,4 +1,4 @@
CeruleanCity_Gym_Text_MistyIntro:: @ 81921EF
CeruleanCity_Gym_Text_MistyIntro::
.string "Hi, you're a new face!\p"
.string "Only those TRAINERS who have a\n"
.string "policy about POKéMON can turn pro.\p"
@@ -7,11 +7,11 @@ CeruleanCity_Gym_Text_MistyIntro:: @ 81921EF
.string "My policy is an all-out offensive\n"
.string "with WATER-type POKéMON!{PLAY_BGM}{MUS_ENCOUNTER_GYM_LEADER}$"
CeruleanCity_Gym_Text_ExplainTM03:: @ 81922BF
CeruleanCity_Gym_Text_ExplainTM03::
.string "TM03 teaches WATER PULSE.\p"
.string "Use it on an aquatic POKéMON!$"
CeruleanCity_Gym_Text_ExplainCascadeBadge:: @ 81922F7
CeruleanCity_Gym_Text_ExplainCascadeBadge::
.string "The CASCADEBADGE makes all\n"
.string "POKéMON up to Lv. 30 obey.\p"
.string "That includes even outsiders you\n"
@@ -22,46 +22,46 @@ CeruleanCity_Gym_Text_ExplainCascadeBadge:: @ 81922F7
.string "open new pathways.\p"
.string "You can also have my favorite TM.$"
CeruleanCity_Gym_Text_ReceivedTM03FromMisty:: @ 81923F1
CeruleanCity_Gym_Text_ReceivedTM03FromMisty::
.string "{PLAYER} received TM03\n"
.string "from MISTY.$"
CeruleanCity_Gym_Text_BetterMakeRoomForThis:: @ 819240E
CeruleanCity_Gym_Text_BetterMakeRoomForThis::
.string "You better make room for this!$"
CeruleanCity_Gym_Text_MistyDefeat:: @ 819242D
CeruleanCity_Gym_Text_MistyDefeat::
.string "Wow!\n"
.string "You're too much!\p"
.string "All right!\p"
.string "You can have the CASCADEBADGE to\n"
.string "show you beat me.$"
CeruleanCity_Gym_Text_DianaIntro:: @ 8192481
CeruleanCity_Gym_Text_DianaIntro::
.string "What? You?\n"
.string "I'm more than good enough for you!\p"
.string "MISTY won't have to be bothered.$"
CeruleanCity_Gym_Text_DianaDefeat:: @ 81924D0
CeruleanCity_Gym_Text_DianaDefeat::
.string "You overwhelmed me!$"
CeruleanCity_Gym_Text_DianaPostBattle:: @ 81924E4
CeruleanCity_Gym_Text_DianaPostBattle::
.string "You have to face other TRAINERS\n"
.string "to see how good you really are.$"
CeruleanCity_Gym_Text_LuisIntro:: @ 8192524
CeruleanCity_Gym_Text_LuisIntro::
.string "Splash!\p"
.string "I'm first up!\n"
.string "Let's do it!$"
CeruleanCity_Gym_Text_LuisDefeat:: @ 8192547
CeruleanCity_Gym_Text_LuisDefeat::
.string "That can't be!$"
CeruleanCity_Gym_Text_LuisPostBattle:: @ 8192556
CeruleanCity_Gym_Text_LuisPostBattle::
.string "MISTY is a TRAINER who's going to\n"
.string "keep improving.\p"
.string "She won't lose to someone like you!$"
CeruleanCity_Gym_Text_GymGuyAdvice:: @ 81925AC
CeruleanCity_Gym_Text_GymGuyAdvice::
.string "Yo!\n"
.string "Champ in the making!\p"
.string "Let me give you some advice!\p"
@@ -72,19 +72,19 @@ CeruleanCity_Gym_Text_GymGuyAdvice:: @ 81925AC
.string "Or, you might use ELECTRIC-type\n"
.string "POKéMON and zap them!$"
CeruleanCity_Gym_Text_WeMakePrettyGoodTeam:: @ 8192688
CeruleanCity_Gym_Text_WeMakePrettyGoodTeam::
.string "You beat MISTY!\n"
.string "See, what'd I tell ya?\p"
.string "You and me, kid, we make a pretty\n"
.string "darn-good team!$"
CeruleanCity_Gym_Text_GymStatue:: @ 81926E1
CeruleanCity_Gym_Text_GymStatue::
.string "CERULEAN POKéMON GYM\n"
.string "LEADER: MISTY\p"
.string "WINNING TRAINERS:\n"
.string "{RIVAL}$"
CeruleanCity_Gym_Text_GymStatuePlayerWon:: @ 8192719
CeruleanCity_Gym_Text_GymStatuePlayerWon::
.string "CERULEAN POKéMON GYM\n"
.string "LEADER: MISTY\p"
.string "WINNING TRAINERS:\n"
+12 -12
View File
@@ -1,7 +1,7 @@
CeruleanCity_House1_MapScripts:: @ 816A7EF
CeruleanCity_House1_MapScripts::
.byte 0
CeruleanCity_House1_EventScript_BadgeGuy:: @ 816A7F0
CeruleanCity_House1_EventScript_BadgeGuy::
lock
faceplayer
msgbox CeruleanCity_House1_Text_BadgesHaveAmazingSecrets
@@ -23,7 +23,7 @@ CeruleanCity_House1_EventScript_BadgeGuy:: @ 816A7F0
case 127, CeruleanCity_House1_EventScript_StopDescribingBadges
end
CeruleanCity_House1_EventScript_DescribeAnotherBadge:: @ 816A87D
CeruleanCity_House1_EventScript_DescribeAnotherBadge::
message CeruleanCity_House1_Text_DescribeWhichBadge
waitmessage
special ReturnToListMenu
@@ -41,47 +41,47 @@ CeruleanCity_House1_EventScript_DescribeAnotherBadge:: @ 816A87D
case 127, CeruleanCity_House1_EventScript_StopDescribingBadges
end
CeruleanCity_House1_EventScript_DescribeBoulderBadge:: @ 816A8FB
CeruleanCity_House1_EventScript_DescribeBoulderBadge::
msgbox CeruleanCity_House1_Text_AttackStatFlash
goto CeruleanCity_House1_EventScript_DescribeAnotherBadge
end
CeruleanCity_House1_EventScript_DescribeCascadeBadge:: @ 816A909
CeruleanCity_House1_EventScript_DescribeCascadeBadge::
msgbox CeruleanCity_House1_Text_ObeyLv30Cut
goto CeruleanCity_House1_EventScript_DescribeAnotherBadge
end
CeruleanCity_House1_EventScript_DescribeThunderBadge:: @ 816A917
CeruleanCity_House1_EventScript_DescribeThunderBadge::
msgbox CeruleanCity_House1_Text_SpeedStatFly
goto CeruleanCity_House1_EventScript_DescribeAnotherBadge
end
CeruleanCity_House1_EventScript_DescribeRainbowBadge:: @ 816A925
CeruleanCity_House1_EventScript_DescribeRainbowBadge::
msgbox CeruleanCity_House1_Text_ObeyLv50Strength
goto CeruleanCity_House1_EventScript_DescribeAnotherBadge
end
CeruleanCity_House1_EventScript_DescribeSoulBadge:: @ 816A933
CeruleanCity_House1_EventScript_DescribeSoulBadge::
msgbox CeruleanCity_House1_Text_DefenseStatSurf
goto CeruleanCity_House1_EventScript_DescribeAnotherBadge
end
CeruleanCity_House1_EventScript_DescribeMarshBadge:: @ 816A941
CeruleanCity_House1_EventScript_DescribeMarshBadge::
msgbox CeruleanCity_House1_Text_ObeyLv70RockSmash
goto CeruleanCity_House1_EventScript_DescribeAnotherBadge
end
CeruleanCity_House1_EventScript_DescribeVolcanoBadge:: @ 816A94F
CeruleanCity_House1_EventScript_DescribeVolcanoBadge::
msgbox CeruleanCity_House1_Text_SpStatsWaterfall
goto CeruleanCity_House1_EventScript_DescribeAnotherBadge
end
CeruleanCity_House1_EventScript_DescribeEarthBadge:: @ 816A95D
CeruleanCity_House1_EventScript_DescribeEarthBadge::
msgbox CeruleanCity_House1_Text_AllMonsWillObeyYou
goto CeruleanCity_House1_EventScript_DescribeAnotherBadge
end
CeruleanCity_House1_EventScript_StopDescribingBadges:: @ 816A96B
CeruleanCity_House1_EventScript_StopDescribingBadges::
msgbox CeruleanCity_House1_Text_ComeVisitAnytime
release
end
+11 -11
View File
@@ -1,25 +1,25 @@
CeruleanCity_House1_Text_BadgesHaveAmazingSecrets:: @ 81918E7
CeruleanCity_House1_Text_BadgesHaveAmazingSecrets::
.string "Only skilled TRAINERS can collect\n"
.string "POKéMON BADGES.\p"
.string "I see you have at least one.\p"
.string "Those BADGES have amazing secrets,\n"
.string "did you know?$"
CeruleanCity_House1_Text_DescribeWhichBadge:: @ 8191967
CeruleanCity_House1_Text_DescribeWhichBadge::
.string "Now then…\p"
.string "Which of the eight BADGES should\n"
.string "I describe?$"
CeruleanCity_House1_Text_ComeVisitAnytime:: @ 819199E
CeruleanCity_House1_Text_ComeVisitAnytime::
.string "Come visit me anytime you wish.$"
CeruleanCity_House1_Text_AttackStatFlash:: @ 81919BE
CeruleanCity_House1_Text_AttackStatFlash::
.string "The ATTACK stat of all your\n"
.string "POKéMON increases a little bit.\p"
.string "It also lets you use the move\n"
.string "FLASH outside of battle.$"
CeruleanCity_House1_Text_ObeyLv30Cut:: @ 8191A31
CeruleanCity_House1_Text_ObeyLv30Cut::
.string "POKéMON up to Lv. 30 will obey\n"
.string "you.\p"
.string "That includes even outsiders you\n"
@@ -29,13 +29,13 @@ CeruleanCity_House1_Text_ObeyLv30Cut:: @ 8191A31
.string "It also lets you use the move\n"
.string "CUT outside of battle.$"
CeruleanCity_House1_Text_SpeedStatFly:: @ 8191AF9
CeruleanCity_House1_Text_SpeedStatFly::
.string "The SPEED stat of all your\n"
.string "POKéMON increases a little bit.\p"
.string "It also lets you use the move\n"
.string "FLY outside of battle.$"
CeruleanCity_House1_Text_ObeyLv50Strength:: @ 8191B69
CeruleanCity_House1_Text_ObeyLv50Strength::
.string "POKéMON up to Lv. 50 will obey\n"
.string "you.\p"
.string "That includes even outsiders you\n"
@@ -45,13 +45,13 @@ CeruleanCity_House1_Text_ObeyLv50Strength:: @ 8191B69
.string "It also lets you use the move\n"
.string "STRENGTH outside of battle.$"
CeruleanCity_House1_Text_DefenseStatSurf:: @ 8191C36
CeruleanCity_House1_Text_DefenseStatSurf::
.string "The DEFENSE stat of all your\n"
.string "POKéMON increases a little bit.\p"
.string "It also lets you use the move\n"
.string "SURF outside of battle.$"
CeruleanCity_House1_Text_ObeyLv70RockSmash:: @ 8191CA9
CeruleanCity_House1_Text_ObeyLv70RockSmash::
.string "POKéMON up to Lv. 70 will obey\n"
.string "you.\p"
.string "That includes even outsiders you\n"
@@ -61,12 +61,12 @@ CeruleanCity_House1_Text_ObeyLv70RockSmash:: @ 8191CA9
.string "It also lets you use the move\n"
.string "ROCK SMASH outside of battle.$"
CeruleanCity_House1_Text_SpStatsWaterfall:: @ 8191D78
CeruleanCity_House1_Text_SpStatsWaterfall::
.string "The SP. ATK and SP. DEF stats of\n"
.string "all your POKéMON rise a little bit.\p"
.string "It also lets you use the move\n"
.string "WATERFALL outside of battle.$"
CeruleanCity_House1_Text_AllMonsWillObeyYou:: @ 8191DF8
CeruleanCity_House1_Text_AllMonsWillObeyYou::
.string "All POKéMON will obey you!$"
+5 -5
View File
@@ -1,7 +1,7 @@
CeruleanCity_House2_MapScripts:: @ 816A975
CeruleanCity_House2_MapScripts::
.byte 0
CeruleanCity_House2_EventScript_Hiker:: @ 816A976
CeruleanCity_House2_EventScript_Hiker::
lock
faceplayer
goto_if_set FLAG_GOT_TM28_FROM_ROCKET, CeruleanCity_House2_EventScript_HikerGotTM28
@@ -9,15 +9,15 @@ CeruleanCity_House2_EventScript_Hiker:: @ 816A976
release
end
CeruleanCity_House2_EventScript_HikerGotTM28:: @ 816A98B
CeruleanCity_House2_EventScript_HikerGotTM28::
msgbox CeruleanCity_House2_Text_TeachDiglettDigWithoutTM
release
end
CeruleanCity_House2_EventScript_Lass:: @ 816A995
CeruleanCity_House2_EventScript_Lass::
msgbox CeruleanCity_House2_Text_TeamRocketTryingToDigIntoNoGood, MSGBOX_NPC
end
CeruleanCity_House2_EventScript_WallHole:: @ 816A99E
CeruleanCity_House2_EventScript_WallHole::
msgbox CeruleanCity_House2_Text_TeamRocketLeftWayOut, MSGBOX_SIGN
end
+4 -4
View File
@@ -1,4 +1,4 @@
CeruleanCity_House2_Text_RocketsStoleTMForDig:: @ 8191E13
CeruleanCity_House2_Text_RocketsStoleTMForDig::
.string "Those miserable ROCKETS!\p"
.string "Look what they've done to my\n"
.string "house!\p"
@@ -8,15 +8,15 @@ CeruleanCity_House2_Text_RocketsStoleTMForDig:: @ 8191E13
.string "MANKEY or a SANDSHREW…\p"
.string "That cost me a bundle, it did!$"
CeruleanCity_House2_Text_TeachDiglettDigWithoutTM:: @ 8191ED8
CeruleanCity_House2_Text_TeachDiglettDigWithoutTM::
.string "I figure what's lost is lost.\p"
.string "I decided to teach DIGLETT how to\n"
.string "DIG without a TM.$"
CeruleanCity_House2_Text_TeamRocketTryingToDigIntoNoGood:: @ 8191F2A
CeruleanCity_House2_Text_TeamRocketTryingToDigIntoNoGood::
.string "TEAM ROCKET must be trying to DIG\n"
.string "their way into no good!$"
CeruleanCity_House2_Text_TeamRocketLeftWayOut:: @ 8191F64
CeruleanCity_House2_Text_TeamRocketLeftWayOut::
.string "TEAM ROCKET left a way out!$"
+6 -6
View File
@@ -1,11 +1,11 @@
CeruleanCity_House3_MapScripts:: @ 816A9A7
CeruleanCity_House3_MapScripts::
.byte 0
CeruleanCity_House3_EventScript_OldWoman:: @ 816A9A8
CeruleanCity_House3_EventScript_OldWoman::
msgbox CeruleanCity_House3_Text_PleaseTradeWithMyHusband, MSGBOX_NPC
end
CeruleanCity_House3_EventScript_Dontae:: @ 816A9B1
CeruleanCity_House3_EventScript_Dontae::
lock
faceplayer
setvar VAR_0x8008, INGAME_TRADE_JYNX
@@ -26,18 +26,18 @@ CeruleanCity_House3_EventScript_Dontae:: @ 816A9B1
release
end
CeruleanCity_House3_EventScript_DeclineTrade:: @ 816AA0B
CeruleanCity_House3_EventScript_DeclineTrade::
msgbox Trade_Text_WellIfYouDontWantTo
release
end
CeruleanCity_House3_EventScript_NotRequestedMon:: @ 816AA15
CeruleanCity_House3_EventScript_NotRequestedMon::
getspeciesname 0, VAR_0x8009
msgbox Trade_Text_ThisIsntMon
release
end
CeruleanCity_House3_EventScript_AlreadyTraded:: @ 816AA23
CeruleanCity_House3_EventScript_AlreadyTraded::
msgbox Trade_Text_HasTradedMonGrownStronger
release
end
+1 -1
View File
@@ -1,4 +1,4 @@
CeruleanCity_House3_Text_PleaseTradeWithMyHusband:: @ 8191F80
CeruleanCity_House3_Text_PleaseTradeWithMyHusband::
.string "My husband likes trading POKéMON.\p"
.string "You're collecting POKéMON for your\n"
.string "POKéDEX, aren't you?\p"
+11 -11
View File
@@ -1,9 +1,9 @@
.set LOCALID_WONDER_NEWS_BERRY_MAN, 1
CeruleanCity_House4_MapScripts:: @ 816ACEE
CeruleanCity_House4_MapScripts::
.byte 0
CeruleanCity_House4_EventScript_WonderNewsBerryMan:: @ 816ACEF
CeruleanCity_House4_EventScript_WonderNewsBerryMan::
goto_if_questlog EventScript_ReleaseEnd
special QuestLog_CutRecording
lock
@@ -25,12 +25,12 @@ CeruleanCity_House4_EventScript_WonderNewsBerryMan:: @ 816ACEF
goto_if_eq CeruleanCity_House4_EventScript_NewsDone
end
CeruleanCity_House4_EventScript_NoNews:: @ 816AD59
CeruleanCity_House4_EventScript_NoNews::
msgbox CeruleanCity_House4_Text_NothingEntertaining
release
end
CeruleanCity_House4_EventScript_News1:: @ 816AD63
CeruleanCity_House4_EventScript_News1::
call CeruleanCity_House4_EventScript_MovementReactionToNews
msgbox CeruleanCity_House4_Text_NewNewsInformativeHaveThis
giveitem VAR_0x8008
@@ -39,7 +39,7 @@ CeruleanCity_House4_EventScript_News1:: @ 816AD63
release
end
CeruleanCity_House4_EventScript_News2:: @ 816AD89
CeruleanCity_House4_EventScript_News2::
call CeruleanCity_House4_EventScript_MovementReactionToNews
msgbox CeruleanCity_House4_Text_IncredibleNewsHaveBerries
giveitem VAR_0x8008, 4
@@ -48,14 +48,14 @@ CeruleanCity_House4_EventScript_News2:: @ 816AD89
release
end
CeruleanCity_House4_EventScript_NewsNotSpread:: @ 816ADAF
CeruleanCity_House4_EventScript_NewsNotSpread::
applymovement LOCALID_WONDER_NEWS_BERRY_MAN, Movement_FacePlayer
waitmovement 0
msgbox CeruleanCity_House4_Text_WishCouldShareNewsWithOthers
release
end
CeruleanCity_House4_EventScript_NewsSpread1:: @ 816ADC3
CeruleanCity_House4_EventScript_NewsSpread1::
call CeruleanCity_House4_EventScript_MovementReactionToNews
msgbox CeruleanCity_House4_Text_ThanksForSpreadingNewsTakeThis
giveitem VAR_0x8008
@@ -64,7 +64,7 @@ CeruleanCity_House4_EventScript_NewsSpread1:: @ 816ADC3
release
end
CeruleanCity_House4_EventScript_NewsSpread2:: @ 816ADE9
CeruleanCity_House4_EventScript_NewsSpread2::
call CeruleanCity_House4_EventScript_MovementReactionToNews
msgbox CeruleanCity_House4_Text_MagnificentNewsSpreadHaveBerries
giveitem VAR_0x8008, 4
@@ -73,14 +73,14 @@ CeruleanCity_House4_EventScript_NewsSpread2:: @ 816ADE9
release
end
CeruleanCity_House4_EventScript_NewsDone:: @ 816AE0F
CeruleanCity_House4_EventScript_NewsDone::
applymovement LOCALID_WONDER_NEWS_BERRY_MAN, Movement_FacePlayer
waitmovement 0
msgbox CeruleanCity_House4_Text_EnjoyingMyselfWithAllSortsOfNews
release
end
CeruleanCity_House4_EventScript_MovementReactionToNews:: @ 816AE23
CeruleanCity_House4_EventScript_MovementReactionToNews::
playse SE_PIN
applymovement LOCALID_WONDER_NEWS_BERRY_MAN, Movement_ExclamationMark
waitmovement 0
@@ -90,7 +90,7 @@ CeruleanCity_House4_EventScript_MovementReactionToNews:: @ 816AE23
waitmovement 0
return
CeruleanCity_House4_EventScript_NoRoomForBerries:: @ 816AE45
CeruleanCity_House4_EventScript_NoRoomForBerries::
msgbox CeruleanCity_House4_Text_YourBerryPouchIsFull
release
end
+8 -8
View File
@@ -1,10 +1,10 @@
CeruleanCity_House4_Text_NothingEntertaining:: @ 8192AF0
CeruleanCity_House4_Text_NothingEntertaining::
.string "Sigh…\n"
.string "Too much time, too little to do…\p"
.string "Is nothing entertaining happening\n"
.string "anywhere?$"
CeruleanCity_House4_Text_NewNewsInformativeHaveThis:: @ 8192B43
CeruleanCity_House4_Text_NewNewsInformativeHaveThis::
.string "Ah!\n"
.string "A new news report!\p"
.string "Hmm…\p"
@@ -15,7 +15,7 @@ CeruleanCity_House4_Text_NewNewsInformativeHaveThis:: @ 8192B43
.string "As my thanks for sharing the news\n"
.string "with me, I want you to have this.$"
CeruleanCity_House4_Text_IncredibleNewsHaveBerries:: @ 8192C07
CeruleanCity_House4_Text_IncredibleNewsHaveBerries::
.string "Oh, oh!\n"
.string "Th-this news report!\p"
.string "Hmm…\p"
@@ -26,20 +26,20 @@ CeruleanCity_House4_Text_IncredibleNewsHaveBerries:: @ 8192C07
.string "Thanks for sharing this fantastic\n"
.string "news. Have a bunch of BERRIES!$"
CeruleanCity_House4_Text_WishCouldShareNewsWithOthers:: @ 8192CD5
CeruleanCity_House4_Text_WishCouldShareNewsWithOthers::
.string "It seems such a shame to not share\n"
.string "this news with other folks…\p"
.string "I wish I could tell someone…\n"
.string "Let others know the news…$"
CeruleanCity_House4_Text_ThanksForSpreadingNewsTakeThis:: @ 8192D4B
CeruleanCity_House4_Text_ThanksForSpreadingNewsTakeThis::
.string "Ah, you've spread the news for me?\p"
.string "Good news becomes worthwhile when\n"
.string "all sorts of people share it.\p"
.string "As my thanks for your spreading\n"
.string "the news, take this!$"
CeruleanCity_House4_Text_MagnificentNewsSpreadHaveBerries:: @ 8192DE3
CeruleanCity_House4_Text_MagnificentNewsSpreadHaveBerries::
.string "You've spread the news some more?\n"
.string "Magnificent!\p"
.string "That piece of news must be\n"
@@ -50,13 +50,13 @@ CeruleanCity_House4_Text_MagnificentNewsSpreadHaveBerries:: @ 8192DE3
.string "I'll give you more BERRIES than\n"
.string "I usually do.$"
CeruleanCity_House4_Text_EnjoyingMyselfWithAllSortsOfNews:: @ 8192EC5
CeruleanCity_House4_Text_EnjoyingMyselfWithAllSortsOfNews::
.string "I'm quite enjoying myself with all\n"
.string "sorts of news.\p"
.string "Yes, I am satisfied!\n"
.string "I won't be bored for a while.$"
CeruleanCity_House4_Text_YourBerryPouchIsFull:: @ 8192F2A
CeruleanCity_House4_Text_YourBerryPouchIsFull::
.string "Hm? Your BERRY POUCH is full.\n"
.string "My gift remains ungiven, then.$"
+22 -22
View File
@@ -1,7 +1,7 @@
CeruleanCity_House5_MapScripts:: @ 816AE4F
CeruleanCity_House5_MapScripts::
.byte 0
CeruleanCity_House5_EventScript_BerryPowderMan:: @ 816AE50
CeruleanCity_House5_EventScript_BerryPowderMan::
lock
faceplayer
goto_if_set FLAG_GOT_POWDER_JAR, CeruleanCity_House5_EventScript_AskToExchangePowder
@@ -18,23 +18,23 @@ CeruleanCity_House5_EventScript_BerryPowderMan:: @ 816AE50
release
end
CeruleanCity_House5_EventScript_NoBerries:: @ 816AEA3
CeruleanCity_House5_EventScript_NoBerries::
msgbox CeruleanCity_House1_Text_WhyMustYouLieNoBerries
release
end
CeruleanCity_House5_EventScript_NoInterestInBerries:: @ 816AEAD
CeruleanCity_House5_EventScript_NoInterestInBerries::
msgbox CeruleanCity_House1_Text_TakeInterestInAllSortsOfThings
release
end
CeruleanCity_House5_EventScript_AskToExchangePowder:: @ 816AEB7
CeruleanCity_House5_EventScript_AskToExchangePowder::
special DisplayBerryPowderVendorMenu
msgbox CeruleanCity_House1_Text_HaveYouBroughtBerryPowder
goto CeruleanCity_House5_EventScript_ChooseExchangeItem
end
CeruleanCity_House5_EventScript_ChooseExchangeItem:: @ 816AEC8
CeruleanCity_House5_EventScript_ChooseExchangeItem::
message CeruleanCity_House5_Text_ExchangeWithWhat
waitmessage
setvar VAR_0x8004, LISTMENU_BERRY_POWDER
@@ -56,90 +56,90 @@ CeruleanCity_House5_EventScript_ChooseExchangeItem:: @ 816AEC8
case 127, CeruleanCity_House5_EventScript_ExitMenu
end
CeruleanCity_House5_EventScript_EnergyPowder:: @ 816AF6C
CeruleanCity_House5_EventScript_EnergyPowder::
getitemname 0, ITEM_ENERGY_POWDER
setvar VAR_0x8008, ITEM_ENERGY_POWDER
setvar VAR_0x8009, 50
goto CeruleanCity_House5_EventScript_ExchangePowderForItem
end
CeruleanCity_House5_EventScript_EnergyRoot:: @ 816AF80
CeruleanCity_House5_EventScript_EnergyRoot::
getitemname 0, ITEM_ENERGY_ROOT
setvar VAR_0x8008, ITEM_ENERGY_ROOT
setvar VAR_0x8009, 80
goto CeruleanCity_House5_EventScript_ExchangePowderForItem
end
CeruleanCity_House5_EventScript_HealPowder:: @ 816AF94
CeruleanCity_House5_EventScript_HealPowder::
getitemname 0, ITEM_HEAL_POWDER
setvar VAR_0x8008, ITEM_HEAL_POWDER
setvar VAR_0x8009, 50
goto CeruleanCity_House5_EventScript_ExchangePowderForItem
end
CeruleanCity_House5_EventScript_RevivalHerb:: @ 816AFA8
CeruleanCity_House5_EventScript_RevivalHerb::
getitemname 0, ITEM_REVIVAL_HERB
setvar VAR_0x8008, ITEM_REVIVAL_HERB
setvar VAR_0x8009, 300
goto CeruleanCity_House5_EventScript_ExchangePowderForItem
end
CeruleanCity_House5_EventScript_Protein:: @ 816AFBC
CeruleanCity_House5_EventScript_Protein::
getitemname 0, ITEM_PROTEIN
setvar VAR_0x8008, ITEM_PROTEIN
setvar VAR_0x8009, 1000
goto CeruleanCity_House5_EventScript_ExchangePowderForItem
end
CeruleanCity_House5_EventScript_Iron:: @ 816AFD0
CeruleanCity_House5_EventScript_Iron::
getitemname 0, ITEM_IRON
setvar VAR_0x8008, ITEM_IRON
setvar VAR_0x8009, 1000
goto CeruleanCity_House5_EventScript_ExchangePowderForItem
end
CeruleanCity_House5_EventScript_Carbos:: @ 816AFE4
CeruleanCity_House5_EventScript_Carbos::
getitemname 0, ITEM_CARBOS
setvar VAR_0x8008, ITEM_CARBOS
setvar VAR_0x8009, 1000
goto CeruleanCity_House5_EventScript_ExchangePowderForItem
end
CeruleanCity_House5_EventScript_Calcium:: @ 816AFF8
CeruleanCity_House5_EventScript_Calcium::
getitemname 0, ITEM_CALCIUM
setvar VAR_0x8008, ITEM_CALCIUM
setvar VAR_0x8009, 1000
goto CeruleanCity_House5_EventScript_ExchangePowderForItem
end
CeruleanCity_House5_EventScript_Zinc:: @ 816B00C
CeruleanCity_House5_EventScript_Zinc::
getitemname 0, ITEM_ZINC
setvar VAR_0x8008, ITEM_ZINC
setvar VAR_0x8009, 1000
goto CeruleanCity_House5_EventScript_ExchangePowderForItem
end
CeruleanCity_House5_EventScript_HPUp:: @ 816B020
CeruleanCity_House5_EventScript_HPUp::
getitemname 0, ITEM_HP_UP
setvar VAR_0x8008, ITEM_HP_UP
setvar VAR_0x8009, 1000
goto CeruleanCity_House5_EventScript_ExchangePowderForItem
end
CeruleanCity_House5_EventScript_PPUp:: @ 816B034
CeruleanCity_House5_EventScript_PPUp::
getitemname 0, ITEM_PP_UP
setvar VAR_0x8008, ITEM_PP_UP
setvar VAR_0x8009, 3000
goto CeruleanCity_House5_EventScript_ExchangePowderForItem
end
CeruleanCity_House5_EventScript_ExitMenu:: @ 816B048
CeruleanCity_House5_EventScript_ExitMenu::
msgbox CeruleanCity_House1_Text_SeeMeIfYoudLikeToTradePowder
special RemoveBerryPowderVendorMenu
release
end
CeruleanCity_House5_EventScript_ExchangePowderForItem:: @ 816B055
CeruleanCity_House5_EventScript_ExchangePowderForItem::
msgbox CeruleanCity_House1_Text_YoullExchangeBerryPowderForItem, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq CeruleanCity_House5_EventScript_ChooseExchangeItem
@@ -161,18 +161,18 @@ CeruleanCity_House5_EventScript_ExchangePowderForItem:: @ 816B055
release
end
CeruleanCity_House5_EventScript_BagIsFull:: @ 816B0BF
CeruleanCity_House5_EventScript_BagIsFull::
msgbox Text_BagIsFull
special RemoveBerryPowderVendorMenu
release
end
CeruleanCity_House5_EventScript_NotEnoughBerryPowder:: @ 816B0CC
CeruleanCity_House5_EventScript_NotEnoughBerryPowder::
msgbox CeruleanCity_House1_Text_DontHaveEnoughBerryPowder
goto CeruleanCity_House5_EventScript_ChooseExchangeItem
end
CeruleanCity_House5_EventScript_BerryCrushRankings:: @ 816B0DA
CeruleanCity_House5_EventScript_BerryCrushRankings::
lockall
goto_if_questlog EventScript_ReleaseEnd
special ShowBerryCrushRankings
+12 -12
View File
@@ -1,4 +1,4 @@
CeruleanCity_House1_Text_AnyInterestInBerries:: @ 8192F67
CeruleanCity_House1_Text_AnyInterestInBerries::
.string "I concoct a variety of medicine\n"
.string "from BERRY POWDER.\p"
.string "Using good BERRY POWDER, I can\n"
@@ -6,11 +6,11 @@ CeruleanCity_House1_Text_AnyInterestInBerries:: @ 8192F67
.string "Now tell me, have you any interest\n"
.string "in BERRIES?$"
CeruleanCity_House1_Text_HaveJustTheThing:: @ 8193003
CeruleanCity_House1_Text_HaveJustTheThing::
.string "Ah, good! For you, then, I have\n"
.string "just the thing.$"
CeruleanCity_House1_Text_GoCrushBerriesAtDirectCorner:: @ 8193033
CeruleanCity_House1_Text_GoCrushBerriesAtDirectCorner::
.string "There's something new on the second\n"
.string "floor of POKéMON CENTERS, at the\l"
.string "DIRECT CORNER.\p"
@@ -28,43 +28,43 @@ CeruleanCity_House1_Text_GoCrushBerriesAtDirectCorner:: @ 8193033
.string "Don't forget, crush BERRIES into\n"
.string "BERRY POWDER and bring it to me.$"
CeruleanCity_House1_Text_WhyMustYouLieNoBerries:: @ 819321D
CeruleanCity_House1_Text_WhyMustYouLieNoBerries::
.string "Why must you lie to me?\p"
.string "How many BERRIES do you have?\n"
.string "Not a one!$"
CeruleanCity_House1_Text_TakeInterestInAllSortsOfThings:: @ 819325E
CeruleanCity_House1_Text_TakeInterestInAllSortsOfThings::
.string "You have no interest in BERRIES?\p"
.string "Young one, it's important to take an\n"
.string "interest in all sorts of things.$"
CeruleanCity_House1_Text_HaveYouBroughtBerryPowder:: @ 81932C5
CeruleanCity_House1_Text_HaveYouBroughtBerryPowder::
.string "Er-hem! Have you brought me some\n"
.string "BERRY POWDER?$"
CeruleanCity_House5_Text_ExchangeWithWhat:: @ 81932F4
CeruleanCity_House5_Text_ExchangeWithWhat::
.string "With what would you like to \n"
.string "exchange it?$"
CeruleanCity_House1_Text_YoullExchangeBerryPowderForItem:: @ 819331E
CeruleanCity_House1_Text_YoullExchangeBerryPowderForItem::
.string "Fine, you'll exchange your BERRY\n"
.string "POWDER for one {STR_VAR_1}?$"
CeruleanCity_House1_Text_DontHaveEnoughBerryPowder:: @ 8193352
CeruleanCity_House1_Text_DontHaveEnoughBerryPowder::
.string "Hm? You don't have enough\n"
.string "BERRY POWDER.$"
CeruleanCity_House1_Text_TradeMoreBerryPowder:: @ 819337A
CeruleanCity_House1_Text_TradeMoreBerryPowder::
.string "This is fine BERRY POWDER indeed.\n"
.string "It will make excellent medicine.\p"
.string "Would you like to trade more BERRY\n"
.string "POWDER for something else?$"
CeruleanCity_House1_Text_HopeToSeeYouAgain:: @ 81933FB
CeruleanCity_House1_Text_HopeToSeeYouAgain::
.string "That's fine, then.\n"
.string "I'll hope to see you back again.$"
CeruleanCity_House1_Text_SeeMeIfYoudLikeToTradePowder:: @ 819342F
CeruleanCity_House1_Text_SeeMeIfYoudLikeToTradePowder::
.string "Come see me if you'd like to trade\n"
.string "your BERRY POWDER.$"
+5 -5
View File
@@ -1,15 +1,15 @@
CeruleanCity_Mart_MapScripts:: @ 816AC9D
CeruleanCity_Mart_MapScripts::
.byte 0
CeruleanCity_Mart_EventScript_Youngster:: @ 816AC9E
CeruleanCity_Mart_EventScript_Youngster::
msgbox CeruleanCity_Mart_Text_RepelWorksOnWeakMons, MSGBOX_NPC
end
CeruleanCity_Mart_EventScript_Woman:: @ 816ACA7
CeruleanCity_Mart_EventScript_Woman::
msgbox CeruleanCity_Mart_Text_DoYouKnowAboutRareCandy, MSGBOX_NPC
end
CeruleanCity_Mart_EventScript_Clerk:: @ 816ACB0
CeruleanCity_Mart_EventScript_Clerk::
goto_if_questlog EventScript_ReleaseEnd
lock
faceplayer
@@ -21,7 +21,7 @@ CeruleanCity_Mart_EventScript_Clerk:: @ 816ACB0
end
.align 2
CeruleanCity_Mart_Items:: @ 816ACD8
CeruleanCity_Mart_Items::
.2byte ITEM_POKE_BALL
.2byte ITEM_SUPER_POTION
.2byte ITEM_POTION
+2 -2
View File
@@ -1,4 +1,4 @@
CeruleanCity_Mart_Text_RepelWorksOnWeakMons:: @ 81929C2
CeruleanCity_Mart_Text_RepelWorksOnWeakMons::
.string "REPEL not only keeps bugs away,\n"
.string "it also works on weak POKéMON.\p"
.string "Put your strongest POKéMON at the\n"
@@ -6,7 +6,7 @@ CeruleanCity_Mart_Text_RepelWorksOnWeakMons:: @ 81929C2
.string "If your first POKéMON is strong,\n"
.string "REPEL's effect is boosted.$"
CeruleanCity_Mart_Text_DoYouKnowAboutRareCandy:: @ 8192A79
CeruleanCity_Mart_Text_DoYouKnowAboutRareCandy::
.string "Do you know about RARE CANDY?\n"
.string "They don't sell it in shops.\p"
.string "I think it makes POKéMON grow\n"
@@ -1,28 +1,28 @@
CeruleanCity_PokemonCenter_1F_MapScripts:: @ 816AA2D
CeruleanCity_PokemonCenter_1F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CeruleanCity_PokemonCenter_1F_OnTransition
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
.byte 0
CeruleanCity_PokemonCenter_1F_OnTransition:: @ 816AA38
CeruleanCity_PokemonCenter_1F_OnTransition::
setrespawn SPAWN_CERULEAN_CITY
end
CeruleanCity_PokemonCenter_1F_EventScript_Nurse:: @ 816AA3C
CeruleanCity_PokemonCenter_1F_EventScript_Nurse::
lock
faceplayer
call EventScript_PkmnCenterNurse
release
end
CeruleanCity_PokemonCenter_1F_EventScript_Gentleman:: @ 816AA45
CeruleanCity_PokemonCenter_1F_EventScript_Gentleman::
msgbox CeruleanCity_PokemonCenter_1F_Text_EveryoneCallsBillPokemaniac, MSGBOX_NPC
end
CeruleanCity_PokemonCenter_1F_EventScript_Rocker:: @ 816AA4E
CeruleanCity_PokemonCenter_1F_EventScript_Rocker::
msgbox CeruleanCity_PokemonCenter_1F_Text_BillDoesWhateverForRareMons, MSGBOX_NPC
end
CeruleanCity_PokemonCenter_1F_EventScript_Youngster:: @ 816AA57
CeruleanCity_PokemonCenter_1F_EventScript_Youngster::
lock
faceplayer
famechecker FAMECHECKER_BILL, 1
@@ -30,6 +30,6 @@ CeruleanCity_PokemonCenter_1F_EventScript_Youngster:: @ 816AA57
release
end
CeruleanCity_PokemonCenter_1F_EventScript_Lass:: @ 816AA70
CeruleanCity_PokemonCenter_1F_EventScript_Lass::
msgbox CeruleanCity_PokemonCenter_1F_Text_TryTradingUpstairs, MSGBOX_NPC
end
@@ -1,11 +1,11 @@
CeruleanCity_PokemonCenter_1F_Text_BillDoesWhateverForRareMons:: @ 8191FFB
CeruleanCity_PokemonCenter_1F_Text_BillDoesWhateverForRareMons::
.string "That BILL!\p"
.string "I heard that he'll do whatever it\n"
.string "takes to get rare POKéMON.\p"
.string "He's not above doing all sorts\n"
.string "of things, I've heard.$"
CeruleanCity_PokemonCenter_1F_Text_EveryoneCallsBillPokemaniac:: @ 8192079
CeruleanCity_PokemonCenter_1F_Text_EveryoneCallsBillPokemaniac::
.string "Have you heard about BILL?\p"
.string "Everyone calls him a POKéMANIAC!\p"
.string "I think people are just jealous of\n"
@@ -13,11 +13,11 @@ CeruleanCity_PokemonCenter_1F_Text_EveryoneCallsBillPokemaniac:: @ 8192079
.string "Who wouldn't want to boast about\n"
.string "their POKéMON?$"
CeruleanCity_PokemonCenter_1F_Text_BillCollectsRareMons:: @ 8192116
CeruleanCity_PokemonCenter_1F_Text_BillCollectsRareMons::
.string "BILL has lots of POKéMON!\n"
.string "He collects rare ones, too!$"
CeruleanCity_PokemonCenter_1F_Text_TryTradingUpstairs:: @ 819214C
CeruleanCity_PokemonCenter_1F_Text_TryTradingUpstairs::
.string "Why don't you go upstairs and try\n"
.string "trading POKéMON with your friends?\p"
.string "You could get a lot more variety\n"
@@ -1,4 +1,4 @@
CeruleanCity_PokemonCenter_2F_MapScripts:: @ 816AA79
CeruleanCity_PokemonCenter_2F_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, CableClub_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, CableClub_OnWarp
map_script MAP_SCRIPT_ON_LOAD, CableClub_OnLoad
@@ -6,14 +6,14 @@ CeruleanCity_PokemonCenter_2F_MapScripts:: @ 816AA79
.byte 0
@ The below 3 are unused and leftover from RS
CeruleanCity_PokemonCenter_2F_EventScript_Colosseum:: @ 816AA8E
CeruleanCity_PokemonCenter_2F_EventScript_Colosseum::
call CableClub_EventScript_Colosseum
end
CeruleanCity_PokemonCenter_2F_EventScript_TradeCenter:: @ 816AA94
CeruleanCity_PokemonCenter_2F_EventScript_TradeCenter::
call CableClub_EventScript_TradeCenter
end
CeruleanCity_PokemonCenter_2F_EventScript_RecordCorner:: @ 816AA9A
CeruleanCity_PokemonCenter_2F_EventScript_RecordCorner::
call CableClub_EventScript_RecordCorner
end
+47 -47
View File
@@ -1,12 +1,12 @@
.equ LOCALID_BILL, 3
.equ LOCALID_SEAGALLOP, 4
CinnabarIsland_MapScripts:: @ 8166ED6
CinnabarIsland_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CinnabarIsland_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, CinnabarIsland_OnFrame
.byte 0
CinnabarIsland_OnTransition:: @ 8166EE1
CinnabarIsland_OnTransition::
setworldmapflag FLAG_WORLD_MAP_CINNABAR_ISLAND
call CinnabarIsland_EventScript_CheckUnlockGym
compare VAR_MAP_SCENE_CINNABAR_ISLAND, 1
@@ -17,7 +17,7 @@ CinnabarIsland_OnTransition:: @ 8166EE1
call_if_eq CinnabarIsland_EventScript_ReadyObjectsSailToOneIslandFromPokeCenter
end
CinnabarIsland_EventScript_ReadyObjectsSailToOneIslandFromPokeCenter:: @ 8166F0B
CinnabarIsland_EventScript_ReadyObjectsSailToOneIslandFromPokeCenter::
savebgm MUS_FOLLOW_ME
setflag FLAG_TEMP_2
setobjectxyperm LOCALID_BILL, 15, 12
@@ -25,7 +25,7 @@ CinnabarIsland_EventScript_ReadyObjectsSailToOneIslandFromPokeCenter:: @ 8166F0B
setobjectxyperm LOCALID_SEAGALLOP, 30, 12
return
CinnabarIsland_EventScript_ReadyObjectsSailToOneIsland:: @ 8166F24
CinnabarIsland_EventScript_ReadyObjectsSailToOneIsland::
getplayerxy VAR_0x8004, VAR_0x8005
compare VAR_0x8004, 18
goto_if_ge CinnabarIsland_EventScript_MoveSeagallopDown
@@ -35,30 +35,30 @@ CinnabarIsland_EventScript_ReadyObjectsSailToOneIsland:: @ 8166F24
setobjectxyperm LOCALID_SEAGALLOP, 30, 12
return
CinnabarIsland_EventScript_MoveSeagallopDown:: @ 8166F4A
CinnabarIsland_EventScript_MoveSeagallopDown::
setobjectxyperm LOCALID_SEAGALLOP, 30, 8
return
CinnabarIsland_EventScript_ReadyObjectsReturnFromSeviiIslands:: @ 8166F52
CinnabarIsland_EventScript_ReadyObjectsReturnFromSeviiIslands::
setobjectxyperm LOCALID_BILL, 21, 8
setobjectmovementtype LOCALID_BILL, MOVEMENT_TYPE_FACE_UP
return
CinnabarIsland_EventScript_CheckUnlockGym:: @ 8166F5E
CinnabarIsland_EventScript_CheckUnlockGym::
goto_if_set FLAG_HIDE_POKEMON_MANSION_B1F_SECRET_KEY, CinnabarIsland_EventScript_UnlockGym
return
CinnabarIsland_EventScript_UnlockGym:: @ 8166F68
CinnabarIsland_EventScript_UnlockGym::
setvar VAR_TEMP_1, 1
return
CinnabarIsland_OnFrame:: @ 8166F6E
CinnabarIsland_OnFrame::
map_script_2 VAR_MAP_SCENE_CINNABAR_ISLAND_2, 1, CinnabarIsland_EventScript_ExitPokeCenterForOneIsland
map_script_2 VAR_MAP_SCENE_CINNABAR_ISLAND, 1, CinnabarIsland_EventScript_BillScene
map_script_2 VAR_MAP_SCENE_CINNABAR_ISLAND, 3, CinnabarIsland_EventScript_ReturnFromSeviiIslands
.2byte 0
CinnabarIsland_EventScript_ExitPokeCenterForOneIsland:: @ 8166F88
CinnabarIsland_EventScript_ExitPokeCenterForOneIsland::
lockall
clearflag FLAG_DONT_TRANSITION_MUSIC
savebgm MUS_DUMMY
@@ -69,7 +69,7 @@ CinnabarIsland_EventScript_ExitPokeCenterForOneIsland:: @ 8166F88
releaseall
end
CinnabarIsland_EventScript_ReturnFromSeviiIslands:: @ 8166FA0
CinnabarIsland_EventScript_ReturnFromSeviiIslands::
lockall
textcolor 0
msgbox CinnabarIsland_Text_IfYouHaveTriPassYouCanGoAgain
@@ -83,7 +83,7 @@ CinnabarIsland_EventScript_ReturnFromSeviiIslands:: @ 8166FA0
releaseall
end
CinnabarIsland_Movement_BillExit:: @ 8166FC6
CinnabarIsland_Movement_BillExit::
walk_down
walk_down
walk_down
@@ -92,7 +92,7 @@ CinnabarIsland_Movement_BillExit:: @ 8166FC6
walk_down
step_end
CinnabarIsland_EventScript_BillScene:: @ 8166FCD
CinnabarIsland_EventScript_BillScene::
lockall
textcolor 0
call_if_unset FLAG_TEMP_2, CinnabarIsland_EventScript_BillFacePlayer1
@@ -112,36 +112,36 @@ CinnabarIsland_EventScript_BillScene:: @ 8166FCD
goto_if_eq CinnabarIsland_EventScript_DeclineSailToOneIsland
end
CinnabarIsland_EventScript_BillFacePlayer1:: @ 8167032
CinnabarIsland_EventScript_BillFacePlayer1::
applymovement LOCALID_BILL, Movement_WalkInPlaceFastestUp
waitmovement 0
return
CinnabarIsland_EventScript_BillFacePlayer2:: @ 816703D
CinnabarIsland_EventScript_BillFacePlayer2::
applymovement LOCALID_BILL, Movement_WalkInPlaceFastestLeft
waitmovement 0
return
CinnabarIsland_EventScript_BillApproachPlayer1:: @ 8167048
CinnabarIsland_EventScript_BillApproachPlayer1::
applymovement LOCALID_BILL, CinnabarIsland_Movement_BillApproachPlayer1
waitmovement 0
return
CinnabarIsland_EventScript_BillApproachPlayer2:: @ 8167053
CinnabarIsland_EventScript_BillApproachPlayer2::
applymovement LOCALID_BILL, CinnabarIsland_Movement_BillApproachPlayer2
waitmovement 0
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
waitmovement 0
return
CinnabarIsland_EventScript_AgreeSailToOneIsland:: @ 8167068
CinnabarIsland_EventScript_AgreeSailToOneIsland::
msgbox CinnabarIsland_Text_AllRightLetsGo
closemessage
call CinnabarIsland_EventScript_SailToOneIsland
releaseall
end
CinnabarIsland_EventScript_DeclineSailToOneIsland:: @ 8167078
CinnabarIsland_EventScript_DeclineSailToOneIsland::
msgbox CinnabarIsland_Text_IllBeWaitingInPokeCenter
closemessage
call_if_unset FLAG_TEMP_2, CinnabarIsland_EventScript_BillExitToPokeCenter
@@ -152,12 +152,12 @@ CinnabarIsland_EventScript_DeclineSailToOneIsland:: @ 8167078
releaseall
end
CinnabarIsland_EventScript_BillExitToPokeCenter:: @ 81670A0
CinnabarIsland_EventScript_BillExitToPokeCenter::
applymovement LOCALID_BILL, CinnabarIsland_Movement_BillExitToPokeCenter
waitmovement 0
return
CinnabarIsland_Movement_BillExitToPokeCenter:: @ 81670AB
CinnabarIsland_Movement_BillExitToPokeCenter::
walk_right
walk_down
walk_down
@@ -167,7 +167,7 @@ CinnabarIsland_Movement_BillExitToPokeCenter:: @ 81670AB
walk_down
step_end
CinnabarIsland_EventScript_BillReturnToPokeCenter:: @ 81670B3
CinnabarIsland_EventScript_BillReturnToPokeCenter::
applymovement OBJ_EVENT_ID_PLAYER, CinnabarIsland_Movement_PlayerWatchBillExit
applymovement LOCALID_BILL, CinnabarIsland_Movement_BillApproachDoor
waitmovement 0
@@ -179,25 +179,25 @@ CinnabarIsland_EventScript_BillReturnToPokeCenter:: @ 81670B3
waitdooranim
return
CinnabarIsland_Movement_PlayerWatchBillExit:: @ 81670DB
CinnabarIsland_Movement_PlayerWatchBillExit::
walk_left
walk_in_place_fastest_right
step_end
CinnabarIsland_Movement_BillApproachDoor:: @ 81670DE
CinnabarIsland_Movement_BillApproachDoor::
delay_16
walk_left
walk_in_place_fastest_up
step_end
CinnabarIsland_Movement_BillReEnterPokeCenter:: @ 81670E2
CinnabarIsland_Movement_BillReEnterPokeCenter::
walk_up
delay_4
set_invisible
step_end
@ Can be triggered outside, or after talking to Bill in the poke center
CinnabarIsland_EventScript_SailToOneIsland:: @ 81670E6
CinnabarIsland_EventScript_SailToOneIsland::
call_if_set FLAG_TEMP_2, CinnabarIsland_EventScript_ApproachShore
addobject LOCALID_SEAGALLOP
call_if_unset FLAG_TEMP_2, CinnabarIsland_EventScript_BoatArrive
@@ -216,36 +216,36 @@ CinnabarIsland_EventScript_SailToOneIsland:: @ 81670E6
goto EventScript_SetSail
end
CinnabarIsland_EventScript_ApproachShore:: @ 8167142
CinnabarIsland_EventScript_ApproachShore::
applymovement LOCALID_BILL, CinnabarIsland_Movement_ApproachShore
applymovement OBJ_EVENT_ID_PLAYER, CinnabarIsland_Movement_ApproachShore
waitmovement 0
return
CinnabarIsland_EventScript_BoatArrive:: @ 8167154
CinnabarIsland_EventScript_BoatArrive::
applymovement LOCALID_BILL, CinnabarIsland_Movement_BillFaceBoat
applymovement LOCALID_SEAGALLOP, CinnabarIsland_Movement_BoatArrive
waitmovement 0
return
CinnabarIsland_EventScript_BoatArriveExitedPokeCenter:: @ 8167166
CinnabarIsland_EventScript_BoatArriveExitedPokeCenter::
applymovement LOCALID_SEAGALLOP, CinnabarIsland_Movement_BoatArrive
waitmovement 0
return
CinnabarIsland_EventScript_BoardBoat:: @ 8167171
CinnabarIsland_EventScript_BoardBoat::
applymovement LOCALID_BILL, CinnabarIsland_Movement_BillBoardBoat
applymovement OBJ_EVENT_ID_PLAYER, CinnabarIsland_Movement_PlayerBoardBoat
waitmovement 0
return
CinnabarIsland_EventScript_BoardBoatExitedPokeCenter:: @ 8167183
CinnabarIsland_EventScript_BoardBoatExitedPokeCenter::
applymovement LOCALID_BILL, CinnabarIsland_Movement_BillBoardBoatFromShore
applymovement OBJ_EVENT_ID_PLAYER, CinnabarIsland_Movement_PlayerBoardBoatFromShore
waitmovement 0
return
CinnabarIsland_Movement_BoatArrive:: @ 8167195
CinnabarIsland_Movement_BoatArrive::
delay_16
delay_16
walk_fast_left
@@ -255,7 +255,7 @@ CinnabarIsland_Movement_BoatArrive:: @ 8167195
walk_slower_left
step_end
CinnabarIsland_Movement_BillBoardBoat:: @ 816719D
CinnabarIsland_Movement_BillBoardBoat::
walk_right
walk_down
walk_down
@@ -264,24 +264,24 @@ CinnabarIsland_Movement_BillBoardBoat:: @ 816719D
set_invisible
step_end
CinnabarIsland_Movement_BillApproachPlayer1:: @ 81671A4
CinnabarIsland_Movement_BillApproachPlayer1::
walk_up
step_end
CinnabarIsland_Movement_BillApproachPlayer2:: @ 81671A6
CinnabarIsland_Movement_BillApproachPlayer2::
walk_left
walk_left
walk_left
step_end
CinnabarIsland_Movement_BillFaceBoat:: @ 81671AA
CinnabarIsland_Movement_BillFaceBoat::
delay_16
delay_16
delay_8
walk_in_place_fastest_right
step_end
CinnabarIsland_Movement_ApproachShore:: @ 81671AF
CinnabarIsland_Movement_ApproachShore::
walk_right
walk_right
walk_right
@@ -290,13 +290,13 @@ CinnabarIsland_Movement_ApproachShore:: @ 81671AF
walk_right
step_end
CinnabarIsland_Movement_BillBoardBoatFromShore:: @ 81671B6
CinnabarIsland_Movement_BillBoardBoatFromShore::
walk_right
delay_4
set_invisible
step_end
CinnabarIsland_Movement_PlayerBoardBoat:: @ 81671BA
CinnabarIsland_Movement_PlayerBoardBoat::
walk_down
walk_right
walk_down
@@ -308,7 +308,7 @@ CinnabarIsland_Movement_PlayerBoardBoat:: @ 81671BA
set_invisible
step_end
CinnabarIsland_Movement_PlayerBoardBoatFromShore:: @ 81671C4
CinnabarIsland_Movement_PlayerBoardBoatFromShore::
walk_right
delay_4
walk_right
@@ -317,7 +317,7 @@ CinnabarIsland_Movement_PlayerBoardBoatFromShore:: @ 81671C4
step_end
@ Triggered when VAR_TEMP_1 is 0
CinnabarIsland_EventScript_GymDoorLocked:: @ 81671CA
CinnabarIsland_EventScript_GymDoorLocked::
lockall
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestUp
waitmovement 0
@@ -329,11 +329,11 @@ CinnabarIsland_EventScript_GymDoorLocked:: @ 81671CA
releaseall
end
CinnabarIsland_Movement_ForcePlayerFromDoor:: @ 81671ED
CinnabarIsland_Movement_ForcePlayerFromDoor::
walk_down
step_end
CinnabarIsland_EventScript_Woman:: @ 81671EF
CinnabarIsland_EventScript_Woman::
lock
faceplayer
famechecker FAMECHECKER_BLAINE, 3
@@ -341,19 +341,19 @@ CinnabarIsland_EventScript_Woman:: @ 81671EF
release
end
CinnabarIsland_EventScript_OldMan:: @ 8167208
CinnabarIsland_EventScript_OldMan::
msgbox CinnabarIsland_Text_ScientistsExperimentInMansion, MSGBOX_NPC
end
CinnabarIsland_EventScript_IslandSign:: @ 8167211
CinnabarIsland_EventScript_IslandSign::
msgbox CinnabarIsland_Text_IslandSign, MSGBOX_SIGN
end
CinnabarIsland_EventScript_PokemonLabSign:: @ 816721A
CinnabarIsland_EventScript_PokemonLabSign::
msgbox CinnabarIsland_Text_PokemonLab, MSGBOX_SIGN
end
CinnabarIsland_EventScript_GymSign:: @ 8167223
CinnabarIsland_EventScript_GymSign::
lockall
famechecker FAMECHECKER_BLAINE, 0
msgbox CinnabarIsland_Text_GymSign
+12 -12
View File
@@ -1,35 +1,35 @@
CinnabarIsland_Text_DoorIsLocked:: @ 8180B20
CinnabarIsland_Text_DoorIsLocked::
.string "The door is locked…$"
CinnabarIsland_Text_BlaineLivedHereSinceBeforeLab:: @ 8180B34
CinnabarIsland_Text_BlaineLivedHereSinceBeforeLab::
.string "CINNABAR GYM's BLAINE is quite the\n"
.string "odd fellow.\p"
.string "He's lived on the island since way\n"
.string "before the LAB was built.$"
CinnabarIsland_Text_ScientistsExperimentInMansion:: @ 8180BA0
CinnabarIsland_Text_ScientistsExperimentInMansion::
.string "Scientists conduct experiments \n"
.string "in the burned-out building.\p"
.string "You know, the one they call the\n"
.string "POKéMON MANSION.$"
CinnabarIsland_Text_IslandSign:: @ 8180C0D
CinnabarIsland_Text_IslandSign::
.string "CINNABAR ISLAND\n"
.string "The Fiery Town of Burning Desire$"
CinnabarIsland_Text_PokemonLab:: @ 8180C3E
CinnabarIsland_Text_PokemonLab::
.string "POKéMON LAB$"
CinnabarIsland_Text_GymSign:: @ 8180C4A
CinnabarIsland_Text_GymSign::
.string "CINNABAR ISLAND POKéMON GYM\n"
.string "LEADER: BLAINE\l"
.string "The Hotheaded Quiz Master!$"
CinnabarIsland_Text_HeyIfItIsntPlayer:: @ 8180C90
CinnabarIsland_Text_HeyIfItIsntPlayer::
.string "Huh?\n"
.string "Hey, if it isn't {PLAYER}!$"
CinnabarIsland_Text_ComeWithMeToOneIsland:: @ 8180CAA
CinnabarIsland_Text_ComeWithMeToOneIsland::
.string "Look, it's me, BILL.\n"
.string "Long time no see!\p"
.string "I hope you're still using my\n"
@@ -43,11 +43,11 @@ CinnabarIsland_Text_ComeWithMeToOneIsland:: @ 8180CAA
.string "How about it?\n"
.string "Do you feel like coming with me?$"
CinnabarIsland_Text_AllRightLetsGo:: @ 8180DDD
CinnabarIsland_Text_AllRightLetsGo::
.string "All right, then.\n"
.string "Let's go!$"
CinnabarIsland_Text_IllBeWaitingInPokeCenter:: @ 8180DF8
CinnabarIsland_Text_IllBeWaitingInPokeCenter::
.string "What, are you too busy?\p"
.string "Well, all right.\n"
.string "The boat hasn't arrived yet anyway.\p"
@@ -56,13 +56,13 @@ CinnabarIsland_Text_IllBeWaitingInPokeCenter:: @ 8180DF8
.string "Come see me when you're done with\n"
.string "your business here.$"
CinnabarIsland_Text_MyPalsBoatArrived:: @ 8180EAD
CinnabarIsland_Text_MyPalsBoatArrived::
.string "Looks like my pal's boat arrived,\n"
.string "too.\p"
.string "He sent it specially here to\n"
.string "CINNABAR to pick me up.$"
CinnabarIsland_Text_IfYouHaveTriPassYouCanGoAgain:: @ 8180F09
CinnabarIsland_Text_IfYouHaveTriPassYouCanGoAgain::
.string "Hey, wasn't that a long cruise?\p"
.string "My buddy CELIO seemed to enjoy\n"
.string "your company.\p"
+112 -112
View File
@@ -5,11 +5,11 @@
.set LOCALID_DUSTY, 6
.set LOCALID_ZAC, 7
CinnabarIsland_Gym_MapScripts:: @ 816D94B
CinnabarIsland_Gym_MapScripts::
map_script MAP_SCRIPT_ON_LOAD, CinnabarIsland_Gym_OnLoad
.byte 0
CinnabarIsland_Gym_OnLoad:: @ 816D951
CinnabarIsland_Gym_OnLoad::
goto_if_set FLAG_DEFEATED_BLAINE, CinnabarIsland_Gym_OnLoadOpenAllDoors
call_if_set FLAG_CINNABAR_GYM_QUIZ_1, CinnabarIsland_Gym_OnLoadOpenDoor1
call_if_set FLAG_CINNABAR_GYM_QUIZ_2, CinnabarIsland_Gym_OnLoadOpenDoor2
@@ -19,7 +19,7 @@ CinnabarIsland_Gym_OnLoad:: @ 816D951
call_if_set FLAG_CINNABAR_GYM_QUIZ_6, CinnabarIsland_Gym_OnLoadOpenDoor6
end
CinnabarIsland_Gym_OnLoadOpenAllDoors:: @ 816D991
CinnabarIsland_Gym_OnLoadOpenAllDoors::
call CinnabarIsland_Gym_EventScript_OpenDoor1
call CinnabarIsland_Gym_EventScript_OpenDoor2
call CinnabarIsland_Gym_EventScript_OpenDoor3
@@ -28,31 +28,31 @@ CinnabarIsland_Gym_OnLoadOpenAllDoors:: @ 816D991
call CinnabarIsland_Gym_EventScript_OpenDoor6
end
CinnabarIsland_Gym_OnLoadOpenDoor1:: @ 816D9B0
CinnabarIsland_Gym_OnLoadOpenDoor1::
call CinnabarIsland_Gym_EventScript_OpenDoor1
return
CinnabarIsland_Gym_OnLoadOpenDoor2:: @ 816D9B6
CinnabarIsland_Gym_OnLoadOpenDoor2::
call CinnabarIsland_Gym_EventScript_OpenDoor2
return
CinnabarIsland_Gym_OnLoadOpenDoor3:: @ 816D9BC
CinnabarIsland_Gym_OnLoadOpenDoor3::
call CinnabarIsland_Gym_EventScript_OpenDoor3
return
CinnabarIsland_Gym_OnLoadOpenDoor4:: @ 816D9C2
CinnabarIsland_Gym_OnLoadOpenDoor4::
call CinnabarIsland_Gym_EventScript_OpenDoor4
return
CinnabarIsland_Gym_OnLoadOpenDoor5:: @ 816D9C8
CinnabarIsland_Gym_OnLoadOpenDoor5::
call CinnabarIsland_Gym_EventScript_OpenDoor5
return
CinnabarIsland_Gym_OnLoadOpenDoor6:: @ 816D9CE
CinnabarIsland_Gym_OnLoadOpenDoor6::
call CinnabarIsland_Gym_EventScript_OpenDoor6
return
CinnabarIsland_Gym_EventScript_Blaine:: @ 816D9D4
CinnabarIsland_Gym_EventScript_Blaine::
famechecker FAMECHECKER_BLAINE, FCPICKSTATE_COLORED, UpdatePickStateFromSpecialVar8005
trainerbattle_single TRAINER_LEADER_BLAINE, CinnabarIsland_Gym_Text_BlaineIntro, CinnabarIsland_Gym_Text_BlaineDefeat, CinnabarIsland_Gym_EventScript_DefeatedBlaine, NO_MUSIC
goto_if_unset FLAG_GOT_TM38_FROM_BLAINE, CinnabarIsland_Gym_EventScript_GiveTM38
@@ -60,7 +60,7 @@ CinnabarIsland_Gym_EventScript_Blaine:: @ 816D9D4
release
end
CinnabarIsland_Gym_EventScript_DefeatedBlaine:: @ 816DA06
CinnabarIsland_Gym_EventScript_DefeatedBlaine::
famechecker FAMECHECKER_BLAINE, 1
setflag FLAG_DEFEATED_BLAINE
setflag FLAG_BADGE07_GET
@@ -71,7 +71,7 @@ CinnabarIsland_Gym_EventScript_DefeatedBlaine:: @ 816DA06
goto CinnabarIsland_Gym_EventScript_GiveTM38
end
CinnabarIsland_Gym_EventScript_GiveTM38:: @ 816DA34
CinnabarIsland_Gym_EventScript_GiveTM38::
msgbox CinnabarIsland_Gym_Text_ExplainVolcanoBadge
checkitemspace ITEM_TM38, 1
compare VAR_RESULT, FALSE
@@ -82,102 +82,102 @@ CinnabarIsland_Gym_EventScript_GiveTM38:: @ 816DA34
release
end
CinnabarIsland_Gym_EventScript_NoRoomForTM38:: @ 816DA75
CinnabarIsland_Gym_EventScript_NoRoomForTM38::
msgbox CinnabarIsland_Gym_Text_MakeSpaceForThis
release
end
CinnabarIsland_Gym_EventScript_Erik:: @ 816DA7F
CinnabarIsland_Gym_EventScript_Erik::
trainerbattle_single TRAINER_SUPER_NERD_ERIK, CinnabarIsland_Gym_Text_ErikIntro, CinnabarIsland_Gym_Text_ErikDefeat
msgbox CinnabarIsland_Gym_Text_ErikPostBattle, MSGBOX_AUTOCLOSE
end
CinnabarIsland_Gym_EventScript_Avery:: @ 816DA96
CinnabarIsland_Gym_EventScript_Avery::
trainerbattle_single TRAINER_SUPER_NERD_AVERY, CinnabarIsland_Gym_Text_AveryIntro, CinnabarIsland_Gym_Text_AveryDefeat, CinnabarIsland_Gym_EventScript_DefeatedAvery
msgbox CinnabarIsland_Gym_Text_AveryPostBattle, MSGBOX_AUTOCLOSE
end
CinnabarIsland_Gym_EventScript_DefeatedAvery:: @ 816DAB1
CinnabarIsland_Gym_EventScript_DefeatedAvery::
call_if_unset FLAG_CINNABAR_GYM_QUIZ_2, CinnabarIsland_Gym_EventScript_Quiz2CompleteTrainer
release
end
CinnabarIsland_Gym_EventScript_Quiz2CompleteTrainer:: @ 816DABC
CinnabarIsland_Gym_EventScript_Quiz2CompleteTrainer::
call CinnabarIsland_Gym_EventScript_Quiz2Complete
return
CinnabarIsland_Gym_EventScript_Derek:: @ 816DAC2
CinnabarIsland_Gym_EventScript_Derek::
trainerbattle_single TRAINER_SUPER_NERD_DEREK, CinnabarIsland_Gym_Text_DerekIntro, CinnabarIsland_Gym_Text_DerekDefeat, CinnabarIsland_Gym_EventScript_DefeatedDerek
famechecker FAMECHECKER_BLAINE, 2
msgbox CinnabarIsland_Gym_Text_DerekPostBattle, MSGBOX_AUTOCLOSE
end
CinnabarIsland_Gym_EventScript_DefeatedDerek:: @ 816DAEA
CinnabarIsland_Gym_EventScript_DefeatedDerek::
call_if_unset FLAG_CINNABAR_GYM_QUIZ_4, CinnabarIsland_Gym_EventScript_Quiz4CompleteTrainer
release
end
CinnabarIsland_Gym_EventScript_Quiz4CompleteTrainer:: @ 816DAF5
CinnabarIsland_Gym_EventScript_Quiz4CompleteTrainer::
call CinnabarIsland_Gym_EventScript_Quiz4Complete
return
CinnabarIsland_Gym_EventScript_Zac:: @ 816DAFB
CinnabarIsland_Gym_EventScript_Zac::
trainerbattle_single TRAINER_SUPER_NERD_ZAC, CinnabarIsland_Gym_Text_ZacIntro, CinnabarIsland_Gym_Text_ZacDefeat, CinnabarIsland_Gym_EventScript_DefeatedZac
msgbox CinnabarIsland_Gym_Text_ZacPostBattle, MSGBOX_AUTOCLOSE
end
CinnabarIsland_Gym_EventScript_DefeatedZac:: @ 816DB16
CinnabarIsland_Gym_EventScript_DefeatedZac::
call_if_unset FLAG_CINNABAR_GYM_QUIZ_6, CinnabarIsland_Gym_EventScript_Quiz6CompleteTrainer
release
end
CinnabarIsland_Gym_EventScript_Quiz6CompleteTrainer:: @ 816DB21
CinnabarIsland_Gym_EventScript_Quiz6CompleteTrainer::
call CinnabarIsland_Gym_EventScript_Quiz6Complete
return
CinnabarIsland_Gym_EventScript_Quinn:: @ 816DB27
CinnabarIsland_Gym_EventScript_Quinn::
trainerbattle_single TRAINER_BURGLAR_QUINN, CinnabarIsland_Gym_Text_QuinnIntro, CinnabarIsland_Gym_Text_QuinnDefeat, CinnabarIsland_Gym_EventScript_DefeatedQuinn
msgbox CinnabarIsland_Gym_Text_QuinnPostBattle, MSGBOX_AUTOCLOSE
end
CinnabarIsland_Gym_EventScript_DefeatedQuinn:: @ 816DB42
CinnabarIsland_Gym_EventScript_DefeatedQuinn::
call_if_unset FLAG_CINNABAR_GYM_QUIZ_1, CinnabarIsland_Gym_EventScript_Quiz1CompleteTrainer
release
end
CinnabarIsland_Gym_EventScript_Quiz1CompleteTrainer:: @ 816DB4D
CinnabarIsland_Gym_EventScript_Quiz1CompleteTrainer::
call CinnabarIsland_Gym_EventScript_Quiz1Complete
return
CinnabarIsland_Gym_EventScript_Ramon:: @ 816DB53
CinnabarIsland_Gym_EventScript_Ramon::
trainerbattle_single TRAINER_BURGLAR_RAMON, CinnabarIsland_Gym_Text_RamonIntro, CinnabarIsland_Gym_Text_RamonDefeat, CinnabarIsland_Gym_EventScript_DefeatedRamon
msgbox CinnabarIsland_Gym_Text_RamonPostBattle, MSGBOX_AUTOCLOSE
end
CinnabarIsland_Gym_EventScript_DefeatedRamon:: @ 816DB6E
CinnabarIsland_Gym_EventScript_DefeatedRamon::
call_if_unset FLAG_CINNABAR_GYM_QUIZ_3, CinnabarIsland_Gym_EventScript_Quiz3CompleteTrainer
release
end
CinnabarIsland_Gym_EventScript_Quiz3CompleteTrainer:: @ 816DB79
CinnabarIsland_Gym_EventScript_Quiz3CompleteTrainer::
call CinnabarIsland_Gym_EventScript_Quiz3Complete
return
CinnabarIsland_Gym_EventScript_Dusty:: @ 816DB7F
CinnabarIsland_Gym_EventScript_Dusty::
trainerbattle_single TRAINER_BURGLAR_DUSTY, CinnabarIsland_Gym_Text_DustyIntro, CinnabarIsland_Gym_Text_DustyDefeat, CinnabarIsland_Gym_EventScript_DefeatedDusty
msgbox CinnabarIsland_Gym_Text_DustyPostBattle, MSGBOX_AUTOCLOSE
end
CinnabarIsland_Gym_EventScript_DefeatedDusty:: @ 816DB9A
CinnabarIsland_Gym_EventScript_DefeatedDusty::
call_if_unset FLAG_CINNABAR_GYM_QUIZ_5, CinnabarIsland_Gym_EventScript_Quiz5CompleteTrainer
release
end
CinnabarIsland_Gym_EventScript_Quiz5CompleteTrainer:: @ 816DBA5
CinnabarIsland_Gym_EventScript_Quiz5CompleteTrainer::
call CinnabarIsland_Gym_EventScript_Quiz5Complete
return
CinnabarIsland_Gym_EventScript_GymGuy:: @ 816DBAB
CinnabarIsland_Gym_EventScript_GymGuy::
lock
faceplayer
goto_if_set FLAG_DEFEATED_BLAINE, CinnabarIsland_Gym_EventScript_GymGuyPostVictory
@@ -185,36 +185,36 @@ CinnabarIsland_Gym_EventScript_GymGuy:: @ 816DBAB
release
end
CinnabarIsland_Gym_EventScript_GymGuyPostVictory:: @ 816DBC0
CinnabarIsland_Gym_EventScript_GymGuyPostVictory::
msgbox CinnabarIsland_Gym_Text_GymGuyPostVictory
release
end
CinnabarIsland_Gym_EventScript_GymStatue:: @ 816DBCA
CinnabarIsland_Gym_EventScript_GymStatue::
lockall
goto_if_set FLAG_BADGE07_GET, CinnabarIsland_Gym_EventScript_GymStatuePostVictory
msgbox CinnabarIsland_Gym_Text_GymStatue
releaseall
end
CinnabarIsland_Gym_EventScript_GymStatuePostVictory:: @ 816DBDE
CinnabarIsland_Gym_EventScript_GymStatuePostVictory::
msgbox CinnabarIsland_Gym_Text_GymStatuePlayerWon
releaseall
end
CinnabarIsland_Gym_EventScript_Quz1Left:: @ 816DBE8
CinnabarIsland_Gym_EventScript_Quz1Left::
lockall
setvar VAR_TEMP_1, 0
goto CinnabarIsland_Gym_EventScript_Quiz1
end
CinnabarIsland_Gym_EventScript_Quz1Right:: @ 816DBF4
CinnabarIsland_Gym_EventScript_Quz1Right::
lockall
setvar VAR_TEMP_1, 1
goto CinnabarIsland_Gym_EventScript_Quiz1
end
CinnabarIsland_Gym_EventScript_Quiz1:: @ 816DC00
CinnabarIsland_Gym_EventScript_Quiz1::
msgbox CinnabarIsland_Gym_Text_PokemonQuizRules
msgbox CinnabarIsland_Gym_Text_QuizQuestion1, MSGBOX_YESNO
compare VAR_RESULT, YES
@@ -223,13 +223,13 @@ CinnabarIsland_Gym_EventScript_Quiz1:: @ 816DC00
goto_if_eq CinnabarIsland_Gym_EventScript_Quiz1Incorrect
end
CinnabarIsland_Gym_EventScript_CorrectAnswer:: @ 816DC27
CinnabarIsland_Gym_EventScript_CorrectAnswer::
playfanfare MUS_LEVEL_UP
waitfanfare
msgbox CinnabarIsland_Gym_Text_CorrectGoOnThrough
return
CinnabarIsland_Gym_EventScript_IncorrectAnswer:: @ 816DC34
CinnabarIsland_Gym_EventScript_IncorrectAnswer::
waitse
playse SE_BOO
waitse
@@ -237,14 +237,14 @@ CinnabarIsland_Gym_EventScript_IncorrectAnswer:: @ 816DC34
closemessage
return
CinnabarIsland_Gym_EventScript_Quiz1Correct:: @ 816DC43
CinnabarIsland_Gym_EventScript_Quiz1Correct::
call CinnabarIsland_Gym_EventScript_CorrectAnswer
goto_if_set FLAG_CINNABAR_GYM_QUIZ_1, CinnabarIsland_Gym_EventScript_DoorAlreadyOpen
call CinnabarIsland_Gym_EventScript_Quiz1Complete
releaseall
end
CinnabarIsland_Gym_EventScript_Quiz1Complete:: @ 816DC58
CinnabarIsland_Gym_EventScript_Quiz1Complete::
playse SE_UNLOCK
waitse
call CinnabarIsland_Gym_EventScript_OpenDoor1
@@ -252,17 +252,17 @@ CinnabarIsland_Gym_EventScript_Quiz1Complete:: @ 816DC58
setflag FLAG_CINNABAR_GYM_QUIZ_1
return
CinnabarIsland_Gym_EventScript_DoorAlreadyOpen:: @ 816DC68
CinnabarIsland_Gym_EventScript_DoorAlreadyOpen::
releaseall
end
CinnabarIsland_Gym_EventScript_Quiz1Incorrect:: @ 816DC6A
CinnabarIsland_Gym_EventScript_Quiz1Incorrect::
call CinnabarIsland_Gym_EventScript_IncorrectAnswer
goto_if_not_defeated TRAINER_BURGLAR_QUINN, CinnabarIsland_Gym_EventScript_BattleQuinn
releaseall
end
CinnabarIsland_Gym_EventScript_BattleQuinn:: @ 816DC7A
CinnabarIsland_Gym_EventScript_BattleQuinn::
compare VAR_TEMP_1, 0
call_if_eq CinnabarIsland_Gym_EventScript_QuinnApproachLeft
compare VAR_TEMP_1, 1
@@ -275,40 +275,40 @@ CinnabarIsland_Gym_EventScript_BattleQuinn:: @ 816DC7A
releaseall
end
CinnabarIsland_Gym_EventScript_QuinnApproachLeft:: @ 816DCB4
CinnabarIsland_Gym_EventScript_QuinnApproachLeft::
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
applymovement LOCALID_QUINN, CinnabarIsland_Gym_Movement_QuinnApproachLeft
waitmovement 0
return
CinnabarIsland_Gym_EventScript_QuinnApproachRight:: @ 816DCC6
CinnabarIsland_Gym_EventScript_QuinnApproachRight::
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
applymovement LOCALID_QUINN, CinnabarIsland_Gym_Movement_QuinnApproachRight
waitmovement 0
return
CinnabarIsland_Gym_Movement_QuinnApproachLeft:: @ 816DCD8
CinnabarIsland_Gym_Movement_QuinnApproachLeft::
walk_left
walk_left
step_end
CinnabarIsland_Gym_Movement_QuinnApproachRight:: @ 816DCDB
CinnabarIsland_Gym_Movement_QuinnApproachRight::
walk_left
step_end
CinnabarIsland_Gym_EventScript_Quiz2Left:: @ 816DCDD
CinnabarIsland_Gym_EventScript_Quiz2Left::
lockall
setvar VAR_TEMP_1, 0
goto CinnabarIsland_Gym_EventScript_Quiz2
end
CinnabarIsland_Gym_EventScript_Quiz2Right:: @ 816DCE9
CinnabarIsland_Gym_EventScript_Quiz2Right::
lockall
setvar VAR_TEMP_1, 1
goto CinnabarIsland_Gym_EventScript_Quiz2
end
CinnabarIsland_Gym_EventScript_Quiz2:: @ 816DCF5
CinnabarIsland_Gym_EventScript_Quiz2::
msgbox CinnabarIsland_Gym_Text_PokemonQuizRules
msgbox CinnabarIsland_Gym_Text_QuizQuestion2, MSGBOX_YESNO
compare VAR_RESULT, YES
@@ -317,14 +317,14 @@ CinnabarIsland_Gym_EventScript_Quiz2:: @ 816DCF5
goto_if_eq CinnabarIsland_Gym_EventScript_Quiz2Correct
end
CinnabarIsland_Gym_EventScript_Quiz2Correct:: @ 816DD1C
CinnabarIsland_Gym_EventScript_Quiz2Correct::
call CinnabarIsland_Gym_EventScript_CorrectAnswer
goto_if_set FLAG_CINNABAR_GYM_QUIZ_2, CinnabarIsland_Gym_EventScript_DoorAlreadyOpen
call CinnabarIsland_Gym_EventScript_Quiz2Complete
releaseall
end
CinnabarIsland_Gym_EventScript_Quiz2Complete:: @ 816DD31
CinnabarIsland_Gym_EventScript_Quiz2Complete::
playse SE_UNLOCK
waitse
call CinnabarIsland_Gym_EventScript_OpenDoor2
@@ -332,13 +332,13 @@ CinnabarIsland_Gym_EventScript_Quiz2Complete:: @ 816DD31
setflag FLAG_CINNABAR_GYM_QUIZ_2
return
CinnabarIsland_Gym_EventScript_Quiz2Incorrect:: @ 816DD41
CinnabarIsland_Gym_EventScript_Quiz2Incorrect::
call CinnabarIsland_Gym_EventScript_IncorrectAnswer
goto_if_not_defeated TRAINER_SUPER_NERD_AVERY, CinnabarIsland_Gym_EventScript_BattleAvery
releaseall
end
CinnabarIsland_Gym_EventScript_BattleAvery:: @ 816DD51
CinnabarIsland_Gym_EventScript_BattleAvery::
compare VAR_TEMP_1, 0
call_if_eq CinnabarIsland_Gym_EventScript_AveryApproachLeft
compare VAR_TEMP_1, 1
@@ -351,49 +351,49 @@ CinnabarIsland_Gym_EventScript_BattleAvery:: @ 816DD51
releaseall
end
CinnabarIsland_Gym_EventScript_AveryApproachLeft:: @ 816DD8B
CinnabarIsland_Gym_EventScript_AveryApproachLeft::
applymovement OBJ_EVENT_ID_PLAYER, CinnabarIsland_Gym_Movement_PlayerFaceAvery
applymovement LOCALID_AVERY, CinnabarIsland_Gym_Movement_AveryApproachLeft
waitmovement 0
return
CinnabarIsland_Gym_EventScript_AveryApproachRight:: @ 816DD9D
CinnabarIsland_Gym_EventScript_AveryApproachRight::
applymovement OBJ_EVENT_ID_PLAYER, CinnabarIsland_Gym_Movement_PlayerFaceAvery
applymovement LOCALID_AVERY, CinnabarIsland_Gym_Movement_AveryApproachRight
waitmovement 0
return
CinnabarIsland_Gym_Movement_AveryApproachLeft:: @ 816DDAF
CinnabarIsland_Gym_Movement_AveryApproachLeft::
walk_up
walk_up
walk_left
step_end
CinnabarIsland_Gym_Movement_AveryApproachRight:: @ 816DDB3
CinnabarIsland_Gym_Movement_AveryApproachRight::
walk_up
walk_up
walk_in_place_fastest_left
step_end
CinnabarIsland_Gym_Movement_PlayerFaceAvery:: @ 816DDB7
CinnabarIsland_Gym_Movement_PlayerFaceAvery::
delay_16
delay_16
walk_in_place_fastest_right
step_end
CinnabarIsland_Gym_EventScript_Quiz3Left:: @ 816DDBB
CinnabarIsland_Gym_EventScript_Quiz3Left::
lockall
setvar VAR_TEMP_1, 0
goto CinnabarIsland_Gym_EventScript_Quiz3
end
CinnabarIsland_Gym_EventScript_Quiz3Right:: @ 816DDC7
CinnabarIsland_Gym_EventScript_Quiz3Right::
lockall
setvar VAR_TEMP_1, 1
goto CinnabarIsland_Gym_EventScript_Quiz3
end
CinnabarIsland_Gym_EventScript_Quiz3:: @ 816DDD3
CinnabarIsland_Gym_EventScript_Quiz3::
msgbox CinnabarIsland_Gym_Text_PokemonQuizRules
msgbox CinnabarIsland_Gym_Text_QuizQuestion3, MSGBOX_YESNO
compare VAR_RESULT, YES
@@ -402,14 +402,14 @@ CinnabarIsland_Gym_EventScript_Quiz3:: @ 816DDD3
goto_if_eq CinnabarIsland_Gym_EventScript_Quiz3Correct
end
CinnabarIsland_Gym_EventScript_Quiz3Correct:: @ 816DDFA
CinnabarIsland_Gym_EventScript_Quiz3Correct::
call CinnabarIsland_Gym_EventScript_CorrectAnswer
goto_if_set FLAG_CINNABAR_GYM_QUIZ_3, CinnabarIsland_Gym_EventScript_DoorAlreadyOpen
call CinnabarIsland_Gym_EventScript_Quiz3Complete
releaseall
end
CinnabarIsland_Gym_EventScript_Quiz3Complete:: @ 816DE0F
CinnabarIsland_Gym_EventScript_Quiz3Complete::
playse SE_UNLOCK
waitse
call CinnabarIsland_Gym_EventScript_OpenDoor3
@@ -417,13 +417,13 @@ CinnabarIsland_Gym_EventScript_Quiz3Complete:: @ 816DE0F
setflag FLAG_CINNABAR_GYM_QUIZ_3
return
CinnabarIsland_Gym_EventScript_Quiz3Incorrect:: @ 816DE1F
CinnabarIsland_Gym_EventScript_Quiz3Incorrect::
call CinnabarIsland_Gym_EventScript_IncorrectAnswer
goto_if_not_defeated TRAINER_BURGLAR_RAMON, CinnabarIsland_Gym_EventScript_BattleRamon
releaseall
end
CinnabarIsland_Gym_EventScript_BattleRamon:: @ 816DE2F
CinnabarIsland_Gym_EventScript_BattleRamon::
compare VAR_TEMP_1, 0
call_if_eq CinnabarIsland_Gym_EventScript_RamonApproachLeft
compare VAR_TEMP_1, 1
@@ -436,40 +436,40 @@ CinnabarIsland_Gym_EventScript_BattleRamon:: @ 816DE2F
releaseall
end
CinnabarIsland_Gym_EventScript_RamonApproachLeft:: @ 816DE69
CinnabarIsland_Gym_EventScript_RamonApproachLeft::
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
applymovement LOCALID_RAMON, CinnabarIsland_Gym_Movement_RamonApproachLeft
waitmovement 0
return
CinnabarIsland_Gym_EventScript_RamonApproachRight:: @ 816DE7B
CinnabarIsland_Gym_EventScript_RamonApproachRight::
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
applymovement LOCALID_RAMON, CinnabarIsland_Gym_Movement_RamonApproachRight
waitmovement 0
return
CinnabarIsland_Gym_Movement_RamonApproachLeft:: @ 816DE8D
CinnabarIsland_Gym_Movement_RamonApproachLeft::
walk_left
walk_left
step_end
CinnabarIsland_Gym_Movement_RamonApproachRight:: @ 816DE90
CinnabarIsland_Gym_Movement_RamonApproachRight::
walk_left
step_end
CinnabarIsland_Gym_EventScript_Quiz4Left:: @ 816DE92
CinnabarIsland_Gym_EventScript_Quiz4Left::
lockall
setvar VAR_TEMP_1, 0
goto CinnabarIsland_Gym_EventScript_Quiz4
end
CinnabarIsland_Gym_EventScript_Quiz4Right:: @ 816DE9E
CinnabarIsland_Gym_EventScript_Quiz4Right::
lockall
setvar VAR_TEMP_1, 1
goto CinnabarIsland_Gym_EventScript_Quiz4
end
CinnabarIsland_Gym_EventScript_Quiz4:: @ 816DEAA
CinnabarIsland_Gym_EventScript_Quiz4::
msgbox CinnabarIsland_Gym_Text_PokemonQuizRules
msgbox CinnabarIsland_Gym_Text_QuizQuestion4, MSGBOX_YESNO
compare VAR_RESULT, YES
@@ -478,14 +478,14 @@ CinnabarIsland_Gym_EventScript_Quiz4:: @ 816DEAA
goto_if_eq CinnabarIsland_Gym_EventScript_Quiz4Correct
end
CinnabarIsland_Gym_EventScript_Quiz4Correct:: @ 816DED1
CinnabarIsland_Gym_EventScript_Quiz4Correct::
call CinnabarIsland_Gym_EventScript_CorrectAnswer
goto_if_set FLAG_CINNABAR_GYM_QUIZ_4, CinnabarIsland_Gym_EventScript_DoorAlreadyOpen
call CinnabarIsland_Gym_EventScript_Quiz4Complete
releaseall
end
CinnabarIsland_Gym_EventScript_Quiz4Complete:: @ 816DEE6
CinnabarIsland_Gym_EventScript_Quiz4Complete::
playse SE_UNLOCK
waitse
call CinnabarIsland_Gym_EventScript_OpenDoor4
@@ -493,13 +493,13 @@ CinnabarIsland_Gym_EventScript_Quiz4Complete:: @ 816DEE6
setflag FLAG_CINNABAR_GYM_QUIZ_4
return
CinnabarIsland_Gym_EventScript_Quiz4Incorrect:: @ 816DEF6
CinnabarIsland_Gym_EventScript_Quiz4Incorrect::
call CinnabarIsland_Gym_EventScript_IncorrectAnswer
goto_if_not_defeated TRAINER_SUPER_NERD_DEREK, CinnabarIsland_Gym_EventScript_BattleDerek
releaseall
end
CinnabarIsland_Gym_EventScript_BattleDerek:: @ 816DF06
CinnabarIsland_Gym_EventScript_BattleDerek::
compare VAR_TEMP_1, 0
call_if_eq CinnabarIsland_Gym_EventScript_DerekApproachLeft
compare VAR_TEMP_1, 1
@@ -512,40 +512,40 @@ CinnabarIsland_Gym_EventScript_BattleDerek:: @ 816DF06
releaseall
end
CinnabarIsland_Gym_EventScript_DerekApproachLeft:: @ 816DF40
CinnabarIsland_Gym_EventScript_DerekApproachLeft::
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
applymovement LOCALID_DEREK, CinnabarIsland_Gym_Movement_DerekApproachLeft
waitmovement 0
return
CinnabarIsland_Gym_EventScript_DerekApproachRight:: @ 816DF52
CinnabarIsland_Gym_EventScript_DerekApproachRight::
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
applymovement LOCALID_DEREK, CinnabarIsland_Gym_Movement_DerekApproachRight
waitmovement 0
return
CinnabarIsland_Gym_Movement_DerekApproachLeft:: @ 816DF64
CinnabarIsland_Gym_Movement_DerekApproachLeft::
walk_left
walk_left
step_end
CinnabarIsland_Gym_Movement_DerekApproachRight:: @ 816DF67
CinnabarIsland_Gym_Movement_DerekApproachRight::
walk_left
step_end
CinnabarIsland_Gym_EventScript_Quiz5Left:: @ 816DF69
CinnabarIsland_Gym_EventScript_Quiz5Left::
lockall
setvar VAR_TEMP_1, 0
goto CinnabarIsland_Gym_EventScript_Quiz5
end
CinnabarIsland_Gym_EventScript_Quiz5Right:: @ 816DF75
CinnabarIsland_Gym_EventScript_Quiz5Right::
lockall
setvar VAR_TEMP_1, 1
goto CinnabarIsland_Gym_EventScript_Quiz5
end
CinnabarIsland_Gym_EventScript_Quiz5:: @ 816DF81
CinnabarIsland_Gym_EventScript_Quiz5::
msgbox CinnabarIsland_Gym_Text_PokemonQuizRules
msgbox CinnabarIsland_Gym_Text_QuizQuestion5, MSGBOX_YESNO
compare VAR_RESULT, YES
@@ -554,14 +554,14 @@ CinnabarIsland_Gym_EventScript_Quiz5:: @ 816DF81
goto_if_eq CinnabarIsland_Gym_EventScript_Quiz5Incorrect
end
CinnabarIsland_Gym_EventScript_Quiz5Correct:: @ 816DFA8
CinnabarIsland_Gym_EventScript_Quiz5Correct::
call CinnabarIsland_Gym_EventScript_CorrectAnswer
goto_if_set FLAG_CINNABAR_GYM_QUIZ_5, CinnabarIsland_Gym_EventScript_DoorAlreadyOpen
call CinnabarIsland_Gym_EventScript_Quiz5Complete
releaseall
end
CinnabarIsland_Gym_EventScript_Quiz5Complete:: @ 816DFBD
CinnabarIsland_Gym_EventScript_Quiz5Complete::
playse SE_UNLOCK
waitse
call CinnabarIsland_Gym_EventScript_OpenDoor5
@@ -569,13 +569,13 @@ CinnabarIsland_Gym_EventScript_Quiz5Complete:: @ 816DFBD
setflag FLAG_CINNABAR_GYM_QUIZ_5
return
CinnabarIsland_Gym_EventScript_Quiz5Incorrect:: @ 816DFCD
CinnabarIsland_Gym_EventScript_Quiz5Incorrect::
call CinnabarIsland_Gym_EventScript_IncorrectAnswer
goto_if_not_defeated TRAINER_BURGLAR_DUSTY, CinnabarIsland_Gym_EventScript_BattleDusty
releaseall
end
CinnabarIsland_Gym_EventScript_BattleDusty:: @ 816DFDD
CinnabarIsland_Gym_EventScript_BattleDusty::
compare VAR_TEMP_1, 0
call_if_eq CinnabarIsland_Gym_EventScript_DustyApproachLeft
compare VAR_TEMP_1, 1
@@ -588,40 +588,40 @@ CinnabarIsland_Gym_EventScript_BattleDusty:: @ 816DFDD
releaseall
end
CinnabarIsland_Gym_EventScript_DustyApproachLeft:: @ 816E017
CinnabarIsland_Gym_EventScript_DustyApproachLeft::
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
applymovement LOCALID_DUSTY, CinnabarIsland_Gym_Movement_DustyApproachLeft
waitmovement 0
return
CinnabarIsland_Gym_EventScript_DustyApproachRight:: @ 816E029
CinnabarIsland_Gym_EventScript_DustyApproachRight::
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
applymovement LOCALID_DUSTY, CinnabarIsland_Gym_Movement_DustyApproachRight
waitmovement 0
return
CinnabarIsland_Gym_Movement_DustyApproachLeft:: @ 816E03B
CinnabarIsland_Gym_Movement_DustyApproachLeft::
walk_left
walk_left
step_end
CinnabarIsland_Gym_Movement_DustyApproachRight:: @ 816E03E
CinnabarIsland_Gym_Movement_DustyApproachRight::
walk_left
step_end
CinnabarIsland_Gym_EventScript_Quiz6Left:: @ 816E040
CinnabarIsland_Gym_EventScript_Quiz6Left::
lockall
setvar VAR_TEMP_1, 0
goto CinnabarIsland_Gym_EventScript_Quiz6
end
CinnabarIsland_Gym_EventScript_Quiz6Right:: @ 816E04C
CinnabarIsland_Gym_EventScript_Quiz6Right::
lockall
setvar VAR_TEMP_1, 1
goto CinnabarIsland_Gym_EventScript_Quiz6
end
CinnabarIsland_Gym_EventScript_Quiz6:: @ 816E058
CinnabarIsland_Gym_EventScript_Quiz6::
msgbox CinnabarIsland_Gym_Text_PokemonQuizRules
msgbox CinnabarIsland_Gym_Text_QuizQuestion6, MSGBOX_YESNO
compare VAR_RESULT, YES
@@ -630,14 +630,14 @@ CinnabarIsland_Gym_EventScript_Quiz6:: @ 816E058
goto_if_eq CinnabarIsland_Gym_EventScript_Quiz6Correct
end
CinnabarIsland_Gym_EventScript_Quiz6Correct:: @ 816E07F
CinnabarIsland_Gym_EventScript_Quiz6Correct::
call CinnabarIsland_Gym_EventScript_CorrectAnswer
goto_if_set FLAG_CINNABAR_GYM_QUIZ_6, CinnabarIsland_Gym_EventScript_DoorAlreadyOpen
call CinnabarIsland_Gym_EventScript_Quiz6Complete
releaseall
end
CinnabarIsland_Gym_EventScript_Quiz6Complete:: @ 816E094
CinnabarIsland_Gym_EventScript_Quiz6Complete::
playse SE_UNLOCK
waitse
call CinnabarIsland_Gym_EventScript_OpenDoor6
@@ -645,13 +645,13 @@ CinnabarIsland_Gym_EventScript_Quiz6Complete:: @ 816E094
setflag FLAG_CINNABAR_GYM_QUIZ_6
return
CinnabarIsland_Gym_EventScript_Quiz6Incorrect:: @ 816E0A4
CinnabarIsland_Gym_EventScript_Quiz6Incorrect::
call CinnabarIsland_Gym_EventScript_IncorrectAnswer
goto_if_not_defeated TRAINER_SUPER_NERD_ZAC, CinnabarIsland_Gym_EventScript_BattleZac
releaseall
end
CinnabarIsland_Gym_EventScript_BattleZac:: @ 816E0B4
CinnabarIsland_Gym_EventScript_BattleZac::
compare VAR_TEMP_1, 0
call_if_eq CinnabarIsland_Gym_EventScript_ZacApproachLeft
compare VAR_TEMP_1, 1
@@ -664,28 +664,28 @@ CinnabarIsland_Gym_EventScript_BattleZac:: @ 816E0B4
releaseall
end
CinnabarIsland_Gym_EventScript_ZacApproachLeft:: @ 816E0EE
CinnabarIsland_Gym_EventScript_ZacApproachLeft::
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
applymovement LOCALID_ZAC, CinnabarIsland_Gym_Movement_ZacApproachLeft
waitmovement 0
return
CinnabarIsland_Gym_EventScript_ZacApproachRight:: @ 816E100
CinnabarIsland_Gym_EventScript_ZacApproachRight::
applymovement OBJ_EVENT_ID_PLAYER, Movement_WalkInPlaceFastestRight
applymovement LOCALID_ZAC, CinnabarIsland_Gym_Movement_ZacApproachRight
waitmovement 0
return
CinnabarIsland_Gym_Movement_ZacApproachLeft:: @ 816E112
CinnabarIsland_Gym_Movement_ZacApproachLeft::
walk_left
walk_left
step_end
CinnabarIsland_Gym_Movement_ZacApproachRight:: @ 816E115
CinnabarIsland_Gym_Movement_ZacApproachRight::
walk_left
step_end
CinnabarIsland_Gym_EventScript_OpenDoor1:: @ 816E117
CinnabarIsland_Gym_EventScript_OpenDoor1::
setmetatile 26, 8, METATILE_CinnabarGym_Floor_WallLeftCorner, 0
setmetatile 27, 8, METATILE_CinnabarGym_Floor_WallRightCorner, 0
setmetatile 26, 9, METATILE_CinnabarGym_Floor_WallLeftEdge, 0
@@ -695,7 +695,7 @@ CinnabarIsland_Gym_EventScript_OpenDoor1:: @ 816E117
setmetatile 28, 10, METATILE_CinnabarGym_Floor_ShadeDiagonal, 0
return
CinnabarIsland_Gym_EventScript_OpenDoor2:: @ 816E157
CinnabarIsland_Gym_EventScript_OpenDoor2::
setmetatile 17, 8, METATILE_CinnabarGym_Floor_WallLeftCorner, 0
setmetatile 18, 8, METATILE_CinnabarGym_Floor_WallRightCorner, 0
setmetatile 17, 9, METATILE_CinnabarGym_Floor_WallLeftEdge, 0
@@ -705,7 +705,7 @@ CinnabarIsland_Gym_EventScript_OpenDoor2:: @ 816E157
setmetatile 19, 10, METATILE_CinnabarGym_Floor_ShadeDiagonal, 0
return
CinnabarIsland_Gym_EventScript_OpenDoor3:: @ 816E197
CinnabarIsland_Gym_EventScript_OpenDoor3::
setmetatile 17, 15, METATILE_CinnabarGym_Floor_WallLeftCorner, 0
setmetatile 18, 15, METATILE_CinnabarGym_Floor_WallRightCorner, 0
setmetatile 17, 16, METATILE_CinnabarGym_Floor_WallLeftEdge, 0
@@ -715,13 +715,13 @@ CinnabarIsland_Gym_EventScript_OpenDoor3:: @ 816E197
setmetatile 19, 17, METATILE_CinnabarGym_Floor_ShadeDiagonal, 0
return
CinnabarIsland_Gym_EventScript_OpenDoor4:: @ 816E1D7
CinnabarIsland_Gym_EventScript_OpenDoor4::
setmetatile 11, 21, METATILE_CinnabarGym_Wall_RetractedBarrier, 1
setmetatile 11, 22, METATILE_CinnabarGym_Floor_ShadeFull, 0
setmetatile 11, 23, METATILE_CinnabarGym_Floor, 0
return
CinnabarIsland_Gym_EventScript_OpenDoor5:: @ 816E1F3
CinnabarIsland_Gym_EventScript_OpenDoor5::
setmetatile 5, 16, METATILE_CinnabarGym_Floor_WallLeftCorner, 0
setmetatile 6, 16, METATILE_CinnabarGym_Floor_WallRightCorner, 0
setmetatile 5, 17, METATILE_CinnabarGym_Floor_WallLeftEdge, 0
@@ -731,7 +731,7 @@ CinnabarIsland_Gym_EventScript_OpenDoor5:: @ 816E1F3
setmetatile 7, 18, METATILE_CinnabarGym_Floor_ShadeDiagonal, 0
return
CinnabarIsland_Gym_EventScript_OpenDoor6:: @ 816E233
CinnabarIsland_Gym_EventScript_OpenDoor6::
setmetatile 5, 8, METATILE_CinnabarGym_Floor_WallLeftCorner, 0
setmetatile 6, 8, METATILE_CinnabarGym_Floor_WallRightCorner, 0
setmetatile 5, 9, METATILE_CinnabarGym_Floor_WallLeftEdge, 0
+41 -41
View File
@@ -1,4 +1,4 @@
CinnabarIsland_Gym_Text_BlaineIntro:: @ 8199543
CinnabarIsland_Gym_Text_BlaineIntro::
.string "Hah!\p"
.string "I am BLAINE, the red-hot LEADER\n"
.string "of CINNABAR GYM!\p"
@@ -8,91 +8,91 @@ CinnabarIsland_Gym_Text_BlaineIntro:: @ 8199543
.string "Hah!\n"
.string "You better have BURN HEAL!{PLAY_BGM}{MUS_ENCOUNTER_GYM_LEADER}$"
CinnabarIsland_Gym_Text_BlaineDefeat:: @ 81995FA
CinnabarIsland_Gym_Text_BlaineDefeat::
.string "I have burned down to nothing!\n"
.string "Not even ashes remain!\p"
.string "You have earned the VOLCANOBADGE.$"
CinnabarIsland_Gym_Text_FireBlastIsUltimateFireMove:: @ 8199652
CinnabarIsland_Gym_Text_FireBlastIsUltimateFireMove::
.string "FIRE BLAST is the ultimate fire\n"
.string "technique.\p"
.string "Don't waste it on WATER POKéMON.$"
CinnabarIsland_Gym_Text_ExplainVolcanoBadge:: @ 819969E
CinnabarIsland_Gym_Text_ExplainVolcanoBadge::
.string "Hah!\p"
.string "The VOLCANOBADGE heightens the\n"
.string "SPECIAL stats of your POKéMON.\p"
.string "Here, you can have this, too!$"
CinnabarIsland_Gym_Text_ReceivedTM38FromBlaine:: @ 81996FF
CinnabarIsland_Gym_Text_ReceivedTM38FromBlaine::
.string "{PLAYER} received TM38\n"
.string "from BLAINE.$"
CinnabarIsland_Gym_Text_BlainePostBattle:: @ 819971D
CinnabarIsland_Gym_Text_BlainePostBattle::
.string "TM38 contains FIRE BLAST.\n"
.string "Teach it to FIRE-type POKéMON.\p"
.string "VULPIX or CHARMELEON would be\n"
.string "ideal for that move.$"
CinnabarIsland_Gym_Text_MakeSpaceForThis:: @ 8199789
CinnabarIsland_Gym_Text_MakeSpaceForThis::
.string "Make space for this, child!$"
CinnabarIsland_Gym_Text_ErikIntro:: @ 81997A5
CinnabarIsland_Gym_Text_ErikIntro::
.string "Do you know how hot POKéMON fire\n"
.string "breath can get?$"
CinnabarIsland_Gym_Text_ErikDefeat:: @ 81997D6
CinnabarIsland_Gym_Text_ErikDefeat::
.string "Yow!\n"
.string "Hot, hot, hot!$"
CinnabarIsland_Gym_Text_ErikPostBattle:: @ 81997EA
CinnabarIsland_Gym_Text_ErikPostBattle::
.string "Fire, or to be more precise,\n"
.string "combustion…\p"
.string "…Oxygen in the air…\n"
.string "Blah, blah, blah, blah…$"
CinnabarIsland_Gym_Text_QuinnIntro:: @ 819983F
CinnabarIsland_Gym_Text_QuinnIntro::
.string "I was a thief, but I went straight\n"
.string "as a TRAINER.$"
CinnabarIsland_Gym_Text_QuinnDefeat:: @ 8199870
CinnabarIsland_Gym_Text_QuinnDefeat::
.string "I surrender!$"
CinnabarIsland_Gym_Text_QuinnPostBattle:: @ 819987D
CinnabarIsland_Gym_Text_QuinnPostBattle::
.string "I get this uncontrollable urge to\n"
.string "steal other people's POKéMON.$"
CinnabarIsland_Gym_Text_AveryIntro:: @ 81998BD
CinnabarIsland_Gym_Text_AveryIntro::
.string "I've studied POKéMON thoroughly.\n"
.string "You can't win!$"
CinnabarIsland_Gym_Text_AveryDefeat:: @ 81998ED
CinnabarIsland_Gym_Text_AveryDefeat::
.string "Waah!\n"
.string "My studies were insufficient!$"
CinnabarIsland_Gym_Text_AveryPostBattle:: @ 8199911
CinnabarIsland_Gym_Text_AveryPostBattle::
.string "My theories are too complicated\n"
.string "for you to understand.$"
CinnabarIsland_Gym_Text_RamonIntro:: @ 8199948
CinnabarIsland_Gym_Text_RamonIntro::
.string "I like using FIRE-type POKéMON.\n"
.string "I just do.$"
CinnabarIsland_Gym_Text_RamonDefeat:: @ 8199973
CinnabarIsland_Gym_Text_RamonDefeat::
.string "Too hot to handle!$"
CinnabarIsland_Gym_Text_RamonPostBattle:: @ 8199986
CinnabarIsland_Gym_Text_RamonPostBattle::
.string "I wish there were a thief POKéMON.\n"
.string "I'd use that!$"
CinnabarIsland_Gym_Text_DerekIntro:: @ 81999B7
CinnabarIsland_Gym_Text_DerekIntro::
.string "I know why BLAINE became a\n"
.string "TRAINER.$"
CinnabarIsland_Gym_Text_DerekDefeat:: @ 81999DB
CinnabarIsland_Gym_Text_DerekDefeat::
.string "Ow!$"
CinnabarIsland_Gym_Text_DerekPostBattle:: @ 81999DF
CinnabarIsland_Gym_Text_DerekPostBattle::
.string "Our LEADER, BLAINE, became lost\n"
.string "in the mountains but good.\p"
.string "Night fell when a fiery bird\n"
@@ -100,31 +100,31 @@ CinnabarIsland_Gym_Text_DerekPostBattle:: @ 81999DF
.string "Its light allowed BLAINE to find\n"
.string "his way down safely.$"
CinnabarIsland_Gym_Text_DustyIntro:: @ 8199A7F
CinnabarIsland_Gym_Text_DustyIntro::
.string "I've been to many GYMS, but this\n"
.string "one best suits my style.$"
CinnabarIsland_Gym_Text_DustyDefeat:: @ 8199AB9
CinnabarIsland_Gym_Text_DustyDefeat::
.string "Yowza!\n"
.string "Too hot!$"
CinnabarIsland_Gym_Text_DustyPostBattle:: @ 8199AC9
CinnabarIsland_Gym_Text_DustyPostBattle::
.string "PONYTA, NINETALES…\n"
.string "Those are popular FIRE POKéMON.$"
CinnabarIsland_Gym_Text_ZacIntro:: @ 8199AFC
CinnabarIsland_Gym_Text_ZacIntro::
.string "Fire is weak against H2O.$"
CinnabarIsland_Gym_Text_ZacDefeat:: @ 8199B16
CinnabarIsland_Gym_Text_ZacDefeat::
.string "Oh!\n"
.string "Snuffed out!$"
CinnabarIsland_Gym_Text_ZacPostBattle:: @ 8199B27
CinnabarIsland_Gym_Text_ZacPostBattle::
.string "Water beats fire, of course.\p"
.string "But fire melts ice, so the FIRE\n"
.string "type beats ICE-type POKéMON.$"
CinnabarIsland_Gym_Text_GymGuyAdvice:: @ 8199B81
CinnabarIsland_Gym_Text_GymGuyAdvice::
.string "Yo!\n"
.string "Champ in the making!\p"
.string "The hotheaded BLAINE is a FIRE\n"
@@ -133,23 +133,23 @@ CinnabarIsland_Gym_Text_GymGuyAdvice:: @ 8199B81
.string "You'd better take some\n"
.string "BURN HEALS, too.$"
CinnabarIsland_Gym_Text_GymGuyPostVictory:: @ 8199C0C
CinnabarIsland_Gym_Text_GymGuyPostVictory::
.string "{PLAYER}!\n"
.string "You beat that firebrand!$"
CinnabarIsland_Gym_Text_GymStatue:: @ 8199C29
CinnabarIsland_Gym_Text_GymStatue::
.string "CINNABAR POKéMON GYM\n"
.string "LEADER: BLAINE\p"
.string "WINNING TRAINERS:\n"
.string "{RIVAL}$"
CinnabarIsland_Gym_Text_GymStatuePlayerWon:: @ 8199C62
CinnabarIsland_Gym_Text_GymStatuePlayerWon::
.string "CINNABAR POKéMON GYM\n"
.string "LEADER: BLAINE\p"
.string "WINNING TRAINERS:\n"
.string "{RIVAL}, {PLAYER}$"
CinnabarIsland_Gym_Text_PokemonQuizRules:: @ 8199C9F
CinnabarIsland_Gym_Text_PokemonQuizRules::
.string "POKéMON Quiz!\p"
.string "Get it right, and the door opens to\n"
.string "the next room.\p"
@@ -159,32 +159,32 @@ CinnabarIsland_Gym_Text_PokemonQuizRules:: @ 8199C9F
.string "Then get it right!\n"
.string "Here we go!$"
CinnabarIsland_Gym_Text_QuizQuestion1:: @ 8199D5A
CinnabarIsland_Gym_Text_QuizQuestion1::
.string "CATERPIE evolves into METAPOD?$"
CinnabarIsland_Gym_Text_QuizQuestion2:: @ 8199D79
CinnabarIsland_Gym_Text_QuizQuestion2::
.string "There are nine certified POKéMON\n"
.string "LEAGUE BADGES?$"
CinnabarIsland_Gym_Text_QuizQuestion3:: @ 8199DA9
CinnabarIsland_Gym_Text_QuizQuestion3::
.string "POLIWAG evolves three times?$"
CinnabarIsland_Gym_Text_QuizQuestion4:: @ 8199DC6
CinnabarIsland_Gym_Text_QuizQuestion4::
.string "Are electric moves effective\n"
.string "against GROUND-type POKéMON?$"
CinnabarIsland_Gym_Text_QuizQuestion5:: @ 8199E00
CinnabarIsland_Gym_Text_QuizQuestion5::
.string "POKéMON of the same kind and level\n"
.string "are not identical?$"
CinnabarIsland_Gym_Text_QuizQuestion6:: @ 8199E36
CinnabarIsland_Gym_Text_QuizQuestion6::
.string "TM28 contains TOMBSTONY?$"
CinnabarIsland_Gym_Text_CorrectGoOnThrough:: @ 8199E4F
CinnabarIsland_Gym_Text_CorrectGoOnThrough::
.string "You're absolutely correct!\p"
.string "Go on through!$"
CinnabarIsland_Gym_Text_SorryBadCall:: @ 8199E79
CinnabarIsland_Gym_Text_SorryBadCall::
.string "Sorry!\n"
.string "Bad call!$"
+5 -5
View File
@@ -1,15 +1,15 @@
CinnabarIsland_Mart_MapScripts:: @ 816EA0F
CinnabarIsland_Mart_MapScripts::
.byte 0
CinnabarIsland_Mart_EventScript_Woman:: @ 816EA10
CinnabarIsland_Mart_EventScript_Woman::
msgbox CinnabarIsland_Mart_Text_DontTheyHaveXAttack, MSGBOX_NPC
end
CinnabarIsland_Mart_EventScript_Scientist:: @ 816EA19
CinnabarIsland_Mart_EventScript_Scientist::
msgbox CinnabarIsland_Mart_Text_ExtraItemsNeverHurt, MSGBOX_NPC
end
CinnabarIsland_Mart_EventScript_Clerk:: @ 816EA22
CinnabarIsland_Mart_EventScript_Clerk::
goto_if_questlog EventScript_ReleaseEnd
lock
faceplayer
@@ -21,7 +21,7 @@ CinnabarIsland_Mart_EventScript_Clerk:: @ 816EA22
end
.align 2
CinnabarIsland_Mart_Items:: @ 816EA48
CinnabarIsland_Mart_Items::
.2byte ITEM_ULTRA_BALL
.2byte ITEM_GREAT_BALL
.2byte ITEM_HYPER_POTION
+2 -2
View File
@@ -1,9 +1,9 @@
CinnabarIsland_Mart_Text_DontTheyHaveXAttack:: @ 819A7A0
CinnabarIsland_Mart_Text_DontTheyHaveXAttack::
.string "Don't they have X ATTACK?\p"
.string "I like it because it raises the\n"
.string "ATTACK stat in battle.$"
CinnabarIsland_Mart_Text_ExtraItemsNeverHurt:: @ 819A7F1
CinnabarIsland_Mart_Text_ExtraItemsNeverHurt::
.string "It never hurts to have extra items.\n"
.string "You never know what might happen.$"
@@ -1,34 +1,34 @@
.set LOCALID_BILL, 7
CinnabarIsland_PokemonCenter_1F_MapScripts:: @ 816E8D7
CinnabarIsland_PokemonCenter_1F_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CinnabarIsland_PokemonCenter_1F_OnTransition
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
.byte 0
CinnabarIsland_PokemonCenter_1F_OnTransition:: @ 816E8E2
CinnabarIsland_PokemonCenter_1F_OnTransition::
setrespawn SPAWN_CINNABAR_ISLAND
end
CinnabarIsland_PokemonCenter_1F_EventScript_Nurse:: @ 816E8E6
CinnabarIsland_PokemonCenter_1F_EventScript_Nurse::
lock
faceplayer
call EventScript_PkmnCenterNurse
release
end
CinnabarIsland_PokemonCenter_1F_EventScript_Gentleman:: @ 816E8EF
CinnabarIsland_PokemonCenter_1F_EventScript_Gentleman::
msgbox CinnabarIsland_PokemonCenter_1F_Text_VisitUnionRoom, MSGBOX_NPC
end
CinnabarIsland_PokemonCenter_1F_EventScript_CooltrainerF:: @ 816E8F8
CinnabarIsland_PokemonCenter_1F_EventScript_CooltrainerF::
msgbox CinnabarIsland_PokemonCenter_1F_Text_CinnabarGymLocked, MSGBOX_NPC
end
CinnabarIsland_PokemonCenter_1F_EventScript_Youngster:: @ 816E901
CinnabarIsland_PokemonCenter_1F_EventScript_Youngster::
msgbox CinnabarIsland_PokemonCenter_1F_Text_EvolutionCanWaitForNewMoves, MSGBOX_NPC
end
CinnabarIsland_PokemonCenter_1F_EventScript_Bill:: @ 816E90A
CinnabarIsland_PokemonCenter_1F_EventScript_Bill::
lock
faceplayer
msgbox CinnabarIsland_PokemonCenter_1F_Text_ReadyToSailToOneIsland, MSGBOX_YESNO
@@ -55,30 +55,30 @@ CinnabarIsland_PokemonCenter_1F_EventScript_Bill:: @ 816E90A
release
end
CinnabarIsland_PokemonCenter_1F_EventScript_ExitWithBillSouth:: @ 816E96F
CinnabarIsland_PokemonCenter_1F_EventScript_ExitWithBillSouth::
applymovement LOCALID_BILL, CinnabarIsland_PokemonCenter_1F_Movement_BillExit
applymovement OBJ_EVENT_ID_PLAYER, CinnabarIsland_PokemonCenter_1F_Movement_PlayerExitSouth
waitmovement 0
return
CinnabarIsland_PokemonCenter_1F_EventScript_ExitWithBillEast:: @ 816E981
CinnabarIsland_PokemonCenter_1F_EventScript_ExitWithBillEast::
applymovement LOCALID_BILL, CinnabarIsland_PokemonCenter_1F_Movement_BillExitEast
applymovement OBJ_EVENT_ID_PLAYER, CinnabarIsland_PokemonCenter_1F_Movement_PlayerExitEast
waitmovement 0
return
CinnabarIsland_PokemonCenter_1F_EventScript_ExitWithBillWest:: @ 816E993
CinnabarIsland_PokemonCenter_1F_EventScript_ExitWithBillWest::
applymovement LOCALID_BILL, CinnabarIsland_PokemonCenter_1F_Movement_BillExit
applymovement OBJ_EVENT_ID_PLAYER, CinnabarIsland_PokemonCenter_1F_Movement_PlayerExitWest
waitmovement 0
return
CinnabarIsland_PokemonCenter_1F_EventScript_NotReadyToSail:: @ 816E9A5
CinnabarIsland_PokemonCenter_1F_EventScript_NotReadyToSail::
msgbox CinnabarIsland_PokemonCenter_1F_Text_OhNotDoneYet
release
end
CinnabarIsland_PokemonCenter_1F_Movement_BillExit:: @ 816E9AF
CinnabarIsland_PokemonCenter_1F_Movement_BillExit::
walk_left
walk_left
walk_left
@@ -90,7 +90,7 @@ CinnabarIsland_PokemonCenter_1F_Movement_BillExit:: @ 816E9AF
set_invisible
step_end
CinnabarIsland_PokemonCenter_1F_Movement_PlayerExitSouth:: @ 816E9B9
CinnabarIsland_PokemonCenter_1F_Movement_PlayerExitSouth::
walk_down
walk_left
walk_left
@@ -102,7 +102,7 @@ CinnabarIsland_PokemonCenter_1F_Movement_PlayerExitSouth:: @ 816E9B9
walk_down
step_end
CinnabarIsland_PokemonCenter_1F_Movement_BillExitEast:: @ 816E9C3
CinnabarIsland_PokemonCenter_1F_Movement_BillExitEast::
walk_up
walk_left
walk_left
@@ -116,7 +116,7 @@ CinnabarIsland_PokemonCenter_1F_Movement_BillExitEast:: @ 816E9C3
set_invisible
step_end
CinnabarIsland_PokemonCenter_1F_Movement_PlayerExitEast:: @ 816E9CF
CinnabarIsland_PokemonCenter_1F_Movement_PlayerExitEast::
delay_16
delay_16
delay_16
@@ -133,7 +133,7 @@ CinnabarIsland_PokemonCenter_1F_Movement_PlayerExitEast:: @ 816E9CF
set_invisible
step_end
CinnabarIsland_PokemonCenter_1F_Movement_PlayerExitWest:: @ 816E9DE
CinnabarIsland_PokemonCenter_1F_Movement_PlayerExitWest::
walk_left
walk_left
walk_left
@@ -1,4 +1,4 @@
CinnabarIsland_PokemonCenter_1F_Text_CinnabarGymLocked:: @ 819A4F8
CinnabarIsland_PokemonCenter_1F_Text_CinnabarGymLocked::
.string "I came to visit the CINNABAR GYM,\n"
.string "but the door is locked tight.\p"
.string "There should be a key for it\n"
@@ -8,7 +8,7 @@ CinnabarIsland_PokemonCenter_1F_Text_CinnabarGymLocked:: @ 819A4F8
.string "The GYM LEADER's friend used to\n"
.string "live there, they say.$"
CinnabarIsland_PokemonCenter_1F_Text_VisitUnionRoom:: @ 819A5BE
CinnabarIsland_PokemonCenter_1F_Text_VisitUnionRoom::
.string "Do you have lots of friends?\p"
.string "Linking up with the usual friends\n"
.string "is fun, of course.\p"
@@ -19,20 +19,20 @@ CinnabarIsland_PokemonCenter_1F_Text_VisitUnionRoom:: @ 819A5BE
.string "I think it would be worth your time\n"
.string "to check the UNION ROOM.$"
CinnabarIsland_PokemonCenter_1F_Text_EvolutionCanWaitForNewMoves:: @ 819A6B1
CinnabarIsland_PokemonCenter_1F_Text_EvolutionCanWaitForNewMoves::
.string "POKéMON can still learn techniques\n"
.string "after canceling evolution.\p"
.string "Evolution can wait until new moves\n"
.string "have been learned.$"
CinnabarIsland_PokemonCenter_1F_Text_ReadyToSailToOneIsland:: @ 819A725
CinnabarIsland_PokemonCenter_1F_Text_ReadyToSailToOneIsland::
.string "BILL: Hey, you kept me waiting!\n"
.string "Ready to set sail to ONE ISLAND?$"
CinnabarIsland_PokemonCenter_1F_Text_OhNotDoneYet:: @ 819A766
CinnabarIsland_PokemonCenter_1F_Text_OhNotDoneYet::
.string "Oh, you're still not done yet?$"
CinnabarIsland_PokemonCenter_1F_Text_LetsGo:: @ 819A785
CinnabarIsland_PokemonCenter_1F_Text_LetsGo::
.string "Well, that's it.\n"
.string "Let's go!$"
@@ -1,4 +1,4 @@
CinnabarIsland_PokemonCenter_2F_MapScripts:: @ 816E9E8
CinnabarIsland_PokemonCenter_2F_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, CableClub_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, CableClub_OnWarp
map_script MAP_SCRIPT_ON_LOAD, CableClub_OnLoad
@@ -6,14 +6,14 @@ CinnabarIsland_PokemonCenter_2F_MapScripts:: @ 816E9E8
.byte 0
@ The below 3 are unused and leftover from RS
CinnabarIsland_PokemonCenter_2F_EventScript_Colosseum:: @ 816E9FD
CinnabarIsland_PokemonCenter_2F_EventScript_Colosseum::
call CableClub_EventScript_Colosseum
end
CinnabarIsland_PokemonCenter_2F_EventScript_TradeCenter:: @ 816EA03
CinnabarIsland_PokemonCenter_2F_EventScript_TradeCenter::
call CableClub_EventScript_TradeCenter
end
CinnabarIsland_PokemonCenter_2F_EventScript_RecordCorner:: @ 816EA09
CinnabarIsland_PokemonCenter_2F_EventScript_RecordCorner::
call CableClub_EventScript_RecordCorner
end
@@ -1,32 +1,32 @@
CinnabarIsland_PokemonLab_Entrance_MapScripts:: @ 816E273
CinnabarIsland_PokemonLab_Entrance_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CinnabarIsland_PokemonLab_Entrance_OnTransition
.byte 0
CinnabarIsland_PokemonLab_Entrance_OnTransition:: @ 816E279
CinnabarIsland_PokemonLab_Entrance_OnTransition::
compare VAR_MAP_SCENE_CINNABAR_ISLAND_POKEMON_LAB_EXPERIMENT_ROOM_REVIVE_STATE, 1
call_if_eq CinnabarIsland_PokemonLab_Entrance_EventScript_ReadyFossil
end
CinnabarIsland_PokemonLab_Entrance_EventScript_ReadyFossil:: @ 816E285
CinnabarIsland_PokemonLab_Entrance_EventScript_ReadyFossil::
setvar VAR_MAP_SCENE_CINNABAR_ISLAND_POKEMON_LAB_EXPERIMENT_ROOM_REVIVE_STATE, 2
return
CinnabarIsland_PokemonLab_Entrance_EventScript_Scientist:: @ 816E28B
CinnabarIsland_PokemonLab_Entrance_EventScript_Scientist::
msgbox CinnabarIsland_PokemonLab_Entrance_Text_StudyMonsExtensively, MSGBOX_NPC
end
CinnabarIsland_PokemonLab_Entrance_EventScript_DrFujiPhoto:: @ 816E294
CinnabarIsland_PokemonLab_Entrance_EventScript_DrFujiPhoto::
msgbox CinnabarIsland_PokemonLab_Entrance_Text_PhotoOfLabFounderDrFuji, MSGBOX_SIGN
end
CinnabarIsland_PokemonLab_Entrance_EventScript_MeetingRoomSign:: @ 816E29D
CinnabarIsland_PokemonLab_Entrance_EventScript_MeetingRoomSign::
msgbox CinnabarIsland_PokemonLab_Entrance_Text_MeetingRoomSign, MSGBOX_SIGN
end
CinnabarIsland_PokemonLab_Entrance_EventScript_RAndDRoomSign:: @ 816E2A6
CinnabarIsland_PokemonLab_Entrance_EventScript_RAndDRoomSign::
msgbox CinnabarIsland_PokemonLab_Entrance_Text_RAndDRoomSign, MSGBOX_SIGN
end
CinnabarIsland_PokemonLab_Entrance_EventScript_TestingRoomSign:: @ 816E2AF
CinnabarIsland_PokemonLab_Entrance_EventScript_TestingRoomSign::
msgbox CinnabarIsland_PokemonLab_Entrance_Text_TestingRoomSign, MSGBOX_SIGN
end

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