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)
-   -   Script Help Thread (DO NOT REQUEST SCRIPTS) (https://www.pokecommunity.com/showthread.php?t=163576)

Hoshiko Aki December 27th, 2008 9:23 AM

How does i make a Script With XSE last version that like this:

You walk on a tile and then the script working and give you a pokemon if you have room for it in your party

HackMew December 27th, 2008 9:28 AM

Quote:

Originally Posted by Ichiro Kazuki (Post 4228739)
How does i make a Script With XSE last version that like this:

You walk on a tile and then the script working and give you a pokemon if you have room for it in your party

That's pretty much like requesting. But the guide explains that, did you notice?

Hoshiko Aki December 27th, 2008 9:34 AM

Quote:

Originally Posted by HackMew (Post 4228751)
That's pretty much like requesting. But the guide explains that, did you notice?

in the guild is a good and i have read the about give away scripts just a go but nothing like what i wanted

HackMew December 27th, 2008 9:44 AM

Quote:

Originally Posted by Ichiro Kazuki (Post 4228767)
in the guild is a good and i have read the about give away scripts just a go but nothing like what i wanted

It's difficult to find a script just like you want. You need to decompile some existing ones, read them, understand them and then trying to make your own.

ShakawBR December 27th, 2008 11:03 AM

oh man... I don't know how to use wildbattle2 and I didn't find any tutorials about it =/

Everytime I use wildbattle2 the game freezes...

Vrai December 27th, 2008 11:33 AM

Quote:

Originally Posted by ShakawBR (Post 4228942)
oh man... I don't know how to use wildbattle2 and I didn't find any tutorials about it =/

Everytime I use wildbattle2 the game freezes...

Did you put in a byte for the battle style? That's what makes it different from wildbattle, y'know.

ShakawBR December 27th, 2008 11:46 AM

Quote:

Originally Posted by Vrai (Post 4228983)
Did you put in a byte for the battle style? That's what makes it different from wildbattle, y'know.

wildbattle2 0x96 0x46 0x0 0x0

I used this, but I don't what it does...

Pokepal17 December 27th, 2008 1:31 PM

Quote:

Originally posted by Ichiro Kazuki

How does i make a Script With XSE last version that like this:

You walk on a tile and then the script working and give you a pokemon if you have room for it in your party

I believe that this should be the script your looking for.
Don't forget to set the Unknown to 0003 and the Var Number to 4050

Spoiler:

#dynamic 0x800000

#org @start
checkflag 0x1000
if b_true goto @end
countpokemon
compare LASTRESULT 0x6
if 0x1 call @full
givepokemon 0x9B 0x5 0x0 0x0 0x0 0x0
setflag 0x1000
end

#org @full
release
end

#org @end
release
end


This particular script gives a lvl 5 Cyndaquil holding nothing.

ShakawBR December 27th, 2008 7:14 PM

I finally figured it out:

the battle styles that works are: 0x2, 0x3 and 0x4. The rest freezes the game...

Here's my script:
Spoiler:
'---------------
#org 0x6BBEA6
fadesong 0x0
msgbox 0x89C2C48 MSG_NORMAL '"bla bla bla bla bla bla bla bla\nb..."
cry 0x96 0x0
waitcry
wildbattle2 0x96 0x46 0x0 0x2
fadescreen 0x1
hidesprite LASTTALKED
setflag 0x1001
fadescreen 0x0
end


'---------
' Strings
'---------
#org 0x9C2C48
= bla bla bla bla bla bla bla bla\nbla bla bla bla bla bla bla bla\lbla bla bla bla bla bla bla bla\lbla bla bla bla bla bla bla bla\lbla bla bla bla bla bla bla bla\lbla bla bla bla bla bla bla bla\lbla bla bla bla bla bla bla bla\lbla bla bla bla bla bla bla bla\lbla bla bla bla bla bla bla bla\lbla bla bla bla bla bla bla bla\l...\l...\lLet's fight!!


Please... I want sugestions to make it better, like after the battle ends, I want a way to erase mew sprite in a more natural way...

Note1: The "bla bla bla..." in the text is just example
Note2: I don't know how to put [SOLVED] tag... I'm new in the forum xD

Madridista December 27th, 2008 11:00 PM

Game: Fire Red
Type: Trigger
Editor: eXtreme Script Editor
Problem: The script won't even start and the game freezes.
Script:
Spoiler:
#dynamic 0x800000

#org @main
lock
checkflag 0x1000
if 0x1 goto @yes
if 0x0 goto @no
end

#org @yes
end

#org @no
msgbox @hey 0x6
applymovement 0xFF @player
waitmovement 0x10
applymovement 0x02 @fat
waitmovement 0x100
faceplayer
msgbox @player2 0x6
msgbox @awake 0x6
givepokemon 0x186 0x5 0x0 0x0 0x0 0x0
fanfare 0x13E
msgbox @received 0x6
msgbox @guy2 0x6
fadescreen 0x1
applymovement 0x02 @lol
waitmovement 0x10
fadescreen 0x0
msgbox @lol2 0x6

#org @hey
= ???: Hey!

#org @player
#raw 0x62
#raw 0xFE

#org @fat
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1E
#raw 0x1F
#raw 0x1E
#raw 0x1F
#raw 0x1F
#raw 0x1F
#raw 0x1D
#raw 0xFE

#org @player2
= \v\h01: What... what, happened...

#org @awake
= Don't worry about what\nhappened.\pThe only thing that matters\nnow, is that you're all\nright.\pLucky I was there, you\nnever know what could of\nhappened to you...\pBy the way! I found this\nfainted ANORITH somewhere over here.\nTake it!

#org @received
= \v\h01 received SHUCKLE!

#org @guy2
= I haven't introduced my self\nyet!\pMy name is John!\nI'm a retired coal miner!\p...\n...\pSorry, but I have to\ngo, bye!

#org @lol
#raw 0x60
#raw 0xFE

#org @lol2
= \v\h01: He's a really strange\nguy...


PS. I changed Unknown (in A-Map) to 0003 and Var Number to 4050.

Surf December 28th, 2008 12:22 AM

Game: Fire Red
Type: Trigger
Editor: eXtreme Script Editor
Problem: The end part of the script doesn't happen
Script:
Spoiler:
#dynamic 0x800000
#org @start
checkflag 0x1000
if 0x0 goto @start1
release
end

#org @start1
lock
message @talk
callstd 0x6
applymovement 0x2 @move
applymovement 0x3 @move2
waitmovement 0x0
applymovement 0x2 @move1
applymovement 0x3 @move3
waitmovement 0x0
message @talk1
callstd 0x6
setflag 0x1000
release
end

#org @talk
= So the experiment will be ready\ntonight...

#org @move
#raw 65
#raw 04
#raw FE

#org @move1
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 69
#raw FE

#org @move3
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 69
#raw FE

#org @move2
#raw 65
#raw 04
#raw FE

#org @talk1
= Wait that man looked like Dad!\nI wonder...

пзо December 28th, 2008 12:25 AM

Quote:

Originally Posted by Mac_Mini (Post 4230566)
Game: Fire Red
Type: Trigger
Editor: eXtreme Script Editor
Problem: The end part of the script doesn't happen
Script:
Spoiler:
#dynamic 0x800000
#org @start
checkflag 0x1000
if 0x0 goto @start1
release
end

#org @start1
lock
message @talk
callstd 0x6
applymovement 0x2 @move
applymovement 0x3 @move2
waitmovement 0x0
applymovement 0x2 @move1
applymovement 0x3 @move3
waitmovement 0x0
msgbox @talk1 0x2
callstd 0x6
setflag 0x1000

release
end

#org @talk
= So the experiment will be ready\ntonight...

#org @move
#raw 65
#raw 04
#raw FE

#org @move1
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 69
#raw FE

#org @move3
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 69
#raw FE

#org @move2
#raw 65
#raw 04
#raw FE

#org @talk1
= Wait that man looked like Dad!\nI wonder...

The Edited is in bold. Try this. The 0x2 was-not there.

Surf December 28th, 2008 12:29 AM

Quote:

Originally Posted by пзо (Post 4230571)
The Edited is in bold. Try this. The 0x2 was-not there.

It still doesn't work the second talking doesn't happen

Hiche.. December 28th, 2008 1:10 AM

Quote:

Originally Posted by Mac_Mini (Post 4230578)
It still doesn't work the second talking doesn't happen

Spoiler:
#dynamic 0x800000

#org @start
checkflag 0x1000
if 0x0 goto @start1
release
end

#org @start1
lock
message @talk 0x6
applymovement 0x2 @move
applymovement 0x3 @move2
waitmovement 0x0
applymovement 0x2 @move1
applymovement 0x3 @move3
waitmovement 0x0
msgbox @talk1 0x6
setflag 0x1000
release
end

#org @talk
= So the experiment will be ready\ntonight...

#org @move
#raw 65
#raw 04
#raw FE

#org @move1
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 69
#raw FE

#org @move3
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 69
#raw FE

#org @move2
#raw 65
#raw 04
#raw FE

#org @talk1
= Wait that man looked like Dad!\nI wonder...


Two fixes are in Bold. In the new version of XSE, remember that there is no callstd nor boxset.

Surf December 28th, 2008 1:11 AM

Quote:

Originally Posted by Hiche (Post 4230642)
Spoiler:
#dynamic 0x800000

#org @start
checkflag 0x1000
if 0x0 goto @start1
release
end

#org @start1
lock
message @talk 0x6
applymovement 0x2 @move
applymovement 0x3 @move2
waitmovement 0x0
applymovement 0x2 @move1
applymovement 0x3 @move3
waitmovement 0x0
msgbox @talk1 0x6
setflag 0x1000
release
end

#org @talk
= So the experiment will be ready\ntonight...

#org @move
#raw 65
#raw 04
#raw FE

#org @move1
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 69
#raw FE

#org @move3
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 1E
#raw 69
#raw FE

#org @move2
#raw 65
#raw 04
#raw FE

#org @talk1
= Wait that man looked like Dad!\nI wonder...


Two fixes are in Bold. In the new version of XSE, remember that there is no callstd nor boxset.

I'm not using the new version because it won't let me compile that script

Hiche.. December 28th, 2008 1:14 AM

The script I edited will work in the new XSE. Try it. The one I edited, and post here if you had problems.

Surf December 28th, 2008 2:00 AM

i keeps saying this
http://i40.photobucket.com/albums/e206/hackimon13/fdsg.jpg

Hiche.. December 28th, 2008 2:06 AM

Quote:

Originally Posted by Mac_Mini (Post 4230683)

Spoiler:
#dynamic 0x800000

#org @start
checkflag 0x1000
if 0x0 goto @start1
release
end

#org @start1
lock
message @talk 0x6
applymovement 0x2 @move
applymovement 0x3 @move2
waitmovement 0x0
applymovement 0x2 @move1
applymovement 0x3 @move3
waitmovement 0x0
msgbox @talk1 0x6
setflag 0x1000
release
end

#org @talk
= So the experiment will be ready\ntonight...

#org @move
#raw 65
#raw 04
#raw 0xFE

#org @move1
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x69
#raw 0xFE

#org @move3
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 0x1E
#raw 69
#raw 0xFE

#org @move2
#raw 65
#raw 04
#raw 0xFE

#org @talk1
= Wait that man looked like Dad!\nI wonder...


Copy this. It will work. Tried it. Also, what is #raw 69? Never heard of that move.

Hoshiko Aki December 28th, 2008 2:22 AM

Thank you very much ! PokePal17

Surf December 28th, 2008 3:27 AM

Game: Fire Red
Type: Trigger
Editor: eXtreme Script Editor
Problem: The whole thing just freezes
Script:
Spoiler:
#dynamic 0x800000
#org @start
checkflag 0x1000
if 0x0 goto @start1
release
end

#org @start1
lock
setvar 0x7000 0x1
message @talk 0x6
applymovement 0x2 @move
waitmovement 0x0
msgbox @talk2 0x6
applymovement 0x5 @move1
applymovement 0xFF @move3
waitmovement 0x0
setdooropened 0x15 0x17
doorchange
applymovement 0x5 @move4
applymovement 0xFF @move5
waitmovement 0x0
setdoorclosed 0x15 0x17
doorchange
warp 0x5 0x2 0x1 0x4 0x7
msgbox @talk3 0x6
applymovement 0x2 @move6
waitmovement 0x0
applymovement 0xFF @move7
waitmovement 0x0
msgbox @talk4 0x6
applymovement 0xFF @move8
waitmovement 0x0
msgbox @talk5 0x6
giveitem 0x15D 0x1 0x0
setflag 0x829
release
end

#org @talk
= [player]!

#org @talk1
= Wait that man looked like Dad!\nI wonder...

#org @talk2
= Hello [player]\nI have your mother's parcel\pFollow me back to my house.

#org @move
#raw 65
#raw 10
#raw 10
#raw 10
#raw 0xFE

#org @move1
#raw 11
#raw 11
#raw 13
#raw 13
#raw 13
#raw 13
#raw 11
#raw 11
#raw 11
#raw 11
#raw 11
#raw 11
#raw 0xFE

#org @move3
#raw 11
#raw 11
#raw 11
#raw 13
#raw 13
#raw 13
#raw 13
#raw 11
#raw 11
#raw 11
#raw 11
#raw 11
#raw 11
#raw 0xFE

#org @move2
#raw 65
#raw 04
#raw 0xFE

#org @move4
#raw 11
#raw 60
#raw 0xFE

#org @move5
#raw 11
#raw 11
#raw 0xFE

#org @talk3
= Come and sit down.

#org @move6
#raw 13
#raw 11
#raw 11
#raw 02
#raw 0xFE

#org @move7
#raw 11
#raw 12
#raw 12
#raw 11
#raw 11
#raw 03
#raw 0xFE

#org @talk4
= Now I saw you walking up from\nNarrow Pass.\lI belive that you would have seen\lsomeone who looked oddly like your\lfather.\pWell that was him. He was cast\ninto debt after borrowing money\lfrom Team Rocket.\pHe is now their head scientist.\pIt my come as a shook to you but if\nyou want some more information you\lshould ask your mother.\pOh yes come here.

#org @move8
#raw 11
#raw 13
#raw 13
#raw 13
#raw 04
#raw 0xFE

#org @talk5
= I have something for you.\pIt's called a Pokedex.\nIt's used to record wild pokemon\ldata.\pOh and heres your mothers parcel.\pSee you later

Ninja Caterpie December 28th, 2008 5:05 AM

Do you have the right script tile settings? 0003 and 5040?

Surf December 28th, 2008 5:23 AM

yeah naturally but i have 4050 insted
It's a level script BTW

Ninja Caterpie December 28th, 2008 5:31 AM

Aaah?!! WUT?! You're meant to say that! A level script is different to a trigger script!

CelebiKing123 December 28th, 2008 8:27 AM

wild charizard
 
hi can somebody tell me wats wrong with my wild charizard script?
Spoiler:
#org $start
lock
faceplayer
message $1
boxset 6
cry 0xA1 6
nop
nop
wildbattle 6 30 0x8B
fadescreen 0
#raw 0x53 0x0F 0x80
setflag 0x200
release
end

#org $1
$1 1 =CHARIZARD: Raaarrgghh!

Ninja Caterpie December 28th, 2008 1:42 PM

First we need to know what it doesn't do!


All times are GMT -8. The time now is 2:55 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.