mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00

- Fixes a few bugs from the last commit, namely: - The guy who gives you the Pocket Lapras having bugged text - Being able to use it where you shouldn't (Cycling Road, Seafoam before the boulder puzzle) - Pocket Lapras not having an item description - As well as this, automatic item sorting has been added. Just press Start in the bag menu and all your items will get assorted into a convenient list. - Changed a few item descriptions since some of them didn't terminate properly - Freed up some space in the Home bank
316 lines
6.2 KiB
NASM
316 lines
6.2 KiB
NASM
; This is ordered by the IDs in constants/item_constants.asm.
|
|
; https://github.com/pret/pokered/wiki/Item-Descriptions
|
|
|
|
DisplayItemDescription::
|
|
ld a, [wcf91]
|
|
dec a
|
|
cp a, HM01 - 1
|
|
jr c, .ok
|
|
sub HM01 - FLOOR_B2F
|
|
.ok
|
|
ld hl, ItemDescriptionPointers
|
|
ld bc, 5
|
|
call AddNTimes
|
|
jp PrintText
|
|
|
|
ItemDescriptionPointers:
|
|
text_far _MasterBallDescription
|
|
text_end
|
|
text_far _UltraBallDescription
|
|
text_end
|
|
text_far _GreatBallDescription
|
|
text_end
|
|
text_far _PokeBallDescription
|
|
text_end
|
|
text_far _TownMapDescription
|
|
text_end
|
|
text_far _BicycleDescription
|
|
text_end
|
|
text_far _PocketLaprasDescription
|
|
text_end
|
|
text_far _SafariBallDescription
|
|
text_end
|
|
text_far _UnusedItemDescription
|
|
text_end
|
|
text_far _MoonStoneDescription
|
|
text_end
|
|
text_far _AntidoteDescription
|
|
text_end
|
|
text_far _BurnHealDescription
|
|
text_end
|
|
text_far _IceHealDescription
|
|
text_end
|
|
text_far _AwakeningDescription
|
|
text_end
|
|
text_far _ParlyzHealDescription
|
|
text_end
|
|
text_far _FullRestoreDescription
|
|
text_end
|
|
text_far _MaxPotionDescription
|
|
text_end
|
|
text_far _HyperPotionDescription
|
|
text_end
|
|
text_far _SuperPotionDescription
|
|
text_end
|
|
text_far _PotionDescription
|
|
text_end
|
|
text_far _UnusedItemDescription
|
|
text_end
|
|
text_far _UnusedItemDescription
|
|
text_end
|
|
text_far _UnusedItemDescription
|
|
text_end
|
|
text_far _UnusedItemDescription
|
|
text_end
|
|
text_far _UnusedItemDescription
|
|
text_end
|
|
text_far _UnusedItemDescription
|
|
text_end
|
|
text_far _UnusedItemDescription
|
|
text_end
|
|
text_far _UnusedItemDescription
|
|
text_end
|
|
text_far _EscapeRopeDescription
|
|
text_end
|
|
text_far _RepelDescription
|
|
text_end
|
|
text_far _OldAmberDescription
|
|
text_end
|
|
text_far _FireStoneDescription
|
|
text_end
|
|
text_far _ThunderStoneDescription
|
|
text_end
|
|
text_far _WaterStoneDescription
|
|
text_end
|
|
text_far _HPUpDescription
|
|
text_end
|
|
text_far _ProteinDescription
|
|
text_end
|
|
text_far _IronDescription
|
|
text_end
|
|
text_far _CarbosDescription
|
|
text_end
|
|
text_far _CalciumDescription
|
|
text_end
|
|
text_far _RareCandyDescription
|
|
text_end
|
|
text_far _DomeFossilDescription
|
|
text_end
|
|
text_far _HelixFossilDescription
|
|
text_end
|
|
text_far _SecretKeyDescription
|
|
text_end
|
|
text_far _HeartStoneDescription
|
|
text_end
|
|
text_far _BikeVoucherDescription
|
|
text_end
|
|
text_far _XAccuracyDescription
|
|
text_end
|
|
text_far _LeafStoneDescription
|
|
text_end
|
|
text_far _CardKeyDescription
|
|
text_end
|
|
text_far _NuggetDescription
|
|
text_end
|
|
text_far _WingFossilDescription
|
|
text_end
|
|
text_far _PokeDollDescription
|
|
text_end
|
|
text_far _FullHealDescription
|
|
text_end
|
|
text_far _ReviveDescription
|
|
text_end
|
|
text_far _MaxReviveDescription
|
|
text_end
|
|
text_far _GuardSpecDescription
|
|
text_end
|
|
text_far _SuperRepelDescription
|
|
text_end
|
|
text_far _MaxRepelDescription
|
|
text_end
|
|
text_far _DireHitDescription
|
|
text_end
|
|
text_far _UnusedItemDescription
|
|
text_end
|
|
text_far _FreshWaterDescription
|
|
text_end
|
|
text_far _SodaPopDescription
|
|
text_end
|
|
text_far _LemonadeDescription
|
|
text_end
|
|
text_far _SSTicketDescription
|
|
text_end
|
|
text_far _GoldTeethDescription
|
|
text_end
|
|
text_far _XAttackDescription
|
|
text_end
|
|
text_far _XDefendDescription
|
|
text_end
|
|
text_far _XSpeedDescription
|
|
text_end
|
|
text_far _XSpecialDescription
|
|
text_end
|
|
text_far _CoinCaseDescription
|
|
text_end
|
|
text_far _OaksParcelDescription
|
|
text_end
|
|
text_far _ItemfinderDescription
|
|
text_end
|
|
text_far _SilphScopeDescription
|
|
text_end
|
|
text_far _PokeFluteDescription
|
|
text_end
|
|
text_far _LiftKeyDescription
|
|
text_end
|
|
text_far _ExpAllDescription
|
|
text_end
|
|
text_far _CandyJarDescription
|
|
text_end
|
|
text_far _BottleCapDescription
|
|
text_end
|
|
text_far _FishingRodDescription
|
|
text_end
|
|
text_far _PPUpDescription
|
|
text_end
|
|
text_far _EtherDescription
|
|
text_end
|
|
text_far _MaxEtherDescription
|
|
text_end
|
|
text_far _ElixerDescription
|
|
text_end
|
|
text_far _MaxElixerDescription
|
|
text_end
|
|
text_far _IceStoneDescription
|
|
text_end
|
|
text_far _ProtectorDescription
|
|
text_end
|
|
text_far _PoisonStoneDescription
|
|
text_end
|
|
text_far _BlkAuguriteDescription
|
|
text_end
|
|
text_far _DubiousDiscDescription
|
|
text_end
|
|
text_far _CitrinePassDescription
|
|
text_end
|
|
text_far _OldSeaMapDescription
|
|
text_end
|
|
text_far _UpGradeDescription
|
|
text_end
|
|
text_far _MetalCoatDescription
|
|
text_end
|
|
text_far _MysteryBoxDescription
|
|
text_end
|
|
text_far _TeaDescription
|
|
text_end
|
|
text_far _SilphLetterDescription
|
|
text_end
|
|
text_far _HM01Description
|
|
text_end
|
|
text_far _HM02Description
|
|
text_end
|
|
text_far _HM03Description
|
|
text_end
|
|
text_far _HM04Description
|
|
text_end
|
|
text_far _HM05Description
|
|
text_end
|
|
text_far _TM01Description
|
|
text_end
|
|
text_far _TM02Description
|
|
text_end
|
|
text_far _TM03Description
|
|
text_end
|
|
text_far _TM04Description
|
|
text_end
|
|
text_far _TM05Description
|
|
text_end
|
|
text_far _TM06Description
|
|
text_end
|
|
text_far _TM07Description
|
|
text_end
|
|
text_far _TM08Description
|
|
text_end
|
|
text_far _TM09Description
|
|
text_end
|
|
text_far _TM10Description
|
|
text_end
|
|
text_far _TM11Description
|
|
text_end
|
|
text_far _TM12Description
|
|
text_end
|
|
text_far _TM13Description
|
|
text_end
|
|
text_far _TM14Description
|
|
text_end
|
|
text_far _TM15Description
|
|
text_end
|
|
text_far _TM16Description
|
|
text_end
|
|
text_far _TM17Description
|
|
text_end
|
|
text_far _TM18Description
|
|
text_end
|
|
text_far _TM19Description
|
|
text_end
|
|
text_far _TM20Description
|
|
text_end
|
|
text_far _TM21Description
|
|
text_end
|
|
text_far _TM22Description
|
|
text_end
|
|
text_far _TM23Description
|
|
text_end
|
|
text_far _TM24Description
|
|
text_end
|
|
text_far _TM25Description
|
|
text_end
|
|
text_far _TM26Description
|
|
text_end
|
|
text_far _TM27Description
|
|
text_end
|
|
text_far _TM28Description
|
|
text_end
|
|
text_far _TM29Description
|
|
text_end
|
|
text_far _TM30Description
|
|
text_end
|
|
text_far _TM31Description
|
|
text_end
|
|
text_far _TM32Description
|
|
text_end
|
|
text_far _TM33Description
|
|
text_end
|
|
text_far _TM34Description
|
|
text_end
|
|
text_far _TM35Description
|
|
text_end
|
|
text_far _TM36Description
|
|
text_end
|
|
text_far _TM37Description
|
|
text_end
|
|
text_far _TM38Description
|
|
text_end
|
|
text_far _TM39Description
|
|
text_end
|
|
text_far _TM40Description
|
|
text_end
|
|
text_far _TM41Description
|
|
text_end
|
|
text_far _TM42Description
|
|
text_end
|
|
text_far _TM43Description
|
|
text_end
|
|
text_far _TM44Description
|
|
text_end
|
|
text_far _TM45Description
|
|
text_end
|
|
text_far _TM46Description
|
|
text_end
|
|
text_far _TM47Description
|
|
text_end
|
|
text_far _TM48Description
|
|
text_end
|
|
text_far _TM49Description
|
|
text_end
|
|
text_far _TM50Description
|
|
text_end |