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