Skip to content

Commit

Permalink
added more options
Browse files Browse the repository at this point in the history
  • Loading branch information
WideBoner authored Aug 8, 2019
1 parent b27fee2 commit d84ac7c
Show file tree
Hide file tree
Showing 10 changed files with 53 additions and 25 deletions.
7 changes: 0 additions & 7 deletions asm/KORL_control.asm
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
; 8005D618 is where the game calls the new game save init function.
; We replace this call with a call to our custom save init function.
.open "sys/main.dol"
.org 0x8005D618
bl init_save_with_tweaks
.close



; Modify King of Red Lions's code so he doesn't stop you when you veer off the path he wants you to go on.
Expand Down
5 changes: 5 additions & 0 deletions asm/KORL_control_diff.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
files/rels/d_a_ship.rel:
10732: [72, 0, 0, 100]
10760: [72, 0, 0, 72]
10788: [72, 0, 0, 16]
45784: [72, 0, 0, 24]
9 changes: 9 additions & 0 deletions asm/ballad.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
; Modify the code for warping with the Ballad of Gales to get rid of the cutscene that accompanies it.
.open "files/rels/d_a_ship.rel"
.org 0x7A10
; Get rid of the line that checks if KoRL has reached a high enough Y pos to start the warp yet.
nop
.org 0x7680
; Get rid of the line that plays the warping music, since it would continue playing after the warp has happened.
nop
.close
3 changes: 3 additions & 0 deletions asm/ballad_diff.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
files/rels/d_a_ship.rel:
31248: [96, 0, 0, 0]
30336: [96, 0, 0, 0]
24 changes: 12 additions & 12 deletions asm/necessary_fixes.asm
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@


; nop out a couple lines so the long intro movie is skipped.
; .open "sys/main.dol"
; .org 0x80232C78
; nop
; .org 0x80232C88
; nop
; .close
.open "sys/main.dol"
.org 0x80232C78
nop
.org 0x80232C88
nop
.close



Expand Down Expand Up @@ -671,7 +671,7 @@



; Modify the code for warping with the Ballad of Gales to get rid of the cutscene that accompanies it.
; ; Modify the code for warping with the Ballad of Gales to get rid of the cutscene that accompanies it.
; .open "files/rels/d_a_ship.rel"
; .org 0x7A10
; ; Get rid of the line that checks if KoRL has reached a high enough Y pos to start the warp yet.
Expand Down Expand Up @@ -934,11 +934,11 @@



; Allow turning while swinging on ropes.
.open "sys/main.dol" ; In procRopeSwing__9daPy_lk_cFv
.org 0x80145648
b turn_while_swinging
.close
; ; Allow turning while swinging on ropes.
; .open "sys/main.dol" ; In procRopeSwing__9daPy_lk_cFv
; .org 0x80145648
; b turn_while_swinging
; .close



Expand Down
8 changes: 2 additions & 6 deletions asm/necessary_fixes_diff.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
sys/main.dol:
2147866136: [72, 57, 249, 145]
2149788792: [96, 0, 0, 0]
2149788808: [96, 0, 0, 0]
2148278008: [96, 0, 0, 0, 96, 0, 0, 0]
2148471720: [72, 48, 199, 32]
2148816456: [72, 43, 132, 168]
2148504564: [72, 48, 79, 104]
2147696244: [72, 60, 158, 20]
2148283424: [72, 51, 175, 244]
files/rels/d_a_ship.rel:
10732: [72, 0, 0, 100]
10760: [72, 0, 0, 72]
10788: [72, 0, 0, 16]
45784: [72, 0, 0, 24]
files/rels/d_a_tag_ret.rel:
556: [72, 0, 0, 12]
files/rels/d_a_st.rel:
Expand Down
12 changes: 12 additions & 0 deletions asm/song_no_replay.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

;Remove song replays, where Link plays a fancy animation to conduct the song after the player plays it.
.open "sys/main.dol"
.org 0x8014ECE0
; Originally checked if the "You conducted..." text box has disappeared.
; Remove that check.
nop
.org 0x8014EF28
; Originally checked if Link's conducting animation has finished playing.
; Remove that check.
nop
.close
3 changes: 3 additions & 0 deletions asm/song_no_replay_diff.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sys/main.dol:
2148855008: [96, 0, 0, 0]
2148855592: [96, 0, 0, 0]
5 changes: 5 additions & 0 deletions asm/swing_turn.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
; Allow turning while swinging on ropes.
.open "sys/main.dol" ; In procRopeSwing__9daPy_lk_cFv
.org 0x80145648
b turn_while_swinging
.close
2 changes: 2 additions & 0 deletions asm/swing_turn_diff.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sys/main.dol:
2148816456: [72, 43, 132, 168]

0 comments on commit d84ac7c

Please sign in to comment.