aboutsummaryrefslogtreecommitdiff
path: root/entity/fox.gbasm
diff options
context:
space:
mode:
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