Burmy Cloak Change After Battle
battle_ended/burmy_cloak_change.molang | battle_ended | After a battle ends, checks each player's current biome against #cobblemon:form_change/bagworm_cloak/sandy_cloak, trash_cloak, and plant_cloak. Any participating Burmy that faced an opponent switches to the matching bagworm_cloak aspect. | 14 lines (679 B) |
Alpha Boss Fainted Reward Drops
battle_fainted/pokemon_alpha_drops.molang | battle_fainted | When a wild Alpha Pokémon faints in battle, drops a level-scaled reward table (Tier 1 Lv. 1–30, Tier 2 Lv. 31–50, Tier 3 Lv. 51–65, Tier 4 Lv. 66+) plus two independent 50% type-reward rolls (Type Tier 1 Lv. 1–50, Type Tier 2 Lv. 51+; mono-type Alphas roll their single type twice). | 34 lines (1387 B) |
NPC Battle Victory & Defeat Scripts
battle_victory/npc_battle_end_scripts.molang | battle_victory | Runs configured MoLang hooks (on_defeat, on_player_wins, on_victory, on_player_loses) and console command templates (player_win_command, player_lose_command with {{player}}, {{player_id}}, {{npc}}, {{npc_id}}, {{pokemon_id}} placeholders) on scriptable winners and losers. | 73 lines (2653 B) |
Fishing Mark Potential Assignment
bobber_spawn_pokemon_post/apply_marks.molang | bobber_spawn_pokemon_post | Adds cobblemon:mark_fishing as a potential mark to every Pokémon entity spawned from a Poké Rod fishing bobber (rolled on capture, 4% base chance in mark_fishing.json). | 1 line (63 B) |
Fossil Revival Potential & Applied Marks
fossil_revived/apply_marks.molang | fossil_revived | Adds 31 potential marks (mark_revival 4%, mark_uncommon 2%, mark_rare 0.1%, and all 28 personality marks 1%) to every fossil-revived Pokémon, and immediately rolls them via apply_potential_marks when revived by a player. | 36 lines (1366 B) |
Partner Mark Distance Tracker
player_tick_pre/partner_mark.molang | player_tick_pre | Runs every 200 ticks (10 seconds), summing 18 vanilla and Cobblemon riding distance stats divided by 100 (blocks). Each time a player crosses a new 10,000-block milestone, every party Pokémon with friendship >= 200 rolls add_marks_with_chance('cobblemon:mark_partner') (1% per milestone). | 36 lines (1712 B) |
Biome PC Box Wallpaper Unlocks
player_tick_pre/wallpaper_unlocks.molang | player_tick_pre | Runs once per second (every 20 ticks), checking the player's current biome tag and unlocking 5 PC Box Wallpapers automatically: biome_cave (#cobblemon:is_cave), biome_forest (#cobblemon:is_forest), biome_ocean (#cobblemon:is_ocean), biome_nether (#minecraft:is_nether), and biome_the_end (#cobblemon:is_end). | 30 lines (1078 B) |
Capture Potential Mark Roll
pokemon_captured/apply_marks.molang | pokemon_captured | Calls q.pokemon.apply_potential_marks whenever a Pokémon is captured, rolling all queued weather, time, fishing, rare, uncommon, and personality potential marks. | 1 line (33 B) |
Capture Bait Aspect Cleanup
pokemon_captured/remove_aspects.molang | pokemon_captured | Strips temporary wild spawn bait aspects (honey_drenched and poke_snack_crumbed) from a Pokémon as soon as it is captured. | 4 lines (76 B) |
Alpha PC Box Wallpaper Unlock
pokemon_captured/wallpaper_unlocks.molang | pokemon_captured | Unlocks the cobblemon:pokemon_alpha PC Box Wallpaper for the capturing player whenever the captured Pokémon has is_alpha set. | 4 lines (104 B) |
Size & Alpha Direct Spawn Marks
pokemon_entity_spawn/apply_marks.molang | pokemon_entity_spawn | Automatically grants cobblemon:mark_mini to spawned Pokémon with size_category == 'XS' (excluding Alphas) and cobblemon:mark_jumbo to spawned Pokémon with size_category == 'XL' or is_alpha. | 6 lines (266 B) |
Wild Spawn Weather, Time & Personality Marks
pokemon_entity_spawn/apply_potential_marks.molang | pokemon_entity_spawn | Queues up to 42 potential marks on wild Pokémon spawns based on exact biome tags, Y > 191 altitude, rain/thunder/snow weather, Overworld time_of_day tick windows, plus Rare, Uncommon, and all 28 Personality marks. | 73 lines (3757 B) |