despawn eon owl from forest of dreams outside of intro

This commit is contained in:
scawful
2024-08-14 10:04:12 -04:00
parent b80893b03a
commit 772698ef04

View File

@@ -54,8 +54,13 @@ Sprite_EonOwl_Prep:
{
PHB : PHK : PLB
; If Map 0x50, don't spawn after intro
LDA AreaIndex : CMP.b #$50 : BNE .not_intro
; If Map 0x50, don't spawn after intro
LDA.l GAMESTATE : BEQ .continue
STZ.w SprState, X
.not_intro
.continue
PLB
RTL