summaryrefslogtreecommitdiff
path: root/randtiles.yaml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--randtiles.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/randtiles.yaml b/randtiles.yaml
new file mode 100644
index 0000000..5ee73aa
--- /dev/null
+++ b/randtiles.yaml
@@ -0,0 +1,26 @@
+---
+source_files: [../src/randtiles.cpp]
+hooks:
+ - name: ModifyTilemapClassSize
+ type: patch
+ addr_pal: 0x80083598
+ data: '3860 0C3C'
+
+ - name: LoadRandTiles
+ type: branch_insn
+ branch_type: b
+ src_addr_pal: 0x8015BCD0
+ target_func: 'RandTileLoadHook'
+
+ - name: HookIdentifyTilesets
+ type: branch_insn
+ branch_type: bl
+ src_addr_pal: 0x800838AC
+ target_func: 'IdentifyTilesets'
+
+ - name: HookTilePlacer
+ type: branch_insn
+ branch_type: bl
+ src_addr_pal: 0x80086B48
+ target_func: 'TryAndRandomise'
+