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, BG1) restoration] Algernon's cloak has its own artwork

CamDawgCamDawg Member, Developer Posts: 3,394
edited August 2012 in Fixed
Currently Algernon's cloak is using the graphics for the nymph cloak, but it has its own set of artwork. This will restore it:
// restore algernon's graphics
COPY_EXISTING ~clck08.itm~ ~override~
WRITE_ASCII 0x3a ~iclck08~ #8 // inventory icon
WRITE_ASCII 0x58 ~cclck08~ #8 // inventory icon
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%" = 3) BEGIN
WRITE_ASCII ("%abil_off%" + 0x04 + (0x38 * "%abil_num%")) ~iclck08~ #8
END
END
BUT_ONLY_IF_IT_CHANGES

Post edited by Bhryaen on
BhryaenAndreaColombo

Comments

Sign In or Register to comment.