Gen 7 Development Repository Leak Discussion

So, did this mean the Photo Club was originally intended to be in SM, a similar feature that was planned for SM (which the one in USUM could probably have been intended to be an upgraded version of), or was it believed to be something different (like actually being able to put clothing on certain Pokemon)?
From what he describes in the code it sounds like you were going to be able to put stuff, like ribbons and such, on the actual Pokemon model. It wouldn't surprise me if there was a photo mode attached to it, so they might've dusted off that code and turned it into the photo club in USUM, but the original purpose sounds different.

It wouldn't surprise me if there's similar strings for Let's Go's ability to decorate the parnter Pikachu & Eevee, though.
Pretty much this. I only mentioned the photo club because of the similarities, but I don't think they were related since one was 3D models and one was 2D stamps. The photo club is more like the accessories from Gen 4 to be honest.
Also GOOD point about Let's Go. I didn't remember that feature but that's a perfect comparison and maybe the same feature fully realized.

So, did this mean the rewards were at one point still intended to be Badges but later changed to the Stamps? Or did they just keep the value name as "badge" until they got far enough in development to have an official name of the Badge's replacement?
It's hard to say, game mechanic-wise it may have been "badges" but they may have already had the stamp concept planned out for whatever time before it was implemented. Either way the badge code was left over from the previous games, so I would guess probably more the latter. There are a couple commits relating to the trainer pass and stamps (スタンプ) before that (November 10 2015/2f8ce7949545) and the obedience system had to be changed from being based on badge count to specific values per stamp.

The box judge flag was added on Aug 16 2015. (d1e8bd1d)
Ball throwing style and days since last Refresh save data was added on Dec 5 2015. (da5b2ee42)
Trainer ball type support was added on May 26 2015. (9dd18115)

TrainerTypeData.cpp said:
//メガリング
case TRTYPE_GINA: //ジーナ(XY登場NPC)但しデータ上で持たない可能性もある。
case TRTYPE_GINA2: //ジーナ(XY登場NPC)ジムリーダー就任後
case TRTYPE_DEKUSIO: //デクシオ(XY登場NPC)但しデータ上で持たない可能性もある。
case TRTYPE_DEKUSIO2: //デクシオ(XY登場NPC)ジムリーダー就任後
This is part of code for determining what mega item trainer types use. This listing was added on Jan 19 2016. (40bbd04dd) For some reason the comments here mention Sina/Dexio being gym leaders. The other battle tree NPCs have mentions here too. For some reason Cynthia is called a BW npc and Anabel is labeled under RS, while Colress gets the more specific BW2.

The only other mention of Sina is a commit from Aug 25 2015 (987882bc489) adding code to check if a 10% Zygarde is the one that she presumably would give you. There's a mention of pokedeco in the params but not much else. The code was later removed in Jan 28 2016 (06ab303fb8). In final SM you only get a Zygarde cube from them, but USUM does have a 10% Zygarde gift though it's not really that special to warrant any checking.
[modify]ジーナのジガルデ10%を判定する関数追加。中身がまだ不十分
The Zygarde cube functionality would be added on Nov 30 2015 (47df53e4cad).
Originally the Zygarde cube could teach Crunch and Outrage, but this was changed on Jan 14 2016 (3cea7dfb6) probably because it already learned those by level up. Zygarde cell scripts would be added on Jan 17 2016 (7c425020e4664) and Zygarde core functionality on Jan 21 2016 (2d0d42056b5c).

Some final items named "???" are actually mentioned by name in itemsym.h, though only a testing copy that lacks mid-development history. Refer to https://bulbapedia.bulbagarden.net/wiki/List_of_items_by_index_number_(Generation_VII) for index numbers.

ITEM_PURIANOHANA ( 837 ) // プリアのはな
ITEM_BISUKASUNOHANA ( 838 ) // ビスカスのはな
ITEM_BATOBARADANOHANA ( 839 ) // バトバラダのはな
ITEM_KURAUNNOHANA ( 840 ) // クラウンのはな

Apparently these are all flowers, right after the z-crystals. I don't know what these mean (using machine translation) but I would guess they would have to do with the 4 islands.

#848 after the Zygarde cube is a different "complete cube". Its use was removed on Feb 17 2016 (fa4161686a), having the same use check as the regular Zygarde cube.
ITEM_KANZENKYUUBU ( 848 ) // かんぜんキューブ

"Kukui's letter" apparently.
ITEM_KUKUINOTEGAMI ( 859 ) // ククイのてがみ

The rest are just named dummy items.
861-878 = event dummy 3-20 (イベントダミー)
885-898 = normal dummy 7-20 (ノーマルダミー)
899-903 = "recovery" dummy 1-5 (かいふくダミー)

EDIT: There was a bugfix/change to the Zygarde cube on May 11 2016 (a7a94727387e).
You used to need the Zygarde Cube in the bag to activate Power Construct in battle, but apparently a game without the cube fighting a game with the cube would check their own bags and desync/end the battle when trying to transform.
 
Last edited:

breh

強いだね
ITEM_PURIANOHANA ( 837 ) // プリアのはな
ITEM_BISUKASUNOHANA ( 838 ) // ビスカスのはな
ITEM_BATOBARADANOHANA ( 839 ) // バトバラダのはな
ITEM_KURAUNNOHANA ( 840 ) // クラウンのはな

Apparently these are all flowers, right after the z-crystals. I don't know what these mean (using machine translation) but I would guess they would have to do with the 4 islands.
Beyond the last one being (apparently?) "Crown Flower" and the second being (at best) "Viscous Flower" or some corruption of "Hibiscus", the other two are mysteries, especially the third one. Maybe the first one is a corruption of "Plumeria"?
 
Last edited:
The Sina/Dexio stuff is interesting. Out of curisotiy whats the proper translation on ジムリーダー就任後 ? Google translate specifies "after becoming a gym leader" but well...google translate, and all.


The flowers, honestly my first thought was the Oricorio form changes. But the nectar was already implemented, right? I guess it could be something like...the nectar is used up, but the flowers aren't. But the nectar is easy to get so they just axed the flowers.
 

Pikachu315111

Ranting & Raving!
is a Community Contributoris a Smogon Media Contributor
For some reason the comments here mention Sina/Dexio being gym leaders. The other battle tree NPCs have mentions here too. For some reason Cynthia is called a BW npc and Anabel is labeled under RS, while Colress gets the more specific BW2.
* Sina & Dexio: Odd, maybe it either had to do with them being Type Experts or maybe they had plans for them to appear in the Kantonian Gym as bonus challengers?
* Cynthia, Anabel & Colress: The last gen Cynthia made an appearance in was Gen V and Anabel was Gen III. Of course, Cynthia last appeared in BW2 and Anabel was in Emerald, a little detail except they specifically noted Colress being from BW2. I can only thing the reasoning behind all of that was maybe just generalizing things: "So note the last time we saw Cynthia was (Gen V), Anabel all the way back in (Gen III), and remember Colress was introduced in BW2 and not BW". Make me curious if maybe the Rainbow Rocket idea was even a thing, noting Colress is specifically from BW2 would make even more sense as the Ghetsis in USUM is from alt-BW so they'd have to explain if/how Ghetsis would know Colress.

ITEM_PURIANOHANA ( 837 ) // プリアのはな
ITEM_BISUKASUNOHANA ( 838 ) // ビスカスのはな
ITEM_BATOBARADANOHANA ( 839 ) // バトバラダのはな
ITEM_KURAUNNOHANA ( 840 ) // クラウンのはな

Apparently these are all flowers, right after the z-crystals. I don't know what these mean (using machine translation) but I would guess they would have to do with the 4 islands.
Beyond the last one being (apparently?) "Crown Flower" and the second being (at best) "Viscous Flower" or some corruption of "Hibiscus", the other two are mysteries, especially the third one. Maybe the first one is a corruption of "Plumeria"?
The flowers, honestly my first thought was the Oricorio form changes. But the nectar was already implemented, right?
  • If that's the case, since the last one is called Crown Flower, maybe they instead had to do with progression? Like maybe before they settled on Stamps it was these flowers and they just hadn't gotten rid of them by the time of this build where they'd settled on the Stamps?
  • Though, with that logic, could also be the original/alternate suggestion for Oricorio to change forms but went/stuck with the Nectar instead.
  • Only other thought would be maybe something you needed to awaken the Tapus. Seems awfully convenient in the post game the only thing you needed to do encounter the Tapu was walk up to their shrine, a shrine which you've already did their puzzle as part as the main game so all you needed to do was walk on right through. Maybe getting the flowers was going to be a second puzzle so that when at the shrine you had something to offer for the Tapu to appear.
"Kukui's letter" apparently.
The only time I think you would be given that is at the start, writing a letter to Hala requesting him to give you your Starter.
 
Gen 6 and 7 mons have alternate internal asset numbers, which was a hot topic in the past after Meltan was found in GO and there was a small debate over if it really was #891. However, the Gen 5 mons also used a different internal numbering in development, at least based on their minisprites. I found this in an early commit (1c8d03e77c6) where "gflib2" still had a "skelton" folder with some common resources like XY menu icons, that also contained an org_bmp.zip archive dating to January 5, 2012 in mid-BW2 development, with the Gen 5 minisprites similarly being labeled starting from 501 (poke_icon_501_m.bmp) after Arceus.

Of note is a generic question mark placeholder in slot 525. Arceus's sprite is labeled _normal and Genesect has a minisprite for each form that isn't actually different. In general this probably corresponds to development order to some degree, like Haxorus being early on makes sense as it was mentioned in an interview to be the first Gen 5 mon designed, but isn't exactly #1 possibly due to implementation time or something. Later mons also seem to have their lines added all together and the end mostly follows the final national dex order, except for Scraggy being between Heatmor and Durant. Maybe there would be some more insight if Gen 5 ever got its own leak, but for now this is just a glimpse of data carried over.
501: Alomomola (594)
502: Drilbur (529)
503: Darmanitan (555)
504: Sandile (551)
505: Krokorok (552)
506: Krookodile (553)
507: Sewaddle (540)
508: Leavanny (542)
509: Haxorus (612)
510: Cofagrigus (563)
511: Deerling (585)
512: Unfezant (521)
513: Frillish (592)
514: Pidove (519)
515: Zebstrika (523)
516: Musharna (518)
517: Petilil (548)
518: Tranquill (520)
519: Lilligant (549)
520: Woobat (527)
521: Cottonee (546)
522: Whimsicott (547)
523: Maractus (556)
524: Swadloon (541)
525: ??? (question mark)
526: Yamask (562)
527: Sawsbuck (586)
528: Darumaka (554)
529: Zorua (570)
530: Zoroark (571)
531: Cubchoo (613)
532: Beartic (614)
533: Minccino (572)
534: Cinccino (573)
535: Swoobat (528)
536: Jellicent (593)
537: Patrat (504)
538: Watchog (505)
539: Sigilyph (561)
540: Munna (517)
541: Axew (610)
542: Fraxure (611)
543: Excadrill (530)
544: Klink (599)
545: Klang (600)
546: Purrloin (509)
547: Liepard (510)
548: Venipede (543)
549: Whirlipede (544)
550: Scolipede (545)
551: Snivy (495)
552: Servine (496)
553: Serperior (497)
554: Tepig (498)
555: Pignite (499)
556: Emboar (500)
557: Oshawott (501)
558: Dewott (502)
559: Samurott (503)
560: Emolga (587)
561: Shelmet (616)
562: Accelgor (617)
563: Litwick (607)
564: Lampent (608)
565: Chandelure (609)
566: Rufflet (627)
567: Braviary (628)
568: Dwebble (557)
569: Crustle (558)
570: Blitzle (522)
571: Karrablast (588)
572: Escavalier (589)
573: Trubbish (568)
574: Garbodor (569)
575: Sawk (539)
576: Throh (538)
577: Joltik (595)
578: Galvantula (596)
579: Klinklang (601)
580: Foongus (590)
581: Amoonguss (591)
582: Bouffalant (626)
583: Solosis (577)
584: Duosion (578)
585: Reuniclus (579)
586: Tympole (535)
587: Palpitoad (536)
588: Seismitoad (537)
589: Stunfisk (618)
590: Lillipup (506)
591: Herdier (507)
592: Stoutland (508)
593: Pansage (511)
594: Simisage (512)
595: Pansear (513)
596: Simisear (514)
597: Panpour (515)
598: Simipour (516)
599: Audino (531)
600: Roggenrola (524)
601: Boldore (525)
602: Gigalith (526)
603: Basculin (550) (note: red and blue formes are labeled black and white)
604: Golett (622)
605: Golurk (623)
606: Gothita (574)
607: Gothorita (575)
608: Gothitelle (576)
609: DUCKLETT (580)
610: Swanna (581)
611: Vanillite (582)
612: Vanillish (583)
613: Vanilluxe (584)
614: Tynamo (602)
615: Eelektrik (603)
616: Eelektross (604)
617: Ferroseed (597)
618: Ferrothorn (598)
619: Elgyem (605)
620: Beheeyem (606)
621: Cryogonal (615)
622: Tirtouga (564)
623: Carracosta (565)
624: Archen (566)
625: Archeops (567)
626: Timburr (532)
627: Gurdurr (533)
628: Conkeldurr (534)
629: Druddigon (621)
630: Mienfoo (619)
631: Mienshao (620)
632: Vullaby (629)
633: Mandibuzz (630)
634: Pawniard (624)
635: Bisharp (625)
636: Heatmor (631)
637: Scraggy (559)
638: Scrafty (560)
639: Durant (632) (follows National Dex order from this point)
640: Deino (633)
641: Zweilous (634)
642: Hydreigon (635)
643: Larvesta (636)
644: Volcarona (637)
645: Cobalion (638)
646: Terrakion (639)
647: Virizion (640)
648: Tornadus (641)
649: Thundurus (642)
650: Reshiram (643)
651: Zekrom (644)
652: Landorus (645)
653: Kyurem (646)
654: Keldeo (647)
655: Meloetta (648)
656: Genesect (649)
657: Victini (494)
658-667: Yellow question marks
668-692: Normal question marks
The numbers 673-692 are specifically duplicated with m/f (gender) versions for some reason (all minisprites have an _m by default). Maybe they could be for the pokestars, but there's no other context to go off of for now.
poke_icon_658_m.png
poke_icon_692_m.png

There is also an archive of BW2 items from the same time, also with different internal numbers and random gaps. Based on relative positioning around the new BW2 key items, these are probably early designs for the DNA splicers (alternate version for defusing?) and Reveal Glass (last item), though I can't say for sure.
item_776.png
item_777.png
item_784.png


Other random insights:
A few mons are referred to by alternate Japanese code/names in the comments of earlier/ported versions of the pokedex form code (ZukanSave).
Aegislash / ギルガルド
ダイケンド

Meloetta
メロディア

Sawsbuck
アントレス

Flabebe family
フーラ
フーラン
フラームス

Pumpkaboo
バケッチェ

Xerneas
エックス

Instruct cannot call recharge moves because of a bug with Sky Drop not releasing pokemon afterwards and they didn't want to make moves fail after you Instruct a recharge move in general. (ecb3e4a4ae6) A cautionary notice was added for the future that warns that a rechargeable dance move could also lead to the same thing. In the end they got to remove Sky Drop instead.

The -ate abilities and Normalize's powers were adjusted on April 27 2016 (38c8bdb7ea7c2).

EDIT:
Photon Geyser's variable name is HIKARIDORAGON/ひかりドラゴン (light dragon) and the Z move is SINNEKUROZUMAZETTO/シンネクロズマゼット (new Necrozma z-move). Plasma Fists is a similar placeholder of MABOROSIWAZA/マボロシ18わざ (mythical move). The weirdest translation I saw is that the battle handler for Thousand Waves uses southernWave while Thousand Arrows is just ThousanArrow. Reshiram and Zekrom's fusion move mechanic handler is called FlameSoul (and Thunder Soul based on the comment フレイムソウル・サンダーソウル).

Precipice Blades (DANGAINOTURUGI) has an #if0'd out alternate animation that would only play in singles (btlv_core.cpp, among the mon-specific move animation checks). The comment suggests that there was an issue with having a luxury and lightweight version and which would play in singles/battle royals, and it seems like the lighter version is gone based on this check being for it.
//だんがいのつるぎ軽量版
... (if 0)
//NMCat3979 豪華版と軽量版があるが、間違えて豪華版をロイヤルだけで使っていて止まりになった。
//シングルは豪華版を再生するのが正しいが、チェックされていないのでそのまま軽量版を使う。
//ロイヤルでも豪華版を出ないようにするためこの処理自体をコメントアウト
...(if check for precipice blades)
//0の方が軽量版 1の方が豪華版
(if check to play 1 in singles)
(end)
EDIT 2:
I was reminded about a comment about Prankster (Assist) and the newly banned moves in Gen 6 after watching a video about it today. (btl_tables.cpp)
Code:
      WAZANO_DORAGONTEERU,  WAZANO_TOMOENAGE,   // この二つは「いたずらごころ」との組み合わせでヤバそうなので
      WAZANO_HOERU,         WAZANO_HUKITOBASI,  // この二つもです(XYより)
Code:
(Dragon Tail, Storm Throw)
// These two look like a dangerous combination with "Prankster".
(Roar, Whirlwind)
// These two too (from XY).
 
Last edited:

Pikachu315111

Ranting & Raving!
is a Community Contributoris a Smogon Media Contributor
(Dragon Tail, Storm Throw)
// These two look like a dangerous combination with "Prankster".
(Roar, Whirlwind)
// These two too (from XY).
What? Dragon Tail and Storm Throw can't be used with Prankster... were Dragon Tail and Strom Throw originally Status Moves that didn't do damage?
 
What? Dragon Tail and Storm Throw can't be used with Prankster... were Dragon Tail and Strom Throw originally Status Moves that didn't do damage?
the actual issue is Assist
Yeah, my bad. I forgot to mention the context that these were part of the Assist/etc banned moves list for moves that call other moves. I guess gamefreak was aware of the first potential for abuse for Gen 5 but realized the latter in Gen 6.
 
OK so here's the problem with Prankster on these moves, and any other moves that suddenly got specific things because I literally just saw a video from WolfyGlick on this like 3 hours ago (probably the same one doipy watched lol):

Assist, as a non-damaging status move, can get +1 priority with Pranskter. This means that any move can be called with it as a Priority Move, and there was a niche strategy where you would have a Lagging Tail Prankster Liepard/Purrloin calling moves set up in the back for things like Dive. So you have a +1 Dive that a lot of Pokemon cant snipe you out of and then because of Lagging Tail on the following turn you can't be hit until the move comes out. So long as you do *literally any* damage & the opponent cant stop your strategy you win by time out. It's niche, it has various issues with working if you know its coming, but it was quite the exploit.

At the time of BW1 VGC this strategy wasn't really known about so the only play it saw was more the random battle ends, I believe. Presumably the concept spread around for a while enough to get Gamefreak to notice.

From those messages it seems they already pegged Dragon Tail & Storm Throw as possible problems in Gen 5 (& sure enough Assist SPECIFICALLY cannot call them even in Gen 5) but the 2-turn moves weren't something they thought of until the playerbase started using it. Meanwhile while they were looking at hte movelist again they seemed to spot Roar & Whirlwind as more obvious issues, likely an oversight from when they implemented the check as DT & ST.
 
What? Dragon Tail and Storm Throw can't be used with Prankster... were Dragon Tail and Strom Throw originally Status Moves that didn't do damage?
OK so here's the problem with Prankster on these moves, and any other moves that suddenly got specific things because I literally just saw a video from WolfyGlick on this like 3 hours ago (probably the same one doipy watched lol):
If you're curious this is the video R_N is referring to
 

Users Who Are Viewing This Thread (Users: 1, Guests: 0)

Top