Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Axis & Allies 1942 Online is now available in Early Access! Buy it on Steam. The FAQ is available.
New Premium Module: Tyrants of the Moonsea! Read More
Attention, new and old users! Please read the new rules of conduct for the forums, and we hope you enjoy your stay!

[(BGEE, BG2) BUG] Bow graphics

CamDawgCamDawg Member, Developer Posts: 3,394
edited August 2012 in Fixed
Some cosmetic fixes for bows--the long bow and composite long bow were using each other's icons.
// fixes swapped icons
COPY_EXISTING ~bow01.itm~ ~override~
~bow03.itm~ ~override~
WRITE_EVALUATED_ASCII 0x3a ~i%SOURCE_RES%~ #8
READ_LONG 0x64 "abil_off"
READ_SHORT 0x68 "abil_num"
WHILE ("%abil_num%" > 0) BEGIN
SET "abil_num" = ("%abil_num%" - 1)
READ_BYTE ("%abil_off%" + (0x38 * "%abil_num%")) "abil_type"
PATCH_IF (("%abil_type%" = 2) OR ("%abil_type%" = 4)) BEGIN
WRITE_EVALUATED_ASCII ("%abil_off%" + 0x04 + (0x38 * "%abil_num%")) ~i%SOURCE_RES%~ #8
END
END
BUT_ONLY_IF_IT_CHANGES

Post edited by Bhryaen on
AndreaColombo

Comments

Sign In or Register to comment.