Jump to content

Kaphotics

Helpful Member
  • Posts

    6895
  • Joined

  • Last visited

  • Days Won

    323

Posts posted by Kaphotics

  1. Hylianzero requested a "guide" on how to hex edit what the marts sell. Here's a quick one.

    1. Using Tinke or editor.exe (kiwids), open the ROM and unpack the a/2/8/2 narc so that you get the individual files.
    2. Go to wherever you exported the folder to, and you'll have 80 files. The only ones we care about are 0-31, as the rest are empty (zero byte size).
    3. Using the table of File -> Ingame Location posted in the reply above this post, choose which vendor you will edit.
      • Note that location 1 might be named file 0.
      • The generic vendors at the marts sell items based on how many badges you have.
      • Specialty vendors have unique tables and don't appear in multiple locations.

    [*]Open the location in HxD or other hex editor of choice; the way the file is structured is just a list of items (by hex) that will be sold by the vendor.

    [*]Replace or add/delete items.

    [*]Save the location file.

    [*]Repack the narc, replace the old narc with the new. Save the ROM and you're done.

  2. Manaphy --> Receive from Pokémart dude.

    Shinyness --> Based on PID/SID/ID combination.

    If Manaphy == Would be shiny on the save you receive the egg on --> Game re-assigns a new PID until a non-shiny one is chosen.

    However!

    If Manaphy Egg == Traded to another game after receiving from Pokémart dude

    Manaphy Egg PID --> Might be a shiny PID for the receiver's ID/SID combination --> Manaphy would hatch shiny on that save file.

    See where I'm going with this?

    Having a shiny Manaphy with location: "Link Trade" is the only way a shiny Manaphy can legitimately be shiny.

    This thread is about Pokécheck's legal checker.

    In which case, it is perfectly relevant to point out what locations are possible for a legal shiny Manaphy, so that PokéCheck's legality checker could be updated to reflect that information (Even though I'm quite certain it already was anyway.)

    Thank you, come again.

    It's not a "how to fix a hack" thread though ;)

  3. There's a text file in the ROM that has every name of all items, including items that do not exist (=?????? or blank)

    0	0	None
    1	1	Master Ball
    2	2	Ultra Ball
    3	3	Great Ball
    4	4	Poké Ball
    5	5	Safari Ball
    6	6	Net Ball
    7	7	Dive Ball
    8	8	Nest Ball
    9	9	Repeat Ball
    A	10	Timer Ball
    B	11	Luxury Ball
    C	12	Premier Ball
    D	13	Dusk Ball
    E	14	Heal Ball
    F	15	Quick Ball
    10	16	Cherish Ball
    11	17	Potion
    12	18	Antidote
    13	19	Burn Heal
    14	20	Ice Heal
    15	21	Awakening
    16	22	Parlyz Heal
    17	23	Full Restore
    18	24	Max Potion
    19	25	Hyper Potion
    1A	26	Super Potion
    1B	27	Full Heal
    1C	28	Revive
    1D	29	Max Revive
    1E	30	Fresh Water
    1F	31	Soda Pop
    20	32	Lemonade
    21	33	Moomoo Milk
    22	34	EnergyPowder
    23	35	Energy Root
    24	36	Heal Powder
    25	37	Revival Herb
    26	38	Ether
    27	39	Max Ether
    28	40	Elixir
    29	41	Max Elixir
    2A	42	Lava Cookie
    2B	43	Berry Juice
    2C	44	Sacred Ash
    2D	45	HP Up
    2E	46	Protein
    2F	47	Iron
    30	48	Carbos
    31	49	Calcium
    32	50	Rare Candy
    33	51	PP Up
    34	52	Zinc
    35	53	PP Max
    36	54	Old Gateau
    37	55	Guard Spec.
    38	56	Dire Hit
    39	57	X Attack
    3A	58	X Defend
    3B	59	X Speed
    3C	60	X Accuracy
    3D	61	X Special
    3E	62	X Sp. Def
    3F	63	Poké Doll
    40	64	Fluffy Tail
    41	65	Blue Flute
    42	66	Yellow Flute
    43	67	Red Flute
    44	68	Black Flute
    45	69	White Flute
    46	70	Shoal Salt
    47	71	Shoal Shell
    48	72	Red Shard
    49	73	Blue Shard
    4A	74	Yellow Shard
    4B	75	Green Shard
    4C	76	Super Repel
    4D	77	Max Repel
    4E	78	Escape Rope
    4F	79	Repel
    50	80	Sun Stone
    51	81	Moon Stone
    52	82	Fire Stone
    53	83	Thunderstone
    54	84	Water Stone
    55	85	Leaf Stone
    56	86	TinyMushroom
    57	87	Big Mushroom
    58	88	Pearl
    59	89	Big Pearl
    5A	90	Stardust
    5B	91	Star Piece
    5C	92	Nugget
    5D	93	Heart Scale
    5E	94	Honey
    5F	95	Growth Mulch
    60	96	Damp Mulch
    61	97	Stable Mulch
    62	98	Gooey Mulch
    63	99	Root Fossil
    64	100	Claw Fossil
    65	101	Helix Fossil
    66	102	Dome Fossil
    67	103	Old Amber
    68	104	Armor Fossil
    69	105	Skull Fossil
    6A	106	Rare Bone
    6B	107	Shiny Stone
    6C	108	Dusk Stone
    6D	109	Dawn Stone
    6E	110	Oval Stone
    6F	111	Odd Keystone
    70	112	Griseous Orb
    71	113	???
    72	114	???
    73	115	???
    74	116	Douse Drive
    75	117	Shock Drive
    76	118	Burn Drive
    77	119	Chill Drive
    78	120	???
    79	121	???
    7A	122	???
    7B	123	???
    7C	124	???
    7D	125	???
    7E	126	???
    7F	127	???
    80	128	???
    81	129	???
    82	130	???
    83	131	???
    84	132	???
    85	133	???
    86	134	Sweet Heart
    87	135	Adamant Orb
    88	136	Lustrous Orb
    89	137	Greet Mail
    8A	138	Favored Mail
    8B	139	RSVP Mail
    8C	140	Thanks Mail
    8D	141	Inquiry Mail
    8E	142	Like Mail
    8F	143	Reply Mail
    90	144	BridgeMail S
    91	145	BridgeMail D
    92	146	BridgeMail T
    93	147	BridgeMail V
    94	148	BridgeMail M
    95	149	Cheri Berry
    96	150	Chesto Berry
    97	151	Pecha Berry
    98	152	Rawst Berry
    99	153	Aspear Berry
    9A	154	Leppa Berry
    9B	155	Oran Berry
    9C	156	Persim Berry
    9D	157	Lum Berry
    9E	158	Sitrus Berry
    9F	159	Figy Berry
    A0	160	Wiki Berry
    A1	161	Mago Berry
    A2	162	Aguav Berry
    A3	163	Iapapa Berry
    A4	164	Razz Berry
    A5	165	Bluk Berry
    A6	166	Nanab Berry
    A7	167	Wepear Berry
    A8	168	Pinap Berry
    A9	169	Pomeg Berry
    AA	170	Kelpsy Berry
    AB	171	Qualot Berry
    AC	172	Hondew Berry
    AD	173	Grepa Berry
    AE	174	Tamato Berry
    AF	175	Cornn Berry
    B0	176	Magost Berry
    B1	177	Rabuta Berry
    B2	178	Nomel Berry
    B3	179	Spelon Berry
    B4	180	Pamtre Berry
    B5	181	Watmel Berry
    B6	182	Durin Berry
    B7	183	Belue Berry
    B8	184	Occa Berry
    B9	185	Passho Berry
    BA	186	Wacan Berry
    BB	187	Rindo Berry
    BC	188	Yache Berry
    BD	189	Chople Berry
    BE	190	Kebia Berry
    BF	191	Shuca Berry
    C0	192	Coba Berry
    C1	193	Payapa Berry
    C2	194	Tanga Berry
    C3	195	Charti Berry
    C4	196	Kasib Berry
    C5	197	Haban Berry
    C6	198	Colbur Berry
    C7	199	Babiri Berry
    C8	200	Chilan Berry
    C9	201	Liechi Berry
    CA	202	Ganlon Berry
    CB	203	Salac Berry
    CC	204	Petaya Berry
    CD	205	Apicot Berry
    CE	206	Lansat Berry
    CF	207	Starf Berry
    D0	208	Enigma Berry
    D1	209	Micle Berry
    D2	210	Custap Berry
    D3	211	Jaboca Berry
    D4	212	Rowap Berry
    D5	213	BrightPowder
    D6	214	White Herb
    D7	215	Macho Brace
    D8	216	Exp. Share
    D9	217	Quick Claw
    DA	218	Soothe Bell
    DB	219	Mental Herb
    DC	220	Choice Band
    DD	221	King's Rock
    DE	222	SilverPowder
    DF	223	Amulet Coin
    E0	224	Cleanse Tag
    E1	225	Soul Dew
    E2	226	DeepSeaTooth
    E3	227	DeepSeaScale
    E4	228	Smoke Ball
    E5	229	Everstone
    E6	230	Focus Band
    E7	231	Lucky Egg
    E8	232	Scope Lens
    E9	233	Metal Coat
    EA	234	Leftovers
    EB	235	Dragon Scale
    EC	236	Light Ball
    ED	237	Soft Sand
    EE	238	Hard Stone
    EF	239	Miracle Seed
    F0	240	BlackGlasses
    F1	241	Black Belt
    F2	242	Magnet
    F3	243	Mystic Water
    F4	244	Sharp Beak
    F5	245	Poison Barb
    F6	246	NeverMeltIce
    F7	247	Spell Tag
    F8	248	TwistedSpoon
    F9	249	Charcoal
    FA	250	Dragon Fang
    FB	251	Silk Scarf
    FC	252	Up-Grade
    FD	253	Shell Bell
    FE	254	Sea Incense
    FF	255	Lax Incense
    100	256	Lucky Punch
    101	257	Metal Powder
    102	258	Thick Club
    103	259	Stick
    104	260	Red Scarf
    105	261	Blue Scarf
    106	262	Pink Scarf
    107	263	Green Scarf
    108	264	Yellow Scarf
    109	265	Wide Lens
    10A	266	Muscle Band
    10B	267	Wise Glasses
    10C	268	Expert Belt
    10D	269	Light Clay
    10E	270	Life Orb
    10F	271	Power Herb
    110	272	Toxic Orb
    111	273	Flame Orb
    112	274	Quick Powder
    113	275	Focus Sash
    114	276	Zoom Lens
    115	277	Metronome
    116	278	Iron Ball
    117	279	Lagging Tail
    118	280	Destiny Knot
    119	281	Black Sludge
    11A	282	Icy Rock
    11B	283	Smooth Rock
    11C	284	Heat Rock
    11D	285	Damp Rock
    11E	286	Grip Claw
    11F	287	Choice Scarf
    120	288	Sticky Barb
    121	289	Power Bracer
    122	290	Power Belt
    123	291	Power Lens
    124	292	Power Band
    125	293	Power Anklet
    126	294	Power Weight
    127	295	Shed Shell
    128	296	Big Root
    129	297	Choice Specs
    12A	298	Flame Plate
    12B	299	Splash Plate
    12C	300	Zap Plate
    12D	301	Meadow Plate
    12E	302	Icicle Plate
    12F	303	Fist Plate
    130	304	Toxic Plate
    131	305	Earth Plate
    132	306	Sky Plate
    133	307	Mind Plate
    134	308	Insect Plate
    135	309	Stone Plate
    136	310	Spooky Plate
    137	311	Draco Plate
    138	312	Dread Plate
    139	313	Iron Plate
    13A	314	Odd Incense
    13B	315	Rock Incense
    13C	316	Full Incense
    13D	317	Wave Incense
    13E	318	Rose Incense
    13F	319	Luck Incense
    140	320	Pure Incense
    141	321	Protector
    142	322	Electirizer
    143	323	Magmarizer
    144	324	Dubious Disc
    145	325	Reaper Cloth
    146	326	Razor Claw
    147	327	Razor Fang
    148	328	TM01
    149	329	TM02
    14A	330	TM03
    14B	331	TM04
    14C	332	TM05
    14D	333	TM06
    14E	334	TM07
    14F	335	TM08
    150	336	TM09
    151	337	TM10
    152	338	TM11
    153	339	TM12
    154	340	TM13
    155	341	TM14
    156	342	TM15
    157	343	TM16
    158	344	TM17
    159	345	TM18
    15A	346	TM19
    15B	347	TM20
    15C	348	TM21
    15D	349	TM22
    15E	350	TM23
    15F	351	TM24
    160	352	TM25
    161	353	TM26
    162	354	TM27
    163	355	TM28
    164	356	TM29
    165	357	TM30
    166	358	TM31
    167	359	TM32
    168	360	TM33
    169	361	TM34
    16A	362	TM35
    16B	363	TM36
    16C	364	TM37
    16D	365	TM38
    16E	366	TM39
    16F	367	TM40
    170	368	TM41
    171	369	TM42
    172	370	TM43
    173	371	TM44
    174	372	TM45
    175	373	TM46
    176	374	TM47
    177	375	TM48
    178	376	TM49
    179	377	TM50
    17A	378	TM51
    17B	379	TM52
    17C	380	TM53
    17D	381	TM54
    17E	382	TM55
    17F	383	TM56
    180	384	TM57
    181	385	TM58
    182	386	TM59
    183	387	TM60
    184	388	TM61
    185	389	TM62
    186	390	TM63
    187	391	TM64
    188	392	TM65
    189	393	TM66
    18A	394	TM67
    18B	395	TM68
    18C	396	TM69
    18D	397	TM70
    18E	398	TM71
    18F	399	TM72
    190	400	TM73
    191	401	TM74
    192	402	TM75
    193	403	TM76
    194	404	TM77
    195	405	TM78
    196	406	TM79
    197	407	TM80
    198	408	TM81
    199	409	TM82
    19A	410	TM83
    19B	411	TM84
    19C	412	TM85
    19D	413	TM86
    19E	414	TM87
    19F	415	TM88
    1A0	416	TM89
    1A1	417	TM90
    1A2	418	TM91
    1A3	419	TM92
    1A4	420	HM01
    1A5	421	HM02
    1A6	422	HM03
    1A7	423	HM04
    1A8	424	HM05
    1A9	425	HM06
    1AA	426	???
    1AB	427	???
    1AC	428	Explorer Kit
    1AD	429	Loot Sack
    1AE	430	Rule Book
    1AF	431	Poké Radar
    1B0	432	Point Card
    1B1	433	Journal
    1B2	434	Seal Case
    1B3	435	Fashion Case
    1B4	436	Seal Bag
    1B5	437	Pal Pad
    1B6	438	Works Key
    1B7	439	Old Charm
    1B8	440	Galactic Key
    1B9	441	Red Chain
    1BA	442	Town Map
    1BB	443	Vs. Seeker
    1BC	444	Coin Case
    1BD	445	Old Rod
    1BE	446	Good Rod
    1BF	447	Super Rod
    1C0	448	Sprayduck
    1C1	449	Poffin Case
    1C2	450	Bicycle
    1C3	451	Suite Key
    1C4	452	Oak's Letter
    1C5	453	Lunar Wing
    1C6	454	Member Card
    1C7	455	Azure Flute
    1C8	456	S.S. Ticket
    1C9	457	Contest Pass
    1CA	458	Magma Stone
    1CB	459	Parcel
    1CC	460	Coupon 1
    1CD	461	Coupon 2
    1CE	462	Coupon 3
    1CF	463	Storage Key
    1D0	464	SecretPotion
    1D1	465	Vs. Recorder
    1D2	466	Gracidea
    1D3	467	Secret Key
    1D4	468	Apricorn Box
    1D5	469	Unown Report
    1D6	470	Berry Pots
    1D7	471	Dowsing MCHN
    1D8	472	Blue Card
    1D9	473	SlowpokeTail
    1DA	474	Clear Bell
    1DB	475	Card Key
    1DC	476	Basement Key
    1DD	477	SquirtBottle
    1DE	478	Red Scale
    1DF	479	Lost Item
    1E0	480	Pass
    1E1	481	Machine Part
    1E2	482	Silver Wing
    1E3	483	Rainbow Wing
    1E4	484	Mystery Egg
    1E5	485	Red Apricorn
    1E6	486	Blu Apricorn
    1E7	487	Ylw Apricorn
    1E8	488	Grn Apricorn
    1E9	489	Pnk Apricorn
    1EA	490	Wht Apricorn
    1EB	491	Blk Apricorn
    1EC	492	Fast Ball
    1ED	493	Level Ball
    1EE	494	Lure Ball
    1EF	495	Heavy Ball
    1F0	496	Love Ball
    1F1	497	Friend Ball
    1F2	498	Moon Ball
    1F3	499	Sport Ball
    1F4	500	Park Ball
    1F5	501	Photo Album
    1F6	502	GB Sounds
    1F7	503	Tidal Bell
    1F8	504	RageCandyBar
    1F9	505	Data Card 01
    1FA	506	Data Card 02
    1FB	507	Data Card 03
    1FC	508	Data Card 04
    1FD	509	Data Card 05
    1FE	510	Data Card 06
    1FF	511	Data Card 07
    200	512	Data Card 08
    201	513	Data Card 09
    202	514	Data Card 10
    203	515	Data Card 11
    204	516	Data Card 12
    205	517	Data Card 13
    206	518	Data Card 14
    207	519	Data Card 15
    208	520	Data Card 16
    209	521	Data Card 17
    20A	522	Data Card 18
    20B	523	Data Card 19
    20C	524	Data Card 20
    20D	525	Data Card 21
    20E	526	Data Card 22
    20F	527	Data Card 23
    210	528	Data Card 24
    211	529	Data Card 25
    212	530	Data Card 26
    213	531	Data Card 27
    214	532	Jade Orb
    215	533	Lock Capsule
    216	534	Red Orb
    217	535	Blue Orb
    218	536	Enigma Stone
    219	537	Prism Scale
    21A	538	Eviolite
    21B	539	Float Stone
    21C	540	Rocky Helmet
    21D	541	Air Balloon
    21E	542	Red Card
    21F	543	Ring Target
    220	544	Binding Band
    221	545	Absorb Bulb
    222	546	Cell Battery
    223	547	Eject Button
    224	548	Fire Gem
    225	549	Water Gem
    226	550	Electric Gem
    227	551	Grass Gem
    228	552	Ice Gem
    229	553	Fighting Gem
    22A	554	Poison Gem
    22B	555	Ground Gem
    22C	556	Flying Gem
    22D	557	Psychic Gem
    22E	558	Bug Gem
    22F	559	Rock Gem
    230	560	Ghost Gem
    231	561	Dragon Gem
    232	562	Dark Gem
    233	563	Steel Gem
    234	564	Normal Gem
    235	565	Health Wing
    236	566	Muscle Wing
    237	567	Resist Wing
    238	568	Genius Wing
    239	569	Clever Wing
    23A	570	Swift Wing
    23B	571	Pretty Wing
    23C	572	Cover Fossil
    23D	573	Plume Fossil
    23E	574	Liberty Pass
    23F	575	Pass Orb
    240	576	Dream Ball
    241	577	Poké Toy
    242	578	Prop Case
    243	579	Dragon Skull
    244	580	BalmMushroom
    245	581	Big Nugget
    246	582	Pearl String
    247	583	Comet Shard
    248	584	Relic Copper
    249	585	Relic Silver
    24A	586	Relic Gold
    24B	587	Relic Vase
    24C	588	Relic Band
    24D	589	Relic Statue
    24E	590	Relic Crown
    24F	591	Casteliacone
    250	592	Dire Hit 2
    251	593	X Speed 2
    252	594	X Special 2
    253	595	X Sp. Def 2
    254	596	X Defend 2
    255	597	X Attack 2
    256	598	X Accuracy 2
    257	599	X Speed 3
    258	600	X Special 3
    259	601	X Sp. Def 3
    25A	602	X Defend 3
    25B	603	X Attack 3
    25C	604	X Accuracy 3
    25D	605	X Speed 6
    25E	606	X Special 6
    25F	607	X Sp. Def 6
    260	608	X Defend 6
    261	609	X Attack 6
    262	610	X Accuracy 6
    263	611	Ability Urge
    264	612	Item Drop
    265	613	Item Urge
    266	614	Reset Urge
    267	615	Dire Hit 3
    268	616	Light Stone
    269	617	Dark Stone
    26A	618	TM93
    26B	619	TM94
    26C	620	TM95
    26D	621	Xtransceiver
    26E	622	???
    26F	623	Gram 1
    270	624	Gram 2
    271	625	Gram 3
    272	626	Xtransceiver
    

    Here they are from BW1

  4. B2W2's English release is less than a month away and forum activity is really low at the moment. When the new games come out, there'll be a surge of (new) people on the forums.

    A good way to get people to stay is an incentive to post more quality topics and replies. Other forums like Smogon use badges to recognize people that go above and beyond the average lurker, and we have Ranks. Problem is, the rate that they are handed out is next to nothing compared to years ago.

    Translation Contributor and Event Contributor ranks have helped keep those sections of our site active (translation is seasonal)...

    Being more liberal with User Ranks would help stimulate the inactive sections of our site; the best time to stimulate is right before a boom of interest!

  5. B2W2 Zonedata / Map Coordinates

    uSbDT.png

    Notes:

    L toggles the raw zonedata display on/off. (default Q in DeSmuME)

    local rshift, lshift=bit.rshift, bit.lshift
    local md,mw,mb=memory.readdwordunsigned,memory.readwordunsigned,memory.readbyteunsigned
    local gt,sf=gui.text,string.format
    local table={}
    local on,enbl,overprint,enblo=1,1,1,1
    
    if mb(0x023FFE09)==0x00 then		-- Not "2" ~ Not B2/W2
      pos_m=md(0x02000024)+0x3461C
        zds=md(0x02000024)+0x3DFAC
    owstart=md(0x02000024)+0x34E04
    game=1
    else
      pos_m=md(0x02000024)+0x36780
        zds=md(0x02000024)+0x41B2C
    owstart=md(0x02000024)+0x36BE8
    game=2
    end
    
    function main()
           table=joypad.get(1)
           if table.L then
                   gt(0,0, "Toggling Display")
                   enbl=0
           else
                   if enbl==0 then on=(on+1)%2 enbl=1 end
           end
    
           if table.R then
                   gt(0,0, "Printout")
                   enblo=0
           else
                   if enblo==0 then overprint=(overprint+1)%2 enblo=1 end
           end
    
           if on==0 then
    
    
    	if game==2 then
    		bike=rshift(mw(zds+2*15),10)%2
    		 fly=rshift(mw(zds+2*15),13)%2
    	else 
    		bike=rshift(mb(zds+0x1F),2)%2
    		 fly=rshift(mb(zds+0x1F),5)%2
    end
    
    
    
                   if bike==1 then
                           gt(159,110,sf("Bike - Enabled")) else
                           gt(159,110,sf("Bike - Disabled")) end
                   if fly==1 then
                           gt(159,120,sf("Fly  - Enabled")) else
                           gt(159,120,sf("Fly  - Disabled")) end
    
                   gt(1,50,sf("00-01: %04x",mw(zds+2*0)))        gt(80,50,sf("10-11: %04x",mw(zds+2*8)))       gt(159,50,sf("20-21: %04x",mw(zds+2*16)))
                   gt(1,60,sf("02-03: %04x",mw(zds+2*1)))        gt(80,60,sf("12-13: %04x",mw(zds+2*9)))       gt(159,60,sf("22-23: %04x",mw(zds+2*17)))
                   gt(1,70,sf("04-05: %04x",mw(zds+2*2)))        gt(80,70,sf("14-15: %04x",mw(zds+2*10)))      gt(159,70,sf("24-27: %08x",md(zds+2*18)))
                   gt(1,80,sf("06-07: %04x",mw(zds+2*3)))        gt(80,80,sf("16-17: %04x",mw(zds+2*11)))      gt(159,80,sf("28-2B: %08x",md(zds+2*20)))
                   gt(1,90,sf("08-09: %04x",mw(zds+2*4)))        gt(80,90,sf("18-19: %04x",mw(zds+2*12)))      gt(159,90,sf("2C-2F: %08x",md(zds+2*22)))
                   gt(1,100,sf("0A-0B: %04x",mw(zds+2*5)))       gt(80,100,sf("1A-1B: %04x",mw(zds+2*13)))
                   gt(1,110,sf("0C-0D: %04x",mw(zds+2*6)))       gt(80,110,sf("1C-1D: %04x",mw(zds+2*14)))
                   gt(1,120,sf("0E-0F: %04x",mw(zds+2*7)))       gt(80,120,sf("1E-1F: %04x",mw(zds+2*15)))    
           end
    
    if overprint==0 then 
    	fcount=mb(0x4+owstart) ncount=mb(0x5+owstart) wcount=mb(0x6+owstart) tcount=mb(0x7+owstart)
    	furnstart=0x8
    	furnend=furnstart+0x14*fcount-1
    	 npcstart=0x08+mb(0x04+owstart)*0x14
    	 npcend= npcstart+0x24*ncount-1
    	warpstart=0x08+mb(0x04+owstart)*0x14+mb(0x05+owstart)*0x24
    	warpend=warpstart+0x14*wcount-1
    	trigstart=0x08+mb(0x04+owstart)*0x14+mb(0x05+owstart)*0x24+mb(0x06+owstart)*0x14
    	trigend=trigstart+0x16*tcount-1
    
    
    	print(sf("Overworld Data [%d] @ 0x%08X",mw(zds+2*11),owstart))
    	if fcount>0 then
    		print(sf("[%d] Furniture Range: 0x%04X-0x%04X",fcount,furnstart,furnend)) else print(sf("[%d] No Furniture",fcount))
    	end
    	if ncount>0 then
    		print(sf("[%d] NPC Range: 0x%04X-0x%04X",ncount,npcstart,npcend)) else print(sf("[%d] No NPCs",ncount))
    	end
    	if wcount>0 then
    		print(sf("[%d] Warp Range: 0x%04X-0x%04X",wcount,warpstart,warpend)) else print(sf("[%d] No Warps",wcount))
    	end
    	if tcount>0 then
    		print(sf("[%d] Trigger Range: 0x%04X-0x%04X",tcount,trigstart,trigend)) else print(sf("[%d] No Triggers",tcount))
    	end
    	if md(owstart)~=trigend-3 then print("Error in parsing, please be in game.") else print("Successful Parse!") end
    	print("") print("")
    overprint=1
    end
    gt(160,145,sf("Overworld: %5d",mw(zds+2*11)))
       gt(160,155,sf("Script: %8d",mw(zds+2*3)))
    gt(160,165,sf("Text: %10d",mw(zds+2*5)))
    
    flyx=md(zds+2*18)
    flyy=md(zds+2*22)
    flyz=md(zds+2*20)
    if (flyx==5 and flyy==4 and flyz==0) or (flyx==13 and flyy==0 and flyz==5) then
    gt(149,174,sf("Can't Fly to here.")) else
    gt(185,174,sf("FlyTo (XYZ)"))
    gt(185,184,sf("%d,%d,%d",flyx,flyy,flyz)) end
    
    gt(1,145, sf("SubMap of Map: %3d",mw(zds+2*12)))
           if mw(zds+2*10)%256<255 then
                   gt(1,155,sf("Slot Location: %d",mw(zds+2*10)%256)) else gt(1,155,sf("No Encounters Here!")) end
    
           gt(1,165, sf("Current Position"))
           gt(2,175, sf("M: %3d, X: %3d", mw(pos_m), mw(pos_m+0x6)))
    gt(2,184, sf("Y: %3d, Z: %3d", mw(pos_m+0xE), mw(pos_m+0xA)))
    end
    
    
    gui.register(main)

  6. Swap the Japanese charmander before hatching-what my edition white (original), and uploaded it to pokecheck and I get to the meeting place is "hacked" when it is not because the egg pokes, even events, if exchanged the location is changed to "trade link".

    Someone may review this detail for pokemon are eggs event?

    I believe this is the Charmander you are referring to. All other uploads were not traded (egg receiver was the one who hatched), so there's nothing else I can reference. Nice!

  7. The best way to figure out script command codes is by finding an area with as little scripts as possible; find the NPC that uses said script and try to identify what the overall purpose of the script is. Then you figure out the overall structure based on known commands, then find the areas that are unknown...

    By fiddling with them a bit in the RAM, you can see how they break the script if changed. Take a piece of the script (32 bits) and search it with DeSmuME after you've made the game use one script on the currently loaded map. (The game doesn't load the script file for a given location unless a script is called for that location!)

    I suggest looking at an NPC that trades, and says certain lines based on if the trade was completed or not.

  8. Decided to do my own translation; starting from Andibad's csv's. Translated the program's files myself starting from bond697's source, using Microsoft Visual C# 2010 Express on win7 ult.

    Everything should be translated... all that's left is a few kinks with the CSVs like Location identifying and new formes.

    --

    Species Editor

    TwdLk.png

    Evolution Editor

    3DTbU.png

    Encounter Slot Editor

    vGc4Z.png

    Move Editor

    rnK5r.png

    edit: updated download links to fully translated versions at my later post

  9. PokeMart file# -> ingame location

    1	Stock No Badges
    2	Stock 1+Badges
    3	Stock 3+Badges
    4	Stock 5+Badges
    5	Stock 7+Badges
    6	Stock 8+Badges
    7	Accumula Town Upper Cashier
    8	Striaton City Upper Cashier
    9	Nacrene City Upper Cashier
    10	Castelia City Upper Cashier
    11	Nimbasa TM Department
    12	Driftveil City Upper Cashier
    13	Mistralton City TM Dept.
    14	Icirrus City Upper Cashier
    15	Opelucid City Upper Cashier
    16	Victory Road Upper
    17	Victory Road Upper?
    18	Lacunosa Town
    19	Undella Town
    20	Black City
    21	SM9 Top Right Cashier
    22	Driftveil City Herb Shop
    23	Driftveil City Inscense Shop
    24	SM9 Bottom Section
    25	SM9 Middle Right Cashier
    26	SM9 Middle Left Cashier
    27	SM9 Top Left Cashier
    28	Aspertia City?
    29	Virbank City Lower Cashier
    30	Seigaiha City Upper Cashier
    31	Floccesy Town?
    32	Yamaji Town Upper Cashier
    

    Wasn't completely sure on Aspertia/Floccesy town, so I went with the general naming order in the ROM. They both sell the same things... Additionally there's a double for Victory Road's ball selling, wasn't sure on that one either (pre/post e4?)

    html page with it parsed for data with each location

    I think you can have a mart sell more than they allot; but it might be best for an editor to do up to 20 (the location currently with the most items sold in the ROM is the default 8 badges @ 19).

×
×
  • Create New...