getPropertyDefault static method
Implementation
static int getPropertyDefault(int propertyNum) {
propertyNum -= 1;
propertyNum %= 31;
if (propertyNum < 0 || propertyNum > 31) {
throw GameException('property number out of bounds (1-31)');
}
return Z.engine.mem
.loadw(Z.engine.mem.objectsAddress + (propertyNum * 2));
}