aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-06-06 16:25:31 -0500
committerGitHub <noreply@github.com>2022-06-06 17:25:31 -0400
commit6b5be9129cabe72b9f775b02db1bf7e7169153da (patch)
treed92012450c70f90bf8086bed32ec3dc87b68b332 /engine/overworld
parentImproved Virtual Console patch identifiers (#357) (diff)
downloadpokeyellow-6b5be9129cabe72b9f775b02db1bf7e7169153da.tar.gz
pokeyellow-6b5be9129cabe72b9f775b02db1bf7e7169153da.tar.xz
pokeyellow-6b5be9129cabe72b9f775b02db1bf7e7169153da.zip
RGBDS syntax updates (#358)
New MACRO and DEF syntax
Diffstat (limited to 'engine/overworld')
-rw-r--r--engine/overworld/dust_smoke.asm2
-rw-r--r--engine/overworld/movement.asm2
-rw-r--r--engine/overworld/player_animations.asm2
3 files changed, 3 insertions, 3 deletions
diff --git a/engine/overworld/dust_smoke.asm b/engine/overworld/dust_smoke.asm
index bb291567..c97b3e56 100644
--- a/engine/overworld/dust_smoke.asm
+++ b/engine/overworld/dust_smoke.asm
@@ -51,7 +51,7 @@ GetMoveBoulderDustFunctionPointer:
pop hl
ret
-boulder_dust_adjust: MACRO
+MACRO boulder_dust_adjust
db \1, \2 ; coords
dw \3 ; function
ENDM
diff --git a/engine/overworld/movement.asm b/engine/overworld/movement.asm
index 2fb8c384..e08da61a 100644
--- a/engine/overworld/movement.asm
+++ b/engine/overworld/movement.asm
@@ -1,4 +1,4 @@
-MAP_TILESET_SIZE EQU $60
+DEF MAP_TILESET_SIZE EQU $60
UpdatePlayerSprite:
ld a, [wSpritePlayerStateData2WalkAnimationCounter]
diff --git a/engine/overworld/player_animations.asm b/engine/overworld/player_animations.asm
index c458a013..6a890cfd 100644
--- a/engine/overworld/player_animations.asm
+++ b/engine/overworld/player_animations.asm
@@ -475,7 +475,7 @@ FishingRodOAM:
dbsprite 8, 10, 0, 0, $fe, 0 ; left
dbsprite 11, 10, 0, 0, $fe, OAM_HFLIP ; right
-fishing_gfx: MACRO
+MACRO fishing_gfx
dw \1
db \2
db BANK(\1)