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.inc17
1 files changed, 9 insertions, 8 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index 84fdd592a..73aef33b5 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -345,11 +345,12 @@
.byte 0x32
.endm
- @ Plays the specified (song_number) song. The byte is apparently supposed to be 0x00.
- .macro playbgm song_number:req, unknown:req
+ @ Plays the specified (song_number) song. If save_song is TRUE, the
+ @ specified (song_number) will be saved as if savebgm was called with it.
+ .macro playbgm song_number:req, save_song:req
.byte 0x33
.2byte \song_number
- .byte \unknown
+ .byte \save_song
.endm
@ Saves the specified (song_number) song to be played later.
@@ -812,12 +813,12 @@
.byte 0x68
.endm
- @ Ceases movement for all Objects on-screen.
+ @ Freezes all objects immediately except the player. The player is frozen once their movement is finished.
.macro lockall
.byte 0x69
.endm
- @ If the script was called by an Object, then that Object's movement will cease.
+ @ Freezes all objects immediately except the player and the selected object. The player and selected object are frozen once their movement is finished.
.macro lock
.byte 0x6a
.endm
@@ -918,10 +919,10 @@
.byte 0x76
.endm
- @ Draws an image of the winner of the contest. In FireRed, this command is a nop. (The argument is discarded.)
- .macro showcontestwinner a:req
+ @ Draws an image of the winner of the contest. winnerId is any CONTEST_WINNER_* constant.
+ .macro showcontestpainting winnerId:req
.byte 0x77
- .byte \a
+ .byte \winnerId
.endm
@ Displays the string at pointer as braille text in a standard message box. The string must be formatted to use braille