Oct 1, 2012 at 1:26 AM
Join Date: Jan 28, 2010
Location: Internet
Posts: 1369
Age: 34
Pronouns: he/him
Code:
Address Command
4196F0 PUSH EBP
4196F1 MOV EBP, ESP
4196F3 SUB ESP, 8
4196F6 JMP 4196E1
4196F8 NOP
4196F9 NOP
4196FA NOP
Address Command
4196E1 MOV EAX, DWORD PTR DS:[499C68]
4196E6 INC DWORD PTR DS:[49E181]
4196EC JMP 4196FB
That's it! Every time you collect an exp crystal, you will gain +1 coin.
How to display the number of coins you collected:
Code:
PUSH (arbitrary value)
PUSH DWORD PTR DS:[49E181]
PUSH (Y value)
PUSH (X value)
CALL 40F380
ADD ESP, 10
Finally, there is a TSC command <BUY that jumps to an event if you don't have enough money. If you do have enough money, it subtracts the right amount and continues the script. Here it is: http://pastebin.com/xXstqJUh