Falling death flag
This commit is contained in:
@@ -18,8 +18,9 @@ db #$00 ;408106 : 200106 ; toggle to turn on terrorpin ai "fix"
|
||||
db #$00 ;368107
|
||||
.killable_theives_id ; must be set to C4 to make thieves killable...
|
||||
db #$B8 ;368108
|
||||
.enemies_live_upon_falling
|
||||
db #$00 ; 368109 ; when set to 1 enemies don't die when falling into a hole
|
||||
|
||||
db #$00 ;408109 : 200109
|
||||
db #$00 ;40810A : 20010A
|
||||
db #$00 ;40810B : 20010B
|
||||
db #$00 ;40810C : 20010C
|
||||
|
||||
18
enemizer/falling_death.asm
Normal file
18
enemizer/falling_death.asm
Normal file
@@ -0,0 +1,18 @@
|
||||
pushpc
|
||||
|
||||
org $868536
|
||||
JSL CheckFallingDeathFlag
|
||||
|
||||
org $86FBF8
|
||||
JSL CheckFallingDeathFlag
|
||||
|
||||
Sprite_ManuallySetDeathFlagUW = $89C2F5
|
||||
|
||||
pullpc
|
||||
|
||||
CheckFallingDeathFlag:
|
||||
LDA.l !ENEMY_FALLING_STAY_ALIVE
|
||||
BEQ +
|
||||
RTL
|
||||
+ JMP Sprite_ManuallySetDeathFlagUW ; original code
|
||||
|
||||
@@ -20,6 +20,7 @@ lorom
|
||||
;!ENABLE_TERRORPIN_AI_FIX = "$368106" # moved to baserom already
|
||||
!CENTER_BOSS_DROP_FLAG = "$368107"
|
||||
!KILLABLE_THIEVES_ID = "$368108"
|
||||
!ENEMY_FALLING_STAY_ALIVE = "$368109"
|
||||
|
||||
; Enemizer reserved memory
|
||||
; $7F50B0 - $7F50BF - Downstream Reserved (Enemizer)
|
||||
@@ -52,6 +53,7 @@ incsrc overworld_sprites.asm
|
||||
incsrc underworld_sprites.asm
|
||||
|
||||
incsrc blindboss.asm
|
||||
incsrc falling_death.asm
|
||||
|
||||
incsrc shell_gfx.asm
|
||||
warnpc $B6FFFF ;if we hit this we need to split stuff by bank
|
||||
|
||||
Reference in New Issue
Block a user