The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other Pokemon:Ruby - Need Help for Scripting and etc. (https://www.pokecommunity.com/showthread.php?t=353882)

tobelios August 12th, 2015 5:52 AM

Pokemon:Ruby - Need Help for Scripting and etc.
 
Hi. I want to ask help for something. I am trying to create a Pokemon hack and because is the first time I try to create a hack, I have a problem and do not know how to create some scripts and things like that. I use Pokemon Ruby for the game.
Firstly, I deleted the original starting scripts of PROF.BIRTCH, mom, may and the clock event.


I replaced the mom events because I wanted the player to live with another person and not his mom. The player lives with his wife in the game.

For now the script for his wife is:
Spoiler:

#dyn 0x740000
#org @start
lockall
faceplayer
msgbox @text ' Hello baby.[.]\pHow are you doing?
callstd MSG_NORMAL
message @healmsg
showmsg
fadescreen 1
closemsg
special 0
fadescreen 0
msgbox @bettermsg
callstd MSG_NORMAL
releaseall
end



#org @text
= Hello baby.[.]\pHow are you doing?



#org @healmsg
= You look tired[.]\pYou should rest.



#org @bettermsg
= Now you are looking much better baby.


I want to add some other scripts but I do not know a lot of scripting.

For the Pokedex I used the following script:
Spoiler:

#dyn 0x740000
#org @start
lock
faceplayer
msgbox @text ' Hi \v\h01\v\h05. How is it going?
callstd MSG_NORMAL
waitbutton
checkflag 0x801
if 0x1 goto 0x801
msgbox @text2 ' You should take this.
callstd MSG_NORMAL
setflag 0x801
fanfare 0x101
waitfanfare
msgbox @text3 ' \v\h01\v\h05 received Pokedex.
callstd MSG_NORMAL
waitbutton
:end
release
end


#org @text
= Hi \v\h01\v\h05. How is it going?


#org @text2
= You should take this.\nIt will help you in your journey.


#org @text3
= \v\h01\v\h05 received Pokedex.


I want to add some other things, like the PROF.BIRTCH to tell you how your Pokedex is going and change the dialogues a bit but I do not know how to make all of the things together.

For the Starter Pokemon, I use this script:
Spoiler:

#dyn 0x740000
#org @start
lock
faceplayer
checkflag 0x2011
if 0x1 jump :end
setflag FR_POKEMON
countpokemon
compare LASTRESULT 6
if == jump @noroom
addpokemon DRAGONAIR 0x8 LUCKYEGG 0 0 0
setflag 0x2011
storepokemon 0 DRAGONAIR
message @get-msg
fanfare 0x101
showmsg
waitfanfare
waitbutton
:end
setflag 0x800
message @get-msg2
showmsg
waitfanfare
waitbutton
release
end


#org @noroom
msgbox @noroom-msg
callstd MSG_NOCLOSE
release
end


#org @noroom-msg
= You don't have enough room in your party.


#org @get-msg
= You got a \v\h02!


#org @get-msg2
= You took the DRAGONAIR!\nPlease take good care of DRAGONAIR.


I want to add the option to nickname the Pokemon but I do not know how, and also I want to make the Pokeball disappear after the player receives the Pokemon instead of having the other message...

And I want to somehow connect the event with the Pokedex and the event with the Pokemon starter. And I want to make a script that won't allow the player to leave the first town if he hasn't gone to PROF.BIRTCH first.

Also, the script with the Pokedex has a problem and when the player press the Pokedex it doesn't have the full list and sometimes, when I am inside PROF.BIRTCH lab, if I press to either Pokedex Menu or Pokemon Menu, after I exit the menu, I am in PROF.BIRTCH body. Also, I create a new bank in advance map so I have more houses in the game, but when the player goes inside, black screen comes.

Some other glitches I noticed are that, the TV in my home doesn't have a script, but the screen is always open and some things also appear inside the game that I don't see them in Advance Map. An another glitch is, I have added Latios/Latias around the first city with the movement "Look around" and no script yet, but inside the game, some of the Latios/Latias aren't were they were supose to be. I need the Latios/Latias be around the city because in the story they are protecting the city.

And in the game, every town and route is actually an island. For now, I use a small building witch teleports you to the next island.

If anyone knows how to help with this scripts and propably some future scripts, please reply. For now, I have thought a nice story for the beging and I will be thinking the continue of the story through the events.

Also I haven't change the palletes and things like that because I don't know how. I have watched youtube tutorials, but still I can't.

For now, I have created the appearance of the first five islands, but only the first island actually has scripts created by me. I am thinking of naming the game Pokemon: Lost Islands.

For now, I used the following tools:
Advance Map, PKSV, StartMapCA, Item Editor and Advance-Mart
and soon I will use A-Trainer.

Thanks in advance.


All times are GMT -8. The time now is 2:30 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.