Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,478,212
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-24-24 04:36 PM
Guest: Register | Login

0 users currently in ROM Hacking | 1 guest | 1 bot

Main - ROM Hacking - SMB2J's Platform Glitch Fix New thread | New reply


ShaneM
Posted on 10-08-14 07:30 AM (rev. 4 of 10-08-14 07:33 AM) Link | Quote | ID: 158688


Snifit
Compromised account.
Please contact an admin to restore access.
Level: 36

Posts: 168/285
EXP: 293407
Next: 14703

Since: 02-17-14

Last post: 3135 days
Last view: 2651 days
This is a Nintendo original glitch. It deals with platforms. https://www.youtube.com/watch?v=1nzyWWDYSvc

Here is the fix and what to do in the SMB2J disassembly. (The code that I created I've added a note with my name next to it.)


SetCollisionFlag:
ldx ObjectOffset
pha ;shane
lda Player_Y_HighPos ;shane
cmp #$01 ;shane
bne platfix ;shane
lda Player_Y_Position ;shane
cmp #$df ;shane
bcc platfix ;shane
pla ;shane
rts ;shane
platfix: ;shane
pla ;shane
sta PlatformCollisionFlag,x
lda #$00
sta Player_State
rts


--ShaneM



____________________
At the end, when the day is over, the only one left to face is yourself. Have you been true to yourself and made the most of your day?

Main - ROM Hacking - SMB2J's Platform Glitch Fix New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.038 seconds. (341KB of memory used)
MySQL - queries: 37, rows: 58/58, time: 0.035 seconds.