Fix bats in inverted (bats in these rooms will always be LW)
Thanks Zarby
This commit is contained in:
@@ -173,6 +173,7 @@ incsrc invertedmaps.asm
|
|||||||
incsrc newhud.asm
|
incsrc newhud.asm
|
||||||
incsrc compasses.asm
|
incsrc compasses.asm
|
||||||
incsrc password.asm
|
incsrc password.asm
|
||||||
|
incsrc enemy_adjustments.asm
|
||||||
warnpc $A58000
|
warnpc $A58000
|
||||||
|
|
||||||
;org $228000 ; contrib area
|
;org $228000 ; contrib area
|
||||||
|
|||||||
30
enemy_adjustments.asm
Normal file
30
enemy_adjustments.asm
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
; NewBatInit:
|
||||||
|
; make sure bats always load LW stats
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
NewBatInit:
|
||||||
|
;check if map id == 240 or 241
|
||||||
|
LDA $A0 : CMP #$F0 : BNE + ;oldman cave1
|
||||||
|
BRA .light_world
|
||||||
|
+
|
||||||
|
CMP #$F1 : BNE + ;oldman cave2
|
||||||
|
BRA .light_world
|
||||||
|
+
|
||||||
|
CMP #$B0 : BNE + ;agahnim statue keese
|
||||||
|
BRA .light_world
|
||||||
|
+
|
||||||
|
CMP #$D0 : BNE + ;agahnim darkmaze
|
||||||
|
BRA .light_world
|
||||||
|
+
|
||||||
|
|
||||||
|
CPY #$00 : BEQ .light_world
|
||||||
|
LDA.b #$85 : STA $0CD2, X
|
||||||
|
LDA.b #$04 : STA $0E50, X
|
||||||
|
RTL
|
||||||
|
|
||||||
|
.light_world
|
||||||
|
LDA.b #$80 : STA $0CD2, X
|
||||||
|
LDA.b #$01 : STA $0E50, X
|
||||||
|
RTL
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -220,6 +220,14 @@ org $0CD4E7 ; <- 654E7 - Bank0C.asm : 2282 (STA $700400, X : STA $700F00, X : ST
|
|||||||
NOP #20
|
NOP #20
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
;================================================================================
|
||||||
|
; Cross World Damage fixes
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
org $068891 ; Sprite_Prep.asm : 378 //LDA .damage_class, Y : STA $0CD2, X
|
||||||
|
nop #$08
|
||||||
|
JSL.l NewBatInit
|
||||||
|
;--------------------------------------------------------------------------------
|
||||||
|
|
||||||
;================================================================================
|
;================================================================================
|
||||||
; Damage table Relocation from WRAM
|
; Damage table Relocation from WRAM
|
||||||
;--------------------------------------------------------------------------------
|
;--------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user