Banner
Views: 785,244,526
Time:
8 users online: 7 Up, Adriel_Isaque, autisticsceptile1993, ni-pah,  RussianMan, rvx, westslasher2, Yoshin - Guests: 33 - Bots: 203 Users: 41,056 (1,541 active)
Latest: TylerL
Tip: This thread contains data you might find helpful when coding.Not logged in.
Details for Doors
SMW Blocks - Doors
File Name: Doors
Added:
Authors: MarioFanGamer
Act As: 25
Includes GFX: Yes
Description: A pack of doors which recreates SMW's own doors. Unlike standard teleport doors which are just teleport doors (no approximity check, checks for all hitpoints instead of Mario's neck, doesn't use pipe animation for teleport). This includes all the jank.

It currently contains normal doors, switch doors (by default blue p-switch) and locked doors.
Tags: door, lorom, on-off, p-switch, sa-1
Rating: No rating
Download: Download - 23.58 KiB
41 downloads
Screenshots
Previous 
 Next
KKevinM
Tested with: LM 3.04, SA-1 1.32, GPS 1.4.1, Snes9x 1.60.
Really nice blocks that work as intended, and could definitely be used as a substitute for the normal SMW doors with the new features they add. Also they're easy to setup thanks to the included gps list, map16 and test level files.
Only one thing that I don't think is mentioned in the readme: if you want a door to teleport you to the midway entrance of a specific level, you'll need to enable the "Use separate settings for midway entrance" option in the target level.
Posted by:  KKevinM - | Link
GreenHammerBro
Originally posted by MarioFanGamer
And that RAM is $8F ‒ look at the case in $00EC06 and tell me what that is.


Ack, should look closer on my CTRL+F list. Oops. The code there is the door code.
Posted by: GreenHammerBro - | Link
MarioFanGamer
Originally posted by GreenHammerBro
I looked everywhere on the disassembly and found that the door code doesn’t check $8F, it probably sets a ram flag, and later in the code when processing is done with blocks checks $77/$72 before it was cleared.

And that RAM is $8F ‒ look at the case in $00EC06 and tell me what that is.
Posted by:  MarioFanGamer - | Link
GreenHammerBro
Originally posted by MarioFanGamer
I was surprised too but if you consider that $77 and $72 needs to be cleared every frame so that the game doesn't count Mario as being blocked/in the air even if he actually isn't but also needs to check the blocked state, SMW needs to back it up somewhere.


I looked everywhere on the disassembly and found that the door code doesn’t check $8F, it probably sets a ram flag, and later in the code when processing is done with blocks checks $77/$72 before it was cleared.
Posted by: GreenHammerBro - | Link
MarioFanGamer
Originally posted by GreenHammerBro
WHAT? Using $8F instead of $77/$72? I was making my own door blocks (then later scrapped) after finding out that my $77 backup patch (used by my screen scrolling pipes, screen scrolling doors). The problem with that is the frame after the player jumps, the freeram containing the backup of $77 is a frame behind, causing the first frame being in the air to be able to enter doors.

$72 have problems if you are using a layer 2 level as blocks register as if the player is in the air, even when standing on layer 1.

I was surprised too but if you consider that $77 and $72 needs to be cleared every frame so that the game doesn't count Mario as being blocked/in the air even if he actually isn't but also needs to check the blocked state, SMW needs to back it up somewhere.
Posted by:  MarioFanGamer - | Link
GreenHammerBro
WHAT? Using $8F instead of $77/$72? I was making my own door blocks (then later scrapped) after finding out that my $77 backup patch (used by my screen scrolling pipes, screen scrolling doors). The problem with that is the frame after the player jumps, the freeram containing the backup of $77 is a frame behind, causing the first frame being in the air to be able to enter doors.

$72 have problems if you are using a layer 2 level as blocks register as if the player is in the air, even when standing on layer 1.
Posted by: GreenHammerBro - | Link

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2019 - SMW Central
Legal Information - Privacy Policy - Link To Us


Total queries: 7

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG
  • Gaming Reinvented