aboutsummaryrefslogtreecommitdiff
path: root/entity/fox.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-05-02 14:07:14 +0200
committerAstatin <[email protected]>2025-05-02 14:07:14 +0200
commitf51e51ebdfc71a429fd1a4ef359f9d8ce52fb1d2 (patch)
tree6a9fbde65c0ac14e4b87c463343187d1428ecd2f /entity/fox.gbasm
parente322573ecc55a821506e5313e3b9994e1b58745e (diff)
Fix fimshes and give them a placeholder items to drop
Diffstat (limited to 'entity/fox.gbasm')
-rw-r--r--entity/fox.gbasm5
1 files changed, 4 insertions, 1 deletions
diff --git a/entity/fox.gbasm b/entity/fox.gbasm
index 33eb51a..ce6da24 100644
--- a/entity/fox.gbasm
+++ b/entity/fox.gbasm
@@ -36,7 +36,10 @@ Fox_Turn:
PUSH DE
LD D, $6C
LD E, $06
- CALL =Spawn_object
+ CALL =RNG_Step
+ AND $03
+ CP $00
+ CALL Z, =Spawn_object
POP DE
JP NZ, =.Skip_turn