Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,554,546
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 05-07-24 09:15 AM
Guest: Register | Login

0 users currently in SMW Hacking | 2 guests

Main - SMW Hacking - Help, please. Does anyone know the values associated with... New thread | New reply


koala_knight
Posted on 01-31-08 03:04 PM (rev. 3 of 01-31-08 05:47 PM) Link | Quote | ID: 75736


Buzzy Beetle
Level: 44

Posts: 77/384
EXP: 591762
Next: 19523

Since: 06-01-07
From: Miami

Last post: 4136 days
Last view: 4124 days
...RAM address $7e0076? (Mario's direction)

I'm trying out this ASM code:

PHA
LDA $7e0076 ;Mario's direction
CMP #$?? ;direction down
BEQ NoExecute
LDY #$01
LDA #$number
STA $1693
NoExecute:
PLA
RTS

I just don't know what to put in for the CMP.

Never mind. 00=facing right, 01=facing left.

Main - SMW Hacking - Help, please. Does anyone know the values associated with... New thread | New reply

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

Page rendered in 0.060 seconds. (339KB of memory used)
MySQL - queries: 37, rows: 57/58, time: 0.020 seconds.