Skip to content

Instantly share code, notes, and snippets.

@kwsch
kwsch / gist:8ac34e7d4958d9843efa2f85d7b8bc90
Created September 13, 2023 04:46
SV - Teal Mask Personal (via HOME data)
This file has been truncated, but you can view the full file.
--- 0 False
Type: Normal
Base Stats: 000.000.000.000.000.000
Abilities: (None)/(None)/(None)
Bulbasaur 0 False
Type: Grass/Poison
Base Stats: 045.049.049.065.065.045
Abilities: Overgrow/Overgrow/Chlorophyll
1 33 Tackle
@kwsch
kwsch / gist:24b527c4aa63f42c9132e7b7c76ce08d
Created January 27, 2022 14:19
PLA - Stats & Learnsets (All)
This file has been truncated, but you can view the full file.
======
000 - Egg (Stage: 0)
======
Present: No
Base Stats: 0.0.0.0.0.0 (BST: 0)
EV Yield: 0.0.0.0.0.0
Gender Ratio: 255
Catch Rate: 0
Abilities: — (1) | — (2) | — (H)
Type: Normal
@kwsch
kwsch / gist:844e8a9c28f4b4b8af96b5b5ec9c573f
Created October 23, 2020 01:45
Crown Tundra Pokémon Stats & Learnset
This file has been truncated, but you can view the full file.
======
001 - Bulbasaur (Stage: 1)
======
Armor Dex: #068
Base Stats: 45.49.49.65.65.45 (BST: 318)
EV Yield: 0.0.0.1.0.0
Gender Ratio: 31
Catch Rate: 45
Abilities: Overgrow (1) | Overgrow (2) | Chlorophyll (H)
Type: Grass / Poison
string folder = @"D:\ranch";
var files = Directory.GetFiles(folder);
// string[] natures = GameInfo.GetStrings("en").natures;
var pkms = files.Select(z => new PK4(File.ReadAllBytes(z))).OrderBy(z => z.Species).ToArray();
List<string> lines = new List<string>();
foreach (var pk in pkms)
{
bool forcedPID = pk.Species != 489 && pk.Species != 151;
@kwsch
kwsch / getKORCharTables.cs
Created September 11, 2017 02:58
gets dictionary objects for the korean gen2 Gold/Silver games
void Main()
{
List<string> outputU = new List<string>();
List<string> outputG = new List<string>();
int table = -1;
int add = 0;
for (int j = 0; j < lines.Length; j++)
{
string line = lines[j];
if (line.StartsWith("==="))
@kwsch
kwsch / gist:f2bd4c84bd29b213abfd
Created September 20, 2014 17:20
Zonedata file content notes
File 1: ???
File 2:
Overworld Structure:
HEADER
u32 - LENGTH - START AFTER THIS
byte - FURNITURE COUNT
byte - OVERWORLD COUNT
byte - WARP TILE COUNT
byte - TRIG TILE COUNT
@kwsch
kwsch / XY Containers
Last active August 29, 2015 14:06
Container Formats
XY Special Container Formats:
AD/BM/GR/MM/TM: u16 magic, u16 ct, offset entry * ct, u32 total len
Example:
u16 - Magic (ZO)
u16 - File Count (4)
u32 - File 1 Offset (?)
u32 - File 2 Offset (Overworlds)