summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--AnotherProject.yaml6
-rw-r--r--anotherhax.yaml22
-rwxr-xr-xmakeAnotherAll8
-rw-r--r--src/anotherhax.S23
4 files changed, 0 insertions, 59 deletions
diff --git a/AnotherProject.yaml b/AnotherProject.yaml
deleted file mode 100644
index 8278771..0000000
--- a/AnotherProject.yaml
+++ /dev/null
@@ -1,6 +0,0 @@
----
-output_dir: "AnotherASM"
-code_address: 0x80A02610
-modules:
- - processed/anotherhax.yaml
-# - processed/replay.yaml
diff --git a/anotherhax.yaml b/anotherhax.yaml
deleted file mode 100644
index 4fe904c..0000000
--- a/anotherhax.yaml
+++ /dev/null
@@ -1,22 +0,0 @@
-source_files: [../src/anotherhax.S]
-hooks:
-- {addr_pal: 0x8000D064, data: '280000FF', name: Fix1, type: patch}
-- {addr_pal: 0x80079BD0, data: '280000FF', name: Fix2, type: patch}
-- {addr_pal: 0x80079F60, data: '280000FF', name: Fix3, type: patch}
-- {addr_pal: 0x8007A898, data: '280000FF', name: Fix4, type: patch}
-- {addr_pal: 0x80083A80, data: '38600000', name: Fix5, type: patch}
-- {addr_pal: 0x800EBDE4, data: '280000FF', name: Fix6, type: patch}
-- {addr_pal: 0x80101C60, data: '280000FF', name: Fix7, type: patch}
-- {addr_pal: 0x8015530C, data: '280000FF', name: Fix8, type: patch}
-- {addr_pal: 0x807B4EA8, data: '280000FF', name: Fix9, type: patch}
-- {addr_pal: 0x807B5328, data: '280000FF', name: Fix10, type: patch}
-- {addr_pal: 0x80888958, data: '280000FF', name: Fix11, type: patch}
-- {addr_pal: 0x80888B78, data: '280000FF', name: Fix12, type: patch}
-- {name: Fix38WithJumpCoin, src_addr_pal: 0x807EBC5C, type: branch_insn, branch_type: b, target_func: 'fix38WithJumpCoin'}
-- {name: RemoveTitleReplay, addr_pal: 0x80781FBC, type: patch, data: '60000000 60000000 60000000'}
-- {name: RemoveSGSwitch, addr_pal: 0x801025F8, type: patch, data: '60000000'}
-- {name: RemoveToadHouseMsg1, addr_pal: 0x808FB974, type: patch, data: '60000000'}
-- {name: RemoveToadHouseMsg2, addr_pal: 0x808FB968, type: patch, data: '60000000'}
-- {name: RemovePeachCastleMsg, addr_pal: 0x80924894, type: patch, data: '38600000'}
-- {name: NewSaveFilename, addr_pal: 0x802F148C, type: patch, data: '616E6F746865722E'}
-
diff --git a/makeAnotherAll b/makeAnotherAll
deleted file mode 100755
index 1c3b6da..0000000
--- a/makeAnotherAll
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-python2 tools/mapfile_tool.py
-python2 tools/kamek.py AnotherProject.yaml --no-rels --use-mw --use-wine --gcc-type=powerpc-elf --mw-path=tools
-cp AnotherASM/pal_loader.bin AnotherASM/SystemEU_1.bin
-cp AnotherASM/ntsc_loader.bin AnotherASM/SystemUS_1.bin
-cp AnotherASM/ntsc2_loader.bin AnotherASM/SystemUS_2.bin
-echo Built Another for all regions!!
-
diff --git a/src/anotherhax.S b/src/anotherhax.S
deleted file mode 100644
index ca0a658..0000000
--- a/src/anotherhax.S
+++ /dev/null
@@ -1,23 +0,0 @@
-.set sp, 1
-
-.extern continueFromFlagObjCheck
-.extern returnFromFlagObjCheck
-
-.global fix38WithJumpCoin
-
-.text
-
-fix38WithJumpCoin:
- # hacky fix because I can't figure out how to do it the right way
-
- # check actor type for EN_COIN_JUMP
- lhz r0, 8(r3)
- cmplwi r0, 403
- bne dontContinue
- b continueFromFlagObjCheck
-dontContinue:
-
- # it wasn't that, so just return 0
- li r3, 0
- b returnFromFlagObjCheck
-