summaryrefslogtreecommitdiff
path: root/bossCaptainBowser.yaml
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-03-24 16:45:49 -0500
committerColin Noga <Tempus@chronometry.ca>2012-03-24 16:45:49 -0500
commit3764377091ad23145fbd92c769b78ce2f296900f (patch)
tree6b0dddcb86086c80dfdcffa962ca2ccc00d51d3c /bossCaptainBowser.yaml
parent393be37f168ba7bca4d471993aaf0899a4afc16b (diff)
downloadkamek-3764377091ad23145fbd92c769b78ce2f296900f.tar.gz
kamek-3764377091ad23145fbd92c769b78ce2f296900f.zip
Changes to loads of shit, mostly bowser related
Diffstat (limited to '')
-rw-r--r--bossCaptainBowser.yaml35
1 files changed, 33 insertions, 2 deletions
diff --git a/bossCaptainBowser.yaml b/bossCaptainBowser.yaml
index b227ff4..3901aec 100644
--- a/bossCaptainBowser.yaml
+++ b/bossCaptainBowser.yaml
@@ -19,6 +19,16 @@ hooks:
data: '00000010 00000010 00000000 00000000 00000200 00000200 0000 0000 0200 0200 0002 0000'
# 0x8030A340 + sprite num * 0x28 == offset (+24 in this case)
+ - name: CaptainBowserSpriteFileInfo
+ type: add_func_pointer
+ src_addr_pal: 0x8031AEA0
+ target_func: 'CBarcNameList'
+
+ # 0x8031AB4C + sprite num * 0x4 == offset
+ # That offset stores a pointer to a table of pointers to strings, followed by four bytes of padding
+ # Each string is an arcname to load
+
+
- name: KoopaThrowBuild
type: add_func_pointer
@@ -32,6 +42,13 @@ hooks:
data: '029F 0000 00000010 00000010 00000000 00000000 00000020 00000020 0040 0040 0000 0000 0000 0000'
# 0x8030A340 + sprite num * 0x28 == offset
+ - name: KoopaThrowSpriteFileInfo
+ type: add_func_pointer
+ src_addr_pal: 0x8031AB74
+ target_func: 'KPTarcNameList'
+ # 0x8031AB4C + sprite num * 0x4 == offset
+
+
- name: KFlameThrowerBuild
type: add_func_pointer
src_addr_pal: 0x80981A3C
@@ -39,13 +56,14 @@ hooks:
- name: UpdateKoopaThrowSpriteInfo
type: patch
- addr_pal: 0x8030A4F8
+ addr_pal: 0x8030A570
# [011] ( 16, 16) ( 0, 0 32: 32) 64? 64? 0? 0? | [0:No Flags]
data: '0271 0000 00000010 00000010 00000000 00000000 00000020 00000020 0040 0040 0000 0000 0000 0000'
# 0x8030A340 + sprite num * 0x28 == offset
+
- name: ClownCarFloor
type: patch
addr_pal: 0x80810A40
@@ -62,6 +80,20 @@ hooks:
data: '386017D0' # Replace 0x0FD0 which how much space I want to allocate
+ - name: UpdateClownCarSpriteInfo
+ type: patch
+ addr_pal: 0x8030A548
+ data: '012B 0000'
+ # 0x8030A340 + sprite num * 0x28 == offset
+
+
+
+ - name: ClownCarSpriteFileInfo
+ type: add_func_pointer
+ src_addr_pal: 0x8031AB80
+ target_func: 'PCCarcNameList'
+ # 0x8031AB4C + sprite num * 0x4 == offset
+
# Official Funcs
- name: ClownCarCtor
@@ -102,7 +134,6 @@ hooks:
-
# Clown Shot - Replaces WM_PAKKUN
- name: ClownShotBuild
type: add_func_pointer