Merge pull request #335 from hatal175/surfacetype

This commit is contained in:
notyourav
2022-02-01 15:53:59 -08:00
committed by GitHub
+2 -2
View File
@@ -340,9 +340,9 @@ void sub_08085F1C(LilypadLargeEntity* this) {
void sub_08085F48(LilypadLargeEntity* this) {
u32 tmp = super->actionDelay & 0x80;
if (tmp != 0) {
if (gPlayerState.floor_type == 0x17) {
if (gPlayerState.floor_type == SURFACE_ICE) {
ResetPlayerVelocity();
gPlayerState.floor_type = 0x19;
gPlayerState.floor_type = SURFACE_WATER;
}
SoundReq(SFX_WATER_WALK);
if (this->unk_78.WORD_U < 0x1280000) {