Skip to content

Improved door landing - #23

Open
codemann8 wants to merge 1 commit into
aerinon:DRUnstablefrom
codemann8:DRFixes
Open

Improved door landing#23
codemann8 wants to merge 1 commit into
aerinon:DRUnstablefrom
codemann8:DRFixes

Conversation

@codemann8

Copy link
Copy Markdown

Improved door landing. This works in ALL scenarios EXCEPT ladders. Ladders will now err on the side of overshooting the doorframe, which is better than sometimes too short.

Comment thread doorrando/normal.asm
CMP #$34 : bne + ; inroom stairs
PHA : LDA #$26 : STA $045E : PLA
+
}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing RTL?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it. I was wondering why it still works as is and doesn't crash as it is. And then I realized that it's essentially calling HandleIncomingDoorState twice and it's RTLing there. I've amended the commit to include this.

Improved door landing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants