--- # This has kind of turned into the "random stuff that we don't want to make a yaml for" # yaml, hasn't it... source_files: [../src/randomcrap.S, ../src/music.cpp, ../src/fix38.S, ../src/nullsub.S, ../src/newer.cpp] hooks: - name: FixMemoryLeaks type: patch addr_pal: 0x800E53E0 data: '4E800020' - name: ClimbSounds type: branch_insn branch_type: bl src_addr_pal: 0x80132EFC target_func: 'newClimbSounds' - name: MusicHax type: branch_insn src_addr_pal: 0x8008E5E4 branch_type: b target_func: 'after_course_getMusicForZone' # IDs to nuke: 1, 2, 4, 10 - name: MusicNukeBahpsNormal1 type: patch addr_pal: 0x802F6BC8 data: '00000000 00000000 00000000 00000000' - name: MusicNukeBahpsNormal2 type: patch addr_pal: 0x802F6BE0 data: '00000000 00000000' - name: MusicNukeBahpsNormal3 type: patch addr_pal: 0x802F6C10 data: '00000000 00000000' - name: MusicNukeBahpsFast1 type: patch addr_pal: 0x802F6CB0 data: '00000000 00000000 00000000 00000000' - name: MusicNukeBahpsFast2 type: patch addr_pal: 0x802F6CC8 data: '00000000 00000000' - name: MusicNukeBahpsFast3 type: patch addr_pal: 0x802F6CF8 data: '00000000 00000000' - name: Fix38WithJumpCoin src_addr_pal: 0x807EBC5C type: branch_insn branch_type: b target_func: 'fix38WithJumpCoin' - name: 1-1 BG Fix type: patch addr_ntsc: 0x80117F6C addr_pal: 0x801180AC data: '38000003' - name: PipeFix_NodeCalc type: patch addr_ntsc: 0x800508F8 addr_pal: 0x800508F8 data: 'A01E0010540007FF41820014A0E300043807FFFEB01F042C4800000C38000001B01F042CA0A30002A89F042C80C6003C7C052214540020367CA60214A8850002' - name: PipeFix_ExitPatch1 type: patch addr_ntsc: 0x80050A5C addr_pal: 0x80050A5C data: '88030013' - name: PipeFix_ExitPatch2 type: patch addr_ntsc: 0x80050A60 addr_pal: 0x80050A60 data: '2C000000' - name: PipeFix_ExitPatch3 type: patch addr_ntsc: 0x80050A68 addr_pal: 0x80050A68 data: '2C000001' - name: PipeFix_ExitPatch4 type: patch addr_ntsc: 0x80050A70 addr_pal: 0x80050A70 data: '2C000002' - name: PipeFix_ExitPatch5 type: patch addr_ntsc: 0x80050A78 addr_pal: 0x80050A78 data: '2C000003' - name: PipeFix_ExitPatch6 type: patch addr_ntsc: 0x80050A88 addr_pal: 0x80050A88 data: '389F065C' - name: ChestnutGoombaForTargets # sprite 10 type: patch addr_ntsc: 0x8030A1D0 addr_pal: 0x8030A4D0 data: '00C8 0000 00000008 FFFFFFF0 00000000 00000000 0000000A 0000000A 0000 0000 0000 0000 0002 0000' - name: TileGodLayerFix type: patch addr_ntsc: 0xdeadbeef addr_pal: 0x807E16D0 data: '88D2038F' - name: EN_BIGPILEFix type: patch addr_pal: 0x8001F93C data: '48000014' - name: RockyWrenchFix type: patch addr_pal: 0x808A9448 data: '60000000' # - name: HeapChangeAttempt # type: branch_insn # branch_type: bl # src_addr_ntsc: 0xdeadbeef # src_addr_pal: 0x80081E34 # target_func: 'HeapChangeAttempt' - name: StarsDontKillSpikesUD type: add_func_pointer src_addr_pal: 0x80AFF4D8 target_func: 'ReturnNone' - name: StarsDontKillSpikesD type: add_func_pointer src_addr_pal: 0x80AFF784 target_func: 'ReturnNone' - name: StarsDontKillSpikesU type: add_func_pointer src_addr_pal: 0x80AFFA30 target_func: 'ReturnNone' - name: StarsDontKillSpikesLR type: add_func_pointer src_addr_pal: 0x80AFFCDC target_func: 'ReturnNone' - name: StarsDontKillSpikesR type: add_func_pointer src_addr_pal: 0x80AFFF88 target_func: 'ReturnNone' - name: StarsDontKillSpikesL type: add_func_pointer src_addr_pal: 0x80B00234 target_func: 'ReturnNone' - {name: AlwaysDrawPictureFontWhite, type: branch_insn, branch_type: b, src_addr_pal: 0x800E596C, target_func: 'TextWriterCrap'}