You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Cosmetic fixes
This commit is contained in:
@@ -68,11 +68,11 @@ ENDM
|
||||
enum sound_duty_cmd ; $de
|
||||
sound_duty: MACRO
|
||||
db sound_duty_cmd
|
||||
if _NARG == 4
|
||||
if _NARG == 4
|
||||
db \1 | (\2 << 2) | (\3 << 4) | (\4 << 6) ; duty sequence
|
||||
else
|
||||
else
|
||||
db \1 ; LEGACY: Support for one-byte duty value
|
||||
endc
|
||||
endc
|
||||
ENDM
|
||||
|
||||
enum togglesfx_cmd ; $df
|
||||
|
@@ -17,6 +17,7 @@ if _NARG <= 4
|
||||
db \3 ; y
|
||||
db \4 ; param
|
||||
else
|
||||
; LEGACY: Support the tile+offset format
|
||||
db \1 ; object
|
||||
db (\2) * 8 + (\3) ; x_tile, x
|
||||
db (\4) * 8 + (\5) ; y_tile, y
|
||||
|
Reference in New Issue
Block a user