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: 46,471,405
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 01-19-18 10:06 AM
Guest: Register | Login

0 users currently in ROM Hacking | 3 guests | 3 bots

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: 31

Posts: 168/285
EXP: 182045
Next: 3318

Since: 02-17-14

Last post: 848 days
Last view: 364 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+3δ (2016-01-08)
© 2005-2016 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.069 seconds. (343KB of memory used)
MySQL - queries: 36, rows: 58/0, time: 0.057 seconds.