chestertagat
Dumbest Person in the World.
- 63
- Posts
- 12
- Years
- Age 27
- Philippines
- Seen Nov 29, 2024
Here's another question is it possible to Store or Write a Value to ROM Offset (Free Space) using asm
Cause i know that through ASM you can Store/Write values to Ram for Example: 0202XXXXX = 0x800D
But is it Possible to Store/Write i Rom? Using ASM? Cause I'm gonna Implement a ATM Machine in my Hack (I Dont know if someone already implemented something like this one)
So i hope if its Possible?
My Script would be something Like This:
When you talk to the Machine:
Will spit some text like: Welcome etcc.
Ask if you would like to Withraw if Yes goto @getmoneyatm (I dont know how to add Custom Multichoices box so i think when you withdraw it automatically gets 1/2 money from your bank)
Ask if you would deposit instead if Yes goto @givemoneyatm (same as above but instead of 1/2 you automatically store 1/4 of your money , Although there is no Code/Function div in ASM im sure there is a way)
Ask if you would like to view How much money you have at bank if Yes goto @showmoneybank
End
@getmoneyatm
ASK again for confirmation
run asm routine (store the calculated value your withrawing to LASTReSULT and Hopefully into ROM for Later Accesing/Modifying deduct the calculated value to your Currentmoney)
Showmoney
Display some text (buffer the value calculated)
End
@givemoneyatm
Same logic as above but the reverse
@showmoney
Callasm (Stores the currentmoney to Lastresult)
Display some text (buffer/show the money in bank)
End
I hope somebody Helps :) or maybe check something in my script/routine plan that isnt possible and show a better way to that :)
Thanks in Advance :)
Cause i know that through ASM you can Store/Write values to Ram for Example: 0202XXXXX = 0x800D
But is it Possible to Store/Write i Rom? Using ASM? Cause I'm gonna Implement a ATM Machine in my Hack (I Dont know if someone already implemented something like this one)
So i hope if its Possible?
My Script would be something Like This:
Spoiler:
When you talk to the Machine:
Will spit some text like: Welcome etcc.
Ask if you would like to Withraw if Yes goto @getmoneyatm (I dont know how to add Custom Multichoices box so i think when you withdraw it automatically gets 1/2 money from your bank)
Ask if you would deposit instead if Yes goto @givemoneyatm (same as above but instead of 1/2 you automatically store 1/4 of your money , Although there is no Code/Function div in ASM im sure there is a way)
Ask if you would like to view How much money you have at bank if Yes goto @showmoneybank
End
@getmoneyatm
ASK again for confirmation
run asm routine (store the calculated value your withrawing to LASTReSULT and Hopefully into ROM for Later Accesing/Modifying deduct the calculated value to your Currentmoney)
Showmoney
Display some text (buffer the value calculated)
End
@givemoneyatm
Same logic as above but the reverse
@showmoney
Callasm (Stores the currentmoney to Lastresult)
Display some text (buffer/show the money in bank)
End
I hope somebody Helps :) or maybe check something in my script/routine plan that isnt possible and show a better way to that :)
Thanks in Advance :)
Last edited: