aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld
diff options
context:
space:
mode:
authorRangi42 <remy.oukaour+rangi42@gmail.com>2023-11-20 17:53:19 -0500
committerRangi42 <remy.oukaour+rangi42@gmail.com>2023-11-20 17:53:19 -0500
commitb066d3c9bc02cf4213173538d148cfabcc7212a8 (patch)
tree9ce48f3d91afbbb8fbe9274de3c271d6fa602190 /engine/overworld
parentIdentify the unnamed HRAM variables and one WRAM label (#438) (diff)
downloadpokeyellow-b066d3c9bc02cf4213173538d148cfabcc7212a8.tar.gz
pokeyellow-b066d3c9bc02cf4213173538d148cfabcc7212a8.tar.xz
pokeyellow-b066d3c9bc02cf4213173538d148cfabcc7212a8.zip
Add `bigdw` and `dc` data macros
Diffstat (limited to 'engine/overworld')
-rw-r--r--engine/overworld/sprite_collisions.asm19
1 files changed, 3 insertions, 16 deletions
diff --git a/engine/overworld/sprite_collisions.asm b/engine/overworld/sprite_collisions.asm
index 46c29e3e..ffed3708 100644
--- a/engine/overworld/sprite_collisions.asm
+++ b/engine/overworld/sprite_collisions.asm
@@ -340,19 +340,6 @@ SetSpriteCollisionValues:
ret
SpriteCollisionBitTable:
- db %00000000,%00000001
- db %00000000,%00000010
- db %00000000,%00000100
- db %00000000,%00001000
- db %00000000,%00010000
- db %00000000,%00100000
- db %00000000,%01000000
- db %00000000,%10000000
- db %00000001,%00000000
- db %00000010,%00000000
- db %00000100,%00000000
- db %00001000,%00000000
- db %00010000,%00000000
- db %00100000,%00000000
- db %01000000,%00000000
- db %10000000,%00000000
+FOR n, $10
+ bigdw 1 << n
+ENDR