Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Pokémon hacking.
Acmlm's Board - I2 Archive - Pokémon hacking - trainerbattle errors
  
User name:
Password:
Reply:
 

UserPost
interdpth
Posts: 527/527
Baro I hate you

*interdpth digs into Bloody Garnet to help fix this


Well your problem is that the trainer script is requires only 5 params your script. This should work

#org 0x6b61e0
trainerbattle 0x1 0x7 0x0 0x6b5EC0 0x6b6006
msgbox 0x6b6200
nop
nop
nop
nop
checkflag 0x50A5
if 0x0 jump 0x6b62B0 \'give TM
msgbox 0x6b6140 \'\"well\"
callstd 0x6
release
end

#org 0x6b6200
message 0x6b6066 \'received the badge
boxset 0x1
fanfare 0x171 \'trumpets
copyvarifnotzero 0x8000 0x71 \'BADGE
copyvarifnotzero 0x8001 0x1
callstd 0x0
msgbox 0x6b6085 \'\"The BADGE...\"
callstd 0x6
nop
copyvarifnotzero 0x8000 0x132 \'TM rain dance
copyvarifnotzero 0x8001 0x1
callstd 0x0
nop
msgbox 0x6B60B0
callstd 0x6
nop
setflag 0x50A5
#raw 0x01
msgbox 0x6b6140
callstd 0x6
release
end

#org 0x6b62B0 \'GIVE TM
copyvarifnotzero 0x8000 0x132 \'TM rain dance
copyvarifnotzero 0x8001 0x1
callstd 0x0
nop
message 0x6B60B0 \'what the tm is and bye
boxset 0x6
nop
setflag 0x50A5
#raw 0x01
msgbox 0x6b6140
callstd 0x6
release
end


I haven't been hacking for a long ass time so hope that should help ^^






PKMNHackz
Posts: 2/18
i will post the rubikon.dat for 3.0 all the way to 3.7, if that helps. Just wait so I can compile them into one folder to upload it onto my website.
Baro
Posts: 351/366
I don\'t know why, but the trainerbattle command isn\'t working!
I\'ve added the filler, the person IS a trainer ... the script is theorically correct...

#org 0x6b61e0
trainerbattle 0x1 0x7 0x0 0x6b5EC0 0x6b6006 0x6b6200
nop
nop
nop
nop
checkflag 0x50A5
if 0x0 jump 0x6b62B0 \'give TM
msgbox 0x6b6140 \'\"well\"
callstd 0x6
release
end

#org 0x6b6200
message 0x6b6066 \'received the badge
boxset 0x1
fanfare 0x171 \'trumpets
copyvarifnotzero 0x8000 0x71 \'BADGE
copyvarifnotzero 0x8001 0x1
callstd 0x0
msgbox 0x6b6085 \'\"The BADGE...\"
callstd 0x6
nop
copyvarifnotzero 0x8000 0x132 \'TM rain dance
copyvarifnotzero 0x8001 0x1
callstd 0x0
nop
msgbox 0x6B60B0
callstd 0x6
nop
setflag 0x50A5
#raw 0x01
msgbox 0x6b6140
callstd 0x6
release
end

#org 0x6b62B0 \'GIVE TM
copyvarifnotzero 0x8000 0x132 \'TM rain dance
copyvarifnotzero 0x8001 0x1
callstd 0x0
nop
message 0x6B60B0 \'what the tm is and bye
boxset 0x6
nop
setflag 0x50A5
#raw 0x01
msgbox 0x6b6140
callstd 0x6
release
end




The script is compiled and such, but when playing the screen turns purple. I know I\'ve used that command before (copying the script isn\'t working, in various maps, the settings for both objects are the same, etc), but it was in a previous version of elitemap... maybe the rubikon.dat is wrong or something, I dunno... if somebody can give me ye olde rubikon.dat (maybe for version 3.3, 3.0...) or the old entire elitemap... or just help me, I\'ll be pleased
Acmlm's Board - I2 Archive - Pokémon hacking - trainerbattle errors


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.009 seconds.