[EO 2.0 - Bug Fix] Item Anim

Description: EO has a system of animated items for those who do not know … But he always gets the second frame to the last. The fix makes the first take to the last.

Example of animated item (Made by darkpeople196):

How to Make Item Anim :

In Sub BltAnimatedInvItems(), find :

If MapItem(i).Frame < MaxFrames - 1 Then

MapItem(i).Frame = MapItem(i).Frame + 1

Else

MapItem(i).Frame = 1

End If

Replace :

If MapItem(i).Frame < MaxFrames - 1 Then

MapItem(i).Frame = MapItem(i).Frame + 1

Else

MapItem(i).Frame = 0

End If

Below, find this :

If InvItemFrame(i) < MaxFrames - 1 Then

InvItemFrame(i) = InvItemFrame(i) + 1

Else

InvItemFrame(i) = 1

End If

Replace :

If InvItemFrame(i) < MaxFrames - 1 Then

InvItemFrame(i) = InvItemFrame(i) + 1

Else

InvItemFrame(i) = 0

End If

Credits : GuardianBR

Good Guardian ;)

Possibly in


Sub DrawAnimatedInvItems()

Just ya’ know, no “Blt.”

(Damnit, now I want a BLT!!)

Log in to reply