Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "name":"nop",
- "args":0,
- "value":0,
- "params":[
- ],
- "desc":"Does absolutely nothing.",
- "size":1
- },
- {
- "name":"nop1",
- "args":0,
- "value":1,
- "params":[
- ],
- "desc":"Does absolutely nothing.",
- "size":1
- },
- {
- "name":"end",
- "args":0,
- "value":2,
- "params":[
- ],
- "desc":"Ends the execution of the script.",
- "size":1
- },
- {
- "name":"return",
- "args":0,
- "value":3,
- "params":[
- ],
- "desc":"Pops back to the last calling command used.",
- "size":1
- },
- {
- "name":"call",
- "args":1,
- "value":4,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to continue from"
- }
- ],
- "desc":"Continues script execution from another point. Can be returned to.",
- "size":5
- },
- {
- "name":"goto",
- "args":1,
- "value":5,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to continue from"
- }
- ],
- "desc":"Continues script execution from another point.",
- "size":5
- },
- {
- "name":"if1",
- "args":2,
- "value":6,
- "params":[
- {
- "type":"B",
- "desc":"Condition"
- },
- {
- "type":"P",
- "desc":"Pointer to go to"
- }
- ],
- "desc":"If the last comparison returned a certain value, jumps to another script.",
- "size":6
- },
- {
- "name":"if2",
- "args":2,
- "value":7,
- "params":[
- {
- "type":"B",
- "desc":"Condition"
- },
- {
- "type":"P",
- "desc":"Pointer to call"
- }
- ],
- "desc":"Calling version of the if command.",
- "size":6
- },
- {
- "name":"gotostd",
- "args":1,
- "value":8,
- "params":[
- {
- "type":"B",
- "desc":"Function # to jump to"
- }
- ],
- "desc":"Jumps to a built-in function.",
- "size":2
- },
- {
- "name":"callstd",
- "args":1,
- "value":9,
- "params":[
- {
- "type":"B",
- "desc":"Function # to call"
- }
- ],
- "desc":"Calls a built-in function.",
- "size":2
- },
- {
- "name":"gotostdif",
- "args":2,
- "value":10,
- "params":[
- {
- "type":"B",
- "desc":"Condition"
- },
- {
- "type":"B",
- "desc":"Function # to jump to"
- }
- ],
- "desc":"Jumps to a built-in function, conditional version.",
- "size":3
- },
- {
- "name":"callstdif",
- "args":2,
- "value":11,
- "params":[
- {
- "type":"B",
- "desc":"Condition"
- },
- {
- "type":"B",
- "desc":"Function # to call"
- }
- ],
- "desc":"Jumps to a built-in function, conditional version.",
- "size":3
- },
- {
- "name":"jumpram",
- "args":0,
- "value":12,
- "params":[
- ],
- "desc":"Jumps to a default RAM location, executing the script stored there.",
- "size":1
- },
- {
- "name":"killscript",
- "args":0,
- "value":13,
- "params":[
- ],
- "desc":"Kills the script and resets the script RAM.",
- "size":1
- },
- {
- "name":"setbyte",
- "args":1,
- "value":14,
- "params":[
- {
- "type":"B",
- "desc":"Byte value to use"
- }
- ],
- "desc":"Sets a predefined address to the specified byte value.",
- "size":2
- },
- {
- "name":"loadpointer",
- "args":2,
- "value":15,
- "params":[
- {
- "type":"B",
- "desc":"Memory bank to use"
- },
- {
- "type":"P",
- "desc":"Pointer to load into memory"
- }
- ],
- "desc":"Loads a pointer into the script RAM so other commands can use it.",
- "size":6
- },
- {
- "name":"setbyte2",
- "args":2,
- "value":16,
- "params":[
- {
- "type":"B",
- "desc":"Memory bank to use"
- },
- {
- "type":"B",
- "desc":"Byte value to use"
- }
- ],
- "desc":"Sets a memory bank to the specified byte value.",
- "size":3
- },
- {
- "name":"writebytetooffset",
- "args":2,
- "value":17,
- "params":[
- {
- "type":"B",
- "desc":"Byte value to write"
- },
- {
- "type":"P",
- "desc":"Location to write it to"
- }
- ],
- "desc":"Sets the byte at the specified offset to a certain value.",
- "size":6
- },
- {
- "name":"loadbytefrompointer",
- "args":2,
- "value":18,
- "params":[
- {
- "type":"B",
- "desc":"Memory bank to use"
- },
- {
- "type":"P",
- "desc":"Pointer to byte to load into memory"
- }
- ],
- "desc":"Loads the byte found at a pointer into the script RAM so other commands can use it.",
- "size":6
- },
- {
- "name":"setfarbyte",
- "args":2,
- "value":19,
- "params":[
- {
- "type":"B",
- "desc":"Memory bank to use"
- },
- {
- "type":"P",
- "desc":"Pointer to write byte to"
- }
- ],
- "desc":"Sets the byte into a specified pointer.",
- "size":6
- },
- {
- "name":"copyscriptbanks",
- "args":2,
- "value":20,
- "params":[
- {
- "type":"B",
- "desc":"Bank #1 - Destination"
- },
- {
- "type":"B",
- "desc":"Bank #2 - Source"
- }
- ],
- "desc":"Copies one script bank to another.",
- "size":3
- },
- {
- "name":"copybyte",
- "args":2,
- "value":21,
- "params":[
- {
- "type":"P",
- "desc":"Destination byte location"
- },
- {
- "type":"P",
- "desc":"Source byte location"
- }
- ],
- "desc":"Copies a byte value from one place to another.",
- "size":9
- },
- {
- "name":"setvar",
- "args":2,
- "value":22,
- "params":[
- {
- "type":"W",
- "desc":"Variable A"
- },
- {
- "type":"W",
- "desc":"Value to set A to"
- }
- ],
- "desc":"Sets variable A to any value.",
- "size":5
- },
- {
- "name":"addvar",
- "args":2,
- "value":23,
- "params":[
- {
- "type":"W",
- "desc":"Variable A"
- },
- {
- "type":"W",
- "desc":"Value to add to A"
- }
- ],
- "desc":"Adds any value to variable A.",
- "size":5
- },
- {
- "name":"subvar",
- "args":2,
- "value":24,
- "params":[
- {
- "type":"W",
- "desc":"Variable A"
- },
- {
- "type":"W",
- "desc":"Value to subtract from A"
- }
- ],
- "desc":"Subtracts any value from variable A.",
- "size":5
- },
- {
- "name":"copyvar",
- "args":2,
- "value":25,
- "params":[
- {
- "type":"W",
- "desc":"Variable A - Destination"
- },
- {
- "type":"W",
- "desc":"Variable B - Source"
- }
- ],
- "desc":"Copies variable B to A.",
- "size":5
- },
- {
- "name":"copyvarifnotzero",
- "args":2,
- "value":26,
- "params":[
- {
- "type":"W",
- "desc":"Variable A - Destination"
- },
- {
- "type":"W",
- "desc":"Variable B - Source"
- }
- ],
- "desc":"Sets variable B to A, but only if B is higher than zero.",
- "size":5
- },
- {
- "name":"comparebanks",
- "args":2,
- "value":27,
- "params":[
- {
- "type":"W",
- "desc":"Bank #1"
- },
- {
- "type":"W",
- "desc":"Bank #2"
- }
- ],
- "desc":"Compares two banks.",
- "size":5
- },
- {
- "name":"comparebanktobyte",
- "args":2,
- "value":28,
- "params":[
- {
- "type":"B",
- "desc":"Bank #"
- },
- {
- "type":"B",
- "desc":"Byte value to compare variable to"
- }
- ],
- "desc":"Compares a variable stored in a buffer to a byte value.",
- "size":3
- },
- {
- "name":"comparebanktofarbyte",
- "args":2,
- "value":29,
- "params":[
- {
- "type":"B",
- "desc":"Bank #"
- },
- {
- "type":"P",
- "desc":"Pointer to a byte value to compare variable to"
- }
- ],
- "desc":"Compares a bank with a byte at some location.",
- "size":6
- },
- {
- "name":"comparefarbytetobank",
- "args":2,
- "value":30,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to a byte value to compare B to"
- },
- {
- "type":"B",
- "desc":"Bank #"
- }
- ],
- "desc":"Compares a byte at some location to a buffered variable.\r\r\nThe reverse of comparevartofarbyte.",
- "size":6
- },
- {
- "name":"comparefarbytetobyte",
- "args":2,
- "value":31,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to a byte value to compare with"
- },
- {
- "type":"B",
- "desc":"Byte value to compare with"
- }
- ],
- "desc":"Compares a byte at some location to a byte value.",
- "size":6
- },
- {
- "name":"comparefarbytes",
- "args":2,
- "value":32,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to a byte value to compare with"
- },
- {
- "type":"P",
- "desc":"Pointer to a byte value to compare with"
- }
- ],
- "desc":"Compares a byte at some location to a byte at another location.",
- "size":9
- },
- {
- "name":"compare",
- "args":2,
- "value":33,
- "params":[
- {
- "type":"W",
- "desc":"Variable A"
- },
- {
- "type":"W",
- "desc":"Value to compare A to"
- }
- ],
- "desc":"Compares variable A to a value.",
- "size":5
- },
- {
- "name":"comparevars",
- "args":2,
- "value":34,
- "params":[
- {
- "type":"W",
- "desc":"Variable A"
- },
- {
- "type":"W",
- "desc":"Variable B"
- }
- ],
- "desc":"Compares two variables.",
- "size":5
- },
- {
- "name":"callasm",
- "args":1,
- "value":35,
- "params":[
- {
- "type":"P",
- "desc":"Address of custom ASM routine"
- }
- ],
- "desc":"Calls a custom ASM routine.",
- "size":5
- },
- {
- "name":"cmd24",
- "args":1,
- "value":36,
- "params":[
- {
- "type":"P",
- "desc":"???"
- }
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":5
- },
- {
- "name":"special",
- "args":1,
- "value":37,
- "params":[
- {
- "type":"W",
- "desc":"Event # to call"
- }
- ],
- "desc":"Calls a special event.",
- "size":3
- },
- {
- "name":"special2",
- "args":2,
- "value":38,
- "params":[
- {
- "type":"W",
- "desc":"Variable to store returned value in"
- },
- {
- "type":"W",
- "desc":"Special event to call"
- }
- ],
- "desc":"Like special, but can store a returned value.",
- "size":5
- },
- {
- "name":"waitstate",
- "args":0,
- "value":39,
- "params":[
- ],
- "desc":"Sets the script to a wait state, useful for some specials and commands.",
- "size":1
- },
- {
- "name":"pause",
- "args":1,
- "value":40,
- "params":[
- {
- "type":"W",
- "desc":"Delay"
- }
- ],
- "desc":"Pauses script execution for a short amount of time.",
- "size":3
- },
- {
- "name":"setflag",
- "args":1,
- "value":41,
- "params":[
- {
- "type":"W",
- "desc":"Flag #"
- }
- ],
- "desc":"Sets a flag for later use.",
- "size":3
- },
- {
- "name":"clearflag",
- "args":1,
- "value":42,
- "params":[
- {
- "type":"W",
- "desc":"Flag #"
- }
- ],
- "desc":"Clears the value of a flag.",
- "size":3
- },
- {
- "name":"checkflag",
- "args":1,
- "value":43,
- "params":[
- {
- "type":"W",
- "desc":"Flag #"
- }
- ],
- "desc":"Checks the value of a flag.",
- "size":3
- },
- {
- "name":"cmd2c",
- "args":2,
- "value":44,
- "params":[
- {
- "type":"W",
- "desc":"???"
- },
- {
- "type":"W",
- "desc":"???"
- }
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":5
- },
- {
- "name":"checkdailyflags",
- "args":0,
- "value":45,
- "params":[
- ],
- "desc":"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.",
- "size":1
- },
- {
- "name":"resetvars",
- "args":0,
- "value":46,
- "params":[
- ],
- "desc":"Resets the value of variables 0x8000, 0x8001 and 0x8002.",
- "size":1
- },
- {
- "name":"sound",
- "args":1,
- "value":47,
- "params":[
- {
- "type":"W",
- "desc":"Sound #"
- }
- ],
- "desc":"Plays a sound.",
- "size":3
- },
- {
- "name":"checksound",
- "args":0,
- "value":48,
- "params":[
- ],
- "desc":"Checks if a sound, a fanfare or a song is currently being played.",
- "size":1
- },
- {
- "name":"fanfare",
- "args":1,
- "value":49,
- "params":[
- {
- "type":"W",
- "desc":"Sappy song # to play"
- }
- ],
- "desc":"Plays a Sappy song as a fanfare.",
- "size":3
- },
- {
- "name":"waitfanfare",
- "args":0,
- "value":50,
- "params":[
- ],
- "desc":"Waits for fanfare to finish.",
- "size":1
- },
- {
- "name":"playsong",
- "args":2,
- "value":51,
- "params":[
- {
- "type":"W",
- "desc":"Sappy song # to play"
- },
- {
- "type":"B",
- "desc":"???"
- }
- ],
- "desc":"Switches to another Sappy song.",
- "size":4
- },
- {
- "name":"playsong2",
- "args":1,
- "value":52,
- "params":[
- {
- "type":"W",
- "desc":"Sappy song # to play"
- }
- ],
- "desc":"Switches to another Sappy song.",
- "size":3
- },
- {
- "name":"fadedefault",
- "args":0,
- "value":53,
- "params":[
- ],
- "desc":"Gently fades the current music back to the map's default song.",
- "size":1
- },
- {
- "name":"fadesong",
- "args":1,
- "value":54,
- "params":[
- {
- "type":"W",
- "desc":"Sappy song # to fade to"
- }
- ],
- "desc":"Gently fades into another Sappy song.",
- "size":3
- },
- {
- "name":"fadeout",
- "args":1,
- "value":55,
- "params":[
- {
- "type":"B",
- "desc":"Fading speed"
- }
- ],
- "desc":"Fades out the currently playing Sappy song.",
- "size":2
- },
- {
- "name":"fadein",
- "args":1,
- "value":56,
- "params":[
- {
- "type":"B",
- "desc":"Fading speed"
- }
- ],
- "desc":"Fades the currently playing Sappy song back in.",
- "size":2
- },
- {
- "name":"warp",
- "args":5,
- "value":57,
- "params":[
- {
- "type":"B",
- "desc":"Bank # to warp to"
- },
- {
- "type":"B",
- "desc":"Map # to warp to"
- },
- {
- "type":"B",
- "desc":"Exit # to warp to"
- },
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Warps the player to another map.",
- "size":8
- },
- {
- "name":"warpmuted",
- "args":5,
- "value":58,
- "params":[
- {
- "type":"B",
- "desc":"Bank # to warp to"
- },
- {
- "type":"B",
- "desc":"Map # to warp to"
- },
- {
- "type":"B",
- "desc":"Exit # to warp to"
- },
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Warps the player to another map. No sound effect.",
- "size":8
- },
- {
- "name":"warpwalk",
- "args":5,
- "value":59,
- "params":[
- {
- "type":"B",
- "desc":"Bank # to warp to"
- },
- {
- "type":"B",
- "desc":"Map # to warp to"
- },
- {
- "type":"B",
- "desc":"Exit # to warp to"
- },
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Warps the player to another map. Walking effect.",
- "size":8
- },
- {
- "name":"warphole",
- "args":2,
- "value":60,
- "params":[
- {
- "type":"B",
- "desc":"Bank # to warp to"
- },
- {
- "type":"B",
- "desc":"Map # to warp to"
- },
- {
- "type":"B",
- "desc":"Exit # to warp to"
- },
- {
- "type":"B",
- "desc":"???"
- }
- ],
- "desc":"Warps the player to another map. Hole effect.",
- "size":3
- },
- {
- "name":"warpteleport",
- "args":5,
- "value":61,
- "params":[
- {
- "type":"B",
- "desc":"Bank # to warp to"
- },
- {
- "type":"B",
- "desc":"Map # to warp to"
- },
- {
- "type":"B",
- "desc":"Exit # to warp to"
- },
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Warps the player to another map. Teleport effect.",
- "size":8
- },
- {
- "name":"warp3",
- "args":5,
- "value":62,
- "params":[
- {
- "type":"B",
- "desc":"Bank # to warp to"
- },
- {
- "type":"B",
- "desc":"Map # to warp to"
- },
- {
- "type":"B",
- "desc":"Exit # to warp to"
- },
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Warps the player to another map.",
- "size":8
- },
- {
- "name":"setwarpplace",
- "args":5,
- "value":63,
- "params":[
- {
- "type":"B",
- "desc":"Bank # to warp to"
- },
- {
- "type":"B",
- "desc":"Map # to warp to"
- },
- {
- "type":"B",
- "desc":"Exit # to warp to"
- },
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Sets the place a warp that lead to warp 127 of map 127.127 warps the player.",
- "size":8
- },
- {
- "name":"warp4",
- "args":5,
- "value":64,
- "params":[
- {
- "type":"B",
- "desc":"Bank # to warp to"
- },
- {
- "type":"B",
- "desc":"Map # to warp to"
- },
- {
- "type":"B",
- "desc":"Exit # to warp to"
- },
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Warps the player to another map.",
- "size":8
- },
- {
- "name":"warp5",
- "args":5,
- "value":65,
- "params":[
- {
- "type":"B",
- "desc":"Bank # to warp to"
- },
- {
- "type":"B",
- "desc":"Map # to warp to"
- },
- {
- "type":"B",
- "desc":"Exit # to warp to"
- },
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Warps the player to another map.",
- "size":8
- },
- {
- "name":"getplayerpos",
- "args":2,
- "value":66,
- "params":[
- {
- "type":"W",
- "desc":"Variable to store X coordinate"
- },
- {
- "type":"W",
- "desc":"Variable to store Y coordinate"
- }
- ],
- "desc":"Gets current position of the player on the map and stores it on specified variables.",
- "size":5
- },
- {
- "name":"countpokemon",
- "args":0,
- "value":67,
- "params":[
- ],
- "desc":"Counts the number of Pok\u00e9mon in your party and stores the result in LASTRESULT.",
- "size":1
- },
- {
- "name":"additem",
- "args":2,
- "value":68,
- "params":[
- {
- "type":"W",
- "desc":"Item # to add"
- },
- {
- "type":"W",
- "desc":"Quantity"
- }
- ],
- "desc":"Adds the quantity of the specified item.",
- "size":5
- },
- {
- "name":"removeitem",
- "args":2,
- "value":69,
- "params":[
- {
- "type":"W",
- "desc":"Item # to remove"
- },
- {
- "type":"W",
- "desc":"Quantity"
- }
- ],
- "desc":"Removes the quantity of the specified item.",
- "size":5
- },
- {
- "name":"checkitemroom",
- "args":2,
- "value":70,
- "params":[
- {
- "type":"W",
- "desc":"Item # to check for"
- },
- {
- "type":"W",
- "desc":"Quantity"
- }
- ],
- "desc":"Checks if the player has enough room in the bag for the specified item.",
- "size":5
- },
- {
- "name":"checkitem",
- "args":2,
- "value":71,
- "params":[
- {
- "type":"W",
- "desc":"Item # to check for"
- },
- {
- "type":"W",
- "desc":"Quantity"
- }
- ],
- "desc":"Checks if the player is carrying the specified item.",
- "size":5
- },
- {
- "name":"checkitemtype",
- "args":1,
- "value":72,
- "params":[
- {
- "type":"W",
- "desc":"Item # to check for"
- }
- ],
- "desc":"Checks the item type for the specified item and store the result in LASTRESULT.",
- "size":3
- },
- {
- "name":"addpcitem",
- "args":2,
- "value":73,
- "params":[
- {
- "type":"W",
- "desc":"Item # to add"
- },
- {
- "type":"W",
- "desc":"Quantity"
- }
- ],
- "desc":"Adds the quantity of the specified item to player's PC.",
- "size":5
- },
- {
- "name":"checkpcitem",
- "args":2,
- "value":74,
- "params":[
- {
- "type":"W",
- "desc":"Item # to add"
- },
- {
- "type":"W",
- "desc":"Quantity"
- }
- ],
- "desc":"Checks if the player has the specified item on his/her PC.",
- "size":5
- },
- {
- "name":"adddecoration",
- "args":1,
- "value":75,
- "params":[
- {
- "type":"W",
- "desc":"Decoration #"
- }
- ],
- "desc":"Adds a decoration to player's PC.",
- "size":3
- },
- {
- "name":"removedecoration",
- "args":1,
- "value":76,
- "params":[
- {
- "type":"W",
- "desc":"Decoration #"
- }
- ],
- "desc":"Removes a decoration from player's PC.",
- "size":3
- },
- {
- "name":"testdecoration",
- "args":1,
- "value":77,
- "params":[
- {
- "type":"W",
- "desc":"Decoration #"
- }
- ],
- "desc":"Tests a specific decoration to see if there's enough room to store it.",
- "size":3
- },
- {
- "name":"checkdecoration",
- "args":1,
- "value":78,
- "params":[
- {
- "type":"W",
- "desc":"Decoration #"
- }
- ],
- "desc":"Checks if a specific decoration is present in player's PC.",
- "size":3
- },
- {
- "name":"applymovement",
- "args":2,
- "value":79,
- "params":[
- {
- "type":"W",
- "desc":"People # to use"
- },
- {
- "type":"P",
- "desc":"Pointer to the movement data"
- }
- ],
- "desc":"Applies the movement data found at the specified pointer to a sprite.",
- "size":7
- },
- {
- "name":"applymovementpos",
- "args":4,
- "value":80,
- "params":[
- {
- "type":"W",
- "desc":"People # to use"
- },
- {
- "type":"P",
- "desc":"Pointer to the movement data"
- },
- {
- "type":"B",
- "desc":"X coordinate"
- },
- {
- "type":"B",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Applies the movement data found at the specified pointer to a sprite. Then set the specified X/Y coordinates.",
- "size":9
- },
- {
- "name":"waitmovement",
- "args":1,
- "value":81,
- "params":[
- {
- "type":"W",
- "desc":"People # to wait for"
- }
- ],
- "desc":"Waits for applymovement to finish.",
- "size":3
- },
- {
- "name":"waitmovementpos",
- "args":3,
- "value":82,
- "params":[
- {
- "type":"W",
- "desc":"People # to wait for"
- },
- {
- "type":"B",
- "desc":"X coordinate"
- },
- {
- "type":"B",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Waits for applymovement to finish. Then set the specified X/Y coordinates.",
- "size":5
- },
- {
- "name":"hidesprite",
- "args":1,
- "value":83,
- "params":[
- {
- "type":"W",
- "desc":"People # to hide"
- }
- ],
- "desc":"Hides a sprite.",
- "size":3
- },
- {
- "name":"hidespritepos",
- "args":3,
- "value":84,
- "params":[
- {
- "type":"W",
- "desc":"People # to hide"
- },
- {
- "type":"B",
- "desc":"X coordinate"
- },
- {
- "type":"B",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Hides a sprite, then set the specified X/Y coordinates.",
- "size":5
- },
- {
- "name":"showsprite",
- "args":1,
- "value":85,
- "params":[
- {
- "type":"W",
- "desc":"People # to show"
- }
- ],
- "desc":"Shows a previously vanished sprite.",
- "size":3
- },
- {
- "name":"showspritepos",
- "args":3,
- "value":86,
- "params":[
- {
- "type":"W",
- "desc":"People # to show"
- },
- {
- "type":"B",
- "desc":"X coordinate"
- },
- {
- "type":"B",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Shows a previously vanished sprite. Then set the specified X/Y coordinates.",
- "size":5
- },
- {
- "name":"movesprite",
- "args":3,
- "value":87,
- "params":[
- {
- "type":"W",
- "desc":"People # to move"
- },
- {
- "type":"W",
- "desc":"X coordinate to move to"
- },
- {
- "type":"W",
- "desc":"Y coordinate to move to"
- }
- ],
- "desc":"Moves a sprite to the specified location.",
- "size":7
- },
- {
- "name":"spritevisible",
- "args":3,
- "value":88,
- "params":[
- {
- "type":"W",
- "desc":"People #"
- },
- {
- "type":"B",
- "desc":"Bank #"
- },
- {
- "type":"B",
- "desc":"Map #"
- }
- ],
- "desc":"Makes the sprite visible at selected bank and map.",
- "size":5
- },
- {
- "name":"spriteinvisible",
- "args":3,
- "value":89,
- "params":[
- {
- "type":"W",
- "desc":"People #"
- },
- {
- "type":"B",
- "desc":"Bank #"
- },
- {
- "type":"B",
- "desc":"Map #"
- }
- ],
- "desc":"Makes the sprite invisible at selected bank and map.",
- "size":5
- },
- {
- "name":"faceplayer",
- "args":0,
- "value":90,
- "params":[
- ],
- "desc":"Turns the caller towards the player.",
- "size":1
- },
- {
- "name":"spriteface",
- "args":2,
- "value":91,
- "params":[
- {
- "type":"W",
- "desc":"People #"
- },
- {
- "type":"B",
- "desc":"Facing"
- }
- ],
- "desc":"Changes a facing of a sprite.",
- "size":4
- },
- {
- "name":"trainerbattle",
- "args":5,
- "value":92,
- "params":[
- {
- "type":"B",
- "desc":"Kind of battle"
- },
- {
- "type":"W",
- "desc":"Battle # to start"
- },
- {
- "type":"W",
- "desc":"Reserved"
- },
- {
- "type":"P",
- "desc":"Pointer to the challenge text"
- },
- {
- "type":"P",
- "desc":"Pointer to the defeat text"
- },
- {
- "type":"P",
- "desc":"Pointer to either denial or...?"
- }
- ],
- "desc":"Starts a trainer battle. Depending on the kind of battle, last parameters may differ.",
- "size":14
- },
- {
- "name":"repeattrainerbattle",
- "args":0,
- "value":93,
- "params":[
- ],
- "desc":"Repeats the last trainer battle started.",
- "size":1
- },
- {
- "name":"endtrainerbattle",
- "args":0,
- "value":94,
- "params":[
- ],
- "desc":"Returns from the trainer battle screen without starting message.",
- "size":1
- },
- {
- "name":"endtrainerbattle2",
- "args":0,
- "value":95,
- "params":[
- ],
- "desc":"Returns from the trainer battle screen without ending message.",
- "size":1
- },
- {
- "name":"checktrainerflag",
- "args":1,
- "value":96,
- "params":[
- {
- "type":"W",
- "desc":"Trainer # to check"
- }
- ],
- "desc":"Checks it the specified trainer flag is already activated and store the result in LASTRESULT.",
- "size":3
- },
- {
- "name":"cleartrainerflag",
- "args":1,
- "value":97,
- "params":[
- {
- "type":"W",
- "desc":"Trainer # to disable"
- }
- ],
- "desc":"Deactivates the specified trainer flag.",
- "size":3
- },
- {
- "name":"settrainerflag",
- "args":1,
- "value":98,
- "params":[
- {
- "type":"W",
- "desc":"Trainer # to enable"
- }
- ],
- "desc":"Activates the specified trainer flag.",
- "size":3
- },
- {
- "name":"movesprite2",
- "args":3,
- "value":99,
- "params":[
- {
- "type":"W",
- "desc":"People # to move"
- },
- {
- "type":"W",
- "desc":"X coordinate to move to"
- },
- {
- "type":"W",
- "desc":"Y coordinate to move to"
- }
- ],
- "desc":"Moves a sprite to the specified location. Permanent change.",
- "size":7
- },
- {
- "name":"moveoffscreen",
- "args":1,
- "value":100,
- "params":[
- {
- "type":"W",
- "desc":"People # to move"
- }
- ],
- "desc":"Changes the location of the specified sprite to a value which is exactly one tile above the top left corner of the screen.",
- "size":3
- },
- {
- "name":"spritebehave",
- "args":2,
- "value":101,
- "params":[
- {
- "type":"W",
- "desc":"People #"
- },
- {
- "type":"B",
- "desc":"Behaviour #"
- }
- ],
- "desc":"Changes the behaviour of a sprite.",
- "size":4
- },
- {
- "name":"waitmsg",
- "args":0,
- "value":102,
- "params":[
- ],
- "desc":"Waits for preparemsg to finish.",
- "size":1
- },
- {
- "name":"preparemsg",
- "args":1,
- "value":103,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to text"
- }
- ],
- "desc":"Prepares a pointer to dialogue text for being displayed.",
- "size":5
- },
- {
- "name":"closeonkeypress",
- "args":0,
- "value":104,
- "params":[
- ],
- "desc":"Holds a msgbox open and closes it on keypress.",
- "size":1
- },
- {
- "name":"lockall",
- "args":0,
- "value":105,
- "params":[
- ],
- "desc":"Locks down movement for all the people on the screen.",
- "size":1
- },
- {
- "name":"lock",
- "args":0,
- "value":106,
- "params":[
- ],
- "desc":"Locks down movement for the caller.",
- "size":1
- },
- {
- "name":"releaseall",
- "args":0,
- "value":107,
- "params":[
- ],
- "desc":"Resumes normal movement forall the people on the screen. Closes any previously opened msgboxes as well.",
- "size":1
- },
- {
- "name":"release",
- "args":0,
- "value":108,
- "params":[
- ],
- "desc":"Resumes normal movement for the caller. Closes any previously opened msgboxes as well.",
- "size":1
- },
- {
- "name":"waitkeypress",
- "args":0,
- "value":109,
- "params":[
- ],
- "desc":"Waits until a key is pressed.",
- "size":1
- },
- {
- "name":"yesnobox",
- "args":2,
- "value":110,
- "params":[
- {
- "type":"B",
- "desc":"X coordinate"
- },
- {
- "type":"B",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Displays a Yes/No box at specified coordinates.",
- "size":3
- },
- {
- "name":"multichoice",
- "args":4,
- "value":111,
- "params":[
- {
- "type":"B",
- "desc":"Left coordinate"
- },
- {
- "type":"B",
- "desc":"Top coordinate"
- },
- {
- "type":"B",
- "desc":"Choice list ID # to use"
- },
- {
- "type":"B",
- "desc":"Determines if the B button can be used to cancel"
- }
- ],
- "desc":"Puts up a list of choices for the player to make.",
- "size":5
- },
- {
- "name":"multichoice2",
- "args":5,
- "value":112,
- "params":[
- {
- "type":"B",
- "desc":"Left coordinate"
- },
- {
- "type":"B",
- "desc":"Top coordinate"
- },
- {
- "type":"B",
- "desc":"Choice list ID # to use"
- },
- {
- "type":"B",
- "desc":"Default selected choice"
- },
- {
- "type":"B",
- "desc":"Determines if the B button can be used to cancel"
- }
- ],
- "desc":"Puts up a list of choices for the player to make. A default choice can be set.",
- "size":6
- },
- {
- "name":"multichoice3",
- "args":5,
- "value":113,
- "params":[
- {
- "type":"B",
- "desc":"Left coordinate"
- },
- {
- "type":"B",
- "desc":"Top coordinate"
- },
- {
- "type":"B",
- "desc":"Choice list ID # to use"
- },
- {
- "type":"B",
- "desc":"Number of choices per row"
- },
- {
- "type":"B",
- "desc":"Determines if the B button can be used to cancel"
- }
- ],
- "desc":"Puts up a list of choices for the player to make. The number of choices per row can be set.",
- "size":6
- },
- {
- "name":"showbox",
- "args":4,
- "value":114,
- "params":[
- {
- "type":"B",
- "desc":"Left position"
- },
- {
- "type":"B",
- "desc":"Top position"
- },
- {
- "type":"B",
- "desc":"Width"
- },
- {
- "type":"B",
- "desc":"Height"
- }
- ],
- "desc":"Displays a box with the given dimensions.",
- "size":5
- },
- {
- "name":"hidebox",
- "args":4,
- "value":115,
- "params":[
- {
- "type":"B",
- "desc":"Left position"
- },
- {
- "type":"B",
- "desc":"Top position"
- },
- {
- "type":"B",
- "desc":"Width"
- },
- {
- "type":"B",
- "desc":"Height"
- }
- ],
- "desc":"Hides a displayed box. Ruby/Sapphire only.",
- "size":5
- },
- {
- "name":"clearbox",
- "args":4,
- "value":116,
- "params":[
- {
- "type":"B",
- "desc":"Left position"
- },
- {
- "type":"B",
- "desc":"Top position"
- },
- {
- "type":"B",
- "desc":"Width"
- },
- {
- "type":"B",
- "desc":"Height"
- }
- ],
- "desc":"Clears a part of a custom box.",
- "size":5
- },
- {
- "name":"showpokepic",
- "args":3,
- "value":117,
- "params":[
- {
- "type":"W",
- "desc":"Pok\u00e9mon species to display"
- },
- {
- "type":"B",
- "desc":"X coordinate"
- },
- {
- "type":"B",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Displays a Pok\u00e9mon in a picture box.",
- "size":5
- },
- {
- "name":"hidepokepic",
- "args":0,
- "value":118,
- "params":[
- ],
- "desc":"Hides a Pok\u00e9mon picture box previously showed.",
- "size":1
- },
- {
- "name":"showcontestwinner",
- "args":1,
- "value":119,
- "params":[
- {
- "type":"B",
- "desc":"Contest #"
- }
- ],
- "desc":"Shows the picture of the winner of set contest.",
- "size":2
- },
- {
- "name":"braille",
- "args":1,
- "value":120,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to braille data"
- }
- ],
- "desc":"Displays a braille box.",
- "size":5
- },
- {
- "name":"givepokemon",
- "args":6,
- "value":121,
- "params":[
- {
- "type":"W",
- "desc":"Pok\u00e9mon species to give"
- },
- {
- "type":"B",
- "desc":"Level of the Pok\u00e9mon"
- },
- {
- "type":"W",
- "desc":"Item # to be held"
- },
- {
- "type":"D",
- "desc":"Filler"
- },
- {
- "type":"D",
- "desc":"Filler"
- },
- {
- "type":"B",
- "desc":"Filler"
- }
- ],
- "desc":"Gives the player a Pok\u00e9mon.",
- "size":15
- },
- {
- "name":"giveegg",
- "args":1,
- "value":122,
- "params":[
- {
- "type":"W",
- "desc":"Pok\u00e9mon species to give"
- }
- ],
- "desc":"Gives the player an egg of the specified Pok\u00e9mon.",
- "size":3
- },
- {
- "name":"setpkmnpp",
- "args":3,
- "value":123,
- "params":[
- {
- "type":"B",
- "desc":"Pok\u00e9mon #"
- },
- {
- "type":"B",
- "desc":"Attack slot"
- },
- {
- "type":"W",
- "desc":"PP amount"
- }
- ],
- "desc":"Sets a new amount of PP for the specified Pok\u00e9mon in player's party.",
- "size":5
- },
- {
- "name":"checkattack",
- "args":1,
- "value":124,
- "params":[
- {
- "type":"W",
- "desc":"Attack # to check"
- }
- ],
- "desc":"Checks if at least one Pok\u00e9mon in the party has a particular attack.",
- "size":3
- },
- {
- "name":"bufferpokemon",
- "args":2,
- "value":125,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- },
- {
- "type":"W",
- "desc":"Pok\u00e9mon species to store"
- }
- ],
- "desc":"Stores a Pok\u00e9mon name within a specified buffer.",
- "size":4
- },
- {
- "name":"bufferfirstpokemon",
- "args":1,
- "value":126,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- }
- ],
- "desc":"Stores the first Pok\u00e9mon name in player's party within a specified buffer.",
- "size":2
- },
- {
- "name":"bufferpartypokemon",
- "args":2,
- "value":127,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- },
- {
- "type":"W",
- "desc":"Pok\u00e9mon #"
- }
- ],
- "desc":"Stores the selected Pok\u00e9mon name in player's party within a specified buffer.",
- "size":4
- },
- {
- "name":"bufferitem",
- "args":2,
- "value":128,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- },
- {
- "type":"W",
- "desc":"Item # to store"
- }
- ],
- "desc":"Stores an item name within a specified buffer.",
- "size":4
- },
- {
- "name":"bufferdecoration",
- "args":2,
- "value":129,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- },
- {
- "type":"W",
- "desc":"Decoration # to store"
- }
- ],
- "desc":"Stores a decoration name within a specified buffer.",
- "size":4
- },
- {
- "name":"bufferattack",
- "args":2,
- "value":130,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- },
- {
- "type":"W",
- "desc":"Attack # to store"
- }
- ],
- "desc":"Stores an attack name within a specified buffer.",
- "size":4
- },
- {
- "name":"buffernumber",
- "args":2,
- "value":131,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- },
- {
- "type":"W",
- "desc":"Variable to store"
- }
- ],
- "desc":"Variable version on buffernumber.",
- "size":4
- },
- {
- "name":"bufferstd",
- "args":2,
- "value":132,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- },
- {
- "type":"W",
- "desc":"Standard string #"
- }
- ],
- "desc":"Stores a standard string within a specified buffer.",
- "size":4
- },
- {
- "name":"bufferstring",
- "args":2,
- "value":133,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- },
- {
- "type":"P",
- "desc":"Pointer to the string to store"
- }
- ],
- "desc":"Stores a string within a specified buffer.",
- "size":6
- },
- {
- "name":"pokemart",
- "args":1,
- "value":134,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to the item list"
- }
- ],
- "desc":"Opens the Pok\u00e9mart shop system with the item/price list found at the selected pointer.",
- "size":5
- },
- {
- "name":"pokemart2",
- "args":1,
- "value":135,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to the item list"
- }
- ],
- "desc":"Opens the Pok\u00e9Mart shop system with the item/price list found at the selected pointer.",
- "size":5
- },
- {
- "name":"pokemart3",
- "args":1,
- "value":136,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to the item list"
- }
- ],
- "desc":"Opens the Pok\u00e9Mart shop system with the item/price list found at the selected pointer.",
- "size":5
- },
- {
- "name":"pokecasino",
- "args":1,
- "value":137,
- "params":[
- {
- "type":"W",
- "desc":"Variable #"
- }
- ],
- "desc":"Opens the Casino system.",
- "size":3
- },
- {
- "name":"cmd8a",
- "args":3,
- "value":138,
- "params":[
- {
- "type":"B",
- "desc":"???"
- },
- {
- "type":"B",
- "desc":"???"
- },
- {
- "type":"B",
- "desc":"???"
- }
- ],
- "desc":"Apparently does absolutely nothing.",
- "size":4
- },
- {
- "name":"choosecontestpkmn",
- "args":0,
- "value":139,
- "params":[
- ],
- "desc":"Opens up a menu for choosing a contest Pok\u00e9mon.",
- "size":1
- },
- {
- "name":"startcontest",
- "args":0,
- "value":140,
- "params":[
- ],
- "desc":"Start a Pok\u00e9mon Contest.\r\r\n",
- "size":1
- },
- {
- "name":"showcontestresults",
- "args":0,
- "value":141,
- "params":[
- ],
- "desc":"Shows Pok\u00e9mon contest results.",
- "size":1
- },
- {
- "name":"contestlinktransfer",
- "args":0,
- "value":142,
- "params":[
- ],
- "desc":"Establishes a connection using the wireless adapter. Emerald only.\r\r\n\r\r\n",
- "size":1
- },
- {
- "name":"random",
- "args":1,
- "value":143,
- "params":[
- {
- "type":"W",
- "desc":"Total possibilities"
- }
- ],
- "desc":"Generates a random number storing it into LASTRESULT.",
- "size":3
- },
- {
- "name":"givemoney",
- "args":2,
- "value":144,
- "params":[
- {
- "type":"D",
- "desc":"Money quantity to give"
- },
- {
- "type":"B",
- "desc":"Command execution check"
- }
- ],
- "desc":"Gives the player some money.",
- "size":6
- },
- {
- "name":"paymoney",
- "args":2,
- "value":145,
- "params":[
- {
- "type":"D",
- "desc":"Money quantity to pay"
- },
- {
- "type":"B",
- "desc":"Command execution check"
- }
- ],
- "desc":"Takes some money from the player.",
- "size":6
- },
- {
- "name":"checkmoney",
- "args":2,
- "value":146,
- "params":[
- {
- "type":"D",
- "desc":"Money quantity to check"
- },
- {
- "type":"B",
- "desc":"Command execution check"
- }
- ],
- "desc":"Checks if the player has a specified amount of money.",
- "size":6
- },
- {
- "name":"showmoney",
- "args":3,
- "value":147,
- "params":[
- {
- "type":"B",
- "desc":"X coordinate"
- },
- {
- "type":"B",
- "desc":"Y coordinate"
- },
- {
- "type":"B",
- "desc":"Command execution check"
- }
- ],
- "desc":"Shows the money counter on set coordinates.",
- "size":4
- },
- {
- "name":"hidemoney",
- "args":2,
- "value":148,
- "params":[
- {
- "type":"B",
- "desc":"X coordinate"
- },
- {
- "type":"B",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Hides the money counter.",
- "size":3
- },
- {
- "name":"updatemoney",
- "args":3,
- "value":149,
- "params":[
- {
- "type":"B",
- "desc":"X coordinate"
- },
- {
- "type":"B",
- "desc":"Y coordinate"
- },
- {
- "type":"B",
- "desc":"Command execution check"
- }
- ],
- "desc":"Updates the amount of money displayed in the money counter.",
- "size":4
- },
- {
- "name":"cmd96",
- "args":1,
- "value":150,
- "params":[
- {
- "type":"W",
- "desc":"???"
- }
- ],
- "desc":"Apparently does absolutely nothing.",
- "size":3
- },
- {
- "name":"fadescreen",
- "args":1,
- "value":151,
- "params":[
- {
- "type":"B",
- "desc":"Fade effect"
- }
- ],
- "desc":"Fades the screen in or out.",
- "size":2
- },
- {
- "name":"fadescreendelay",
- "args":2,
- "value":152,
- "params":[
- {
- "type":"B",
- "desc":"Fade effect"
- },
- {
- "type":"B",
- "desc":"Delay"
- }
- ],
- "desc":"Fades the screen in or out, after some delay.",
- "size":3
- },
- {
- "name":"darken",
- "args":1,
- "value":153,
- "params":[
- {
- "type":"W",
- "desc":"Flash size"
- }
- ],
- "desc":"Calls flash animation that darkens the area. Must be called from a level script.",
- "size":3
- },
- {
- "name":"lighten",
- "args":1,
- "value":154,
- "params":[
- {
- "type":"B",
- "desc":"Flash size"
- }
- ],
- "desc":"Calls flash animation that lightens the area.",
- "size":2
- },
- {
- "name":"preparemsg2",
- "args":1,
- "value":155,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to text"
- }
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":5
- },
- {
- "name":"doanimation",
- "args":1,
- "value":156,
- "params":[
- {
- "type":"W",
- "desc":"Animation "
- }
- ],
- "desc":"Executes the specified move animation.",
- "size":3
- },
- {
- "name":"setanimation",
- "args":2,
- "value":157,
- "params":[
- {
- "type":"B",
- "desc":"Animation #"
- },
- {
- "type":"W",
- "desc":"Variable to use"
- }
- ],
- "desc":"Sets the move animation.",
- "size":4
- },
- {
- "name":"checkanimation",
- "args":1,
- "value":158,
- "params":[
- {
- "type":"W",
- "desc":"Animation #"
- }
- ],
- "desc":"Checks whether an animation is currently being played or not. If so, it'll pause until the animation is done.\r\r\n",
- "size":3
- },
- {
- "name":"sethealingplace",
- "args":1,
- "value":159,
- "params":[
- {
- "type":"W",
- "desc":"Flightspot "
- }
- ],
- "desc":"Sets the place where the player goes once he/she is out of usable Pok\u00e9mon.",
- "size":3
- },
- {
- "name":"checkgender",
- "args":0,
- "value":160,
- "params":[
- ],
- "desc":"Checks if the player is a boy or a girl and stores it in LASTRESULT.",
- "size":1
- },
- {
- "name":"cry",
- "args":2,
- "value":161,
- "params":[
- {
- "type":"W",
- "desc":"Pok\u00e9mon species #"
- },
- {
- "type":"W",
- "desc":"Effect #"
- }
- ],
- "desc":"Plays back the cry of a Pok\u00e9mon.",
- "size":5
- },
- {
- "name":"setmaptile",
- "args":4,
- "value":162,
- "params":[
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- },
- {
- "type":"W",
- "desc":"Tile #"
- },
- {
- "type":"W",
- "desc":"Tile attribute"
- }
- ],
- "desc":"Sets a tile on the map. You must somehow refresh that part.",
- "size":9
- },
- {
- "name":"resetweather",
- "args":0,
- "value":163,
- "params":[
- ],
- "desc":"Prepares to fade the weather into the default type.",
- "size":1
- },
- {
- "name":"setweather",
- "args":1,
- "value":164,
- "params":[
- {
- "type":"W",
- "desc":"New weather"
- }
- ],
- "desc":"Prepares to fade the weather into the type specified.",
- "size":3
- },
- {
- "name":"doweather",
- "args":0,
- "value":165,
- "params":[
- ],
- "desc":"Triggers the weather change set with setweather/resetweather.",
- "size":1
- },
- {
- "name":"cmda6",
- "args":1,
- "value":166,
- "params":[
- {
- "type":"B",
- "desc":"???"
- }
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":2
- },
- {
- "name":"setmapfooter",
- "args":1,
- "value":167,
- "params":[
- {
- "type":"W",
- "desc":"Footer #"
- }
- ],
- "desc":"Changes the current map footer loading the new one. The map must be refreshed afterwards in order to work fine.",
- "size":3
- },
- {
- "name":"spritelevelup",
- "args":4,
- "value":168,
- "params":[
- {
- "type":"W",
- "desc":"People #"
- },
- {
- "type":"B",
- "desc":"Bank #"
- },
- {
- "type":"B",
- "desc":"Map #"
- },
- {
- "type":"B",
- "desc":"???"
- }
- ],
- "desc":"Makes the specified sprite go up one level at selected bank and map.\r\r\n",
- "size":6
- },
- {
- "name":"restorespritelevel",
- "args":3,
- "value":169,
- "params":[
- {
- "type":"W",
- "desc":"People #"
- },
- {
- "type":"B",
- "desc":"Bank #"
- },
- {
- "type":"B",
- "desc":"Map #"
- }
- ],
- "desc":"Restores the original level, at selected bank and map, for the specified sprite.",
- "size":5
- },
- {
- "name":"createsprite",
- "args":6,
- "value":170,
- "params":[
- {
- "type":"B",
- "desc":"Sprite # to use"
- },
- {
- "type":"B",
- "desc":"Virtual people #"
- },
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- },
- {
- "type":"B",
- "desc":"Behaviour"
- },
- {
- "type":"B",
- "desc":"Facing"
- }
- ],
- "desc":"Creates a virtual sprite in the current map.",
- "size":9
- },
- {
- "name":"spriteface2",
- "args":2,
- "value":171,
- "params":[
- {
- "type":"B",
- "desc":"Virtual people #"
- },
- {
- "type":"B",
- "desc":"Facing"
- }
- ],
- "desc":"Changes a facing of a virtual sprite.",
- "size":3
- },
- {
- "name":"setdooropened",
- "args":2,
- "value":172,
- "params":[
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Prepares a door to be opened.",
- "size":5
- },
- {
- "name":"setdoorclosed",
- "args":2,
- "value":173,
- "params":[
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Prepares a door to be closed.",
- "size":5
- },
- {
- "name":"doorchange",
- "args":0,
- "value":174,
- "params":[
- ],
- "desc":"Changes the state of the selected door.",
- "size":1
- },
- {
- "name":"setdooropened2",
- "args":2,
- "value":175,
- "params":[
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Prepares a door to be opened. No animation.",
- "size":5
- },
- {
- "name":"setdoorclosed2",
- "args":2,
- "value":176,
- "params":[
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Prepares a door to be closed. No animation.",
- "size":5
- },
- {
- "name":"cmdb1",
- "args":4,
- "value":177,
- "params":[
- {
- "type":"B",
- "desc":"???"
- },
- {
- "type":"W",
- "desc":"???"
- },
- {
- "type":"B",
- "desc":"???"
- },
- {
- "type":"W",
- "desc":"???"
- }
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":7
- },
- {
- "name":"cmdb2",
- "args":0,
- "value":178,
- "params":[
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":1
- },
- {
- "name":"checkcoins",
- "args":1,
- "value":179,
- "params":[
- {
- "type":"W",
- "desc":"Variable to use"
- }
- ],
- "desc":"Checks the actual amount of coins and stores it on a specified variable.",
- "size":3
- },
- {
- "name":"givecoins",
- "args":1,
- "value":180,
- "params":[
- {
- "type":"W",
- "desc":"Number of coins to give"
- }
- ],
- "desc":"Gives the player a specified quantity of coins.",
- "size":3
- },
- {
- "name":"removecoins",
- "args":1,
- "value":181,
- "params":[
- {
- "type":"W",
- "desc":"Number of coins to remove"
- }
- ],
- "desc":"Removes a specified quantity of coins.",
- "size":3
- },
- {
- "name":"setwildbattle",
- "args":3,
- "value":182,
- "params":[
- {
- "type":"W",
- "desc":"Pok\u00e9mon species"
- },
- {
- "type":"B",
- "desc":"Level of the Pok\u00e9mon"
- },
- {
- "type":"W",
- "desc":"Item # to be held"
- }
- ],
- "desc":"Prepares to start a battle with a specified Pok\u00e9mon, level and item.",
- "size":6
- },
- {
- "name":"dowildbattle",
- "args":0,
- "value":183,
- "params":[
- ],
- "desc":"Triggers the battle specified by setbattle.",
- "size":1
- },
- {
- "name":"setvirtualaddress",
- "args":1,
- "value":184,
- "params":[
- {
- "type":"D",
- "desc":"Value"
- }
- ],
- "desc":"Jumps to the specified value - value at 0x020375C4 in RAM, continuing execution from there.",
- "size":5
- },
- {
- "name":"virtualgoto",
- "args":1,
- "value":185,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to custom function"
- }
- ],
- "desc":"Jumps to a custom function.",
- "size":5
- },
- {
- "name":"virtualcall",
- "args":1,
- "value":186,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to custom function"
- }
- ],
- "desc":"Calls a custom function.",
- "size":5
- },
- {
- "name":"virtualgotoif",
- "args":2,
- "value":187,
- "params":[
- {
- "type":"B",
- "desc":"Condition"
- },
- {
- "type":"P",
- "desc":"Pointer to custom function"
- }
- ],
- "desc":"Jumps to a custom function, conditional version.",
- "size":6
- },
- {
- "name":"virtualcallif",
- "args":2,
- "value":188,
- "params":[
- {
- "type":"B",
- "desc":"Condition"
- },
- {
- "type":"P",
- "desc":"Pointer to custom function"
- }
- ],
- "desc":"Calls a custom function, conditional version.",
- "size":6
- },
- {
- "name":"virtualmsgbox",
- "args":1,
- "value":189,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to text"
- }
- ],
- "desc":"Prepares a pointer to dialogue text for use.",
- "size":5
- },
- {
- "name":"virtualloadpointer",
- "args":1,
- "value":190,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to text"
- }
- ],
- "desc":"Prepares a pointer to dialogue text for use.",
- "size":5
- },
- {
- "name":"virtualbuffer",
- "args":2,
- "value":191,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- },
- {
- "type":"P",
- "desc":"Pointer to the string to store"
- }
- ],
- "desc":"Stores a custom string within a buffer.",
- "size":6
- },
- {
- "name":"showcoins",
- "args":2,
- "value":192,
- "params":[
- {
- "type":"B",
- "desc":"X coordinate"
- },
- {
- "type":"B",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Shows the coin counter on set coordinates.",
- "size":3
- },
- {
- "name":"hidecoins",
- "args":2,
- "value":193,
- "params":[
- {
- "type":"B",
- "desc":"X coordinate"
- },
- {
- "type":"B",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Hides the coin counter.",
- "size":3
- },
- {
- "name":"updatecoins",
- "args":2,
- "value":194,
- "params":[
- {
- "type":"B",
- "desc":"X coordinate"
- },
- {
- "type":"B",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Updates the amount of coins displayed in the coin counter.",
- "size":3
- },
- {
- "name":"cmdc3",
- "args":1,
- "value":195,
- "params":[
- {
- "type":"B",
- "desc":"???"
- }
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":2
- },
- {
- "name":"warp6",
- "args":5,
- "value":196,
- "params":[
- {
- "type":"B",
- "desc":"Bank # to warp to"
- },
- {
- "type":"B",
- "desc":"Map # to warp to"
- },
- {
- "type":"B",
- "desc":"Exit # to warp to"
- },
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Warps the player to another map.",
- "size":8
- },
- {
- "name":"waitcry",
- "args":0,
- "value":197,
- "params":[
- ],
- "desc":"Waits for cry to finish.",
- "size":1
- },
- {
- "name":"bufferboxname",
- "args":2,
- "value":198,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- },
- {
- "type":"W",
- "desc":"PC box # to store"
- }
- ],
- "desc":"Stores the name of a PC box within a specified buffer.",
- "size":4
- },
- {
- "name":"textcolor",
- "args":1,
- "value":199,
- "params":[
- {
- "type":"B",
- "desc":"Color #"
- }
- ],
- "desc":"Changes the text color used. FR/LG only.",
- "size":2
- },
- {
- "name":"cmdc8",
- "args":0,
- "value":200,
- "params":[
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":1
- },
- {
- "name":"cmdc9",
- "args":0,
- "value":201,
- "params":[
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":1
- },
- {
- "name":"signmsg",
- "args":0,
- "value":202,
- "params":[
- ],
- "desc":"Changes the graphics used by msgboxes in order to make them look like signs. FR/LG only.",
- "size":1
- },
- {
- "name":"normalmsg",
- "args":0,
- "value":203,
- "params":[
- ],
- "desc":"Clears the effect of the msgboxsign command. FR/LG only.",
- "size":1
- },
- {
- "name":"comparehiddenvar",
- "args":2,
- "value":204,
- "params":[
- {
- "type":"B",
- "desc":"Variable #"
- },
- {
- "type":"W",
- "desc":"Value to compare variable to"
- }
- ],
- "desc":"Compares the value of a chosen hidden variable. FR/LG only.",
- "size":4
- },
- {
- "name":"setobedience",
- "args":1,
- "value":205,
- "params":[
- {
- "type":"W",
- "desc":"Pok\u00e9mon #"
- }
- ],
- "desc":"Sets the specified Pok\u00e9mon in player's party as obedient.",
- "size":3
- },
- {
- "name":"checkobedience",
- "args":1,
- "value":206,
- "params":[
- {
- "type":"W",
- "desc":"Pok\u00e9mon #"
- }
- ],
- "desc":"Checks if the specified Pok\u00e9mon in player's party is obedient or not. The result is stored in LASTRESULT.",
- "size":3
- },
- {
- "name":"executeram",
- "args":0,
- "value":207,
- "params":[
- ],
- "desc":"Calculates the current location of the RAM script area and passes the execution to that offset.",
- "size":1
- },
- {
- "name":"setworldmapflag",
- "args":1,
- "value":208,
- "params":[
- {
- "type":"W",
- "desc":"Flag #"
- }
- ],
- "desc":"Sets the flag used to allow the player to fly to a specific place. FR/LG only.",
- "size":3
- },
- {
- "name":"warpteleport2",
- "args":5,
- "value":209,
- "params":[
- {
- "type":"B",
- "desc":"Bank # to warp to"
- },
- {
- "type":"B",
- "desc":"Map # to warp to"
- },
- {
- "type":"B",
- "desc":"Exit # to warp to"
- },
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"Warps the player to another map. Teleport effect.",
- "size":8
- },
- {
- "name":"setcatchlocation",
- "args":2,
- "value":210,
- "params":[
- {
- "type":"W",
- "desc":"Pok\u00e9mon #"
- },
- {
- "type":"B",
- "desc":"Catch location #"
- }
- ],
- "desc":"Changes the catch location for a specified Pok\u00e9mon in player's party.",
- "size":4
- },
- {
- "name":"braille2",
- "args":1,
- "value":211,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to braille data"
- }
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":5
- },
- {
- "name":"bufferitems",
- "args":3,
- "value":212,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- },
- {
- "type":"W",
- "desc":"Item # to store"
- },
- {
- "type":"W",
- "desc":"Quantity"
- }
- ],
- "desc":"Stores a plural item name within a specified buffer. FR/LG only.",
- "size":6
- },
- {
- "name":"cmdd5",
- "args":1,
- "value":213,
- "params":[
- {
- "type":"W",
- "desc":"???"
- }
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":3
- },
- {
- "name":"cmdd6",
- "args":0,
- "value":214,
- "params":[
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":1
- },
- {
- "name":"warp7",
- "args":5,
- "value":215,
- "params":[
- {
- "type":"B",
- "desc":"Bank # to warp to"
- },
- {
- "type":"B",
- "desc":"Map # to warp to"
- },
- {
- "type":"B",
- "desc":"Exit # to warp to"
- },
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":8
- },
- {
- "name":"cmdd8",
- "args":0,
- "value":216,
- "params":[
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":1
- },
- {
- "name":"cmdd9",
- "args":0,
- "value":217,
- "params":[
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":1
- },
- {
- "name":"hidebox2",
- "args":0,
- "value":218,
- "params":[
- ],
- "desc":"Hides a displayed box. Emerald only.",
- "size":1
- },
- {
- "name":"preparemsg3",
- "args":1,
- "value":219,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to text"
- }
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":5
- },
- {
- "name":"fadescreen3",
- "args":1,
- "value":220,
- "params":[
- {
- "type":"B",
- "desc":"???"
- }
- ],
- "desc":"Fades the screen in or out. Emerald only.",
- "size":2
- },
- {
- "name":"buffertrainerclass",
- "args":2,
- "value":221,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- },
- {
- "type":"W",
- "desc":"Trainer class #"
- }
- ],
- "desc":"Stores the name of the selected trainer class within a specified buffer. Emerald only.",
- "size":4
- },
- {
- "name":"buffertrainername",
- "args":2,
- "value":222,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- },
- {
- "type":"W",
- "desc":"Trainer #"
- }
- ],
- "desc":"Stores the name of the selected trainer within a specified buffer. Emerald only.",
- "size":4
- },
- {
- "name":"pokenavcall",
- "args":1,
- "value":223,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to text"
- }
- ],
- "desc":"Displays a Pok\u00e9nav call. Emerald only.",
- "size":5
- },
- {
- "name":"warp8",
- "args":5,
- "value":224,
- "params":[
- {
- "type":"B",
- "desc":"Bank # to warp to"
- },
- {
- "type":"B",
- "desc":"Map # to warp to"
- },
- {
- "type":"B",
- "desc":"Exit # to warp to"
- },
- {
- "type":"W",
- "desc":"X coordinate"
- },
- {
- "type":"W",
- "desc":"Y coordinate"
- }
- ],
- "desc":"This command is currently under investigation. No detailed information is available at this time.",
- "size":8
- },
- {
- "name":"buffercontestype",
- "args":2,
- "value":225,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- },
- {
- "type":"W",
- "desc":"Contest type"
- }
- ],
- "desc":"Stores the name of the selected contest type within a specified buffer. Emerald only.",
- "size":4
- },
- {
- "name":"bufferitems2",
- "args":3,
- "value":226,
- "params":[
- {
- "type":"B",
- "desc":"Buffer #"
- },
- {
- "type":"W",
- "desc":"Item # to store"
- },
- {
- "type":"W",
- "desc":"Quantity"
- }
- ],
- "desc":"Stores a plural item name within a specified buffer. Emerald only.",
- "size":6
- },
- {
- "name":"message",
- "args":2,
- "value":228,
- "params":[
- {
- "type":"P",
- "desc":"Pointer to load into memory"
- },
- {
- "type":"B",
- "desc":"Message Type"
- },
- {
- "type":"",
- "desc":""
- }
- ],
- "desc":"Loads a pointer into memory to display a message later on.",
- "size":8
- },
- {
- "name":"giveitem",
- "args":3,
- "value":229,
- "params":[
- {
- "type":"W",
- "desc":"ITEM to add"
- },
- {
- "type":"W",
- "desc":"Quantity"
- },
- {
- "type":"B",
- "desc":"Message Type"
- },
- {
- "type":"",
- "desc":""
- }
- ],
- "desc":"Gives a specified item and displays an aftermath message of the player receiving the item.",
- "size":12
- },
- {
- "name":"giveitem2",
- "args":3,
- "value":230,
- "params":[
- {
- "type":"W",
- "desc":"ITEM to add"
- },
- {
- "type":"W",
- "desc":"Quantity"
- },
- {
- "type":" W",
- "desc":"Sapp song# to play"
- },
- {
- "type":"",
- "desc":""
- }
- ],
- "desc":"Similar to giveitem except it plays a fanfare too.",
- "size":17
- },
- {
- "name":"giveitem3",
- "args":1,
- "value":231,
- "params":[
- {
- "type":"W",
- "desc":"Decoration#"
- },
- {
- "type":"",
- "desc":""
- }
- ],
- "desc":"Gives the player a specified decoration and displays a related message.",
- "size":7
- },
- {
- "name":"wildbattle",
- "args":3,
- "value":232,
- "params":[
- {
- "type":"W",
- "desc":"PKMN species to battle"
- },
- {
- "type":"B",
- "desc":"Level of the pokemon"
- },
- {
- "type":"W",
- "desc":"Item # to be held "
- },
- {
- "type":"",
- "desc":""
- }
- ],
- "desc":"Starts a wild Pok\u00e9mon battle.",
- "size":7
- },
- {
- "name":"wildbattle2",
- "args":4,
- "value":233,
- "params":[
- {
- "type":"W",
- "desc":"PKMN species to battle"
- },
- {
- "type":"B",
- "desc":"Level of the pokemon"
- },
- {
- "type":"W",
- "desc":"Item # to be held"
- },
- {
- "type":"B",
- "desc":"Battle Style"
- },
- {
- "type":"",
- "desc":""
- }
- ],
- "desc":"Starts a wild battle using a specific graphic style.",
- "size":10
- },
- {
- "name":"registernav",
- "args":1,
- "value":234,
- "params":[
- {
- "type":"W",
- "desc":"Trainer ID#"
- },
- {
- "type":"",
- "desc":""
- }
- ],
- "desc":"Register the specified trainer in the Pok\u00e9Nav. Emerald only.",
- "size":7
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement