Add Sprite_SpawnIceKeese

This commit is contained in:
scawful
2025-01-19 11:35:04 -05:00
parent 202b042b6b
commit 93a0c7fd8e

View File

@@ -38,7 +38,7 @@ Sprite_VampireBat_Main:
INC.w SprAction, X
LDA.b #$50 : STA.w SprTimerC, X
JSL GetRandomInt : AND.b #$3F : BNE +
JSR Sprite_SpawnFireKeese
JSL Sprite_SpawnFireKeese
+
RTS
}
@@ -87,7 +87,16 @@ Sprite_SpawnFireKeese:
LDA.b #$01 : STA.w SprSubtype, Y ; Fire Keese
JSL Sprite_SetSpawnedCoords
.spawn_failed
RTS
RTL
}
Sprite_SpawnIceKeese:
{
LDA.b #$11
JSL Sprite_SpawnDynamically : BMI +
JSL Sprite_SetSpawnedCoords
+
RTL
}
Sprite_VampireBat_Draw: