diff options
author | Astatin <[email protected]> | 2024-12-10 14:41:29 +0900 |
---|---|---|
committer | Astatin <[email protected]> | 2024-12-10 14:41:29 +0900 |
commit | 9af81e83a630f45f915649c5ad5144e848ccfae8 (patch) | |
tree | 8f2ceb1ad2d14e0670d2331b98b1219ecbcdfaba /entity/init.gbasm | |
parent | 0aebab4bd7a436a0a20168c573b87cb77d86def9 (diff) |
Unfreeze the foxies
Diffstat (limited to 'entity/init.gbasm')
-rw-r--r-- | entity/init.gbasm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/entity/init.gbasm b/entity/init.gbasm index 99e522c..f94cbd5 100644 --- a/entity/init.gbasm +++ b/entity/init.gbasm @@ -1,4 +1,16 @@ Initialize_Entities: + LD A, $mem_bunny_health + LD B, A + LD HL, $mem_entities_list + Clear_Entities.loop: + XOR A + LD (HL+), A + CP L + JR NZ, =Clear_Entities.loop + + LD A, B + LD $mem_bunny_health, A + LD HL, $mem_entities_list LD A, $01 LD (HL+), A |