Switch to part 2 after your uncle left the house
Zeldix :: Zelda III Hacking :: Patches :: ASM
Page 1 of 1
20150405
Switch to part 2 after your uncle left the house
Author: Conn
Information: The game will Switch to part 02 after your uncle left the house skipping the whole introduction sequence when you rescue Zelda.
Please note that we speak about Byte terminology (not HM terminology) - this means
- part 00: telepathic message, uncle leaving house
- part 01: uncle gave sword, able to save
- part 02: after Hyrule Castle, now searching Pendants
- part 03: after Aghanim, now searching crystals
Rom: Any ALTTP (US), without Header
ASM:
note:
- if you already adjusted the beginning part with the srm Startup modifier you Need to undo These changes!
https://www.zeldix.net/t389-start-sram-modifier
note2:
If you want to have your uncle giving you the sword prevent him from sending you back into part1:
Information: The game will Switch to part 02 after your uncle left the house skipping the whole introduction sequence when you rescue Zelda.
Please note that we speak about Byte terminology (not HM terminology) - this means
- part 00: telepathic message, uncle leaving house
- part 01: uncle gave sword, able to save
- part 02: after Hyrule Castle, now searching Pendants
- part 03: after Aghanim, now searching crystals
Rom: Any ALTTP (US), without Header
ASM:
- Code:
; asm for no Header ALTTP US Rom
; game will Switch to part 1 after your uncle left the house
lorom
org $05DF12
JSL $04ECA0
NOP
NOP
org $04ECA0
STZ $0DD0,x
STZ $02E4 ; repeat native code overwritten by hook
LDA #$02
STA $7ef3C5 ; store "part 2"
LDA #$00
STA $7ef3CC ; disable telepathic message
JSL $00FC41 ; fix monsters
RTL
note:
- if you already adjusted the beginning part with the srm Startup modifier you Need to undo These changes!
https://www.zeldix.net/t389-start-sram-modifier
- Code:
LDA #$0201 ; 01=part of the game $3C5 - 02=Progress flags $3C6
STA $7003C5,x
- delete these two sentences and run the asm again, the Progress flag will be set to #$10 anyways when getting into part 1, so if you Need another Progress flag you Need further asm!
Also you Need to set $3C8 (starting entrance to 00)
LDA #$0001 ; 01=Map indicator $3c7 - 00=Starting entrance $3C8
STA $7003C7,x
note2:
If you want to have your uncle giving you the sword prevent him from sending you back into part1:
- Code:
02/df67: 8f c5 f3 7e -> ea ea ea ea
Founder- Since : 2012-06-19
Switch to part 2 after your uncle left the house :: Comments
After the text file with the asm extension, run the with xkas assembler. This can be a problem, since this is DOS based like zcompress and uses certain commands which you need to type in. You also need a clean rom. Xkas will then compile the ASM into hex values and insert them into the rom.Hey coon question how i use youre codes?
this code paste in notepad wordpad or whatever
then save the file as asm extension or how i use it
Then you can compare between original and with ASM inserted with the compare function of the hex editor and come up with what to actually do in hex (so you can isert the code in hex anytime without xkas - this is what I always do - I call this hex decoded ASM).
Since you see ASM in hex. For instance LDA #$02 will become something like A9 02 in hex etc.
Note, that the first box of the OP is an asm that can be compiled in xkas, the second box was individual infos for SePH and the 3rd box, gives hex addresses that need to be manually changed using a hex editor.
To use xkas,
- create e.g., part2.txt
- copy the content of the first box into this txt file
- rename it to part2.asm (extension must be asm!)
then make a batch file
- create a text document (xkas.txt)
- rename it to xkas.bat
- adjust and copy this content into it:
run xkas.bat (note that xkas.exe must be in the same folder along with zelda3.smc (be sure your this is the name of your rom or rename either the rom or the bat file line).
rom to patch must be headerless, and in this case not expanded (uses native free space only as far as I can see it)
To use xkas,
- create e.g., part2.txt
- copy the content of the first box into this txt file
- rename it to part2.asm (extension must be asm!)
then make a batch file
- create a text document (xkas.txt)
- rename it to xkas.bat
- adjust and copy this content into it:
- Code:
xkas part2.asm zelda3.smc
pause
run xkas.bat (note that xkas.exe must be in the same folder along with zelda3.smc (be sure your this is the name of your rom or rename either the rom or the bat file line).
rom to patch must be headerless, and in this case not expanded (uses native free space only as far as I can see it)
It works Conn Greatest Artist of ASM
ps.... it works only on The Orginal Unheadered Rom
so Puzzledude Say's i'll try it and it works perfectly
Thx in advance mate (Y)
ps.... it works only on The Orginal Unheadered Rom
so Puzzledude Say's i'll try it and it works perfectly
Thx in advance mate (Y)
You're welcome
It's compatible with any headerless zelda3 rom, also the all-in.
It's compatible with any headerless zelda3 rom, also the all-in.
A nice patch, SePH. Thanks for sharing. I'm sure many hackers will find this one helpful.
Similar topics
» Super Street Fighter II - The New Challengers (MD+)
» Where can I edit the magic container that is left of the item selected?
» Peg switch tiles like CHRT?
» L/R Button item switch
» Nintendo Switch compatible msu1 emu ?
» Where can I edit the magic container that is left of the item selected?
» Peg switch tiles like CHRT?
» L/R Button item switch
» Nintendo Switch compatible msu1 emu ?
Permissions in this forum:
You cannot reply to topics in this forum