Jump to content

Lilarcor


CamDawg

Recommended Posts

Lilarcor would convey permanent protection from the confusion animation permanently instead of just whle equipped.

 

// Lilarcor would convey permanent immunity to conusion animation, instead of just whle equipped
COPY_EXISTING ~sw2h14.itm~ ~override~
 READ_LONG  0x6a "fx_off"
 READ_SHORT 0x70 "fx_num"
 WHILE ("%fx_num%" > 0) BEGIN
   SET "fx_num" = ("%fx_num%" - 1)
   READ_BYTE ("%fx_off%" +        ("%fx_num%" * 0x30)) "type"
   PATCH_IF ("%type%" = 296) BEGIN // immunity to specific animation
     WRITE_BYTE ("%fx_off%" + 0x0c + ("%fx_num%" * 0x30)) 2 // instant/while equipped
   END
 END
 BUT_ONLY_IF_IT_CHANGES

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...