ITM

From OHRRPGCE-Wiki

Jump to: navigation, search

.ITM holds item definitions. Records are 200 bytes long.

[edit] Formal Specs

About Formal Specs

Offset Data Meaning
0VSTR(1i+8i= 18b)Name
9VSTR(1i+35i = 72b)Info
46INTValue (does nothing except provide default buy + sell values in stores)
47INTAttack when used in battle (attack num+1)
48INTAttack when used as weapon (attack num+1)
49INTEquippable as

0 = NEVER EQUIPPED
1 = Weapon
2 = armor 1
3 = armor 2
4 = armor 3
5 = armor 4

50INTTeach Spell (attack num+1)
51INTWhen used out of battle: > 0 is attack num+1, < 0 is -1 * textbox number (box 0 can't be triggered)
52INTWeapon Picture
53INTWeapon Palette
54INTHP bonus
55INTMP bonus
56INTAttack bonus
57INTAim bonus
58INTDefense bonus
59INTDodge bonus
60INTMagic bonus
61INTWill bonus
62INTSpeed bonus
63INTCounter bonus
64INTMP~ bonus
65INTHits bonus
66INT * 4Equippable by (41 bits, rest wasted)
70INT * 3Bitsets

0-7 Weakness to elem 1,2,3,4,5,6,7,8
8-15 Strength to elem 1,2,3,4,5,6,7,8
16-23 Absorbs elem 1,2,3,4,5,6,7,8
24-42 Undefined

73INTConsumability

0 = Unlimited use
1 = Consumed by use
2 = Cannot be sold/dropped

74INTOWN ITEM tag #
75INTITEM IN INVENTORY tag #
76INTIS EQUIPPED tag #
77INTEQUIPPED BY ACTIVE HERO tag #
78INTFrame 1 "Handle" point X coordinate
79INTFrame 1 "Handle" point Y coordinate
80INTFrame 2 "Handle" point X coordinate
81INTFrame 2 "Handle" point Y coordinate
82-99INTUndefined

ARCHINYM.LMP . BROWSE.TXT . ATTACK.BIN . BINSIZE.BIN . DEFPAL#.BIN . DEFPASS.BIN . FIXBITS.BIN . LOOKUP.BIN . MENUS.BIN . MENUITEM.BIN . PALETTES.BIN . PLOTSCR.LST . SFXDATA.BIN . SONGDATA.BIN . UICOLORS.BIN . GEN . BAM . Map Format . T . P . E . D . L . N . DOR . DOX . DT0 . DT1 . DT6 . EFS . FOR . FNT . HSP . HSZ . ITM . MAP . MAS . MN . MXS . PAL . PT0 . PT1 . PT2 . PT3 . PT4 . PT5 . PT6 . SAY . SHO . SNG . STF . STT . TAP . TIL . TMN . VEH

Personal tools