The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Emulation & ROM Hacking > Tutorials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Tutorials Looking for a guide to help you out? Then you're in the right place! We've got everything you need, ranging from Mapping to Music!
New threads in this forum are to be approved by a moderator before they are displayed. The thread revival limit does not apply here.


Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #976    
Old 2 Weeks Ago, 05:10 AM
jerome9012's Avatar
jerome9012
 
Join Date: Sep 2013
Gender: Male
Type mismatch problem help pls
Reply With Quote
  #977    
Old 2 Weeks Ago, 05:13 AM
parth9's Avatar
parth9
God is busy...May i help you
 
Join Date: May 2013
Location: India
Gender: Male
Nature: Lonely
Exactly what problem are u having
__________________
Destiny awaits you......

Reply With Quote
  #978    
Old 2 Weeks Ago, 04:30 PM
SoulReturns
Not so Japanese
 
Join Date: Apr 2014
Location: United States
Gender: Male
Nature: Naughty
I think I have my script set up right, I'm using XSE:
Code:
#dynamic 0x800000
#org @start
lock
faceplayer
message @1 0x6
release
end

#org @1
= Script made\nby SoulReturns!
But I believe my problem lies in AdvanceMap; I chose XSE as my script editor, copied the "$000000" code in (mine was $800000), added a new event in the form of a player...

What my AdvanceMap looks like:
Spoiler:

i@imgur@com/vylbc12@png
Sorry, you'll have to replace the '@' with a . because I'm apparently not allowed to post links until I hit 15 posts.


What my XSE looks like:
Spoiler:

i@imgur.@com/VGcVmWx@png
Sorry, you'll have to replace the '@' with a . because I'm apparently not allowed to post links until I hit 15 posts.


When I start the game, I get an unaffected Pallet Town. However when I tried changing the behavior of some of the already-existing NPC's, this change was reflected in the game (albeit a bit buggy).

Like I said I think I understand most of the code stuff. Just not sure how to make what I do appear :/ Or I have some fatal mistake and I'm living an illusion that I know how to do this. Lol.

Thanks for the help!
__________________
能ある鷹は爪を隠す。
The talented hawk hides its claws.

Last edited by SoulReturns; 2 Weeks Ago at 04:37 PM. Reason: Links not publishing
Reply With Quote
  #979    
Old 2 Weeks Ago, 05:07 PM
destinedjagold's Avatar
destinedjagold
Oh Hai Thar~ 'ω'
 
Join Date: May 2007
Location: Philippines
Gender: Male
Nature: Careful
Quote:
Originally Posted by SoulReturns View Post
I think I have my script set up right, I'm using XSE:
Code:
#dynamic 0x800000
#org @start
lock
faceplayer
message @1 0x6
release
end

#org @1
= Script made\nby SoulReturns!
But I believe my problem lies in AdvanceMap; I chose XSE as my script editor, copied the "$000000" code in (mine was $800000), added a new event in the form of a player...

What my AdvanceMap looks like:
Spoiler:




What my XSE looks like:
Spoiler:




When I start the game, I get an unaffected Pallet Town. However when I tried changing the behavior of some of the already-existing NPC's, this change was reflected in the game (albeit a bit buggy).

Like I said I think I understand most of the code stuff. Just not sure how to make what I do appear :/ Or I have some fatal mistake and I'm living an illusion that I know how to do this. Lol.

Thanks for the help!
Try again with a clean ROM, and use Advance Map 1.92 (download link) instead of 1.95...
__________________
3DS FC: 0061-1111-6462
SV: 1364 | Rock Safari: Dwebble, Corsola and Barbaracle
Reply With Quote
  #980    
Old 2 Days Ago, 11:18 AM
Nephelimo
 
Join Date: Jan 2013
Gender: Male
Hello and many thanx for the tutorials

I have a little problem that I have tried many different ways to solve it but I was unable to do so.

To my problem. I have this normal wildbattle script:

#dynamic 0x800000

#org @start
lock
faceplayer
cry 0x96 0x0
msgbox @talk1 0x6
wildbattle 0x96 0x5 0x0
fadescreen 1
hidesprite 0x800F
fadescreen 0
setflag 0x1201
release
end

#org @talk1
= Prepare for your destiny!



The script works perfectly as it. My problem is that I want to change the music of the battle. The pokemon in the scrip is MewTwo and I want to make a script for a legendary battle. But no matter what I have tried I cant make it to play the legendary music.

I did decompile the original firered MewTwo battlescript n the command for the legendary battle music which is named Encounter 4 if I remember in the rom is: playsong 0x156 0x0. But I cant get it to work. I have tried to put the line after the msgbox, it didnt work. After the wildbattle command, again it didnt work. The music remained to the normal battle. I even tired it as a fanfare but nowthin, all the same. If anyone knows how to do it please reply, I have searched all the tutorials here n on the net I found a couple but they were usin pokescript but ever since I discovered XSE I no longer use pokescript nor I even remember how to use it. Btw here is the full MewTwo battlescrip in case it helps to figure out what I am doin wrong n what I'm supposed to do.


'---------------
#org 0x1624F5
special 0x187
compare LASTRESULT 0x2
if 0x1 goto 0x81A7AE0
special 0x188
lock
faceplayer
checksound
cry 0x96 0x2
preparemsg 0x8177F9F '"Mew!"
waitmsg
waitcry
pause 0x14
playsong 0x156 0x0
waitkeypress
setwildbattle 0x96 0x46 0x0
setflag 0x807
special 0x138
waitstate
clearflag 0x807
special2 LASTRESULT 0xB4
compare LASTRESULT 0x1
if 0x1 goto 0x8162558
compare LASTRESULT 0x4
if 0x1 goto 0x8162561
compare LASTRESULT 0x5
if 0x1 goto 0x8162561
setflag 0x2BC
release
end

'---------------
#org 0x1A7AE0
release
end

'---------------
#org 0x162558
setflag 0x2BC
goto 0x81A922D

'---------------
#org 0x162561
setvar 0x8004 0x96
goto 0x81A9236

'---------------
#org 0x1A922D
fadescreen 0x1
hidesprite LASTTALKED
fadescreen 0x0
release
end

'---------------
#org 0x1A9236
fadescreen 0x1
hidesprite LASTTALKED
fadescreen 0x0
bufferpokemon 0x0 0x8004
msgbox 0x81A63C4 MSG_KEEPOPEN '"The [buffer1] flew away!"
release
end


'---------
' Strings
'---------
#org 0x177F9F
= Mew!

#org 0x1A63C4
= The [buffer1] flew away!







And thanx in advance to the whole community
Reply With Quote
Reply
Quick Reply

Sponsored Links


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 07:18 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 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 - 2014 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.