--- source_files: [../src/poweruphax.S, ../src/poweruphax.cpp] hooks: - name: GetInfoFromDumbTable type: branch_insn branch_type: b src_addr_pal: 0x80142650 target_func: 'GetInfoFromDumbTable' - name: FukidashiFix type: branch_insn branch_type: b src_addr_pal: 0x800B1A50 target_func: 'FukidashiFix' - name: PlayerGetHeightFix type: branch_insn branch_type: b src_addr_pal: 0x80132670 target_func: 'PlayerGetHeight' # - name: EnItem_BindAnimation_Fix # type: branch_insn # branch_type: b # src_addr_pal: 0x80A291E0 # target_func: 'EnItem_BindAnimation_Fix' - name: DealWithBlahTable type: branch_insn branch_type: b src_addr_pal: 0x80141F70 target_func: 'DealWithBlahTable' - name: GetAsdfTable type: branch_insn branch_type: b src_addr_pal: 0x801466C0 target_func: 'GetAsdfTable' - name: GetBlahTableOffset type: branch_insn branch_type: bl src_addr_pal: 0x801421AC target_func: 'GetBlahTableOffset' - name: GetWeirdScaleTable type: branch_insn branch_type: bl src_addr_pal: 0x8014676C target_func: 'GetWeirdScaleTable' - name: WtfEver type: branch_insn branch_type: bl src_addr_pal: 0x80133E48 target_func: 'WtfEver' - name: YetAnother type: branch_insn branch_type: bl src_addr_pal: 0x80138840 target_func: 'YetAnother' - name: ExtendHammerStruct type: patch addr_pal: 0x807FCBA8 data: '3860 045C' - name: ThrowHammer type: branch_insn branch_type: b src_addr_pal: 0x8013BEE4 target_func: 'ThrowHammer' - name: MoreProjectileStuff_Fix type: branch_insn branch_type: b src_addr_pal: 0x8013C3A0 target_func: 'MoreProjectileStuff_Fix' - name: ProjectileShootCheck_Fix1 type: patch addr_pal: 0x8013BB7C data: '4181003C' - name: ProjectileShootCheck_Fix2 type: branch_insn branch_type: b src_addr_pal: 0x8013BBB8 target_func: 'ProjectileShootCheck_Fix' - name: QBlockItemChange type: patch addr_pal: 0x802ee628 data: '00000006' - name: QBlockItemFix type: patch addr_pal: 0x8002288c data: '60000000' - name: QBlockMPItemFix type: patch addr_pal: 0x80022B90 data: '60000000' - name: FixMushroomIfSmallBlock type: patch addr_pal: 0x800221ac data: '2800 0003' - name: SomeEnItemFix type: patch addr_pal: 0x80A2BE98 data: '2800 0003' - name: MushroomEnItemFix type: patch addr_pal: 0x80A28598 data: '2800 0003' - name: DisablePowerupValidityCheck type: patch addr_pal: 0x800611C4 data: '60000000' - name: DisablePowerupValidityCheck2 type: patch addr_pal: 0x8006122C data: '60000000' - name: TinyTableFix type: patch addr_pal: 0x802F5AEC data: '00000001' #It's not actually a function but who cares? - name: AlwaysLoadBrosArc type: add_func_pointer src_addr_pal: 0x8098C488 target_func: 'BrosArcFileName' - name: LoadHammerFromHammerMArc type: patch addr_pal: 0x8095CDD4 data: '68616D6D65724D00' # "hammerM\0" - name: AlwaysLoadBrosArc type: add_func_pointer src_addr_pal: 0x8098C490 target_func: 'I_hammerArcFilename' - name: ChangeHammerBrres type: add_func_pointer src_addr_pal: 0x80AF0FA8 target_func: 'I_hammerResFile' - name: ChangeHammerArc type: add_func_pointer src_addr_pal: 0x80AF0ECC target_func: 'I_hammerArcFilename' - name: ChangeHammerModel type: add_func_pointer src_addr_pal: 0x80AF1000 target_func: 'I_hammerModelName' - name: DisableHat99Thing type: nop_insn area_pal: 0x80089D48 - name: DisableHatForHammer type: branch_insn branch_type: b src_addr_pal: 0x800CA658 target_func: 'DisableHatForHammer' - name: LetPlayerGetHammerItem type: branch_insn branch_type: bl src_addr_pal: 0x80A285FC target_func: 'TryToGiveMarioHammerSuit' - name: WeirdAnimLoadHack type: branch_insn branch_type: bl src_addr_pal: 0x80A27CE4 target_func: 'WeirdAnimLoadHack' - name: SetHammerToEnItemDCA type: add_func_pointer src_addr_pal: 0x80AF117C target_func: 'SetHammerToEnItemDCA' - name: SetHammerToEnItemDCASpecial type: branch_insn branch_type: b src_addr_pal: 0x80A2C0B4 target_func: 'SetHammerToEnItemDCASpecial' - name: PlumberSetPowerupFix type: branch_insn branch_type: b src_addr_pal: 0x800D47D4 target_func: 'PlumberSetPowerupFix' - name: FixPowerupSound type: branch_insn branch_type: b src_addr_pal: 0x80141334 target_func: 'FixPowerupSound' - name: PlumberSetPowerupFix2 type: branch_insn branch_type: b src_addr_pal: 0x80141510 target_func: 'PlumberSetPowerupFix2' - name: PlumberSetPowerupTextureFix type: branch_insn branch_type: b src_addr_pal: 0x800CA6F8 target_func: 'PlumberSetPowerupTextureFix' # - name: PlumberSetPowerupTextureDebug # type: branch_insn # branch_type: b # src_addr_pal: 0x800CA6B0 # target_func: 'PlumberSetPowerupTextureDebug' - name: FixToadPowerup type: branch_insn branch_type: b src_addr_pal: 0x800BCFB0 target_func: 'ToadPowerupFix' - name: FixPowerupScale_First type: branch_insn branch_type: bl src_addr_pal: 0x800d6fdc target_func: 'GetPowerupScaleFloatAddr_r6_trash_r0_valshl2_r4_dest' - name: FixPowerupScale_Second type: branch_insn branch_type: bl src_addr_pal: 0x8004cc80 target_func: 'GetPowerupScaleFloatAddr_r6_trash_r0_valshl2_r3_dest' - name: FixPowerupScale_Third type: branch_insn branch_type: bl src_addr_pal: 0x800d7064 target_func: 'GetPowerupScaleFloatAddr_r8_trash_r0_valshl2_r7_dest' - name: FixPowerupScale_Fourth type: branch_insn branch_type: bl src_addr_pal: 0x801293D0 target_func: 'GetPowerupScaleFloatAddr_r6_trash_r0_valshl2_r3_dest' - name: FixPowerupScale_Fifth type: branch_insn branch_type: bl src_addr_pal: 0x80137CDC target_func: 'GetPowerupScaleFloatAddr_r6_trash_r0_valshl2_r3_dest' - name: FixPowerupScale_Sixth type: branch_insn branch_type: b src_addr_pal: 0x80141FF4 target_func: 'GetPowerupScaleFloatAddr_fixForSixth' - name: FixPowerupScale_Seventh type: branch_insn branch_type: bl src_addr_pal: 0x8014378C target_func: 'GetPowerupScaleFloatAddr_r6_trash_r0_valshl2_r3_dest' - name: FixPowerupScale_Eighth type: branch_insn branch_type: bl src_addr_pal: 0x80143884 target_func: 'GetPowerupScaleFloatAddr_r8_trash_r0_valshl2_r7_dest' # Below Here are added all the Hammer Collision hacks - name: HammerPodooboo type: patch addr_pal: 0x80ACE8E4 data: '0008820C' - name: HammerThwomp type: patch addr_pal: 0x80ACF9D0 data: '0008820e' - name: HammerBigThwomp type: patch addr_pal: 0x80ACF9F4 data: '0008820e' - name: HammerBigThwompBounce type: add_func_pointer src_addr_pal: 0x80AE8360 target_func: 'ThwompHammer(dEn_c *, ActivePhysics *, ActivePhysics *)' - name: HammerBigBoo type: patch addr_pal: 0x80AD4AA0 data: '0008a80e' - name: HammerBigBooTwo type: patch addr_pal: 0x80AD4AA4 data: '20020000' - name: HammerBigBooBounce type: add_func_pointer src_addr_pal: 0x80B0AE20 target_func: 'BooHammer(dEn_c *, ActivePhysics *, ActivePhysics *)' - name: HammerAmp type: patch addr_pal: 0x80ACE17C data: '00080a04' - name: HammerSpikeBall type: patch addr_pal: 0x80AD4D88 data: '00080006' - name: HammerBigSpikeBall type: patch addr_pal: 0x80ACDD50 data: '00080006' - name: HammerUrchin type: patch addr_pal: 0x80AD4F48 data: '00088a1e' - name: HammerBigUrchinBounce type: add_func_pointer src_addr_pal: 0x80B0CCC0 target_func: 'UrchinHammer(dEn_c *, ActivePhysics *, ActivePhysics *)' - name: HammerChainChomp type: patch addr_pal: 0x80AD5214 data: '00088206' - name: HammerFireSnake type: patch addr_pal: 0x80ACFBC4 data: '00088206' - name: HammerFishbones type: patch addr_pal: 0x80AD2748 data: '0008881e' - name: HammerBeanGoomba type: patch addr_pal: 0x80acd988 data: '0008A2BE' - name: HammerPukucoinOne type: patch addr_pal: 0x80AD3C60 data: '00088a0e' - name: HammerPukucoinTwo type: patch addr_pal: 0x80AD3C3C data: '00088a0e' - name: HammerBulber type: patch addr_pal: 0x80ACEC60 data: '00088a0e' - name: HammerFuzzyOne type: patch addr_pal: 0x80ACECF8 data: '0008828e' - name: HammerFuzzyTwo type: patch addr_pal: 0x80ACED1C data: '0008828e' - name: HammerGhostCircle type: patch addr_pal: 0x80AD4158 data: '0008a80e' - name: HammerPiranhaLily type: patch addr_pal: 0x80AD5538 data: '003AFFFE' - name: HammerMicroGoomba type: patch addr_pal: 0x80ACD9A0 data: '0008A2BE' # - name: HammerClam # type: patch # addr_pal: 0x80acd4BC # data: '00000047' # # - name: HammerClamTwo # type: patch # addr_pal: 0x80acd4e0 # data: '00000047' # # - name: HammerClamNull # type: add_func_pointer # src_addr_pal: 0x80AD5BF0 # target_func: 'ReturnNone' - name: HammerGiantWigglerNull type: add_func_pointer src_addr_pal: 0x80AD7FC8 target_func: 'ReturnNone' - name: HammerParabeetleNull type: add_func_pointer src_addr_pal: 0x80B028D8 target_func: 'ReturnNone' - name: HammerGiantBuzzyNull type: add_func_pointer src_addr_pal: 0x80AD8A10 target_func: 'ReturnNone' - name: HammerGiantBuzzy type: patch addr_pal: 0x80ACDC8C data: '0000004F' - name: HammerGiantBuzzy type: patch addr_pal: 0x80ACDC90 data: 'FFBAFFBC' - name: HammerKingBill type: patch addr_pal: 0x80AD2618 data: '0000004F' - name: HammerKingBillTwo type: patch addr_pal: 0x80AD261C data: '00088806' - name: HammerKingBillNull type: add_func_pointer src_addr_pal: 0x80AF72A8 target_func: 'ReturnNone' - name: HammerBulletBill type: patch addr_pal: 0x80AD22B8 data: '03000000' - name: HammerBanzaiBill type: patch addr_pal: 0x80ad22Dc data: '03000000' - name: HammerPolterOne type: patch addr_pal: 0x80AD3ADC data: '00000047' - name: HammerPolterTwo type: patch addr_pal: 0x80AD3B00 data: '00000047' # - name: HammerGabonRock # type: branch_insn # src_addr_pal: 0x807F9694 # target_func: 'HammerGabonRock' - name: Icicle type: patch data: "0000004F" addr_pal: 0x80AD0EB4 - name: IcicleOne type: patch data: "0000004F" addr_pal: 0x80AD0ED8 - name: IcicleTwo type: patch data: "0000004F" addr_pal: 0x80ACFD08 - name: IcicleThree type: patch data: "0000004F" addr_pal: 0x80ACFD2C - name: IcicleNormalNoIceball type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80AEFFFC # - name: IcicleFixationNoIceball # type: patch # target_func: 'ReturnNone' # src_addr_pal: 0x80AE9DC0 - name: FuckinCastleLarryNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B76C90 - name: FuckinLarryNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B81F44 - name: FuckinCastleLemmyNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B777A8 - name: FuckinLemmyNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B82DF0 - name: FuckinCastleWendyNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B7AD70 - name: FuckinWendyNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B87644 - name: FuckinCastleLudwigNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B78380 - name: FuckinLudwigNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B840D8 - name: FuckinCastleIggyNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B75F80 - name: FuckinIggyNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B7BC28 - name: FuckinCastleMortonNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B79060 - name: FuckinMortonNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B853A8 - name: FuckinCastleRoyNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B79DC8 - name: FuckinRoyNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B86410 - name: FuckinKamekNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B7CBDC - name: FuckinBowserNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B7E800 - name: FuckinJrANull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B804B4 - name: FuckinJrBNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B80BBC - name: FuckinJrCNull type: add_func_pointer target_func: 'ReturnNone' src_addr_pal: 0x80B81468 - name: BiggerAcPy type: patch addr_pal: 0x801443C8 data: '3860 2D0C' - name: AcPyCtorHS type: branch_insn target_func: 'AcPyCtorHS' src_addr_pal: 0x801447D4 branch_type: b - name: AcPyDtorReplace type: add_func_pointer target_func: 'AcPyDtorHS' src_addr_pal: 0x803257B0 - name: AcPySetMeUpHS type: branch_insn target_func: 'AcPySetMeUpHS' src_addr_pal: 0x8014516C branch_type: b - name: AcPyDrawHS type: branch_insn target_func: 'AcPyDrawHS' src_addr_pal: 0x80145BE0 branch_type: b - name: BiggerWm2dPlayer type: patch addr_pal: 0x808C5108 data: '3860 0388' - name: Wm2dPlayerCtorHS type: branch_insn target_func: 'Wm2dPlayerCtorHS' src_addr_pal: 0x808C52A0 branch_type: b - name: Wm2dPlayerDtorReplace type: add_func_pointer target_func: 'Wm2dPlayerDtorHS' src_addr_pal: 0x80981328 - name: Wm2dPlayerSetMeUpHS type: branch_insn target_func: 'Wm2dPlayerSetMeUpHS' src_addr_pal: 0x808C5A30 branch_type: b - name: Wm2dPlayerDrawHS type: branch_insn target_func: 'Wm2dPlayerDrawHS' src_addr_pal: 0x808C5910 branch_type: b - name: AddHSToBattleItem_AddArcName type: add_func_pointer target_func: 'I_hammerArcFilename' src_addr_pal: 0x80951A48 - name: AddHSToBattleItem_FixKinokoBrres1 type: add_func_pointer target_func: 'g3d_I_kinoko_brres' src_addr_pal: 0x80951ACC - name: AddHSToBattleItem_FixKinokoBrres2 type: add_func_pointer target_func: 'g3d_I_kinoko_brres' src_addr_pal: 0x80951ADC - name: AddHSToBattleItem_AddBrres type: add_func_pointer target_func: 'I_hammerResFile' src_addr_pal: 0x80951AE8 - name: AddHSToBattleItem_FixPropellerModel type: add_func_pointer target_func: 'I_propeller_model' src_addr_pal: 0x80951B04 - name: AddHSToBattleItem_AddModel type: add_func_pointer target_func: 'I_hammerModelName' src_addr_pal: 0x80951B18 - name: AddHSToBattleItem_FixWait2Anim type: branch_insn branch_type: bl src_addr_pal: 0x807BA4A8 target_func: 'AddHSToBattleItem_FixWait2Anim' - name: StrongboxInit type: branch_insn branch_type: b src_addr_pal: 0x808AA450 target_func: 'StrongboxInit' - name: StrongboxGiveBattleItem type: branch_insn branch_type: b src_addr_pal: 0x808AAF90 target_func: 'StrongboxGiveBattleItem' - name: NoSoundBattleKinopio type: nop_insn area_pal: 0x808AB5FC - name: NoDrawBattleKinopio type: nop_insn area_pal: [0x807B9F74,0x807B9F88]