mirror of
https://github.com/zeldaret/tmc
synced 2026-09-04 10:41:24 -04:00
label BounceUpdate asm
This commit is contained in:
@@ -137,7 +137,7 @@ void PlayerItemHeldObject_SubAction2(PlayerItemHeldObjectEntity* this) {
|
||||
(child->base).x = super->x;
|
||||
(child->base).y = super->y;
|
||||
(child->base).z = super->z;
|
||||
tile = GetTileUnderEntity(super);
|
||||
tile = GetActTile(super);
|
||||
switch (tile) {
|
||||
case 0xd:
|
||||
case 0x10:
|
||||
|
||||
@@ -128,7 +128,7 @@ void PlayerItemPacciCaneProjectile_Action1(PlayerItemPacciCaneProjectileEntity*
|
||||
}
|
||||
if (sub_080B1BA4(COORD_TO_TILE(super), gPlayerEntity.collisionLayer, 0x80) == 0) {
|
||||
if (sub_080040D8(super, &gUnk_08003E44, super->x.HALF.HI, super->y.HALF.HI) == 0) {
|
||||
if (GetTileUnderEntity(super) == 0x19) {
|
||||
if (GetActTile(super) == 0x19) {
|
||||
super->action = 4;
|
||||
COLLISION_OFF(super);
|
||||
super->x.HALF.HI = (super->x.HALF.HI & 0xfff0) | 8;
|
||||
|
||||
Reference in New Issue
Block a user