Points of Required Attention™
Friendly reminder: Please don't respond to spammers! Their posts inevitably get memory-holed when staff get around to, leaving behind an inexplicable tableau of you shouting at nothing and (if they otherwise would have been alone in a thread) dangling posts and wrong postcounts.
Views: 48,188,327
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 08-17-18 11:44 AM
Guest: Register | Login

0 users currently in ROM Hacking | 3 guests

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

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

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

Posts: 168/285
EXP: 194941
Next: 11501

Since: 02-17-14

Last post: 1058 days
Last view: 574 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.)

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


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+3δ (2016-01-08)
© 2005-2016 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.068 seconds. (343KB of memory used)
MySQL - queries: 36, rows: 57/0, time: 0.059 seconds.