dex
A module script.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2Species base stats, moves, and the Gen-1 type chart for the vertical slice.
isSpecial(ty: ?) → void
| arg | type | description |
|---|---|---|
| ty | ? |
eff(atkType: ?, defType: ?) → void
| arg | type | description |
|---|---|---|
| atkType | ? | |
| defType | ? |
effAll(atkType: ?, defTypes: ?) → void
| arg | type | description |
|---|---|---|
| atkType | ? | |
| defTypes | ? |
statAt(base: ?, lvl: ?, isHp: ?) → void
Stat at a level (Gen-1 style, no IV/EV): floor((2*base*lvl)/100) + lvl + 10 for HP, + 5 for others.
| arg | type | description |
|---|---|---|
| base | ? | |
| lvl | ? | |
| isHp | ? |
movesAt(speciesId: ?, lvl: ?) → void
Moves known at a level (last up-to-4 by learn order).
| arg | type | description |
|---|---|---|
| speciesId | ? | |
| lvl | ? |
makeMon(speciesId: ?, lvl: ?) → void
Build a fresh mon instance at a level.
| arg | type | description |
|---|---|---|
| speciesId | ? | |
| lvl | ? |
xpForLevel(lvl: ?) → void
XP needed to reach a level (medium-fast: n^3).
| arg | type | description |
|---|---|---|
| lvl | ? |
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.