new firebar layer fix from Zarby
This commit is contained in:
@@ -142,6 +142,7 @@ incsrc doorframefixes.asm
|
||||
incsrc music.asm
|
||||
incsrc roomloading.asm
|
||||
incsrc icepalacegraphics.asm
|
||||
incsrc firebarlayer.asm
|
||||
warnpc $A18000
|
||||
|
||||
org $1C8000 ; text tables for translation
|
||||
|
||||
5
build_linux.sh
Executable file
5
build_linux.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm ../working.sfc
|
||||
cp ../alttp.sfc ../working.sfc
|
||||
asar LTTP_RND_GeneralBugfixes.asm ../working.sfc
|
||||
8
firebarlayer.asm
Normal file
8
firebarlayer.asm
Normal file
@@ -0,0 +1,8 @@
|
||||
NewFireBarDamage:
|
||||
{
|
||||
LDA $00EE : CMP $0F20, X : BNE .NotSameLayer
|
||||
JSL Sprite_AttemptDamageToPlayerPlusRecoilLong
|
||||
RTL
|
||||
.NotSameLayer
|
||||
RTL
|
||||
}
|
||||
10
hooks.asm
10
hooks.asm
@@ -2522,3 +2522,13 @@ CheckIfReading:
|
||||
CPX #$04
|
||||
RTS
|
||||
;================================================================================
|
||||
|
||||
;--------------------------------------------------------------------------------
|
||||
; Keep Firebar Damage on Same Layer
|
||||
;--------------------------------------------------------------------------------
|
||||
org $06F425
|
||||
Sprite_AttemptDamageToPlayerPlusRecoilLong:
|
||||
|
||||
org $1ED1B6
|
||||
JSL NewFireBarDamage
|
||||
;================================================================================
|
||||
|
||||
Reference in New Issue
Block a user