Supreme Dirt
used Petal Dance
- 430
- Posts
- 17
- Years
- Age 33
- o3o
- Seen Dec 4, 2014
1) Well, the command to change the music in a map is "playsound 0x??" replace the "??" with the music values in Advance Map.
2) That requires ASM hacking. There is a tutorial on how to do it in the Document and Tutorial section.
3)You mean for the wild battle? I don't think you can. However, you can rig a script to give you an item after the battle. To attach a hold item to a Pokemon in a givepokemon script you'd use: "givepokemon 0x? 0x?? 0x???". Now, "?" is the Pokemon's hex value, "??" is the level (in hex also. Ex. 13 is D in hex), and "???" is the hold item's hex value.
Your wild encounter script would go something like this:
Code:#org 0x(offset) lock checkflag 0x(flag offset) if 0x1 goto 0x(offset2) setflag 0x(same flag offset as checkflag) cry PKMN_(Pokemon) wildbattle 0x(Pokemon) 0x(level) 0x(battle style) release end #org 0x(offset2) release end
Alrighty? There are four battle styles: 0, 1, 2, and 3. They control the music and such of the battle. Is that okay?
Thanks, it works perfectly. Took a little experimentation with battle styles, but now you encounter Celebi with the Deoxys music.