Banner
Views: 784,319,248
Time:
9 users online:  Deakula, Mikosama, Necro_Mantis, OEOTeam, SpoodahBro,  Tahixham, vladislav4, Y2D, Zandro - Guests: 18 - Bots: 92 Users: 41,020 (1,555 active)
Latest: sofiya567
Tip: If you set the upper tile of the door to act like the lower tile, two-tile-high doors can be entered even while riding Yoshi.Not logged in.
Implementation
!RAM		= $0BF6			; 256 bytes of free RAM. Must be on shadow RAM.

!L1_Screen_Lo = !RAM ; 96 bytes (32 * 3).
!L2_Screen_Lo = !RAM+48 ; 48 bytes (shared).
!L1_Screen_Hi = !RAM+96 ; 96 bytes (32 * 3).
!L2_Screen_Hi = !RAM+96+48 ; 48 bytes (shared).

; These ones don't need to be on the shadow RAM, though...
!L1_Lookup_Lo = !RAM+96+96 ; 32 bytes
!L2_Lookup_Lo = !RAM+96+96+16 ; 16 bytes (shared)
!L1_Lookup_Hi = !RAM+96+96+32 ; 32 bytes
!L2_Lookup_Hi = !RAM+96+96+32+16 ; 16 bytes (shared)

org $00BDA8

; These pointers will remap the Map16 per screen table to the RAM, which is the main
; key behind the patch: we can dynamically modify the table, keeping compatibility with
; pretty much all ASM hacks and original game map16 modifications.

Ptrs00BDA8:
dw !L1_Screen_Lo
dw !L1_Screen_Lo
dw !L1_Screen_Lo
dw $0000
dw $0000
dw $0000
dw $0000
dw $BBEC
dw $BBEC
dw $0000
dw $BBEC
dw $0000
dw !L1_Screen_Lo
dw $BBEC
dw !L1_Screen_Lo
dw !L1_Screen_Lo
dw $0000
dw !L1_Screen_Lo
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw !L1_Screen_Lo
dw !L1_Screen_Lo

Ptrs00BDE8:
dw !L2_Screen_Lo
dw !L2_Screen_Lo
dw !L2_Screen_Lo
dw $0000
dw $0000
dw $0000
dw $0000
dw $BC16
dw $BC16
dw $0000
dw $BC16
dw $0000
dw !L2_Screen_Lo
dw $BC16
dw !L2_Screen_Lo
dw !L2_Screen_Lo
dw $0000
dw !L2_Screen_Lo
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw !L2_Screen_Lo
dw !L2_Screen_Lo

Ptrs00BE28:
dw !L1_Screen_Hi
dw !L1_Screen_Hi
dw !L1_Screen_Hi
dw $0000
dw $0000
dw $0000
dw $0000
dw $BD54
dw $BD54
dw $0000
dw $BD54
dw $0000
dw !L1_Screen_Hi
dw $BD54
dw !L1_Screen_Hi
dw !L1_Screen_Hi
dw $0000
dw !L1_Screen_Hi
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw !L1_Screen_Hi
dw !L1_Screen_Hi

Ptrs00BE68:
dw !L2_Screen_Hi
dw !L2_Screen_Hi
dw !L2_Screen_Hi
dw $0000
dw $0000
dw $0000
dw $0000
dw $BD7E
dw $BD7E
dw $0000
dw $BD7E
dw $0000
dw !L2_Screen_Hi
dw $BD7E
dw !L2_Screen_Hi
dw !L2_Screen_Hi
dw $0000
dw !L2_Screen_Hi
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw $0000
dw !L2_Screen_Hi
dw !L2_Screen_Hi

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