2021-03-03 19:22:41 -08:00
|
|
|
NUM_ODD_EGGS EQU 14
|
|
|
|
|
2017-12-28 04:23:44 -08:00
|
|
|
prob: MACRO
|
2014-07-18 05:28:30 -07:00
|
|
|
prob_total = prob_total + (\1)
|
|
|
|
dw prob_total * $ffff / 100
|
2017-12-28 13:31:16 -08:00
|
|
|
ENDM
|
2014-07-18 05:28:30 -07:00
|
|
|
|
2017-12-11 19:44:25 -08:00
|
|
|
OddEggProbabilities:
|
2021-06-19 16:52:05 -07:00
|
|
|
; entries correspond to OddEggs (below)
|
2021-03-03 19:22:41 -08:00
|
|
|
table_width 2, OddEggProbabilities
|
2014-07-18 05:28:30 -07:00
|
|
|
prob_total = 0
|
2015-12-25 20:34:33 -08:00
|
|
|
; Pichu
|
2014-07-18 05:28:30 -07:00
|
|
|
prob 8
|
|
|
|
prob 1
|
2015-12-25 20:34:33 -08:00
|
|
|
; Cleffa
|
2014-07-18 05:28:30 -07:00
|
|
|
prob 16
|
|
|
|
prob 3
|
2015-12-25 20:34:33 -08:00
|
|
|
; Igglybuff
|
2014-07-18 05:28:30 -07:00
|
|
|
prob 16
|
|
|
|
prob 3
|
2015-12-25 20:34:33 -08:00
|
|
|
; Smoochum
|
2014-07-18 05:28:30 -07:00
|
|
|
prob 14
|
|
|
|
prob 2
|
2015-12-25 20:34:33 -08:00
|
|
|
; Magby
|
2014-07-18 05:28:30 -07:00
|
|
|
prob 10
|
|
|
|
prob 2
|
2015-12-25 20:34:33 -08:00
|
|
|
; Elekid
|
2014-07-18 05:28:30 -07:00
|
|
|
prob 12
|
|
|
|
prob 2
|
2015-12-25 20:34:33 -08:00
|
|
|
; Tyrogue
|
2014-07-18 05:28:30 -07:00
|
|
|
prob 10
|
|
|
|
prob 1
|
2021-03-03 19:22:41 -08:00
|
|
|
assert_table_length NUM_ODD_EGGS
|
2021-06-19 16:52:05 -07:00
|
|
|
assert prob_total == 100, "OddEggProbabilities do not sum to 100%!"
|
2013-08-29 20:26:01 -07:00
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
OddEggs:
|
2021-03-03 19:22:41 -08:00
|
|
|
table_width NICKNAMED_MON_STRUCT_LENGTH, OddEggs
|
2013-08-29 20:26:01 -07:00
|
|
|
|
2013-08-21 13:02:18 -07:00
|
|
|
db PICHU
|
|
|
|
db NO_ITEM
|
2015-11-02 11:37:02 -08:00
|
|
|
db THUNDERSHOCK, CHARM, DIZZY_PUNCH, 0
|
2013-08-21 13:02:18 -07:00
|
|
|
dw 02048 ; OT ID
|
|
|
|
dt 125 ; Exp
|
|
|
|
; Stat exp
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
2018-07-16 12:42:45 -07:00
|
|
|
dn 0, 0, 0, 0 ; DVs
|
2013-08-21 13:02:18 -07:00
|
|
|
db 30, 20, 10, 0 ; PP
|
2019-01-02 16:04:50 -08:00
|
|
|
db 20 ; Step cycles to hatch
|
2013-08-21 13:02:18 -07:00
|
|
|
db 0, 0, 0 ; Pokerus, Caught data
|
|
|
|
db 5 ; Level
|
|
|
|
db 0, 0 ; Status
|
|
|
|
bigdw 0 ; HP
|
|
|
|
bigdw 17 ; Max HP
|
|
|
|
bigdw 9 ; Atk
|
|
|
|
bigdw 6 ; Def
|
|
|
|
bigdw 11 ; Spd
|
|
|
|
bigdw 8 ; SAtk
|
|
|
|
bigdw 8 ; SDef
|
|
|
|
db "EGG@@@@@@@@"
|
|
|
|
|
|
|
|
db PICHU
|
|
|
|
db NO_ITEM
|
2015-11-02 11:37:02 -08:00
|
|
|
db THUNDERSHOCK, CHARM, DIZZY_PUNCH, 0
|
2013-08-21 13:02:18 -07:00
|
|
|
dw 00256 ; OT ID
|
|
|
|
dt 125 ; Exp
|
|
|
|
; Stat exp
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
2018-07-16 12:42:45 -07:00
|
|
|
dn 2, 10, 10, 10 ; DVs
|
2013-08-21 13:02:18 -07:00
|
|
|
db 30, 20, 10, 0 ; PP
|
2019-01-02 16:04:50 -08:00
|
|
|
db 20 ; Step cycles to hatch
|
2013-08-21 13:02:18 -07:00
|
|
|
db 0, 0, 0 ; Pokerus, Caught data
|
|
|
|
db 5 ; Level
|
|
|
|
db 0, 0 ; Status
|
|
|
|
bigdw 0 ; HP
|
|
|
|
bigdw 17 ; Max HP
|
|
|
|
bigdw 9 ; Atk
|
|
|
|
bigdw 7 ; Def
|
|
|
|
bigdw 12 ; Spd
|
|
|
|
bigdw 9 ; SAtk
|
|
|
|
bigdw 9 ; SDef
|
|
|
|
db "EGG@@@@@@@@"
|
|
|
|
|
|
|
|
db CLEFFA
|
|
|
|
db NO_ITEM
|
2015-11-02 11:37:02 -08:00
|
|
|
db POUND, CHARM, DIZZY_PUNCH, 0
|
2013-08-21 13:02:18 -07:00
|
|
|
dw 04096 ; OT ID
|
|
|
|
dt 125 ; Exp
|
|
|
|
; Stat exp
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
2018-07-24 11:28:04 -07:00
|
|
|
dn 0, 0, 0, 0 ; DVs
|
2013-08-21 13:02:18 -07:00
|
|
|
db 35, 20, 10, 0 ; PP
|
2019-01-02 16:04:50 -08:00
|
|
|
db 20 ; Step cycles to hatch
|
2013-08-21 13:02:18 -07:00
|
|
|
db 0, 0, 0 ; Pokerus, Caught data
|
|
|
|
db 5 ; Level
|
|
|
|
db 0, 0 ; Status
|
|
|
|
bigdw 0 ; HP
|
|
|
|
bigdw 20 ; Max HP
|
|
|
|
bigdw 7 ; Atk
|
|
|
|
bigdw 7 ; Def
|
|
|
|
bigdw 6 ; Spd
|
|
|
|
bigdw 9 ; SAtk
|
|
|
|
bigdw 10 ; SDef
|
|
|
|
db "EGG@@@@@@@@"
|
|
|
|
|
|
|
|
db CLEFFA
|
|
|
|
db NO_ITEM
|
2015-11-02 11:37:02 -08:00
|
|
|
db POUND, CHARM, DIZZY_PUNCH, 0
|
2013-08-21 13:02:18 -07:00
|
|
|
dw 00768 ; OT ID
|
|
|
|
dt 125 ; Exp
|
|
|
|
; Stat exp
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
2018-07-16 12:42:45 -07:00
|
|
|
dn 2, 10, 10, 10 ; DVs
|
2013-08-21 13:02:18 -07:00
|
|
|
db 35, 20, 10, 0 ; PP
|
2019-01-02 16:04:50 -08:00
|
|
|
db 20 ; Step cycles to hatch
|
2013-08-21 13:02:18 -07:00
|
|
|
db 0, 0, 0 ; Pokerus, Caught data
|
|
|
|
db 5 ; Level
|
|
|
|
db 0, 0 ; Status
|
|
|
|
bigdw 0 ; HP
|
|
|
|
bigdw 20 ; Max HP
|
|
|
|
bigdw 7 ; Atk
|
|
|
|
bigdw 8 ; Def
|
|
|
|
bigdw 7 ; Spd
|
|
|
|
bigdw 10 ; SAtk
|
|
|
|
bigdw 11 ; SDef
|
|
|
|
db "EGG@@@@@@@@"
|
|
|
|
|
|
|
|
db IGGLYBUFF
|
|
|
|
db NO_ITEM
|
2015-11-02 11:37:02 -08:00
|
|
|
db SING, CHARM, DIZZY_PUNCH, 0
|
2013-08-21 13:02:18 -07:00
|
|
|
dw 04096 ; OT ID
|
|
|
|
dt 125 ; Exp
|
|
|
|
; Stat exp
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
2018-07-24 11:28:04 -07:00
|
|
|
dn 0, 0, 0, 0 ; DVs
|
2013-08-21 13:02:18 -07:00
|
|
|
db 15, 20, 10, 0 ; PP
|
2019-01-02 16:04:50 -08:00
|
|
|
db 20 ; Step cycles to hatch
|
2013-08-21 13:02:18 -07:00
|
|
|
db 0, 0, 0 ; Pokerus, Caught data
|
|
|
|
db 5 ; Level
|
|
|
|
db 0, 0 ; Status
|
|
|
|
bigdw 0 ; HP
|
|
|
|
bigdw 24 ; Max HP
|
|
|
|
bigdw 8 ; Atk
|
|
|
|
bigdw 6 ; Def
|
|
|
|
bigdw 6 ; Spd
|
|
|
|
bigdw 9 ; SAtk
|
|
|
|
bigdw 7 ; SDef
|
|
|
|
db "EGG@@@@@@@@"
|
|
|
|
|
|
|
|
db IGGLYBUFF
|
|
|
|
db NO_ITEM
|
2015-11-02 11:37:02 -08:00
|
|
|
db SING, CHARM, DIZZY_PUNCH, 0
|
2013-08-21 13:02:18 -07:00
|
|
|
dw 00768 ; OT ID
|
|
|
|
dt 125 ; Exp
|
|
|
|
; Stat exp
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
2018-07-16 12:42:45 -07:00
|
|
|
dn 2, 10, 10, 10 ; DVs
|
2013-08-21 13:02:18 -07:00
|
|
|
db 15, 20, 10, 0 ; PP
|
2019-01-02 16:04:50 -08:00
|
|
|
db 20 ; Step cycles to hatch
|
2013-08-21 13:02:18 -07:00
|
|
|
db 0, 0, 0 ; Pokerus, Caught data
|
|
|
|
db 5 ; Level
|
|
|
|
db 0, 0 ; Status
|
|
|
|
bigdw 0 ; HP
|
|
|
|
bigdw 24 ; Max HP
|
|
|
|
bigdw 8 ; Atk
|
|
|
|
bigdw 7 ; Def
|
|
|
|
bigdw 7 ; Spd
|
|
|
|
bigdw 10 ; SAtk
|
|
|
|
bigdw 8 ; SDef
|
|
|
|
db "EGG@@@@@@@@"
|
|
|
|
|
|
|
|
db SMOOCHUM
|
|
|
|
db NO_ITEM
|
2015-11-02 11:37:02 -08:00
|
|
|
db POUND, LICK, DIZZY_PUNCH, 0
|
2013-08-21 13:02:18 -07:00
|
|
|
dw 03584 ; OT ID
|
|
|
|
dt 125 ; Exp
|
|
|
|
; Stat exp
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
2018-07-24 11:28:04 -07:00
|
|
|
dn 0, 0, 0, 0 ; DVs
|
2013-08-21 13:02:18 -07:00
|
|
|
db 35, 30, 10, 0 ; PP
|
2019-01-02 16:04:50 -08:00
|
|
|
db 20 ; Step cycles to hatch
|
2013-08-21 13:02:18 -07:00
|
|
|
db 0, 0, 0 ; Pokerus, Caught data
|
|
|
|
db 5 ; Level
|
|
|
|
db 0, 0 ; Status
|
|
|
|
bigdw 0 ; HP
|
|
|
|
bigdw 19 ; Max HP
|
|
|
|
bigdw 8 ; Atk
|
|
|
|
bigdw 6 ; Def
|
|
|
|
bigdw 11 ; Spd
|
|
|
|
bigdw 13 ; SAtk
|
|
|
|
bigdw 11 ; SDef
|
|
|
|
db "EGG@@@@@@@@"
|
|
|
|
|
|
|
|
db SMOOCHUM
|
|
|
|
db NO_ITEM
|
2015-11-02 11:37:02 -08:00
|
|
|
db POUND, LICK, DIZZY_PUNCH, 0
|
2013-08-21 13:02:18 -07:00
|
|
|
dw 00512 ; OT ID
|
|
|
|
dt 125 ; Exp
|
|
|
|
; Stat exp
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
2018-07-16 12:42:45 -07:00
|
|
|
dn 2, 10, 10, 10 ; DVs
|
2013-08-21 13:02:18 -07:00
|
|
|
db 35, 30, 10, 0 ; PP
|
2019-01-02 16:04:50 -08:00
|
|
|
db 20 ; Step cycles to hatch
|
2013-08-21 13:02:18 -07:00
|
|
|
db 0, 0, 0 ; Pokerus, Caught data
|
|
|
|
db 5 ; Level
|
|
|
|
db 0, 0 ; Status
|
|
|
|
bigdw 0 ; HP
|
|
|
|
bigdw 19 ; Max HP
|
|
|
|
bigdw 8 ; Atk
|
|
|
|
bigdw 7 ; Def
|
|
|
|
bigdw 12 ; Spd
|
|
|
|
bigdw 14 ; SAtk
|
|
|
|
bigdw 12 ; SDef
|
|
|
|
db "EGG@@@@@@@@"
|
|
|
|
|
|
|
|
db MAGBY
|
|
|
|
db NO_ITEM
|
2015-11-02 11:37:02 -08:00
|
|
|
db EMBER, DIZZY_PUNCH, 0, 0
|
2013-08-21 13:02:18 -07:00
|
|
|
dw 02560 ; OT ID
|
|
|
|
dt 125 ; Exp
|
|
|
|
; Stat exp
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
2018-07-24 11:28:04 -07:00
|
|
|
dn 0, 0, 0, 0 ; DVs
|
2013-08-21 13:02:18 -07:00
|
|
|
db 25, 10, 0, 0 ; PP
|
2019-01-02 16:04:50 -08:00
|
|
|
db 20 ; Step cycles to hatch
|
2013-08-21 13:02:18 -07:00
|
|
|
db 0, 0, 0 ; Pokerus, Caught data
|
|
|
|
db 5 ; Level
|
|
|
|
db 0, 0 ; Status
|
|
|
|
bigdw 0 ; HP
|
|
|
|
bigdw 19 ; Max HP
|
|
|
|
bigdw 12 ; Atk
|
|
|
|
bigdw 8 ; Def
|
|
|
|
bigdw 13 ; Spd
|
|
|
|
bigdw 12 ; SAtk
|
|
|
|
bigdw 10 ; SDef
|
|
|
|
db "EGG@@@@@@@@"
|
|
|
|
|
|
|
|
db MAGBY
|
|
|
|
db NO_ITEM
|
2015-11-02 11:37:02 -08:00
|
|
|
db EMBER, DIZZY_PUNCH, 0, 0
|
2013-08-21 13:02:18 -07:00
|
|
|
dw 00512 ; OT ID
|
|
|
|
dt 125 ; Exp
|
|
|
|
; Stat exp
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
2018-07-16 12:42:45 -07:00
|
|
|
dn 2, 10, 10, 10 ; DVs
|
2013-08-21 13:02:18 -07:00
|
|
|
db 25, 10, 0, 0 ; PP
|
2019-01-02 16:04:50 -08:00
|
|
|
db 20 ; Step cycles to hatch
|
2013-08-21 13:02:18 -07:00
|
|
|
db 0, 0, 0 ; Pokerus, Caught data
|
|
|
|
db 5 ; Level
|
|
|
|
db 0, 0 ; Status
|
|
|
|
bigdw 0 ; HP
|
|
|
|
bigdw 19 ; Max HP
|
|
|
|
bigdw 12 ; Atk
|
|
|
|
bigdw 9 ; Def
|
|
|
|
bigdw 14 ; Spd
|
|
|
|
bigdw 13 ; SAtk
|
|
|
|
bigdw 11 ; SDef
|
|
|
|
db "EGG@@@@@@@@"
|
|
|
|
|
|
|
|
db ELEKID
|
|
|
|
db NO_ITEM
|
2015-11-02 11:37:02 -08:00
|
|
|
db QUICK_ATTACK, LEER, DIZZY_PUNCH, 0
|
2013-08-21 13:02:18 -07:00
|
|
|
dw 03072 ; OT ID
|
|
|
|
dt 125 ; Exp
|
|
|
|
; Stat exp
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
2018-07-24 11:28:04 -07:00
|
|
|
dn 0, 0, 0, 0 ; DVs
|
2013-08-21 13:02:18 -07:00
|
|
|
db 30, 30, 10, 0 ; PP
|
2019-01-02 16:04:50 -08:00
|
|
|
db 20 ; Step cycles to hatch
|
2013-08-21 13:02:18 -07:00
|
|
|
db 0, 0, 0 ; Pokerus, Caught data
|
|
|
|
db 5 ; Level
|
|
|
|
db 0, 0 ; Status
|
|
|
|
bigdw 0 ; HP
|
|
|
|
bigdw 19 ; Max HP
|
|
|
|
bigdw 11 ; Atk
|
|
|
|
bigdw 8 ; Def
|
|
|
|
bigdw 14 ; Spd
|
|
|
|
bigdw 11 ; SAtk
|
|
|
|
bigdw 10 ; SDef
|
|
|
|
db "EGG@@@@@@@@"
|
|
|
|
|
|
|
|
db ELEKID
|
|
|
|
db NO_ITEM
|
2015-11-02 11:37:02 -08:00
|
|
|
db QUICK_ATTACK, LEER, DIZZY_PUNCH, 0
|
2013-08-21 13:02:18 -07:00
|
|
|
dw 00512 ; OT ID
|
|
|
|
dt 125 ; Exp
|
|
|
|
; Stat exp
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
2018-07-16 12:42:45 -07:00
|
|
|
dn 2, 10, 10, 10 ; DVs
|
2013-08-21 13:02:18 -07:00
|
|
|
db 30, 30, 10, 0 ; PP
|
2019-01-02 16:04:50 -08:00
|
|
|
db 20 ; Step cycles to hatch
|
2013-08-21 13:02:18 -07:00
|
|
|
db 0, 0, 0 ; Pokerus, Caught data
|
|
|
|
db 5 ; Level
|
|
|
|
db 0, 0 ; Status
|
|
|
|
bigdw 0 ; HP
|
|
|
|
bigdw 19 ; Max HP
|
|
|
|
bigdw 11 ; Atk
|
|
|
|
bigdw 9 ; Def
|
|
|
|
bigdw 15 ; Spd
|
|
|
|
bigdw 12 ; SAtk
|
|
|
|
bigdw 11 ; SDef
|
|
|
|
db "EGG@@@@@@@@"
|
|
|
|
|
|
|
|
db TYROGUE
|
|
|
|
db NO_ITEM
|
2015-11-02 11:37:02 -08:00
|
|
|
db TACKLE, DIZZY_PUNCH, 0, 0
|
2013-08-21 13:02:18 -07:00
|
|
|
dw 02560 ; OT ID
|
|
|
|
dt 125 ; Exp
|
|
|
|
; Stat exp
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
2018-07-24 11:28:04 -07:00
|
|
|
dn 0, 0, 0, 0 ; DVs
|
2013-08-21 13:02:18 -07:00
|
|
|
db 35, 10, 0, 0 ; PP
|
2019-01-02 16:04:50 -08:00
|
|
|
db 20 ; Step cycles to hatch
|
2013-08-21 13:02:18 -07:00
|
|
|
db 0, 0, 0 ; Pokerus, Caught data
|
|
|
|
db 5 ; Level
|
|
|
|
db 0, 0 ; Status
|
|
|
|
bigdw 0 ; HP
|
|
|
|
bigdw 18 ; Max HP
|
|
|
|
bigdw 8 ; Atk
|
|
|
|
bigdw 8 ; Def
|
|
|
|
bigdw 8 ; Spd
|
|
|
|
bigdw 8 ; SAtk
|
|
|
|
bigdw 8 ; SDef
|
|
|
|
db "EGG@@@@@@@@"
|
|
|
|
|
|
|
|
db TYROGUE
|
|
|
|
db NO_ITEM
|
2015-11-02 11:37:02 -08:00
|
|
|
db TACKLE, DIZZY_PUNCH, 0, 0
|
2013-08-21 13:02:18 -07:00
|
|
|
dw 00256 ; OT ID
|
|
|
|
dt 125 ; Exp
|
|
|
|
; Stat exp
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
|
|
|
bigdw 0
|
2018-07-16 12:42:45 -07:00
|
|
|
dn 2, 10, 10, 10 ; DVs
|
2013-08-21 13:02:18 -07:00
|
|
|
db 35, 10, 0, 0 ; PP
|
2019-01-02 16:04:50 -08:00
|
|
|
db 20 ; Step cycles to hatch
|
2013-08-21 13:02:18 -07:00
|
|
|
db 0, 0, 0 ; Pokerus, Caught data
|
|
|
|
db 5 ; Level
|
|
|
|
db 0, 0 ; Status
|
|
|
|
bigdw 0 ; HP
|
|
|
|
bigdw 18 ; Max HP
|
|
|
|
bigdw 8 ; Atk
|
|
|
|
bigdw 9 ; Def
|
|
|
|
bigdw 9 ; Spd
|
|
|
|
bigdw 9 ; SAtk
|
|
|
|
bigdw 9 ; SDef
|
|
|
|
db "EGG@@@@@@@@"
|
2021-03-03 19:22:41 -08:00
|
|
|
|
|
|
|
assert_table_length NUM_ODD_EGGS
|