Overworld Pit Damage
Page 1 of 1
20150512
Overworld Pit Damage
; *$FFD9-$FFFC LONG
Overworld_PitDamage:
{
; Take a heart off of Link and put him in the submodule
; that brings him back to where he fell off from.
; (Damage from pits on Overworld and only in one area, at that)
; Maybe could be used in Dungeons too, but it's not, so... eh.
LDA.b #$0C : STA $4B
LDA.b #$2A
LDX $1B : BEQ .outdoors
LDA.b #$14
.outdoors
STA $11
LDA $7EF36D : SUB.w #$08 : STA $7EF36D : CMP.b #$A8 : BCC .notDead
LDA.b #$00 : STA $7EF36D
.notDead
RTL
}
Overworld_PitDamage:
{
; Take a heart off of Link and put him in the submodule
; that brings him back to where he fell off from.
; (Damage from pits on Overworld and only in one area, at that)
; Maybe could be used in Dungeons too, but it's not, so... eh.
LDA.b #$0C : STA $4B
LDA.b #$2A
LDX $1B : BEQ .outdoors
LDA.b #$14
.outdoors
STA $11
LDA $7EF36D : SUB.w #$08 : STA $7EF36D : CMP.b #$A8 : BCC .notDead
LDA.b #$00 : STA $7EF36D
.notDead
RTL
}
Founder- Since : 2012-06-19
Similar topics
» Overworld holes only cause damage
» [Need Help] 1 Hit Kill Heart Damage and Less Enemy Damage
» Overworld ~ Special overworld areas additional changes
» need help with damage balancing
» spike floor damage
» [Need Help] 1 Hit Kill Heart Damage and Less Enemy Damage
» Overworld ~ Special overworld areas additional changes
» need help with damage balancing
» spike floor damage
Permissions in this forum:
You cannot reply to topics in this forum