projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fe839d
)
wram: Added first flag for player
author
Lukas Krickl
<lukas@krickl.dev>
Fri, 3 Jan 2025 18:43:01 +0000
(19:43 +0100)
committer
Lukas Krickl
<lukas@krickl.dev>
Fri, 3 Jan 2025 18:43:01 +0000
(19:43 +0100)
src/wram.s
patch
|
blob
|
history
diff --git
a/src/wram.s
b/src/wram.s
index e577eaf7d35aeedb1a8add20952175e17d96e203..5ae5ded4d0db3465a68178610c869b3917c591b6 100644
(file)
--- a/
src/wram.s
+++ b/
src/wram.s
@@
-46,6
+46,13
@@
actor_soam_ptr: .adv 2
#define PLAYER_DEFAULT_DEF 0
#define PLAYER_DEFAULT_ATK 1
+; player flags bitfield
+.se 1
+ ; when set this puts the player state into cursor mode
+ ; allowing the selection of a tile to
+ ; perform an action in
+.de PLAYER_FCURSOR, 1
+
; struct player
.se 0
.de player_y, 1