
It should be noted that variables 0x5084 to 0x7FFF are not actually valid scripting variables, and modifying them may overwrite game data (including Pokémon stored in the PC). Sometimes, a command will actually act on the variable itself rather than on its value (i.e. In most cases, commands that accept variables will extract the variables' values and use those values as input. The two-byte numeric identifier of any valid script variable that is, a word value greater than 0x3FFF. The value should be the offset (in ROM or RAM) of some piece of data that the command needs. Trainer battles: the rematch flag tableĪ dword.Finding the offset of a command's ASM (FireRed).0xD3 braille2 (acts like "getbraillewidth").

0xA6 cmda6 (acts like "settilemanager").0x9E checkanimation (acts like "waitanimation").0圆2 settrainerflag (acts like "cleartrainerflag").0圆1 cleartrainerflag (acts like "settrainerflag").0x5D repeattrainerbattle (acts like "dotrainerbattle").0x30 checksound (acts like "waitsound").0x1A copyvarifnotzero (acts like "copyorsetvar").Want to make a contribution? PM Spherical Ice on PokéCommunity, or e-mail him. Includes detailed descriptions of what the commands do, theĬommands above 0xD5 are not listed because they do This document is meant to serve as a comprehensive reference toĮach scripting command.
Pokémon FireRed scripting commands Pokémon FireRed Scripting Commands original document created by DavidJCobb with some revisions
