the rest of the portal types (2 unknown to me)

This commit is contained in:
Reinmmar
2023-09-17 22:00:45 +02:00
parent 4c37e6cf5e
commit 203f691dff
6 changed files with 31 additions and 26 deletions
+2 -2
View File
@@ -122,9 +122,9 @@ 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 = PT_POT;
type = PT_JAR;
if (r1 != 0)
type = 2;
type = PT_2;
gArea.portal_type = type;
if (r1 == 1) {
if ((gPlayerState.flags & PL_USE_PORTAL) && (gPlayerState.jump_status == 0)) {