• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Archive] Script help thread

Status
Not open for further replies.
I edited it. the video is now aviable (Sorry, that you couldn't see the video before, because my internet is slow...)

I've inserted your version, Pikafan.
He is speaking with me if I click on him.
But he don't say that he haven#t a cookie.
He is teling that Prof. Birch is gone and he is asking when he'll come back (like in the original ruby).

That's because of a Level script. Choose a different map.
 
That's because of a Level script. Choose a different map.

I putted the offset for that girl in the second town (after Route 101).
I click on her --> it happens nothing.

By the way, what is a level script (stupid question)?
 
I putted the offset for that girl in the second town (after Route 101).
I click on her --> it happens nothing.

By the way, what is a level script (stupid question)?

1. You could show us a script for your problem?

2. A level script is a normal script, but it doesn't have a certain tile, it is in the level, for instance. In Pokemon Gold, when you enter Ecruteak Pokemon Centre Bill comes and talks to you, right? You cant enter through a warp and have that script happen, it is done by a level script. So as soon as you enter the map, the level script will activate, hopefully that explains it?
 
does any one know garys song before u battle him
It would be nice if someone answer this
 
Okay well I'm hacking FireRed and I'm trying to make a script where it gives you a pokemon, but there's a problem. This is right at the beginning of the game (before you are given a first pokemon) so there's no pokedex or anything. But then I found the setflags for the pokemon menu and pokedex and set them right before I gave the pokemon, but still the game just somehow messes up and gives me a master ball instead???? I'm totally lost.

Well anyway here's the code
Code:
#ORG $begin
lock
checkflag 0x200
if B_False goto $done
checkflag 0x201
if B_true goto $done2
message $right
$right 1 = You've successfully entered\nthe passcode!
boxset 6
message $pokemon
$pokemon 1 = Would you like a\n free pokemon?
boxset 5
compare lastresult 1
if b_true then goto $givemeh
release
end

#ORG $done2
message $loll
$loll 1 = You've already got\nyour pokemon.
boxset 6
release
end

#ORG $done
message $wrong
$wrong 1 = It seems a code is\nneeded to boot up...
boxset 6
release
end

#ORG $givemeh
setflag 0x828
setflag 0x829
special 0x16F
setflag 0x201
message $ugot
$ugot 1 = You received Mew!!!
boxset 6
setflag 0x203
givepokemon 150 2 1
release
end

You can kindof forget the setflags in the beginning as they influence other scripts i have in the future (i understand the jist of coding) but yeah.... look towards the #ORG $givemeh part at the bottom, as I'm sure it gets to that point (I've tested). The problem is I never even see the You received Mew!!! message at all and also the pokedex and the pokemon menu hasn't even been activated, instead as I've said before I somehow receive a master ball (which doesn't even show up in the item bag either). The setflags 828-829 should activate teh pokedex and menu's (I've looked it up).

Yes I know I typed a lot but it's very complicated and I'm totally stuck =(
 
#org $begin
lock
faceplayer
message $howareyou
boxset 6
release
end

#org $howareyou
$howareyou 1 = Hey \v\h01! \nHows your journey going?

I corrected it, try this


i tried this, copied and pasted it exactly.

this is what i got when testing...
[PokeCommunity.com] [Archive] Script help thread



is that because i am using No$GBA?


or is the code wrong?

i left the offset in the image so you can see what im typing.
 
1. You could show us a script for your problem?

2. A level script is a normal script, but it doesn't have a certain tile, it is in the level, for instance. In Pokemon Gold, when you enter Ecruteak Pokemon Centre Bill comes and talks to you, right? You cant enter through a warp and have that script happen, it is done by a level script. So as soon as you enter the map, the level script will activate, hopefully that explains it?

I'll upload the video and post the link here.
The video shows how I show the script, burn it into the rom and how I set the offset.

EDIT :
Here is the link : https://www.youtube.com/watch?v=graoDgm9_xU
 
Last edited:
oh, that's happened to me.
It means you have a bugged ROM.
Get a new one, i could send you one if you want, just PM me.


i got the new rom, and the same thing happens.

when i add the new sprite, i tried adding new script along with that, but that didnt seem to make a difference.


xx.
 
Yay, thank you so much ^_^ (I'm a beginner and not so good in making scripts)
By the way, do you know how I can let a "!" over the person appear (like the "!" appears, if you're seeing may in her house) ?
 
Yay, thank you so much ^_^ (I'm a beginner and not so good in making scripts)
By the way, do you know how I can let a "!" over the person appear (like the "!" appears, if you're seeing may in her house) ?

Yeah, its movement code 0x62.
 
ive found now, that any code i use gives the same red screen, i've tried other peoples codes, that have been reported to have worked fine, and still, i get the red screen, is it because i am trying to add the script into pallet town?


also a-text doesnt work for me, i get message saying i dont have "comctl32.ocx", if anyone knows how to fix it?
 
ive found now, that any code i use gives the same red screen, i've tried other peoples codes, that have been reported to have worked fine, and still, i get the red screen, is it because i am trying to add the script into pallet town?


also a-text doesnt work for me, i get message saying i dont have "comctl32.ocx", if anyone knows how to fix it?

Problem 1: your inserting it wrong probably, tell us exactly what you are doing to insert them.

problem 2: type that on google and download the file.
 
i put the code in notepad, a recent code tried-
Code:
#org $ShowText
Lock 
Faceplayer
message $noCookie
$message noCookie
$noCookie = Hi! I haven't got a cookie for you!!!
boxset 6
release
end

then, because i dont have pknmadv, i open pokescript, click encode, open that notepad file (saved as all file types, .rbc)

then that works, opens bufrite, i click the book type thing, chose pokemon red, the small window opens, i choose the first one, ive tried others to check, in the list, and click assign, then i go to advance map, and put the code next to "$showtext" in this case, with the $ before my code.

i save it all, and go to test, and it goes red, it has also once gone where the screen just freezes, but music keeps playing.
 
i put the code in notepad, a recent code tried-
Code:
#org $ShowText
Lock 
Faceplayer
message $noCookie
$message noCookie
$noCookie = Hi! I haven't got a cookie for you!!!
boxset 6
release
end

then, because i dont have pknmadv, i open pokescript, click encode, open that notepad file (saved as all file types, .rbc)

then that works, opens bufrite, i click the book type thing, chose pokemon red, the small window opens, i choose the first one, ive tried others to check, in the list, and click assign, then i go to advance map, and put the code next to "$showtext" in this case, with the $ before my code.

i save it all, and go to test, and it goes red, it has also once gone where the screen just freezes, but music keeps playing.

script is wrong:

#org $begin
Lock
Faceplayer
message $noCookie
boxset 6
release
end

#org $noCookie
$noCookie 1 = Hi! I haven't got a cookie for you!!!
 
script is wrong:

#org $begin
Lock
Faceplayer
message $noCookie
boxset 6
release
end

#org $noCookie
$noCookie 1 = Hi! I haven't got a cookie for you!!!



i used that exact code, and did it the same way as before, but it froze and the music kept playing
 
@ itman1234 :
Can you please tell me what movement codes for :
- 1 step left
- 1 step up
- 1 step down
- 1 step right
 
Status
Not open for further replies.
Back
Top