Bond697 icon

fetchPKMDataIfValid Arguments

Bond697 | PRO | 08/24/12 12:23:11 AM UTC | 0 ⭐ | 757 👁️ | Never ⏰ | []
text |

8.65 KB

|

None

|

0 👍

/

0 👎

fetchPKMDataIfValid fields
 0x0	pid
0x1	(sanity) pkm party data is decrypted
0x2	(sanity) pkm box data is decrypted
0x3	(sanity) is pkm species egg
0x4	checksum
0x5	species
0x6	item
0x7	sidtid
0x8	exp
0x9	happiness
"0xA, 10"	ability
"0xB, 11"	markings
"0xC, 12"	region
"0xD, 13"	hp ev
"0xE, 14"	atk ev
"0xF, 15"	def ev
"0x10, 16"	spe ev
"0x11, 17"	spa ev
"0x12, 18"	spd ev
"0x13, 19"	cool contest
"0x14, 20"	beauty contest
"0x15, 21"	cute contest
"0x16, 22"	smart contest
"0x17, 23"	tough contest
"0x18, 24"	sheen contest
"0x19, 25"	sinnoh champ ribbon
"0x1A, 26"	ability ribbon
"0x1B, 27"	great ability ribbon
"0x1C, 28"	double ability ribbon
"0x1D, 29"	multi ability ribbon
"0x1E, 30"	pair ability ribbon
"0x1F, 31"	world ability ribbon
"0x20, 32"	alert ribbon
"0x21, 33"	shock ribbon
"0x22, 34"	downcast ribbon
"0x23, 35"	careless ribbon
"0x24, 36"	relax ribbon
"0x25, 37"	snooze ribbon
"0x26, 38"	smile ribbon
"0x27, 39"	gorgeous ribbon
"0x28, 40"	royal ribbon
"0x29, 41"	gorgeous royal ribbon
"0x2A, 42"	footprint ribbon
"0x2B, 43"	record ribbon
"0x2C, 44"	history ribbon
"0x2D, 45"	legend ribbon
"0x2E, 46"	red ribbon
"0x2F, 47"	green ribbon
"0x30, 48"	blue ribbon
"0x31, 49"	festival ribbon
"0x32, 50"	carnival ribbon
"0x33, 51"	classic ribbon
"0x34, 52"	premier ribbon
"0x35, 53"	ribbon
"0x36, 54"	move1
"0x37, 55"	move2
"0x38, 56"	move3
"0x39, 57"	move4
"0x3A, 58"	move1 current pp
"0x3B, 59"	move2 current pp
"0x3C, 60"	move3 current pp
"0x3D, 61"	move4 current pp
"0x3E, 62"	move1 ppup count
"0x3F, 63"	move2 ppup count
"0x40, 64"	move3 ppup count
"0x41, 65"	move4 ppup count
"0x42, 66"	move1 max pp
"0x43, 67"	move2 max pp
"0x44, 68"	move3 max pp
"0x45, 69"	move4 max pp
"0x46, 70"	hp iv
"0x47, 71"	atk iv
"0x48, 72"	def iv
"0x49, 73"	spe iv
"0x4A, 74"	spa iv
"0x4B, 75"	spd iv
"0x4C, 76"	is egg
"0x4D, 77"	cool ribbon
"0x4E, 78"	cool ribbon super
"0x4F, 79"	cool ribbon hyper
"0x50, 80"	cool ribbon master
"0x51, 81"	beauty ribbon
"0x52, 82"	beauty ribbon super
"0x53, 83"	beauty ribbon hyper
"0x54, 84"	beauty ribbon master
"0x55, 85"	cute ribbon
"0x56, 86"	cute ribbon super
"0x57, 87"	cute ribbon hyper
"0x58, 88"	cute ribbon master
"0x59, 89"	smart ribbon
"0x5A, 90"	smart ribbon super
"0x5B, 91"	smart ribbon hyper
"0x5C, 92"	smart ribbon master
"0x5D, 93"	tough ribbon
"0x5E, 94"	tough ribbon super
"0x5F, 95"	tough ribbon hyper
"0x60, 96"	tough ribbon master
"0x61, 97"	champion ribbon
"0x62, 98"	winning ribbon
"0x63, 99"	victory ribbon
"0x64, 100"	artist ribbon
"0x65, 101"	effort ribbon
"0x66, 102"	marine ribbon
"0x67, 103"	land ribbon
"0x68, 104"	sky ribbon
"0x69, 105"	country ribbon
"0x6A, 106"	national ribbon
"0x6B, 107"	earth ribbon
"0x6C, 108"	world ribbon
"0x6D, 109"	fateful encounter
"0x6E, 110"	"gender(0 male, 1 female)"
"0x6F, 111"	form
"0x70, 112"	nature
"0x71, 113"	has dw abil
"0x72, 114"	unk 01
"0x73, 115"	nickname
"0x74, 116"	nick
"0x75, 117"	is nicknamed
"0x76, 118"	
"0x77, 119"	game of origin
"0x78, 120"	cool ribbon
"0x79, 121"	cool ribbon great
"0x7A, 122"	cool ribbon ultra
"0x7B, 123"	cool ribbon master
"0x7C, 124"	beauty ribbon
"0x7D, 125"	beauty ribbon great
"0x7E, 126"	beauty ribbon ultra
"0x7F, 127"	beauty ribbon master
"0x80, 128"	cute ribbon 
"0x81, 129"	cute ribbon great
"0x82, 130"	cute ribbon ultra
"0x83, 131"	cute ribbon master
"0x84, 132"	smart ribbon
"0x85, 133"	smart ribbon great
"0x86, 134"	smart ribbon ultra
"0x87, 135"	smart ribbon master
"0x88, 136"	tough ribbon
"0x89, 137"	tough ribbon great
"0x8A, 138"	tough ribbon ultra
"0x8B, 139"	tough ribbon master
"0x8C, 140"	*unused* 
"0x8D, 141"	OT name in
"0x8E, 142"	OT name out
"0x8F, 143"	year egg received (0-99)
"0x90, 144"	month egg received(1-12)
"0x91, 145"	day egg received(1-end of month)
"0x92, 146"	year met/egg hatched(0-99)
"0x93, 147"	month met/egg hatched(1-12)
"0x94, 148"	day met/egg hatched(1-end of month)
"0x95, 149"	egg receieve location
"0x96, 150"	met/egg hatch location
"0x97, 151"	pokerus
"0x98, 152"	poke ball
"0x99, 153"	met at level
"0x9A, 154"	set if OT gender is female
"0x9B, 155"	
"0x9C, 156"	
"0x9D, 157"	status flags
"0x9E, 158"	level
"0x9F, 159"	capsule seal index
"0xA0, 160"	current hp
"0xA1, 161"	max hp
"0xA2, 162"	attack
"0xA3, 163"	defense
"0xA4, 164"	speed
"0xA5, 165"	spa
"0xA6, 166"	spd
"0xA7, 167"	mail
"0xA8, 168"	
"0xA9, 169"	is slot filled
"0xAA, 170"	is egg(both checks)
"0xAB, 171"	"get species, return egg species number if egg(ret 0 if invalid)"
"0xAC, 172"	pkm's Ivs as a U32
"0xAD, 173"	is species NOT nido F/M
"0xAE, 174"	pkm type
"0xAF, 175"	pkm type
"0xB0, 176"	
"0xB1, 177"	
"0xB2, 178"	N's poke
    ---------------------------------------------------------------------------------
personal.narc personal field arguments
--------------------------------------
 ARM9:020202EA                 DCW hp_stat - (off_20202EA+2) 
ARM9:020202EA                 DCW atk_stat - (off_20202EA+2)
ARM9:020202EA                 DCW def_stat - (off_20202EA+2)
ARM9:020202EA                 DCW spe_stat - (off_20202EA+2)
ARM9:020202EA                 DCW spa_stat - (off_20202EA+2)
ARM9:020202EA                 DCW spd_stat - (off_20202EA+2)
ARM9:020202EA                 DCW type1 - (off_20202EA+2)
ARM9:020202EA                 DCW type2 - (off_20202EA+2)
ARM9:020202EA                 DCW catch_rate - (off_20202EA+2)
ARM9:020202EA                 DCW base_exp - (off_20202EA+2)
ARM9:020202EA                 DCW effort_hp - (off_20202EA+2)
ARM9:020202EA                 DCW effort_atk - (off_20202EA+2)
ARM9:020202EA                 DCW effort_def - (off_20202EA+2)
ARM9:020202EA                 DCW effort_spe - (off_20202EA+2)
ARM9:020202EA                 DCW effort_spa - (off_20202EA+2)
ARM9:020202EA                 DCW effort_spd - (off_20202EA+2)
ARM9:020202EA                 DCW diglett_dugtrio_rise_from_ground - (off_20202EA+2)
ARM9:020202EA                 DCW item1 - (off_20202EA+2)
ARM9:020202EA                 DCW item2 - (off_20202EA+2)
ARM9:020202EA                 DCW item3 - (off_20202EA+2)
ARM9:020202EA                 DCW gender_rate - (off_20202EA+2)
ARM9:020202EA                 DCW hatch_count - (off_20202EA+2)
ARM9:020202EA                 DCW happiness - (off_20202EA+2)
ARM9:020202EA                 DCW growth - (off_20202EA+2)
ARM9:020202EA                 DCW egg1 - (off_20202EA+2)
ARM9:020202EA                 DCW egg2 - (off_20202EA+2)
ARM9:020202EA                 DCW abil1 - (off_20202EA+2)
ARM9:020202EA                 DCW abil2 - (off_20202EA+2)
ARM9:020202EA                 DCW abil3 - (off_20202EA+2)
ARM9:020202EA                 DCW escape_rate - (off_20202EA+2)
ARM9:020202EA                 DCW form_stats_start - (off_20202EA+2)
ARM9:020202EA                 DCW form_sprites_start - (off_20202EA+2)
ARM9:020202EA                 DCW form_count - (off_20202EA+2)
ARM9:020202EA                 DCW loc_20203EC - (off_20202EA+2)
ARM9:020202EA                 DCW loc_20203F6 - (off_20202EA+2)
ARM9:020202EA                 DCW loc_2020400 - (off_20202EA+2)
ARM9:020202EA                 DCW stage - (off_20202EA+2)
ARM9:020202EA                 DCW height - (off_20202EA+2)
ARM9:020202EA                 DCW weight - (off_20202EA+2)
ARM9:020202EA                 DCW tm_moves1 - (off_20202EA+2)
ARM9:020202EA                 DCW tm_moves2 - (off_20202EA+2)
ARM9:020202EA                 DCW tm_moves3 - (off_20202EA+2)
ARM9:020202EA                 DCW tm_moves4 - (off_20202EA+2)
ARM9:020202EA                 DCW tutor_free_moves - (off_20202EA+2)
ARM9:020202EA                 DCW tutor_pay_moves1 - (off_20202EA+2)
ARM9:020202EA                 DCW tutor_pay_moves2 - (off_20202EA+2)
ARM9:020202EA                 DCW tutor_pay_moves3 - (off_20202EA+2)
ARM9:020202EA                 DCW tutor_pay_moves4 - (off_20202EA+2)
  -------------------------------------------------------------------------------
 egg data:
 2fe35c8 is the local array that holds all the egg data.  (u32 eggData[34])
 2fe35c8 - species
2fe35cc - 
 2fe35d0 -
2fe35d4 -
2fe35d8 - happiness
2fe35dc - iv1
2fe35e0 - iv2
2fe35e4 - iv3
2fe35e8 - iv4
2fe35ec - iv5
2fe35f0 - iv6
2fe35f4 - id set
 2fe35f8 - pid
2fe3600 - move1
2fe3604 - move2
2fe3608 - move3
2fe360c - move4
 2fe3610 - ability number
 2fe361c - inherit_iv1_parent1
2fe3620 - inherit_iv2_parent1
2fe3624 - inherit_iv3_parent1
2fe3628 - inherit_iv4_parent1
2fe362c - inherit_iv5_parent1
2fe3630 - inherit_iv6_parent1
 2fe3634 - inherit_iv1_parent2
2fe3638 - inherit_iv2_parent2
2fe363c - inherit_iv3_parent2
2fe3640 - inherit_iv4_parent2
2fe3644 - inherit_iv5_parent2
2fe3648 - inherit_iv6_parent2
2fe364c - 
2fe3650

Comments