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 A Script Problem(Probably super basic and my issue) (https://www.pokecommunity.com/showthread.php?t=357808)

TheHeavenlyDemon October 30th, 2015 11:23 PM

A Script Problem(Probably super basic and my issue)
 
I know I post problems often, and apologize if I am bothering anyone, but have watched and read several tutorials and have up the one by diegoisawesome in another tab right now, but am still having issues figuring out what is wrong with this line of script that I am trying to use.

Spoiler:
#org 0x87403C6
'-----------------------------------
lock
faceplayer
msgbox 0x87403D2 ' \v\h01's HOUSE
callstd MSG_SIGN ' Signpost-style message
release
end


#org 0x87403D2
= \v\h01's HOUSE


0x87403C6 is the offset that I have listed, so I know it is not that. That one got me quite a few times.

When I am walking up to it nothing is happening and nothing is happening when I am walking up to it and pressing A either. It is a little embarrassing in my book that I can add Pokemon to my party but am having very real trouble with the most basic form of in game dialogue. Any help, of course, is greatly appreciated.

Sniper October 31st, 2015 2:35 AM

Quote:

Originally Posted by TheHeavenlyDemon (Post 8981670)
I know I post problems often, and apologize if I am bothering anyone, but have watched and read several tutorials and have up the one by diegoisawesome in another tab right now, but am still having issues figuring out what is wrong with this line of script that I am trying to use.

Spoiler:
#org 0x87403C6
'-----------------------------------
lock
faceplayer
msgbox 0x87403D2 ' \v\h01's HOUSE
callstd MSG_SIGN ' Signpost-style message
release
end


#org 0x87403D2
= \v\h01's HOUSE


0x87403C6 is the offset that I have listed, so I know it is not that. That one got me quite a few times.

When I am walking up to it nothing is happening and nothing is happening when I am walking up to it and pressing A either. It is a little embarrassing in my book that I can add Pokemon to my party but am having very real trouble with the most basic form of in game dialogue. Any help, of course, is greatly appreciated.

Check your offset and make sure the one you pasted has no extra numbers. Because sometimes when you paste the offset into the map editor, they add extra numbers.

Syrex October 31st, 2015 3:52 AM

Quote:

Originally Posted by TheHeavenlyDemon (Post 8981670)
I know I post problems often, and apologize if I am bothering anyone, but have watched and read several tutorials and have up the one by diegoisawesome in another tab right now, but am still having issues figuring out what is wrong with this line of script that I am trying to use.

Spoiler:
#org 0x87403C6
'-----------------------------------
lock
faceplayer
msgbox 0x87403D2 ' \v\h01's HOUSE
callstd MSG_SIGN ' Signpost-style message
release
end


#org 0x87403D2
= \v\h01's HOUSE


0x87403C6 is the offset that I have listed, so I know it is not that. That one got me quite a few times.

When I am walking up to it nothing is happening and nothing is happening when I am walking up to it and pressing A either. It is a little embarrassing in my book that I can add Pokemon to my party but am having very real trouble with the most basic form of in game dialogue. Any help, of course, is greatly appreciated.

Don't be worried about posting problem threads, that is why this is the beginners lounge ^_^
I can count atleast 3 threads ive started on the first page, then i solved them before anyone replies and i look silly X_X

I think your offset has 1 too many numbers. From my understanding it should be 6 numbers. 0xXXXXXX.
If it is correct, I wrote a quick script, you can edit it as you see fit if you want to test it.
Also, I'm not sure if once you compiled it that it "hid" the org @start. That is needed.

Sample Script:
Spoiler:
#dynamic 0xOFFSET

#org @start
msgbox @sign 0x3
end

#org @sign
= \v\h01's HOUSE


Since this is a sign the FacePlayer, Lock, And release commands are not needed since the sign isn't a person.

If i am correct, \v\h01 is yourself AKA Player. alternatively [player] or [rival] can be used instead of calling stored text.

So it could be...

#org @sign
= [player]'s HOUSE

or

#org @sign
= [rival]'s HOUSE

This bit of script is for the strings at the bottom of the script. I'm sure you know this, but i am making sure.

Edit: I saw a thread from you earlier and if you are not using XSE, I suggest it. Atleast that is what i used to write the sample script.
I know PK has some nice features, but i think XSE is overall more stable and reliable in terms of scripting.

TheHeavenlyDemon October 31st, 2015 3:22 PM

@Syrex, I am using EXS now but I started on PKSV and blame it for my failure along with global warming and several other things. I kept it for the script generator for if I get stuck but EXS is what is set up to open when I hit "Open Script."

AND RESOLVED! THANKS Y'ALL!

Syrex October 31st, 2015 3:30 PM

Quote:

Originally Posted by TheHeavenlyDemon (Post 8982291)
@Syrex, I am using EXS now but I started on PKSV and blame it for my failure along with global warming and several other things. I kept it for the script generator for if I get stuck but EXS is what is set up to open when I hit "Open Script."

AND RESOLVED! THANKS Y'ALL!

So the script worked for you and resolved the issue?

Great :)


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.