summaryrefslogtreecommitdiff
path: root/asm/macros/event.inc
diff options
context:
space:
mode:
Diffstat (limited to 'asm/macros/event.inc')
-rw-r--r--asm/macros/event.inc33
1 files changed, 18 insertions, 15 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index 54078332c..64f2cdc92 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -878,15 +878,15 @@
.endm
@ Displays a box containing the front sprite for the specified (species) Pokemon species.
- .macro drawmonpic species:req, x:req, y:req
+ .macro showmonpic species:req, x:req, y:req
.byte 0x75
.2byte \species
.byte \x
.byte \y
.endm
- @ Hides all boxes displayed with drawmonpic.
- .macro erasemonpic
+ @ Hides all boxes displayed with showmonpic.
+ .macro hidemonpic
.byte 0x76
.endm
@@ -1468,31 +1468,34 @@
.byte \location
.endm
- .macro mossdeepgym1 unknown:req
+ @ For the rotating tile puzzles in Mossdeep Gym/Trick House Room 7. Moves the objects on the colored puzzle specified by puzzleNumber one rotation
+ .macro moverotatingtileobjects puzzleNumber:req
.byte 0xd3
- .2byte \unknown
+ .2byte \puzzleNumber
.endm
- .macro mossdeepgym2
+ @ For the rotating tile puzzles in Mossdeep Gym/Trick House Room 7. Updates the facing direction of all objects on the puzzle tiles
+ .macro turnrotatingtileobjects
.byte 0xd4
.endm
- @ In FireRed, this command is a nop.
- .macro mossdeepgym3 var:req
+ @ For the rotating tile puzzles in Mossdeep Gym/Trick House Room 7. Allocates memory for the puzzle objects. isTrickHouse is needed to determine which of the two maps the puzzle is on, in order to know where in the tileset the puzzle tiles start. In FireRed, this command is a nop.
+ .macro initrotatingtilepuzzle isTrickHouse:req
.byte 0xd5
- .2byte \var
+ .2byte \isTrickHouse
.endm
- .macro mossdeepgym4
+ @ For the rotating tile puzzles in Mossdeep Gym/Trick House Room 7. Frees the memory allocated for the puzzle objects.
+ .macro freerotatingtilepuzzle
.byte 0xd6
.endm
- .macro warp7 map:req, byte:req, word1:req, word2:req
+ .macro warpmossdeepgym map:req, warpId:req, x:req, y:req
.byte 0xd7
map \map
- .byte \byte
- .2byte \word1
- .2byte \word2
+ .byte \warpId
+ .2byte \x
+ .2byte \y
.endm
.macro cmdD8
@@ -1503,7 +1506,7 @@
.byte 0xd9
.endm
- .macro hidebox2
+ .macro closebraillemessage
.byte 0xda
.endm