Overworld Pit Damage

View previous topic View next topic Go down

20150512

Post 

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
}
avatar
SePH



Since : 2012-06-19

Back to top Go down

Share this post on: Excite BookmarksDiggRedditDel.icio.usGoogleLiveSlashdotNetscapeTechnoratiStumbleUponNewsvineFurlYahooSmarking

 
Permissions in this forum:
You cannot reply to topics in this forum