Script Help Thread (DO NOT REQUEST SCRIPTS)
View Single Post
December 25th, 2011 (7:51 PM). Edited December 25th, 2011 by Nate VonGrimm.
Originally Posted by
I have another scripting problem, this one includes the money commands.
I am using ruby and it is a script box script. The point is a guy walks up to you, gives you money, then walks away. however, here are the problems:
1. the showmoney command doesnt work, meaning the money box never appears.
2. the person ID is 0211 in Amap, and in my script I setflag 0x211 but he doesnt disapear
Here is the script:
if 0x1 goto @done
applymovement 0x3 @move
msgbox @1 0x6
showmoney 0x00 0x00 0x00
givemoney 0x1F4 0x00
updatemoney 0x00 0x00 0x00
hidemoney 0x00 0x00
msgbox @2 0x6
msgbox @3 0x6
applymovement 0x3 @move2
= Hi trainer! I feel the need\nto share my money!
= [red_rs]\v\h01: Thanks!
= [blue_rs]Savings Guy: No problem
I don't have the answer to your money issue as I haven't really used the command.
But I can solve your hidesprite.
To use hidesprite, you need to use the
Your using setflag to hide the sprite which is only half the job. The setflag just makes sure the sprite stays hidden until you clear it.
This is what you want to use:
hidesprite 0xD3 setflag 0x[variable]
You also need to use HEX when writing scripts so instead of using
, you need to turn that into HEX which is
XSE has a HEX calculator which can easily turn decimal numbers into HEX.
P.S I also noticed in your sig that you are wanting to learn about Level Scripts. I have a video tutorial on it if you would like to see it.
Originally Posted by
Hey, I'm new to rom hacking, but I'm trying to make a hack based off of ruby.
In pokemon ruby, you go through the intro talking to the professor, tell him your name and everything, and then you end up in the truck heading towards your house.
With my hack, I'm wanting the player to wake up in their bed after the introduction, instead of getting off of the moving truck. How can I do this?
I tried deleting the script in the moving truck's map. This caused me to start outside of a house in Petalburg directly after the intro. Don't want that xD
TL;DR how do you change your starting location in the game?
This is the main problem for all R/E/S hackers. There are programs out there that can change your starting location but they don't remove the truck sequence. Their are also ways of doing it via scripts but can be extremely buggy.
I have attempted it myself but with no luck.
Most hackers and hack players just ignore the truck sequence and pretend it never happens.
If you can ignore the entire truck sequence, then click
to download HackMew's SMCA (Start Map Chooser Advance)
Currently working on a new Pokemon Hack with an in-depth story line!
That's about as much as you're going to get for now...
Joined Oct 2011
View Public Profile
Send a private message to Nate VonGrimm
Find all posts by Nate VonGrimm
Find threads started by Nate VonGrimm
Ignore Posts by Nate VonGrimm