diff options
author | Treeki <treeki@gmail.com> | 2012-09-15 23:39:54 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-15 23:39:54 +0200 |
commit | cb5dcc681f1f41322d3b649902e90133d277c857 (patch) | |
tree | 2255a7aa424af66b023b9698dd41e1506442e3cf /switchblock.yaml | |
parent | d03b7871950f89623f1f90facde2f5df89e9e136 (diff) | |
download | kamek-cb5dcc681f1f41322d3b649902e90133d277c857.tar.gz kamek-cb5dcc681f1f41322d3b649902e90133d277c857.zip |
added unfinished PalaceDude
Diffstat (limited to '')
-rw-r--r-- | switchblock.yaml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/switchblock.yaml b/switchblock.yaml index 6f142b2..e18fda8 100644 --- a/switchblock.yaml +++ b/switchblock.yaml @@ -1,5 +1,5 @@ ---
-source_files: [../src/switchblock.S]
+source_files: [../src/switchblock.S, ../src/palaceDude.cpp]
hooks:
- name: PrepareReplay_SwitchPatch
type: patch
@@ -30,3 +30,16 @@ hooks: target_func: 'CheckBehaviourOverride_EndPatch'
+
+ - name: BuildPalaceDude
+ type: add_func_pointer
+ src_addr_pal: 0x809838E4
+ target_func: 'dPalaceDude_c::build(void)'
+
+ - name: PalaceDudeSpriteInfo
+ type: patch
+ addr_pal: 0x8030CDE8
+ # Orig 02EB 0000 00000000 00000000 00000000 00000000 00000100 00000100 0000 0000 0000 0000 0800 0000'
+ data: '02A7 0000 00000010 00000010 00000000 00000000 00000200 00000200 0000 0000 0200 0200 0000 0000'
+ # 0x8030A340 + sprite num * 0x28 == offset
+
|