Skip to content

Commit b48eec6

Browse files
authored
fix PlayerObject flash members (geode-sdk#1206)
1 parent 7bac6d2 commit b48eec6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

bindings/2.2074/GeometryDash.bro

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27018,13 +27018,13 @@ class PlayerObject : GameObject, AnimatedSpriteDelegate {
2701827018
void exitPlatformerAnimateJump() = win 0x3771a0, m1 0x371834, imac 0x3f09f0, ios 0x21de6c;
2701927019
void fadeOutStreak2(float duration) = ios 0x22861c, win 0x38a400, imac 0x402470, m1 0x38071c;
2702027020
void flashPlayer(float flashDuration, float flashDelay, cocos2d::ccColor3B mainColor, cocos2d::ccColor3B secondColor) = win inline, m1 0x37c04c, imac 0x3fd3f0, ios inline {
27021-
m_colorRelated2 = mainColor;
27022-
m_flashRelated3 = secondColor;
27023-
this->setColor(m_colorRelated2);
27024-
this->setSecondColor(m_flashRelated3);
27021+
m_flashMainColor = mainColor;
27022+
m_flashSecondColor = secondColor;
27023+
this->setColor(m_flashMainColor);
27024+
this->setSecondColor(m_flashSecondColor);
2702527025
m_flashTime = m_totalTime;
27026-
m_flashRelated = flashDuration;
27027-
m_flashRelated1 = flashDelay;
27026+
m_flashDuration = flashDuration;
27027+
m_flashDelay = flashDelay;
2702827028
}
2702927029
void flipGravity(bool flip, bool noEffects) = ios 0x21eb30, win 0x384440, imac 0x3f1c30, m1 0x372910;
2703027030
int flipMod() = win inline, m1 0x370968, imac 0x3efae0, ios inline {
@@ -27835,10 +27835,10 @@ class PlayerObject : GameObject, AnimatedSpriteDelegate {
2783527835
double m_lastJumpTime;
2783627836
double m_lastFlipTime;
2783727837
double m_flashTime;
27838-
float m_flashRelated;
27839-
float m_flashRelated1;
27840-
cocos2d::ccColor3B m_colorRelated2;
27841-
cocos2d::ccColor3B m_flashRelated3;
27838+
float m_flashDuration;
27839+
float m_flashDelay;
27840+
cocos2d::ccColor3B m_flashMainColor;
27841+
cocos2d::ccColor3B m_flashSecondColor;
2784227842
double m_lastSpiderFlipTime;
2784327843
bool m_unkBool5;
2784427844
bool m_maybeIsVehicleGlowing;

0 commit comments

Comments
 (0)