Skip to content
This repository was archived by the owner on Sep 21, 2024. It is now read-only.

Commit 2aafee1

Browse files
Prevent leaf/tanooki tail wiggling from being pressed too fast.
Fixed wiggler.
1 parent bb31c4e commit 2aafee1

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

objects/obj_mario.object.gmx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2403,6 +2403,7 @@ and global.yoshi = 0
24032403
if (global.powerup = cs_leaf or global.powerup = cs_tanooki)
24042404
and keyboard_check_pressed(vk_shift)
24052405
and jumpnow != 1
2406+
and wiggle < 12
24062407
{
24072408

24082409
//Fly if the P-meter is flashing and float otherwise

objects/obj_wiggler_body.object.gmx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,10 @@ x = parent.x-offset*direct
9797
<kind>1</kind>
9898
<string>///Activate parent
9999
if not instance_exists(parent)
100+
{
100101
instance_activate_object(parent)
102+
with parent event_perform(ev_step,ev_step_begin)
103+
}
101104

102105
//If wiggler is not turning, snap into place
103106
if direct = nextdirect

0 commit comments

Comments
 (0)