diff options
-rw-r--r-- | asm/emerald.s | 14 | ||||
-rw-r--r-- | data/data2.s | 5 | ||||
-rw-r--r-- | data/item_effect_info.s | 825 | ||||
-rw-r--r-- | data/text/item_descriptions.s | 2 |
4 files changed, 834 insertions, 12 deletions
diff --git a/asm/emerald.s b/asm/emerald.s index 6b06ddd88..7f2e6102b 100644 --- a/asm/emerald.s +++ b/asm/emerald.s @@ -176341,7 +176341,7 @@ sub_8063EE0: ; 8063EE0 bne @08063FA6 b @08064370 @08063FA6: - ldr r1, =gUnknown_0831E58C + ldr r1, =gItemEffectInfoPointers subs r0, 0xD lsls r0, 2 adds r0, r1 @@ -191857,7 +191857,7 @@ sub_806BD28: ; 806BD28 lsrs r0, 16 cmp r0, 0xA5 bhi @0806BEF0 - ldr r1, =gUnknown_0831E58C + ldr r1, =gItemEffectInfoPointers lsls r0, r4, 2 adds r0, r1 ldr r0, [r0] @@ -193730,7 +193730,7 @@ sub_806CDDC: ; 806CDDC lsls r2, 24 lsrs r5, r2, 24 movs r7, 0x6 - ldr r1, =gUnknown_0831E58C + ldr r1, =gItemEffectInfoPointers adds r0, r3, 0 subs r0, 0xD lsls r0, 2 @@ -193966,7 +193966,7 @@ sub_806CF78: ; 806CF78 .align 2, 0 .pool @0806CFCC: - ldr r1, =gUnknown_0831E58C + ldr r1, =gItemEffectInfoPointers subs r0, 0xD lsls r0, 2 adds r0, r1 @@ -846854,7 +846854,7 @@ sub_81B62D0: ; 81B62D0 .align 2, 0 .pool @081B62EC: - ldr r1, =gUnknown_0831E58C + ldr r1, =gItemEffectInfoPointers subs r0, 0xD lsls r0, 2 adds r0, r1 @@ -847798,7 +847798,7 @@ dp05_ether: ; 81B6AFC .align 2, 0 .pool @081B6B20: - ldr r1, =gUnknown_0831E58C + ldr r1, =gItemEffectInfoPointers subs r0, 0xD lsls r0, 2 adds r0, r1 @@ -849822,7 +849822,7 @@ sub_81B7CEC: ; 81B7CEC .align 2, 0 .pool @081B7D18: - ldr r1, =gUnknown_0831E58C + ldr r1, =gItemEffectInfoPointers lsls r0, r2, 2 adds r0, r1 ldr r4, [r0] diff --git a/data/data2.s b/data/data2.s index abc94dd41..c4fe0e761 100644 --- a/data/data2.s +++ b/data/data2.s @@ -1643,10 +1643,7 @@ gUnknown_0831C89C: ; 831C89C .include "data/spinda_spot_graphics.s" ; 831E380 - .incbin "base_emerald.gba", 0x31e380, 0x20c - -gUnknown_0831E58C: ; 831E58C - .incbin "base_emerald.gba", 0x31e58c, 0x28c + .include "data/item_effect_info.s" gUnknown_0831E818: ; 831E818 .incbin "base_emerald.gba", 0x31e818, 0x80 diff --git a/data/item_effect_info.s b/data/item_effect_info.s new file mode 100644 index 000000000..71b42837c --- /dev/null +++ b/data/item_effect_info.s @@ -0,0 +1,825 @@ +gPotionItemEffectInfo: ; 831E380 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x04 + .byte 0x00 + .byte 20 + +gAntidoteItemEffectInfo: ; 831E387 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x10 + .byte 0x00 + .byte 0x00 + +gBurnHealItemEffectInfo: ; 831E38D + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x08 + .byte 0x00 + .byte 0x00 + +gIceHealItemEffectInfo: ; 831E393 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x04 + .byte 0x00 + .byte 0x00 + +gAwakeningItemEffectInfo: ; 831E399 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x20 + .byte 0x00 + .byte 0x00 + +gParalyzeHealItemEffectInfo: ; 831E39F + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x02 + .byte 0x00 + .byte 0x00 + +gFullRestoreItemEffectInfo: ; 831E3A5 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x3f + .byte 0x04 + .byte 0x00 + .byte 0xff + +gMaxPotionItemEffectInfo: ; 831E3AC + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x04 + .byte 0x00 + .byte 0xff + +gHyperPotionItemEffectInfo: ; 831E3B3 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x04 + .byte 0x00 + .byte 200 + +gSuperPotionItemEffectInfo: ; 831E3BA + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x04 + .byte 0x00 + .byte 50 + +gFullHealItemEffectInfo: ; 831E3C1 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x3f + .byte 0x00 + .byte 0x00 + +gReviveItemEffectInfo: ; 831E3C7 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x44 + .byte 0x00 + .byte 0xfe + +gMaxReviveItemEffectInfo: ; 831E3CE + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x44 + .byte 0x00 + .byte 0xff + +gFreshWaterItemEffectInfo: ; 831E3D5 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x04 + .byte 0x00 + .byte 50 + +gSodaPopItemEffectInfo: ; 831E3DC + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x04 + .byte 0x00 + .byte 60 + +gLemonadeItemEffectInfo: ; 831E3E3 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x04 + .byte 0x00 + .byte 80 + +gMoomooMilkItemEffectInfo: ; 831E3EA + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x04 + .byte 0x00 + .byte 100 + +gEnergyPowderItemEffectInfo: ; 831E3F1 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x04 + .byte 0xe0 + .byte 50 + .byte 0xfb + .byte 0xfb + .byte 0xf6 + +gEnergyRootItemEffectInfo: ; 831E3FB + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x04 + .byte 0xe0 + .byte 200 + .byte 0xf6 + .byte 0xf6 + .byte 0xf1 + +gHealPowderItemEffectInfo: ; 831E405 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x3f + .byte 0x00 + .byte 0xe0 + .byte 0xfb + .byte 0xfb + .byte 0xf6 + +gRevivalHerbItemEffectInfo: ; 831E40E + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x44 + .byte 0xe0 + .byte 0xff + .byte 0xf1 + .byte 0xf1 + .byte 0xec + +gEtherItemEffectInfo: ; 831E418 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x18 + .byte 0x00 + .byte 0x0a + +gMaxEtherItemEffectInfo: ; 831E41F + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x18 + .byte 0x00 + .byte 0x7f + +gElixirItemEffectInfo: ; 831E426 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x08 + .byte 0x00 + .byte 0x0a + +gMaxElixirItemEffectInfo: ; 831E42D + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x08 + .byte 0x00 + .byte 0x7f + +gLavaCookieItemEffectInfo: ; 831E434 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x3f + .byte 0x00 + .byte 0x00 + +gBlueFluteItemEffectInfo: ; 831E43A + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x20 + .byte 0x00 + .byte 0x00 + +gYellowFluteItemEffectInfo: ; 831E440 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x01 + .byte 0x00 + .byte 0x00 + +gRedFluteItemEffectInfo: ; 831E446 + .byte 0x80 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + +gBerryJuiceItemEffectInfo: ; 831E44C + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x04 + .byte 0x00 + .byte 20 + +gSacredAshItemEffectInfo: ; 831E453 + .byte 0x40 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x44 + .byte 0x00 + .byte 0xff + +gHPUpItemEffectInfo: ; 831E45A + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x01 + .byte 0xe0 + .byte 0x0a + .byte 0x05 + .byte 0x03 + .byte 0x02 + +gProteinItemEffectInfo: ; 831E464 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x02 + .byte 0xe0 + .byte 0x0a + .byte 0x05 + .byte 0x03 + .byte 0x02 + +gIronItemEffectInfo: ; 831E46E + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0xe1 + .byte 0x0a + .byte 0x05 + .byte 0x03 + .byte 0x02 + +gCarbosItemEffectInfo: ; 831E478 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0xe2 + .byte 0x0a + .byte 0x05 + .byte 0x03 + .byte 0x02 + +gCalciumItemEffectInfo: ; 831E482 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0xe8 + .byte 0x0a + .byte 0x05 + .byte 0x03 + .byte 0x02 + +gRareCandyItemEffectInfo: ; 831E48C + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x40 + .byte 0x44 + .byte 0xe0 + .byte 0xfd + .byte 0x05 + .byte 0x03 + .byte 0x02 + +gPPUpItemEffectInfo: ; 831E496 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x20 + .byte 0xe0 + .byte 0x05 + .byte 0x03 + .byte 0x02 + +gZincItemEffectInfo: ; 831E49F + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0xe4 + .byte 0x0a + .byte 0x05 + .byte 0x03 + .byte 0x02 + +gPPMaxItemEffectInfo: ; 831E4A9 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0xf0 + .byte 0x05 + .byte 0x03 + .byte 0x02 + +gGuardSpecItemEffectInfo: ; 831E4B2 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x80 + .byte 0x00 + .byte 0x60 + .byte 0x01 + .byte 0x01 + +gDireHitItemEffectInfo: ; 831E4BA + .byte 0x20 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x60 + .byte 0x01 + .byte 0x01 + +gXAttackItemEffectInfo: ; 831E4C2 + .byte 0x01 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x60 + .byte 0x01 + .byte 0x01 + +gXDefendItemEffectInfo: ; 831E4CA + .byte 0x00 + .byte 0x10 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x60 + .byte 0x01 + .byte 0x01 + +gXSpeedItemEffectInfo: ; 831E4D2 + .byte 0x00 + .byte 0x01 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x60 + .byte 0x01 + .byte 0x01 + +gXAccuracyItemEffectInfo: ; 831E4DA + .byte 0x00 + .byte 0x00 + .byte 0x10 + .byte 0x00 + .byte 0x00 + .byte 0x60 + .byte 0x01 + .byte 0x01 + +gXSpecialItemEffectInfo: ; 831E4E2 + .byte 0x00 + .byte 0x00 + .byte 0x01 + .byte 0x00 + .byte 0x00 + .byte 0x60 + .byte 0x01 + .byte 0x01 + +gSunStoneItemEffectInfo: ; 831E4EA + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x80 + .byte 0x00 + +gMoonStoneItemEffectInfo: ; 831E4F0 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x80 + .byte 0x00 + +gFireStoneItemEffectInfo: ; 831E4F6 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x80 + .byte 0x00 + +gThunderStoneItemEffectInfo: ; 831E4FC + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x80 + .byte 0x00 + +gWaterStoneItemEffectInfo: ; 831E502 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x80 + .byte 0x00 + +gLeafStoneItemEffectInfo: ; 831E508 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x80 + .byte 0x00 + +gCheriBerryItemEffectInfo: ; 831E50E + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x02 + .byte 0x00 + .byte 0x00 + +gChestoBerryItemEffectInfo: ; 831E514 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x20 + .byte 0x00 + .byte 0x00 + +gPechaBerryItemEffectInfo: ; 831E51A + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x10 + .byte 0x00 + .byte 0x00 + +gRawstBerryItemEffectInfo: ; 831E520 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x08 + .byte 0x00 + .byte 0x00 + +gAspearBerryItemEffectInfo: ; 831E526 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x04 + .byte 0x00 + .byte 0x00 + +gLeppaBerryItemEffectInfo: ; 831E52C + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x18 + .byte 0x00 + .byte 0x0a + +gOranBerryItemEffectInfo: ; 831E533 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x04 + .byte 0x00 + .byte 10 + +gPersimBerryItemEffectInfo: ; 831E53A + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x01 + .byte 0x00 + .byte 0x00 + +gLumBerryItemEffectInfo: ; 831E540 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x3f + .byte 0x00 + .byte 0x00 + +gSitrusBerryItemEffectInfo: ; 831E546 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x04 + .byte 0x00 + .byte 30 + +gPomegBerryItemEffectInfo: ; 831E54D + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x01 + .byte 0xe0 + .byte 0xf6 + .byte 0x0a + .byte 0x05 + .byte 0x02 + +gKelpsyBerryItemEffectInfo: ; 831E557 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x02 + .byte 0xe0 + .byte 0xf6 + .byte 0x0a + .byte 0x05 + .byte 0x02 + +gQualotBerryItemEffectInfo: ; 831E561 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0xe1 + .byte 0xf6 + .byte 0x0a + .byte 0x05 + .byte 0x02 + +gHondewBerryItemEffectInfo: ; 831E56B + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0xe8 + .byte 0xf6 + .byte 0x0a + .byte 0x05 + .byte 0x02 + +gGrepaBerryItemEffectInfo: ; 831E575 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0xe4 + .byte 0xf6 + .byte 0x0a + .byte 0x05 + .byte 0x02 + +gTamatoBerryItemEffectInfo: ; 831E57F + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0x00 + .byte 0xe2 + .byte 0xf6 + .byte 0x0a + .byte 0x05 + .byte 0x02 + + .align 2, 0 + +gItemEffectInfoPointers: ; 831E58C + .4byte gPotionItemEffectInfo + .4byte gAntidoteItemEffectInfo + .4byte gBurnHealItemEffectInfo + .4byte gIceHealItemEffectInfo + .4byte gAwakeningItemEffectInfo + .4byte gParalyzeHealItemEffectInfo + .4byte gFullRestoreItemEffectInfo + .4byte gMaxPotionItemEffectInfo + .4byte gHyperPotionItemEffectInfo + .4byte gSuperPotionItemEffectInfo + .4byte gFullHealItemEffectInfo + .4byte gReviveItemEffectInfo + .4byte gMaxReviveItemEffectInfo + .4byte gFreshWaterItemEffectInfo + .4byte gSodaPopItemEffectInfo + .4byte gLemonadeItemEffectInfo + .4byte gMoomooMilkItemEffectInfo + .4byte gEnergyPowderItemEffectInfo + .4byte gEnergyRootItemEffectInfo + .4byte gHealPowderItemEffectInfo + .4byte gRevivalHerbItemEffectInfo + .4byte gEtherItemEffectInfo + .4byte gMaxEtherItemEffectInfo + .4byte gElixirItemEffectInfo + .4byte gMaxElixirItemEffectInfo + .4byte gLavaCookieItemEffectInfo + .4byte gBlueFluteItemEffectInfo + .4byte gYellowFluteItemEffectInfo + .4byte gRedFluteItemEffectInfo + .4byte 0 + .4byte 0 + .4byte gBerryJuiceItemEffectInfo + .4byte gSacredAshItemEffectInfo + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte gHPUpItemEffectInfo + .4byte gProteinItemEffectInfo + .4byte gIronItemEffectInfo + .4byte gCarbosItemEffectInfo + .4byte gCalciumItemEffectInfo + .4byte gRareCandyItemEffectInfo + .4byte gPPUpItemEffectInfo + .4byte gZincItemEffectInfo + .4byte gPPMaxItemEffectInfo + .4byte 0 + .4byte gGuardSpecItemEffectInfo + .4byte gDireHitItemEffectInfo + .4byte gXAttackItemEffectInfo + .4byte gXDefendItemEffectInfo + .4byte gXSpeedItemEffectInfo + .4byte gXAccuracyItemEffectInfo + .4byte gXSpecialItemEffectInfo + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte gSunStoneItemEffectInfo + .4byte gMoonStoneItemEffectInfo + .4byte gFireStoneItemEffectInfo + .4byte gThunderStoneItemEffectInfo + .4byte gWaterStoneItemEffectInfo + .4byte gLeafStoneItemEffectInfo + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte gCheriBerryItemEffectInfo + .4byte gChestoBerryItemEffectInfo + .4byte gPechaBerryItemEffectInfo + .4byte gRawstBerryItemEffectInfo + .4byte gAspearBerryItemEffectInfo + .4byte gLeppaBerryItemEffectInfo + .4byte gOranBerryItemEffectInfo + .4byte gPersimBerryItemEffectInfo + .4byte gLumBerryItemEffectInfo + .4byte gSitrusBerryItemEffectInfo + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte gPomegBerryItemEffectInfo + .4byte gKelpsyBerryItemEffectInfo + .4byte gQualotBerryItemEffectInfo + .4byte gHondewBerryItemEffectInfo + .4byte gGrepaBerryItemEffectInfo + .4byte gTamatoBerryItemEffectInfo + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 + .4byte 0 diff --git a/data/text/item_descriptions.s b/data/text/item_descriptions.s index 92e61177f..ce5f77c77 100644 --- a/data/text/item_descriptions.s +++ b/data/text/item_descriptions.s @@ -181,7 +181,7 @@ gZincItemDescription: ; 85808D7 gPPMaxItemDescription: ; 8580904 .charmapstr "Raises the PP of a{next}move to its maximum{next}points.$" -gGuardSpec.ItemDescription: ; 8580933 +gGuardSpecItemDescription: ; 8580933 .charmapstr "Prevents stat{next}reduction when{next}used in battle.$" gDireHitItemDescription: ; 8580960 |