karatekid552
What happens if I push it?....
- 1,771
- Posts
- 12
- Years
- Do you really want to know? Really?
- Seen Jan 12, 2015
Hi all,
very important problem cause is a part mandatory in my hack rom:
i need to check if player have enough money for buying something.
Using pksv (according to the tutorial):
It seems to be okay but the problem is when compiling it became this:
Obviously an error script. Another way is to use integer value to check instad of hex. So using a command like this:
But it not solve the problem.
Anyone can help me in some way? Is really important.
Thanks a lot!
@gogojjtech: How could he possibly be overwriting data if he compiles dynamically? Please read the post first.:)
Try compiling the same script in XSE. Then tell us what happens.
Also, unless it is the raw text for a message, ALWAYS use END. So:
Code:
#dynamic 0x740000
#org @main
lock
faceplayer
checkmoney 0x96 0x0 0x0
compare LASTRESULT 0x1
if == jump @canhave ' Equal To
jump @canthave
END
#org @canhave
'-----------------------------------
'put some code here
release
end
#org @canthave
'-----------------------------------
'put some code here
release
end
And, hex is an integer. It is just a different base. Same exact number, just a different way of writing it. The choice is yours which base to use and will not make a single difference.