Skip to content

Commit 5ccbbee

Browse files
authored
PlayLayer::toggleIgnoreDamage for ninx
1 parent 86ceb85 commit 5ccbbee

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

bindings/2.2074/GeometryDash.bro

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16668,7 +16668,13 @@ class PlayLayer : GJBaseGameLayer, CCCircleWaveDelegate, CurrencyRewardDelegate,
1666816668
TodoReturn toggleBGEffectVisibility(bool);
1666916669
TodoReturn toggleDebugDraw(bool);
1667016670
TodoReturn toggleGhostEffect(int);
16671-
void toggleIgnoreDamage(bool) = m1 0x9d9c8, imac 0xacbb0;
16671+
void toggleIgnoreDamage(bool value) = win inline, m1 0x9d9c8, imac 0xacbb0 {
16672+
this->m_0173 = value;
16673+
if (value) this->m_isIgnoreDamageEnabled = true;
16674+
this->m_player1->m_maybeCanRunIntoBlocks = value;
16675+
this->m_player2->m_maybeCanRunIntoBlocks = value;
16676+
this->updateTestModeLabel();
16677+
};
1667216678
//void toggleDebugDraw(bool) = ios 0x118288;
1667316679
void togglePracticeMode(bool practiceMode) = win 0x3a2f20, imac 0xbeca0, m1 0xad654;
1667416680
TodoReturn tryStartRecord();

0 commit comments

Comments
 (0)