Convert oBehParams to be unsigned, and fix GLOBAL_STAR_IDS to support more than 128 stars (#503)

This commit is contained in:
Gregory Heskett
2022-10-04 23:56:10 -04:00
committed by GitHub
parent 68f09d34ea
commit 6291c77a18
4 changed files with 9 additions and 5 deletions

View File

@@ -153,7 +153,7 @@
#define /*0x17C*/ oOpacity OBJECT_FIELD_S32(0x3D)
#define /*0x180*/ oDamageOrCoinValue OBJECT_FIELD_S32(0x3E)
#define /*0x184*/ oHealth OBJECT_FIELD_S32(0x3F)
#define /*0x188*/ oBehParams OBJECT_FIELD_S32(0x40)
#define /*0x188*/ oBehParams OBJECT_FIELD_U32(0x40)
#define /*0x18C*/ oPrevAction OBJECT_FIELD_S32(0x41)
#define /*0x190*/ oInteractionSubtype OBJECT_FIELD_U32(0x42)
#define /*0x194*/ oCollisionDistance OBJECT_FIELD_F32(0x43)
@@ -606,7 +606,7 @@
#define /*0x110*/ oIsFloomba OBJECT_FIELD_S32(0x22)
#ifdef INTRO_FLOOMBAS
#define /*0x1AC*/ oZoomCounter OBJECT_FIELD_S32(0x49)
#define /*0x1AC*/ oZoomCounter OBJECT_FIELD_U32(0x49)
#define /*0x1B0*/ oZoomPosZ OBJECT_FIELD_F32(0x4A)
#endif
#endif