mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
parent
039addcb00
commit
418c70a8af
@ -156,7 +156,7 @@ Until this document is filled out, the [G/S Scripting Compendium](https://hax.ii
|
|||||||
## `$2C`: <code>checkpoke <i>mon_id</i></code>
|
## `$2C`: <code>checkpoke <i>mon_id</i></code>
|
||||||
|
|
||||||
|
|
||||||
## `$2D`: <code>givepoke <i>mon_id</i>, <i>level</i>[, <i>item</i>=0[, <i>trainer</i>=0, <i>ot_name</i>, <i>nickname</i>]]</code>
|
## `$2D`: <code>givepoke <i>mon_id</i>, <i>level</i>[, <i>item</i>=0[, <i>ot_name</i>, <i>nickname</i>]]</code>
|
||||||
|
|
||||||
|
|
||||||
## `$2E`: <code>giveegg <i>mon_id</i>, <i>level</i></code>
|
## `$2E`: <code>giveegg <i>mon_id</i>, <i>level</i></code>
|
||||||
|
@ -300,6 +300,8 @@ if _NARG == 2
|
|||||||
givepoke \1, \2, NO_ITEM, FALSE
|
givepoke \1, \2, NO_ITEM, FALSE
|
||||||
elif _NARG == 3
|
elif _NARG == 3
|
||||||
givepoke \1, \2, \3, FALSE
|
givepoke \1, \2, \3, FALSE
|
||||||
|
elif _NARG == 5
|
||||||
|
givepoke \1, \2, \3, TRUE, \4, \5
|
||||||
else
|
else
|
||||||
db givepoke_command
|
db givepoke_command
|
||||||
db \1 ; pokemon
|
db \1 ; pokemon
|
||||||
@ -307,8 +309,8 @@ else
|
|||||||
db \3 ; item
|
db \3 ; item
|
||||||
db \4 ; trainer
|
db \4 ; trainer
|
||||||
if \4
|
if \4
|
||||||
dw \5 ; trainer_name_pointer
|
dw \5 ; nickname_pointer
|
||||||
dw \6 ; pkmn_nickname
|
dw \6 ; ot_name_pointer
|
||||||
endc
|
endc
|
||||||
endc
|
endc
|
||||||
ENDM
|
ENDM
|
||||||
|
@ -28,7 +28,7 @@ RandyScript:
|
|||||||
writetext Route35GoldenrodGatePlayerReceivedAMonWithMailText
|
writetext Route35GoldenrodGatePlayerReceivedAMonWithMailText
|
||||||
playsound SFX_KEY_ITEM
|
playsound SFX_KEY_ITEM
|
||||||
waitsfx
|
waitsfx
|
||||||
givepoke SPEAROW, 10, NO_ITEM, TRUE, GiftSpearowName, GiftSpearowOTName
|
givepoke SPEAROW, 10, NO_ITEM, GiftSpearowName, GiftSpearowOTName
|
||||||
givepokemail GiftSpearowMail
|
givepokemail GiftSpearowMail
|
||||||
setevent EVENT_GOT_KENYA
|
setevent EVENT_GOT_KENYA
|
||||||
.alreadyhavekenya
|
.alreadyhavekenya
|
||||||
|
Loading…
Reference in New Issue
Block a user