Switch to part 2 after your uncle left the house

Go down

20150405

Post 

Switch to part 2 after your uncle left the house Empty 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:
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
avatar
Founder

Switch to part 2 after your uncle left the house Image212

Since : 2012-06-19

Back to top Go down

Share this post on: reddit

Switch to part 2 after your uncle left the house :: Comments

avatar

Post Tue 23 Feb 2016 - 15:49 by Arnachy69

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
i'm a nood on this way sorry

Back to top Go down

Puzzledude

Post Tue 23 Feb 2016 - 17:17 by Puzzledude

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
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.

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.

Back to top Go down

Conn

Post Wed 24 Feb 2016 - 8:32 by Conn

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:
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)

Back to top Go down

avatar

Post Wed 24 Feb 2016 - 13:13 by Arnachy69

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)

Back to top Go down

Conn

Post Wed 24 Feb 2016 - 18:17 by Conn

You're welcome Smile
It's compatible with any headerless zelda3 rom, also the all-in.

Back to top Go down

avatar

Post Thu 25 Feb 2016 - 2:59 by Mr.x

A nice patch, SePH. Thanks for sharing. I'm sure many hackers will find this one helpful.

Back to top Go down

Back to top

- Similar topics

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