| 1599 | } |
| 1600 | |
| 1601 | static U32 BubbleBashCheck(xAnimTransition*, xAnimSingle* anim, void*) |
| 1602 | { |
| 1603 | if (globals.player.cheat_mode != 0) |
| 1604 | { |
| 1605 | return 0; |
| 1606 | } |
| 1607 | |
| 1608 | if (zEntTeleportBox_playerIn()) |
| 1609 | { |
| 1610 | return 0; |
| 1611 | } |
| 1612 | |
| 1613 | if (sPlayerCollAdjust > 0.2f) |
| 1614 | { |
| 1615 | return 0; |
| 1616 | } |
| 1617 | |
| 1618 | return (!globals.player.ControlOff && globals.pad0->pressed & XPAD_BUTTON_SQUARE); |
| 1619 | } |
| 1620 | |
| 1621 | // probably equivalent: looks like sda relocation memes on sPlayerCollAdjust |
| 1622 | static U32 BubbleBashCB(xAnimTransition*, xAnimSingle* anim, void*) |
nothing calls this directly
no test coverage detected