Language…
14 users online:  AmperSam, dotCoockie, Golden Yoshi, Guido_Keller, itsmefigs, JezJitzu, Maw, playagmes169, PMH, Serena, signature_steve,  Telinc1, timothy726, toady - Guests: 261 - Bots: 319
Users: 64,795 (2,377 active)
Latest user: mathew

Overwriting Labels

Just got a quick question about patches that hopefully someone can help me out with.
If a subroutine is hijacked on a label such as "PowerDown", will this cause problems with the game. For example:

Code
PowerDown:          A0 04         LDY.B #$04                ; \ Play sound effect 
CODE_00F5F5:        8C F9 1D      STY.W $1DF9               ; / 


If I were to org $00F5F3 than JML to some code, wouldn't this mean the "PowerDown" label gets overwritten and subsequently, it couldn't ever be called? And if that's true, how would I fix this. Hopefully that makes sense.
Nope, anything in the original game that calls that would just say $00F5F3 anyway. The labels are purely for the assembler to parse and don't actually exist in the game.

----------------

I'm working on a hack! Check it out here. Progress: 64/95 levels.
Perfect, thank you.