diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-06 11:01:21 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-11-06 11:01:21 -0500 |
commit | 45eaaf835cc8b1483e0de059f38d128f42340b71 (patch) | |
tree | 37666a0e603f6b6235ba4761a4fc3e566e63d078 /engine | |
parent | 62f64aa793c25b96109a5bf9c1fdf57257f4524f (diff) |
Identify wSpriteStateData[12] offset uses
Diffstat (limited to 'engine')
-rwxr-xr-x | engine/overworld/map_sprites.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/overworld/map_sprites.asm b/engine/overworld/map_sprites.asm index ba412ab2..c0fb4863 100755 --- a/engine/overworld/map_sprites.asm +++ b/engine/overworld/map_sprites.asm @@ -4,10 +4,10 @@ ; This is also called after displaying text because loading ; text tile patterns overwrites half of the sprite tile pattern data. ; Note on notation: -; $C1X* and $C2X* are used to denote wSpriteStateData1-wSpriteStateData1 + $ff and wSpriteStateData2 + $00-wSpriteStateData2 + $ff sprite slot -; fields, respectively, within loops. The X is the loop index. -; If there is an inner loop, Y is the inner loop index, i.e. $C1Y* and $C2Y* -; denote fields of the sprite slots iterated over in the inner loop. +; x#SPRITESTATEDATA1_* and x#SPRITESTATEDATA2_* are used to denote wSpriteStateData1 and +; wSpriteStateData2 sprite slot, respectively, within loops. The X is the loop index. +; If there is an inner loop, Y is the inner loop index, i.e. y#SPRITESTATEDATA1_* and +; y#SPRITESTATEDATA2_* denote fields of the sprite slots iterated over in the inner loop. _InitMapSprites:: call InitOutsideMapSprites ret c ; return if the map is an outside map (already handled by above call) |