- 248
- Posts
- 16
- Years
- Seen Nov 22, 2014
I'm lost lol -_-
Code:'----------------------- #org 0x71A794 lock faceplayer msgbox 0x871A7B7 '"Would you like a Pikachu?" callstd 0x5 compare LASTRESULT 0x1 if 0x1 goto 0x871A7D2 compare LASTRESULT 0x0 if 0x1 goto 0x871A7EC release end '----------------------- #org 0x71A7D2 msgbox 0x871A7F7 '"Here is a Pikachu!" callstd 0x6 givepokemon 0x19 0xA 0x0 0x0 0x0 0x0 release end '----------------------- #org 0x71A7EC msgbox 0x871A80B '"Oh, Ok then." callstd 0x6 release end '--------- ' Strings '--------- #org 0x71A7B7 = Would you like a Pikachu? #org 0x71A7F7 = Here is a Pikachu! #org 0x71A80B = Oh, Ok then.
It works 100% lol :P
I'm not doing flags yeh, so yeh anyway...
This is in pallet town, you can talk to him before you get your pokemon from prof Oak. There's a reason for that...I'm trying to make it so instead of Oak giving you the choice, you start off with a Pikachu (Or something, haven't really thought about the details like that :P) And your rival starts with something else...(For the sake of this let's say a Houndour)
How do I make it so when you get the Pikachu from that script you get the Pokemon option in the pause menu?
Another thing...How would I go about deleting the parts of Oak's scripts so you don't have to choose a Pokemon and you get a pokedex from the get go? The without the [buffer] stuff, how would I determine the Pokemon your Rival recieves?
If this is counted as big and ment to have it's own thread my bad :P Iono what's big n whats not lol
But yeh thanks if anyone helps.
Commands for the pokedex and pokemon in the start menu will be fine (And for recieving the pokedex) I'll experiment with putting em in. But the editing Oak's script yeh I'm 100% stumped lol...
Try searching the forums next time. Some are already answered.
Editing Oak's script could be difficult so your best bet is setting variables.
variable 0x4050
0 - activates Oak stopping you from leaving
(set to 1 to disable)
0x4051
0 - old man blocks your way
1 - old man catches a weedle
2 - disables the old man
0x4055
0,1 - ?
2 - forces you to take a pokemon in the lab
3 - forces rival battle in the lab
4 and above - dunno for now.. but disables you choosing pokemon and rival battle
0x4057 (thethethethe's level script thread)
0 - forces you to give Oak the parcel
1 - disables this
-maybe a 2 so that oak wouldn't give you the dex again when you talk to him.. dunno
as for rival's pokemon, I'm still trying to find the flags. If you skipped choosing a pokemon, I presume his pokemon will be the type stronger against the default first pokemon (bulba) so his poke will be charmander. However, I think the flags for the pokeballs in the lab can set his pokemon. I'm not 100% sure with this yet.
EDIT: variable 0x4031 sets Gary's Pokemon.
If you selected Bulbasaur, the value is 0. Squirtle for 1, Charmander for 2 so:
0 - Charmander line
1 - Bulbasaur line
2 - Squirtle line
from thethethethe's tutorial
Pokemon menu - setflag 0x828
Pokedex menu - setflag 0x829
Last edited: