Ninja Caterpie
AAAAAAAAAAAAA
- 5,979
- Posts
- 17
- Years
- Best City OCE
- Seen Oct 18, 2021
Do you have the right script tile settings? 0003 and 5040?
Script:
#org $start
checkflag 0x200
if b_true goto $done
applymovement 0x00 $move
pausemove
message $1
boxset 6
applymovement 0x00 $move2
pausemove
message $2
boxset 6
applymovement 0x00 $move3
pausemove
message $3
boxset 6
checkflag 0x200
if b_true goto $give
release
end
#org $done
countpokemon
compare LASTRESULT 0x0
if b_true goto $need
message $10
boxset 6
special 0x0
waitfanfare
message $11
boxset 6
release
end
#org $give
giveitem 338 1
message $20
boxset 6
setflag 0x200
release
end
#org $need
message $30
boxset 6
release
end
#org $1
$1 1=\c\h01\h04Good Morning \c\h01\nHave a good sleep?\p...\pHmm? That's right!\lYou fell asleep while we\lwere unpacking.\pDon't worry, we've finished.\lVolknear's already gone to the\lPokh\1Bmon League. Shauna's gone\lto get breakfast.\pWhy don't you talk to\lthe locals but don't go\lto Route 300.
#org $2
$2 1=\c\h01\h04Hmm. Well I was\nto give these to\lVolknear but they don't\lfit him. Well I guess you\lthat you can have them!
#org $3
$3 1=\c\h01\h04Here you go.
#org $20
$20 1=\c\h01 got the\c\h01\h04\nRunning Shoes.\pPress B to use them.
#org $10
$10 1=Hi darling. You look tired.\nTake a rest.
#org $11
$11 1=Thats better.\nHave fun.
#org $move
#raw 0x62 0x11 0x12 0x12 0x12 0x12 0x11 0x02
#org $move2
#raw 0x13 0x13 0x13 0x13 0x13 0x13 0x01
#org $move3
#raw 0x12 0x12 0x12 0x12 0x12 0x12
Game: Pokemon FireRed
Type: Trigger
Editor: PokeScript
Spoiler:Script:
#org $start
checkflag 0x200
if b_true goto $done
applymovement 0x00 $move
pausemove 0x0
message $1
boxset 6
applymovement 0x00 $move2
pausemove 0x0
message $2
boxset 6
applymovement 0x00 $move3
pausemove 0x0
message $3
boxset 6
checkflag 0x200
if b_true goto $give
release
end
#org $done
countpokemon
compare LASTRESULT 0x0
if b_true goto $need
message $10
boxset 6
special 0x0
waitfanfare
message $11
boxset 6
release
end
#org $give
giveitem 338 1
message $20
boxset 6
setflag 0x200
release
end
#org $need
message $30
boxset 6
release
end
#org $1
$1 1=\c\h01\h04Good Morning. \c\h01\nHave a good sleep?\p...\pHmm? That's right!\lYou fell asleep while we\lwere unpacking.\pDon't worry, we've finished.\lVolkner's already gone to the\lPokh\1Bmon League. Shauna's gone\lto get breakfast.\pWhy don't you talk to\lthe locals but don't go\lto Route 300.
#org $2
$2 1 =\c\h01\h04Hmm. Well I was\nto give these to\lVolknear but they don't\lfit him. Well I guess you\lthat you can have them!
#org $3
$3 1 =\c\h01\h04Here you go.
#org $20
$20 1 =\v\h01 got the\c\h01\h04\nRunning Shoes.\pPress B to use them.
#org $10
$10 1 =Hi darling. You look tired.\nTake a rest.
#org $11
$11 1 =That's better.\nHave fun.
#org $move
#raw 0x62 0x11 0x12 0x12 0x12 0x12 0x11 0x02 0xFE
#org $move2
#raw 0x13 0x13 0x13 0x13 0x13 0x13 0x01 0xFE
#org $move3
#raw 0x12 0x12 0x12 0x12 0x12 0x12 0xFE
It won't trigger.
@CelebiKing123
It should work now:
Spoiler:#org @start
lock
faceplayer
message @1 0x6
cry 0xA1 6
nop
nop
wildbattle 6 30 0x8B
fadescreen 0x0
#raw 0x53 0x0F 0x80
setflag 0x200
release
end
#org @1
= CHARIZARD: Raaarrgghh!
There's a lot of random errors here, too. Please try to catch your own errors first.
All of the movements need 0xFE to finish them.
\c\h01 should be \v\h01.
Pausemove should have a 0x0 parameter.
Why do you have waitfanfare in a place where it doesn't have a fanfare?
You can't move a person with a Person Number of 0, because I highly doubt that there's a person with a Person Number of 0 on your map. Double check that, please.
Also, you should make the script check for a flag so that it doesn't run through twice, especially since it's a trigger script.
Finally, be sure to use 0300 and 4050 as your Unknown and Var Number values.
Can somebody help me
It most be so script:
player will room out but he can't the script say better take my pokemon with me and if he has taken the pokeball in his room the script gone and the player can leave the room.
some buddy?
please help me
I don't quite understand why this script isn't working.
Notes:
Desired Effect:
Gives Trainer a Crobat (I know there are no safeguards, but those are not part of this script)
Actual Effect:
Freezes on activation (when person is interacted with using the A button)
Other useful information:
Script is an original work (not copypasted badly from various sources)
Rom is Pokémon Fire Red (U)
Rom expanded to 32MiB
Pointer correct in AdvanceMap ($1000000)
Activator is a person on map
Compiler is XSE v1.1.1
@start corresponds to offset 0x1000000
--------------------------------------------
Script Below (73 lines, spoilered to make post reasonable length):
Spoiler:
#dynamic 0x1000000
#org @start
lock
faceplayer
checkflag 0x533
if 0x1 goto @won
checkflag 0x532
if 0x1 goto @done
message @1 2
checkgender
compare LASTRESULT 0x0
if 0x1 goto @boy
compare LASTRESULT 0x1
if 0x1 goto @girl
#org @boy
message @2 5
compare LASTRESULT 0x1
if 0x1 goto @givepoke
if 0x0 goto @reject
#org @girl
message @3 5
compare LASTRESULT 0x1
if 0x1 goto @givepoke
if 0x0 goto @reject
#org @givepoke
message @5 6
givepokemon 169 61 142 0 0 0
bufferpokemon 2 169
message @6 6
setflag 0x532
goto @done
#org @reject
message @4 6
release
end
#org @done
message @7 6
release
end
#org @won
message @8 6
release
end
#org @1
= I have your Pokémon for the\nbattle.
#org @2
= Are you ready, Mr. \v\h01?
#org @3
= Are you ready, Miss \v\h01?
#org @4
= I understand. You have a tough\nbattle ahead. You'll need to\lprepare hard for it!
#org @5
= Here you are. Good luck!
#org @6
= \c\h01\h02You recieved a \c\h01\h05\v\h04!
#org @7
= Our leader, Isiah, is very strong.\nI can't recall when he was last\ldefeated. You'll need to gather\lall of your strength for this.
#org @8
= It's not possible...\nYou, beat Master Isiah, at such a\lyoung age...\lYou must be strong enough to take\lthe challenge. Master Isiah will\lbe waiting.
Additional info provided per request.
NB: Script is probably quite messy and inefficient, as I've not written a huge deal of scripts.
'---------------
#org 0x2D513F
setvar 0x4060 0x37
givepokemon 0x4060 0x8 0x0 0x0 0x0 0x0
end
Hello,
whats wrong with this script?
Code:'--------------- #org 0x2D513F setvar 0x4060 0x37 givepokemon 0x4060 0x8 0x0 0x0 0x0 0x0 end
it must give you your starter pokemon Vulpix but you can talk to the pokeball but nothing happen