mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 23:55:24 +13:00
Refactor Item Constants
Alright, never put items after the floors. This is very, very bad, as it actually causes a myriad of problems whenever the game tries to assert the item list on its lonesome. Effectively, this has been adding floors. This caused the item descriptions to be offset by 21 spaces once you get to the TMs. The fact it worked before was a miracle. Anyway, all considerations have been made when doing this, so it should all be just fine. If you need to test if the items are ok, check the Up-Grade on Porygon, as it's the last in the list. Checks showed it was ok for me. Also, Old Sea Chart now uses the localised name - Old Sea Map. This actually fits in-game, which is good.
This commit is contained in:
parent
374756eec6
commit
3f6005f3f1
10 changed files with 73 additions and 96 deletions
|
|
@ -100,6 +100,14 @@ ItemUsePtrTable:
|
|||
dw ItemUsePPRestore ; MAX_ETHER
|
||||
dw ItemUsePPRestore ; ELIXER
|
||||
dw ItemUsePPRestore ; MAX_ELIXER
|
||||
dw ItemUseEvoStone ; ICE_STONE
|
||||
dw ItemUseEvoStone ; PROTECTOR
|
||||
dw ItemUseEvoStone ; POISON_STONE
|
||||
dw ItemUseEvoStone ; BLK_AUGURITE
|
||||
dw ItemUseEvoStone ; DUBIOUS_DISC
|
||||
dw UnusableItem ; CITRINE_PASS
|
||||
dw UnusableItem ; OLDSEACHART
|
||||
dw ItemUseEvoStone ; UP_GRADE
|
||||
dw UnusableItem ; FLOOR_B2F
|
||||
dw UnusableItem ; FLOOR_B1F
|
||||
dw UnusableItem ; FLOOR_1F
|
||||
|
|
@ -114,14 +122,6 @@ ItemUsePtrTable:
|
|||
dw UnusableItem ; FLOOR_10F
|
||||
dw UnusableItem ; FLOOR_11F
|
||||
dw UnusableItem ; FLOOR_14F
|
||||
dw ItemUseEvoStone ; ICE_STONE
|
||||
dw ItemUseEvoStone ; PROTECTOR
|
||||
dw ItemUseEvoStone ; POISON_STONE
|
||||
dw ItemUseEvoStone ; BLK_AUGURITE
|
||||
dw ItemUseEvoStone ; DUBIOUS_DISC
|
||||
dw UnusableItem ; CITRINE_PASS
|
||||
dw UnusableItem ; OLDSEACHART
|
||||
dw ItemUseEvoStone ; UP_GRADE
|
||||
|
||||
ItemUseBall:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue