Subscreen Object Position Signed/Unsigned Bug

Post Reply
User avatar
Emily
ZC Developer
Posts: 52
Joined: Sat Feb 08, 2020 11:07 pm
PureZC Username: Emily
AGN Username: Emily
Contact:

Subscreen Object Position Signed/Unsigned Bug

Post by Emily »

Subscreen Object Positions:

For quests in versions where negative values were not valid (which includes 2.50.2 up until very recent 2.55 where it became valid again), any X/Y value > 32767 (<0 signed) should be bounded to 32767 (such that they do not become negative). This is because an object with Y=65535 is entirely offscreen, whilst an object with Y=-1 is blatantly visible at the top of the screen.

In versions where negative values were valid (recent 2.55, and ????? apparently something else which caused the recent 2.55 changes, which I have no reference for), the value should remain negative.
ZC Dev since Sept 2018

Post Reply