Bonjour,
alors voilà j'ai voulu faire ce script :
Spoiler
'---------------
#org 0x800072
random 0x2
compare LASTRESULT 0x0
if 0x1 goto 0x8800162
compare LASTRESULT 0x1
if 0x1 goto 0x8800172
release
end
'-------------
#org 0x800162
random 0x14
compare LASTRESULT 0x0
if 0x1 goto 0x8800182
compare LASTRESULT 0x1
if 0x1 goto 0x8800192
compare LASTRESULT 0x2
if 0x1 goto 0x88001A2
compare LASTRESULT 0x3
if 0x1 goto 0x88001B2
compare LASTRESULT 0x4
if 0x1 goto 0x88001C2
compare LASTRESULT 0x5
if 0x1 goto 0x88001D2
compare LASTRESULT 0x6
if 0x1 goto 0x88001E2
compare LASTRESULT 0x7
if 0x1 goto 0x88001F2
compare LASTRESULT 0x8
if 0x1 goto 0x8800202
compare LASTRESULT 0x9
if 0x1 goto 0x8800212
compare LASTRESULT 0xA
if 0x1 goto 0x8800222
compare LASTRESULT 0xB
if 0x1 goto 0x8800252
compare LASTRESULT 0xC
if 0x1 goto 0x8800262
compare LASTRESULT 0xD
if 0x1 goto 0x8800272
compare LASTRESULT 0xE
if 0x1 goto 0x8800282
compare LASTRESULT 0xF
if 0x1 goto 0x8800292
compare LASTRESULT 0x10
if 0x1 goto 0x88002A2
compare LASTRESULT 0x11
if 0x1 goto 0x88002B2
compare LASTRESULT 0x12
if 0x1 goto 0x88002C2
compare LASTRESULT 0x13
if 0x1 goto 0x88002D2
release
end
'----------
#org 0x800172
random 0x20
compare LASTRESULT 0x0
if 0x1 goto 0x88002E2
compare LASTRESULT 0x1
if 0x1 goto 0x88002F2
compare LASTRESULT 0x2
if 0x1 goto 0x8800302
compare LASTRESULT 0x3
if 0x1 goto 0x8800312
compare LASTRESULT 0x4
if 0x1 goto 0x8800322
compare LASTRESULT 0x5
if 0x1 goto 0x8800332
compare LASTRESULT 0x6
if 0x1 goto 0x8800342
compare LASTRESULT 0x7
if 0x1 goto 0x880034F
compare LASTRESULT 0x8
if 0x1 goto 0x880035F
compare LASTRESULT 0x9
if 0x1 goto 0x880036F
compare LASTRESULT 0xA
if 0x1 goto 0x880037F
compare LASTRESULT 0xB
if 0x1 goto 0x880038F
compare LASTRESULT 0xC
if 0x1 goto 0x880039F
compare LASTRESULT 0xD
if 0x1 goto 0x88003AF
compare LASTRESULT 0xE
if 0x1 goto 0x88003BF
compare LASTRESULT 0xF
if 0x1 goto 0x88003CF
compare LASTRESULT 0x10
if 0x1 goto 0x88003DF
compare LASTRESULT 0x11
if 0x1 goto 0x88003EF
compare LASTRESULT 0x12
if 0x1 goto 0x88003FF
compare LASTRESULT 0x13
if 0x1 goto 0x880040F
compare LASTRESULT 0x14
if 0x1 goto 0x880041F
compare LASTRESULT 0x15
if 0x1 goto 0x880042F
compare LASTRESULT 0x16
if 0x1 goto 0x880043F
compare LASTRESULT 0x17
if 0x1 goto 0x880044F
compare LASTRESULT 0x18
if 0x1 goto 0x880045F
compare LASTRESULT 0x19
if 0x1 goto 0x880046F
compare LASTRESULT 0x1A
if 0x1 goto 0x880047F
compare LASTRESULT 0x1B
if 0x1 goto 0x880048F
compare LASTRESULT 0x1C
if 0x1 goto 0x880049F
compare LASTRESULT 0x1D
if 0x1 goto 0x88004AF
compare LASTRESULT 0x1E
if 0x1 goto 0x88004BF
release
end
'------------------
#org 0x800182
lock
setwildbattle 0x3F 0x5 0x0
checksound
cry 0x3F 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'-----------------
#org 0x800192
lock
setwildbattle 0x4F 0x5 0x0
checksound
cry 0x4F 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'--------------
#org 0x8001A2
lock
setwildbattle 0x60 0x5 0x0
checksound
cry 0x60 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'------------
#org 0x8001B2
lock
setwildbattle 0x66 0x5 0x0
checksound
cry 0x66 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'-----------------
#org 0x8001C2
lock
setwildbattle 0x7A 0x5 0x0
checksound
cry 0x7A 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'---------------
#org 0x8001D2
lock
setwildbattle 0x7C 0x5 0x0
checksound
cry 0x7C 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'---------------
#org 0x8001E2
lock
setwildbattle 0xB1 0x5 0x0
checksound
cry 0xB1 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'---------------
#org 0x8001F2
lock
setwildbattle 0xC9 0x8 0x0
checksound
cry 0xC9 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'---------------------
#org 0x800202
lock
setwildbattle 0xCA 0x5 0x0
checksound
cry 0xCA 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'----------------------
#org 0x800212
lock
setwildbattle 0xCB 0x5 0x0
checksound
cry 0xCB 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'--------------------
#org 0x800222
lock
setwildbattle 0xEE 0x5 0x0
checksound
cry 0xEE 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'-----------------------
#org 0x800252
lock
setwildbattle 0x118 0x5 0x0
checksound
cry 0x118 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'----------------
#org 0x800262
lock
setwildbattle 0x133 0x5 0x0
checksound
cry 0x133 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'-------------
#org 0x800272
lock
setwildbattle 0x145 0x5 0x0
checksound
cry 0x142 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'-----------------
#org 0x800282
lock
setwildbattle 0x151 0x5 0x0
checksound
cry 0x151 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'--------------------
#org 0x800292
lock
setwildbattle 0x152 0x5 0x0
checksound
cry 0x152 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'-------------------
#org 0x8002A2
lock
setwildbattle 0x157 0x5 0x0
checksound
cry 0x157 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'----------------
#org 0x8002B2
lock
setwildbattle 0x166 0x8 0x0
checksound
cry 0x166 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'-------------------
#org 0x8002C2
lock
setwildbattle 0x168 0x5 0x0
checksound
cry 0x168 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'------------------
#org 0x8002D2
lock
setwildbattle 0x176 0x5 0x0
checksound
cry 0x176 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'---------------------
#org 0x8002E2
giveitem 0x3 0x2 MSG_FIND
end
'-----------
#org 0x8002F2
giveitem 0x4 0x5 MSG_FIND
end
'-----------
#org 0x800302
giveitem 0x6 0x5 MSG_FIND
end
'------------
#org 0x800312
giveitem 0x9 0x5 MSG_FIND
end
'---------------
#org 0x800322
giveitem 0xA 0x1 MSG_FIND
end
'---------------
#org 0x800332
giveitem 0xD 0x1 MSG_FIND
end
'------------------
#org 0x800342
giveitem 0xE 0x1 MSG_FIND
end
'--------------
#org 0x80034F
giveitem 0xF 0x1 MSG_FIND
end
'---------------
#org 0x80035F
giveitem 0x10 0x1 MSG_FIND
end
'--------------
#org 0x80036F
giveitem 0x11 0x1 MSG_FIND
end
'-------------
#org 0x80037F
giveitem 0x12 0x1 MSG_FIND
end
'-------------
#org 0x80038F
giveitem 0x16 0x1 MSG_FIND
end
'---------------
#org 0x80039F
giveitem 0x1A 0x1 MSG_FIND
end
'--------------
#org 0x8003AF
giveitem 0x1B 0x1 MSG_FIND
end
'----------------
#org 0x8003BF
giveitem 0x1C 0x1 MSG_FIND
end
'--------------
#org 0x8003CF
giveitem 0x1E 0x1 MSG_FIND
end
'---------------
#org 0x8003DF
giveitem 0x20 0x1 MSG_FIND
end
'----------------
#org 0x8003EF
giveitem 0x22 0x2 MSG_FIND
end
'---------------
#org 0x8003FF
giveitem 0x24 0x1 MSG_FIND
end
'--------------
#org 0x80040F
giveitem 0xC4 0x1 MSG_FIND
end
'---------------
#org 0x80041F
giveitem 0xDD 0x1 MSG_FIND
end
'-------------
#org 0x80042F
giveitem 0xC8 0x1 MSG_FIND
end
'----------
#org 0x80043F
giveitem 0x2B 0x2 MSG_FIND
end
'-----------
#org 0x80044F
giveitem 0x44 0x1 MSG_FIND
end
'-------------
#org 0x80045F
giveitem 0x5E 0x1 MSG_FIND
end
'--------------
#org 0x80046F
giveitem 0xBB 0x1 MSG_FIND
end
'----------------
#org 0x80047F
giveitem 0x124 0x1 MSG_FIND
end
'---------------
#org 0x80048F
giveitem 0x130 0x1 MSG_FIND
end
'-------------
#org 0x80049F
giveitem 0x13D 0x1 MSG_FIND
end
'------------------
#org 0x8004AF
giveitem 0x141 0x1 MSG_FIND
end
'------------------
#org 0x8004BF
giveitem 0x14C 0x1 MSG_FIND
end
Mais quand je compile ca me donne que ça :
Spoiler
'---------------
#org 0x800072
random 0x2
compare LASTRESULT 0x0
if 0x1 goto 0x8800162
compare LASTRESULT 0x1
if 0x1 goto 0x8800172
release
end
'---------------
#org 0x800162
random 0x14
compare LASTRESULT 0x0
if 0x1 goto 0x8800182
compare 0x8F0D 0x20
compare LASTRESULT 0x0
if 0x1 goto 0x88002E2
compare 0x6A0D 0x3FB6
nop
goto 0xA1300000
'---------------
#org 0x800172
random 0x20
compare LASTRESULT 0x0
if 0x1 goto 0x88002E2
compare 0x6A0D 0x3FB6
nop
goto 0xA1300000
'---------------
#org 0x800182
lock
setwildbattle 0x3F 0x5 0x0
checksound
cry 0x3F 0x2
pause 0x28
lock
setwildbattle 0x4F 0x5 0x0
checksound
cry 0x4F 0x2
pause 0x28
lock
setwildbattle 0x60 0x5 0x0
checksound
cry 0x60 0x2
pause 0x28
lock
setwildbattle 0x66 0x5 0x0
checksound
cry 0x66 0x2
pause 0x28
lock
setwildbattle 0x7A 0x5 0x0
checksound
cry 0x7A 0x2
pause 0x28
lock
setwildbattle 0x7C 0x5 0x0
checksound
cry 0x7C 0x2
pause 0x28
lock
setwildbattle 0xB1 0x5 0x0
checksound
cry 0xB1 0x2
pause 0x28
lock
setwildbattle 0xC9 0x8 0x0
checksound
cry 0xC9 0x2
pause 0x28
lock
setwildbattle 0xCA 0x5 0x0
checksound
cry 0xCA 0x2
pause 0x28
lock
setwildbattle 0xCB 0x5 0x0
checksound
cry 0xCB 0x2
pause 0x28
lock
setwildbattle 0xEE 0x5 0x0
checksound
cry 0xEE 0x2
pause 0x28
waitcry
setflag 0x305
setflag 0x861
special 0x138
waitstate
clearflag 0x861
release
end
'---------------
#org 0x8002E2
giveitem 0x3 0x2 MSG_FIND
end
Je pense que c est en raison de la taille de l'offset mais j'aimerais en être sûr et comment corriger le problème (si c'est l'offset de combien j'aurais besoin)
Merci d'avance