Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "description":"Does absolutely nothing.",
- "numParams":0,
- "name":"nop",
- "size":1
- },
- {
- "description":"Does absolutely nothing.",
- "numParams":0,
- "name":"nop1",
- "size":1
- },
- {
- "description":"Ends the execution of the script.",
- "numParams":0,
- "name":"end",
- "size":1
- },
- {
- "description":"Pops back to the last calling command used.",
- "numParams":0,
- "name":"return",
- "size":1
- },
- {
- "description":"Continues script execution from another point. Can be returned to.",
- "numParams":1,
- "name":"call",
- "size":5
- },
- {
- "description":"Continues script execution from another point.",
- "numParams":1,
- "name":"goto",
- "size":5
- },
- {
- "description":"If the last comparison returned a certain value, jumps to another script.",
- "numParams":2,
- "name":"if1",
- "size":6
- },
- {
- "description":"Calling version of the if command.",
- "numParams":2,
- "name":"if2",
- "size":6
- },
- {
- "description":"Jumps to a built-in function.",
- "numParams":1,
- "name":"gotostd",
- "size":2
- },
- {
- "description":"Calls a built-in function.",
- "numParams":1,
- "name":"callstd",
- "size":2
- },
- {
- "description":"Jumps to a built-in function, conditional version.",
- "numParams":2,
- "name":"gotostdif",
- "size":3
- },
- {
- "description":"Jumps to a built-in function, conditional version.",
- "numParams":2,
- "name":"callstdif",
- "size":3
- },
- {
- "description":"Jumps to a default RAM location, executing the script stored there.",
- "numParams":0,
- "name":"jumpram",
- "size":1
- },
- {
- "description":"Kills the script and resets the script RAM.",
- "numParams":0,
- "name":"killscript",
- "size":1
- },
- {
- "description":"Sets a predefined address to the specified byte value.",
- "numParams":1,
- "name":"setbyte",
- "size":2
- },
- {
- "description":"Loads a pointer into the script RAM so other commands can use it.",
- "numParams":2,
- "name":"loadpointer",
- "size":6
- },
- {
- "description":"Sets a memory bank to the specified byte value.",
- "numParams":2,
- "name":"setbyte2",
- "size":3
- },
- {
- "description":"Sets the byte at the specified offset to a certain value.",
- "numParams":2,
- "name":"writebytetooffset",
- "size":6
- },
- {
- "description":"Loads the byte found at a pointer into the script RAM so other commands can use it.",
- "numParams":2,
- "name":"loadbytefrompointer",
- "size":6
- },
- {
- "description":"Sets the byte into a specified pointer.",
- "numParams":2,
- "name":"setfarbyte",
- "size":6
- },
- {
- "description":"Copies one script bank to another.",
- "numParams":2,
- "name":"copyscriptbanks",
- "size":3
- },
- {
- "description":"Copies a byte value from one place to another.",
- "numParams":2,
- "name":"copybyte",
- "size":9
- },
- {
- "description":"Sets variable A to any value.",
- "numParams":2,
- "name":"setvar",
- "size":5
- },
- {
- "description":"Adds any value to variable A.",
- "numParams":2,
- "name":"addvar",
- "size":5
- },
- {
- "description":"Subtracts any value from variable A.",
- "numParams":2,
- "name":"subvar",
- "size":5
- },
- {
- "description":"Copies variable B to A.",
- "numParams":2,
- "name":"copyvar",
- "size":5
- },
- {
- "description":"Sets variable B to A, but only if B is higher than zero.",
- "numParams":2,
- "name":"copyvarifnotzero",
- "size":5
- },
- {
- "description":"Compares two banks.",
- "numParams":2,
- "name":"comparebanks",
- "size":5
- },
- {
- "description":"Compares a variable stored in a buffer to a byte value.",
- "numParams":2,
- "name":"comparebanktobyte",
- "size":3
- },
- {
- "description":"Compares a bank with a byte at some location.",
- "numParams":2,
- "name":"comparebanktofarbyte",
- "size":6
- },
- {
- "description":"Compares a byte at some location to a buffered variable.\r\nThe reverse of comparevartofarbyte.",
- "numParams":2,
- "name":"comparefarbytetobank",
- "size":6
- },
- {
- "description":"Compares a byte at some location to a byte value.",
- "numParams":2,
- "name":"comparefarbytetobyte",
- "size":6
- },
- {
- "description":"Compares a byte at some location to a byte at another location.",
- "numParams":2,
- "name":"comparefarbytes",
- "size":9
- },
- {
- "description":"Compares variable A to a value.",
- "numParams":2,
- "name":"compare",
- "size":5
- },
- {
- "description":"Compares two variables.",
- "numParams":2,
- "name":"comparevars",
- "size":5
- },
- {
- "description":"Calls a custom ASM routine.",
- "numParams":1,
- "name":"callasm",
- "size":5
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":1,
- "name":"cmd24",
- "size":5
- },
- {
- "description":"Calls a special event.",
- "numParams":1,
- "name":"special",
- "size":3
- },
- {
- "description":"Like special, but can store a returned value.",
- "numParams":2,
- "name":"special2",
- "size":5
- },
- {
- "description":"Sets the script to a wait state, useful for some specials and commands.",
- "numParams":0,
- "name":"waitstate",
- "size":1
- },
- {
- "description":"Pauses script execution for a short amount of time.",
- "numParams":1,
- "name":"pause",
- "size":3
- },
- {
- "description":"Sets a flag for later use.",
- "numParams":1,
- "name":"setflag",
- "size":3
- },
- {
- "description":"Clears the value of a flag.",
- "numParams":1,
- "name":"clearflag",
- "size":3
- },
- {
- "description":"Checks the value of a flag.",
- "numParams":1,
- "name":"checkflag",
- "size":3
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":2,
- "name":"cmd2c",
- "size":5
- },
- {
- "description":"Checks the daily flags to see if any of them have been set already, but only if they were set previously. Then it clears those flags. R/S/E only.",
- "numParams":0,
- "name":"checkdailyflags",
- "size":1
- },
- {
- "description":"Resets the value of variables 0x8000, 0x8001 and 0x8002.",
- "numParams":0,
- "name":"resetvars",
- "size":1
- },
- {
- "description":"Plays a sound.",
- "numParams":1,
- "name":"sound",
- "size":3
- },
- {
- "description":"Checks if a sound, a fanfare or a song is currently being played.",
- "numParams":0,
- "name":"checksound",
- "size":1
- },
- {
- "description":"Plays a Sappy song as a fanfare.",
- "numParams":1,
- "name":"fanfare",
- "size":3
- },
- {
- "description":"Waits for fanfare to finish.",
- "numParams":0,
- "name":"waitfanfare",
- "size":1
- },
- {
- "description":"Switches to another Sappy song.",
- "numParams":2,
- "name":"playsong",
- "size":4
- },
- {
- "description":"Switches to another Sappy song.",
- "numParams":1,
- "name":"playsong2",
- "size":3
- },
- {
- "description":"Gently fades the current music back to the map's default song.",
- "numParams":0,
- "name":"fadedefault",
- "size":1
- },
- {
- "description":"Gently fades into another Sappy song.",
- "numParams":1,
- "name":"fadesong",
- "size":3
- },
- {
- "description":"Fades out the currently playing Sappy song.",
- "numParams":1,
- "name":"fadeout",
- "size":2
- },
- {
- "description":"Fades the currently playing Sappy song back in.",
- "numParams":1,
- "name":"fadein",
- "size":2
- },
- {
- "description":"Warps the player to another map.",
- "numParams":5,
- "name":"warp",
- "size":8
- },
- {
- "description":"Warps the player to another map. No sound effect.",
- "numParams":5,
- "name":"warpmuted",
- "size":8
- },
- {
- "description":"Warps the player to another map. Walking effect.",
- "numParams":5,
- "name":"warpwalk",
- "size":8
- },
- {
- "description":"Warps the player to another map. Hole effect.",
- "numParams":2,
- "name":"warphole",
- "size":3
- },
- {
- "description":"Warps the player to another map. Teleport effect.",
- "numParams":5,
- "name":"warpteleport",
- "size":8
- },
- {
- "description":"Warps the player to another map.",
- "numParams":5,
- "name":"warp3",
- "size":8
- },
- {
- "description":"Sets the place a warp that lead to warp 127 of map 127.127 warps the player.",
- "numParams":5,
- "name":"setwarpplace",
- "size":8
- },
- {
- "description":"Warps the player to another map.",
- "numParams":5,
- "name":"warp4",
- "size":8
- },
- {
- "description":"Warps the player to another map.",
- "numParams":5,
- "name":"warp5",
- "size":8
- },
- {
- "description":"Gets current position of the player on the map and stores it on specified variables.",
- "numParams":2,
- "name":"getplayerpos",
- "size":5
- },
- {
- "description":"Counts the number of Pok\u00e9mon in your party and stores the result in LASTRESULT.",
- "numParams":0,
- "name":"countpokemon",
- "size":1
- },
- {
- "description":"Adds the quantity of the specified item.",
- "numParams":2,
- "name":"additem",
- "size":5
- },
- {
- "description":"Removes the quantity of the specified item.",
- "numParams":2,
- "name":"removeitem",
- "size":5
- },
- {
- "description":"Checks if the player has enough room in the bag for the specified item.",
- "numParams":2,
- "name":"checkitemroom",
- "size":5
- },
- {
- "description":"Checks if the player is carrying the specified item.",
- "numParams":2,
- "name":"checkitem",
- "size":5
- },
- {
- "description":"Checks the item type for the specified item and store the result in LASTRESULT.",
- "numParams":1,
- "name":"checkitemtype",
- "size":3
- },
- {
- "description":"Adds the quantity of the specified item to player's PC.",
- "numParams":2,
- "name":"addpcitem",
- "size":5
- },
- {
- "description":"Checks if the player has the specified item on his/her PC.",
- "numParams":2,
- "name":"checkpcitem",
- "size":5
- },
- {
- "description":"Adds a decoration to player's PC.",
- "numParams":1,
- "name":"adddecoration",
- "size":3
- },
- {
- "description":"Removes a decoration from player's PC.",
- "numParams":1,
- "name":"removedecoration",
- "size":3
- },
- {
- "description":"Tests a specific decoration to see if there's enough room to store it.",
- "numParams":1,
- "name":"testdecoration",
- "size":3
- },
- {
- "description":"Checks if a specific decoration is present in player's PC.",
- "numParams":1,
- "name":"checkdecoration",
- "size":3
- },
- {
- "description":"Applies the movement data found at the specified pointer to a sprite.",
- "numParams":2,
- "name":"applymovement",
- "size":7
- },
- {
- "description":"Applies the movement data found at the specified pointer to a sprite. Then set the specified X/Y coordinates.",
- "numParams":4,
- "name":"applymovementpos",
- "size":9
- },
- {
- "description":"Waits for applymovement to finish.",
- "numParams":1,
- "name":"waitmovement",
- "size":3
- },
- {
- "description":"Waits for applymovement to finish. Then set the specified X/Y coordinates.",
- "numParams":3,
- "name":"waitmovementpos",
- "size":5
- },
- {
- "description":"Hides a sprite.",
- "numParams":1,
- "name":"hidesprite",
- "size":3
- },
- {
- "description":"Hides a sprite, then set the specified X/Y coordinates.",
- "numParams":3,
- "name":"hidespritepos",
- "size":5
- },
- {
- "description":"Shows a previously vanished sprite.",
- "numParams":1,
- "name":"showsprite",
- "size":3
- },
- {
- "description":"Shows a previously vanished sprite. Then set the specified X/Y coordinates.",
- "numParams":3,
- "name":"showspritepos",
- "size":5
- },
- {
- "description":"Moves a sprite to the specified location.",
- "numParams":3,
- "name":"movesprite",
- "size":7
- },
- {
- "description":"Makes the sprite visible at selected bank and map.",
- "numParams":3,
- "name":"spritevisible",
- "size":5
- },
- {
- "description":"Makes the sprite invisible at selected bank and map.",
- "numParams":3,
- "name":"spriteinvisible",
- "size":5
- },
- {
- "description":"Turns the caller towards the player.",
- "numParams":0,
- "name":"faceplayer",
- "size":1
- },
- {
- "description":"Changes a facing of a sprite.",
- "numParams":2,
- "name":"spriteface",
- "size":4
- },
- {
- "description":"Starts a trainer battle. Depending on the kind of battle, last parameters may differ.",
- "numParams":5,
- "name":"trainerbattle",
- "size":14
- },
- {
- "description":"Repeats the last trainer battle started.",
- "numParams":0,
- "name":"repeattrainerbattle",
- "size":1
- },
- {
- "description":"Returns from the trainer battle screen without starting message.",
- "numParams":0,
- "name":"endtrainerbattle",
- "size":1
- },
- {
- "description":"Returns from the trainer battle screen without ending message.",
- "numParams":0,
- "name":"endtrainerbattle2",
- "size":1
- },
- {
- "description":"Checks it the specified trainer flag is already activated and store the result in LASTRESULT.",
- "numParams":1,
- "name":"checktrainerflag",
- "size":3
- },
- {
- "description":"Deactivates the specified trainer flag.",
- "numParams":1,
- "name":"cleartrainerflag",
- "size":3
- },
- {
- "description":"Activates the specified trainer flag.",
- "numParams":1,
- "name":"settrainerflag",
- "size":3
- },
- {
- "description":"Moves a sprite to the specified location. Permanent change.",
- "numParams":3,
- "name":"movesprite2",
- "size":7
- },
- {
- "description":"Changes the location of the specified sprite to a value which is exactly one tile above the top left corner of the screen.",
- "numParams":1,
- "name":"moveoffscreen",
- "size":3
- },
- {
- "description":"Changes the behaviour of a sprite.",
- "numParams":2,
- "name":"spritebehave",
- "size":4
- },
- {
- "description":"Waits for preparemsg to finish.",
- "numParams":0,
- "name":"waitmsg",
- "size":1
- },
- {
- "description":"Prepares a pointer to dialogue text for being displayed.",
- "numParams":1,
- "name":"preparemsg",
- "size":5
- },
- {
- "description":"Holds a msgbox open and closes it on keypress.",
- "numParams":0,
- "name":"closeonkeypress",
- "size":1
- },
- {
- "description":"Locks down movement for all the people on the screen.",
- "numParams":0,
- "name":"lockall",
- "size":1
- },
- {
- "description":"Locks down movement for the caller.",
- "numParams":0,
- "name":"lock",
- "size":1
- },
- {
- "description":"Resumes normal movement forall the people on the screen. Closes any previously opened msgboxes as well.",
- "numParams":0,
- "name":"releaseall",
- "size":1
- },
- {
- "description":"Resumes normal movement for the caller. Closes any previously opened msgboxes as well.",
- "numParams":0,
- "name":"release",
- "size":1
- },
- {
- "description":"Waits until a key is pressed.",
- "numParams":0,
- "name":"waitkeypress",
- "size":1
- },
- {
- "description":"Displays a Yes/No box at specified coordinates.",
- "numParams":2,
- "name":"yesnobox",
- "size":3
- },
- {
- "description":"Puts up a list of choices for the player to make.",
- "numParams":4,
- "name":"multichoice",
- "size":5
- },
- {
- "description":"Puts up a list of choices for the player to make. A default choice can be set.",
- "numParams":5,
- "name":"multichoice2",
- "size":6
- },
- {
- "description":"Puts up a list of choices for the player to make. The number of choices per row can be set.",
- "numParams":5,
- "name":"multichoice3",
- "size":6
- },
- {
- "description":"Displays a box with the given dimensions.",
- "numParams":4,
- "name":"showbox",
- "size":5
- },
- {
- "description":"Hides a displayed box. Ruby/Sapphire only.",
- "numParams":4,
- "name":"hidebox",
- "size":5
- },
- {
- "description":"Clears a part of a custom box.",
- "numParams":4,
- "name":"clearbox",
- "size":5
- },
- {
- "description":"Displays a Pok\u00e9mon in a picture box.",
- "numParams":3,
- "name":"showpokepic",
- "size":5
- },
- {
- "description":"Hides a Pok\u00e9mon picture box previously showed.",
- "numParams":0,
- "name":"hidepokepic",
- "size":1
- },
- {
- "description":"Shows the picture of the winner of set contest.",
- "numParams":1,
- "name":"showcontestwinner",
- "size":2
- },
- {
- "description":"Displays a braille box.",
- "numParams":1,
- "name":"braille",
- "size":5
- },
- {
- "description":"Gives the player a Pok\u00e9mon.",
- "numParams":6,
- "name":"givepokemon",
- "size":15
- },
- {
- "description":"Gives the player an egg of the specified Pok\u00e9mon.",
- "numParams":1,
- "name":"giveegg",
- "size":3
- },
- {
- "description":"Sets a new amount of PP for the specified Pok\u00e9mon in player's party.",
- "numParams":3,
- "name":"setpkmnpp",
- "size":5
- },
- {
- "description":"Checks if at least one Pok\u00e9mon in the party has a particular attack.",
- "numParams":1,
- "name":"checkattack",
- "size":3
- },
- {
- "description":"Stores a Pok\u00e9mon name within a specified buffer.",
- "numParams":2,
- "name":"bufferpokemon",
- "size":4
- },
- {
- "description":"Stores the first Pok\u00e9mon name in player's party within a specified buffer.",
- "numParams":1,
- "name":"bufferfirstpokemon",
- "size":2
- },
- {
- "description":"Stores the selected Pok\u00e9mon name in player's party within a specified buffer.",
- "numParams":2,
- "name":"bufferpartypokemon",
- "size":4
- },
- {
- "description":"Stores an item name within a specified buffer.",
- "numParams":2,
- "name":"bufferitem",
- "size":4
- },
- {
- "description":"Stores a decoration name within a specified buffer.",
- "numParams":2,
- "name":"bufferdecoration",
- "size":4
- },
- {
- "description":"Stores an attack name within a specified buffer.",
- "numParams":2,
- "name":"bufferattack",
- "size":4
- },
- {
- "description":"Variable version on buffernumber.",
- "numParams":2,
- "name":"buffernumber",
- "size":4
- },
- {
- "description":"Stores a standard string within a specified buffer.",
- "numParams":2,
- "name":"bufferstd",
- "size":4
- },
- {
- "description":"Stores a string within a specified buffer.",
- "numParams":2,
- "name":"bufferstring",
- "size":6
- },
- {
- "description":"Opens the Pok\u00e9mart shop system with the item/price list found at the selected pointer.",
- "numParams":1,
- "name":"pokemart",
- "size":5
- },
- {
- "description":"Opens the Pok\u00e9Mart shop system with the item/price list found at the selected pointer.",
- "numParams":1,
- "name":"pokemart2",
- "size":5
- },
- {
- "description":"Opens the Pok\u00e9Mart shop system with the item/price list found at the selected pointer.",
- "numParams":1,
- "name":"pokemart3",
- "size":5
- },
- {
- "description":"Opens the Casino system.",
- "numParams":1,
- "name":"pokecasino",
- "size":3
- },
- {
- "description":"Apparently does absolutely nothing.",
- "numParams":3,
- "name":"cmd8a",
- "size":4
- },
- {
- "description":"Opens up a menu for choosing a contest Pok\u00e9mon.",
- "numParams":0,
- "name":"choosecontestpkmn",
- "size":1
- },
- {
- "description":"Start a Pok\u00e9mon Contest.\r\n",
- "numParams":0,
- "name":"startcontest",
- "size":1
- },
- {
- "description":"Shows Pok\u00e9mon contest results.",
- "numParams":0,
- "name":"showcontestresults",
- "size":1
- },
- {
- "description":"Establishes a connection using the wireless adapter. Emerald only.\r\n\r\n",
- "numParams":0,
- "name":"contestlinktransfer",
- "size":1
- },
- {
- "description":"Generates a random number storing it into LASTRESULT.",
- "numParams":1,
- "name":"random",
- "size":3
- },
- {
- "description":"Gives the player some money.",
- "numParams":2,
- "name":"givemoney",
- "size":6
- },
- {
- "description":"Takes some money from the player.",
- "numParams":2,
- "name":"paymoney",
- "size":6
- },
- {
- "description":"Checks if the player has a specified amount of money.",
- "numParams":2,
- "name":"checkmoney",
- "size":6
- },
- {
- "description":"Shows the money counter on set coordinates.",
- "numParams":3,
- "name":"showmoney",
- "size":4
- },
- {
- "description":"Hides the money counter.",
- "numParams":2,
- "name":"hidemoney",
- "size":3
- },
- {
- "description":"Updates the amount of money displayed in the money counter.",
- "numParams":3,
- "name":"updatemoney",
- "size":4
- },
- {
- "description":"Apparently does absolutely nothing.",
- "numParams":1,
- "name":"cmd96",
- "size":3
- },
- {
- "description":"Fades the screen in or out.",
- "numParams":1,
- "name":"fadescreen",
- "size":2
- },
- {
- "description":"Fades the screen in or out, after some delay.",
- "numParams":2,
- "name":"fadescreendelay",
- "size":3
- },
- {
- "description":"Calls flash animation that darkens the area. Must be called from a level script.",
- "numParams":1,
- "name":"darken",
- "size":3
- },
- {
- "description":"Calls flash animation that lightens the area.",
- "numParams":1,
- "name":"lighten",
- "size":2
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":1,
- "name":"preparemsg2",
- "size":5
- },
- {
- "description":"Executes the specified move animation.",
- "numParams":1,
- "name":"doanimation",
- "size":3
- },
- {
- "description":"Sets the move animation.",
- "numParams":2,
- "name":"setanimation",
- "size":4
- },
- {
- "description":"Checks whether an animation is currently being played or not. If so, it'll pause until the animation is done.\r\n",
- "numParams":1,
- "name":"checkanimation",
- "size":3
- },
- {
- "description":"Sets the place where the player goes once he/she is out of usable Pok\u00e9mon.",
- "numParams":1,
- "name":"sethealingplace",
- "size":3
- },
- {
- "description":"Checks if the player is a boy or a girl and stores it in LASTRESULT.",
- "numParams":0,
- "name":"checkgender",
- "size":1
- },
- {
- "description":"Plays back the cry of a Pok\u00e9mon.",
- "numParams":2,
- "name":"cry",
- "size":5
- },
- {
- "description":"Sets a tile on the map. You must somehow refresh that part.",
- "numParams":4,
- "name":"setmaptile",
- "size":9
- },
- {
- "description":"Prepares to fade the weather into the default type.",
- "numParams":0,
- "name":"resetweather",
- "size":1
- },
- {
- "description":"Prepares to fade the weather into the type specified.",
- "numParams":1,
- "name":"setweather",
- "size":3
- },
- {
- "description":"Triggers the weather change set with setweather/resetweather.",
- "numParams":0,
- "name":"doweather",
- "size":1
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":1,
- "name":"cmda6",
- "size":2
- },
- {
- "description":"Changes the current map footer loading the new one. The map must be refreshed afterwards in order to work fine.",
- "numParams":1,
- "name":"setmapfooter",
- "size":3
- },
- {
- "description":"Makes the specified sprite go up one level at selected bank and map.\r\n",
- "numParams":4,
- "name":"spritelevelup",
- "size":6
- },
- {
- "description":"Restores the original level, at selected bank and map, for the specified sprite.",
- "numParams":3,
- "name":"restorespritelevel",
- "size":5
- },
- {
- "description":"Creates a virtual sprite in the current map.",
- "numParams":6,
- "name":"createsprite",
- "size":9
- },
- {
- "description":"Changes a facing of a virtual sprite.",
- "numParams":2,
- "name":"spriteface2",
- "size":3
- },
- {
- "description":"Prepares a door to be opened.",
- "numParams":2,
- "name":"setdooropened",
- "size":5
- },
- {
- "description":"Prepares a door to be closed.",
- "numParams":2,
- "name":"setdoorclosed",
- "size":5
- },
- {
- "description":"Changes the state of the selected door.",
- "numParams":0,
- "name":"doorchange",
- "size":1
- },
- {
- "description":"Prepares a door to be opened. No animation.",
- "numParams":2,
- "name":"setdooropened2",
- "size":5
- },
- {
- "description":"Prepares a door to be closed. No animation.",
- "numParams":2,
- "name":"setdoorclosed2",
- "size":5
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":4,
- "name":"cmdb1",
- "size":7
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":0,
- "name":"cmdb2",
- "size":1
- },
- {
- "description":"Checks the actual amount of coins and stores it on a specified variable.",
- "numParams":1,
- "name":"checkcoins",
- "size":3
- },
- {
- "description":"Gives the player a specified quantity of coins.",
- "numParams":1,
- "name":"givecoins",
- "size":3
- },
- {
- "description":"Removes a specified quantity of coins.",
- "numParams":1,
- "name":"removecoins",
- "size":3
- },
- {
- "description":"Prepares to start a battle with a specified Pok\u00e9mon, level and item.",
- "numParams":3,
- "name":"setwildbattle",
- "size":6
- },
- {
- "description":"Triggers the battle specified by setbattle.",
- "numParams":0,
- "name":"dowildbattle",
- "size":1
- },
- {
- "description":"Jumps to the specified value - value at 0x020375C4 in RAM, continuing execution from there.",
- "numParams":1,
- "name":"setvirtualaddress",
- "size":5
- },
- {
- "description":"Jumps to a custom function.",
- "numParams":1,
- "name":"virtualgoto",
- "size":5
- },
- {
- "description":"Calls a custom function.",
- "numParams":1,
- "name":"virtualcall",
- "size":5
- },
- {
- "description":"Jumps to a custom function, conditional version.",
- "numParams":2,
- "name":"virtualgotoif",
- "size":6
- },
- {
- "description":"Calls a custom function, conditional version.",
- "numParams":2,
- "name":"virtualcallif",
- "size":6
- },
- {
- "description":"Prepares a pointer to dialogue text for use.",
- "numParams":1,
- "name":"virtualmsgbox",
- "size":5
- },
- {
- "description":"Prepares a pointer to dialogue text for use.",
- "numParams":1,
- "name":"virtualloadpointer",
- "size":5
- },
- {
- "description":"Stores a custom string within a buffer.",
- "numParams":2,
- "name":"virtualbuffer",
- "size":6
- },
- {
- "description":"Shows the coin counter on set coordinates.",
- "numParams":2,
- "name":"showcoins",
- "size":3
- },
- {
- "description":"Hides the coin counter.",
- "numParams":2,
- "name":"hidecoins",
- "size":3
- },
- {
- "description":"Updates the amount of coins displayed in the coin counter.",
- "numParams":2,
- "name":"updatecoins",
- "size":3
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":1,
- "name":"cmdc3",
- "size":2
- },
- {
- "description":"Warps the player to another map.",
- "numParams":5,
- "name":"warp6",
- "size":8
- },
- {
- "description":"Waits for cry to finish.",
- "numParams":0,
- "name":"waitcry",
- "size":1
- },
- {
- "description":"Stores the name of a PC box within a specified buffer.",
- "numParams":2,
- "name":"bufferboxname",
- "size":4
- },
- {
- "description":"Changes the text color used. FR/LG only.",
- "numParams":1,
- "name":"textcolor",
- "size":2
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":0,
- "name":"cmdc8",
- "size":1
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":0,
- "name":"cmdc9",
- "size":1
- },
- {
- "description":"Changes the graphics used by msgboxes in order to make them look like signs. FR/LG only.",
- "numParams":0,
- "name":"signmsg",
- "size":1
- },
- {
- "description":"Clears the effect of the msgboxsign command. FR/LG only.",
- "numParams":0,
- "name":"normalmsg",
- "size":1
- },
- {
- "description":"Compares the value of a chosen hidden variable. FR/LG only.",
- "numParams":2,
- "name":"comparehiddenvar",
- "size":4
- },
- {
- "description":"Sets the specified Pok\u00e9mon in player's party as obedient.",
- "numParams":1,
- "name":"setobedience",
- "size":3
- },
- {
- "description":"Checks if the specified Pok\u00e9mon in player's party is obedient or not. The result is stored in LASTRESULT.",
- "numParams":1,
- "name":"checkobedience",
- "size":3
- },
- {
- "description":"Calculates the current location of the RAM script area and passes the execution to that offset.",
- "numParams":0,
- "name":"executeram",
- "size":1
- },
- {
- "description":"Sets the flag used to allow the player to fly to a specific place. FR/LG only.",
- "numParams":1,
- "name":"setworldmapflag",
- "size":3
- },
- {
- "description":"Warps the player to another map. Teleport effect.",
- "numParams":5,
- "name":"warpteleport2",
- "size":8
- },
- {
- "description":"Changes the catch location for a specified Pok\u00e9mon in player's party.",
- "numParams":2,
- "name":"setcatchlocation",
- "size":4
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":1,
- "name":"braille2",
- "size":5
- },
- {
- "description":"Stores a plural item name within a specified buffer. FR/LG only.",
- "numParams":3,
- "name":"bufferitems",
- "size":6
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":1,
- "name":"cmdd5",
- "size":3
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":0,
- "name":"cmdd6",
- "size":1
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":5,
- "name":"warp7",
- "size":8
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":0,
- "name":"cmdd8",
- "size":1
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":0,
- "name":"cmdd9",
- "size":1
- },
- {
- "description":"Hides a displayed box. Emerald only.",
- "numParams":0,
- "name":"hidebox2",
- "size":1
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":1,
- "name":"preparemsg3",
- "size":5
- },
- {
- "description":"Fades the screen in or out. Emerald only.",
- "numParams":1,
- "name":"fadescreen3",
- "size":2
- },
- {
- "description":"Stores the name of the selected trainer class within a specified buffer. Emerald only.",
- "numParams":2,
- "name":"buffertrainerclass",
- "size":4
- },
- {
- "description":"Stores the name of the selected trainer within a specified buffer. Emerald only.",
- "numParams":2,
- "name":"buffertrainername",
- "size":4
- },
- {
- "description":"Displays a Pok\u00e9nav call. Emerald only.",
- "numParams":1,
- "name":"pokenavcall",
- "size":5
- },
- {
- "description":"This command is currently under investigation. No detailed information is available at this time.",
- "numParams":5,
- "name":"warp8",
- "size":8
- },
- {
- "description":"Stores the name of the selected contest type within a specified buffer. Emerald only.",
- "numParams":2,
- "name":"buffercontestype",
- "size":4
- },
- {
- "description":"Stores a plural item name within a specified buffer. Emerald only.",
- "numParams":3,
- "name":"bufferitems2",
- "size":6
- }
- ]
Add Comment
Please, Sign In to add comment