OldScape icon indicating copy to clipboard operation
OldScape copied to clipboard

Npc & Loc Transforms

Open Z-Kris opened this issue 3 years ago • 0 comments

In both the NpcConfig and LocConfig, the writing of the opcodes 106&108(varbit/varp transformations) is slightly incorrect.

data.writeOpcode(if (transforms.last() == null) 118 else 106) Should be inverted to data.writeOpcode(if (transforms.last() != null) 118 else 106)

Edit: This also applies to HitMarkConfig, although it uses different opcodes for them.

Z-Kris avatar Jul 26 '21 21:07 Z-Kris