mirror of
https://github.com/zeldaret/tmc
synced 2026-08-05 01:30:03 -04:00
Labeled one Portal Type and some animations
This commit is contained in:
@@ -122,7 +122,7 @@ void sub_0808C01C(JarPortalEntity* this, u32 r1) {
|
||||
gArea.portal_x = super->x.HALF.HI;
|
||||
gArea.portal_y = super->y.HALF.HI;
|
||||
gArea.portal_exit_dir = 2;
|
||||
type = 4;
|
||||
type = PT_POT;
|
||||
if (r1 != 0)
|
||||
type = 2;
|
||||
gArea.portal_type = type;
|
||||
|
||||
@@ -477,7 +477,7 @@ void sub_0809E1F0(KeyStealingTakkuriEntity* this) {
|
||||
|
||||
void sub_0809E210(KeyStealingTakkuriEntity* this) {
|
||||
gPlayerEntity.animationState = GetAnimationStateForDirection8(GetFacingDirection(&gPlayerEntity, super)) & 0xfe;
|
||||
gPlayerState.animation = 0x100;
|
||||
gPlayerState.animation = ANIM_DEFAULT;
|
||||
}
|
||||
|
||||
void sub_0809E238(KeyStealingTakkuriEntity* this) {
|
||||
|
||||
@@ -551,7 +551,7 @@ void sub_08085E74(LilypadLargeEntity* this) {
|
||||
gPlayerEntity.x.HALF.LO = 0;
|
||||
gPlayerEntity.y.HALF.LO = 0;
|
||||
gPlayerEntity.direction = super->direction;
|
||||
gPlayerState.animation = 0x100;
|
||||
gPlayerState.animation = ANIM_DEFAULT;
|
||||
gRoomControls.camera_target = super;
|
||||
if (gPlayerState.item != NULL) {
|
||||
DeleteEntity(gPlayerState.item);
|
||||
|
||||
Reference in New Issue
Block a user