Andryandrew
Italian Asm Hacker
- 117
- Posts
- 18
- Years
- Age 31
- Seen Jul 4, 2015
HERE you can find a list of item... their code is flipped (so for example B600 means 00B6 --> 0xB6 or FD01 means 01FD --> 0x1FDI have questions regarding scripts in my very first hack
First question
placing trainers in my hack; now ive read the tutorial by thethethethe (sorry if i misspelled your username) but I dont understand certain aspects of it:
Game: pokemon firered
personscript
using pokescript
Script: trainer script
Spoiler:#org $start
lock
faceplayer
checkflag 0x820
if b_true goto $done
message $2
boxset 6
trainerbattle 1 0x001 $before $after $later
end
#org $before
$before 1 =Show me what you've got!
#org $after
$after 1 =Congratulations.
#org $later
message $3
boxset 6
fanfare 0x13E
message $4
boxset 4
waitfanfare
#raw 0x68
message $5
boxset 6
giveitem 0x147 1
setflag 0x820
release
end
#org $done
message $1
boxset 6
release
end
#org $1
$1 1 =You should travel to Cerulean Town\nto get your next badge.
#org $2
$2 1 =Wecome to Pewter City Gym.\nYou want to challenge me?
#org $3
$3 1 =Congratulations! Here I must reward\nyou with this badge.
#org $4
$4 1 =You recieved a badge!
#org $5
$5 1 =Oh, and please take this.
the #raw 0x68
what happens here?
giveitem 0x147 1
I understand a certain item is given here, other than the badge (badge is setflag0x820)
my question is where can i find a list which specifies which item is which code. like code 0.01 is item x?
Question 2
how do I place items on the ground for the player to pick up? So the player can pick up potions etc.
Thanks in advance
#raw 0x68 (closeonkeypress in XSE) let msgbox 4 close when a key is pressed