Im trying to shorten the way i need to create my pokemon in battles. I cant seem to get this to work.
var/pokemon = list("Bulbasuar" = new/mob/poke/bulbasuar)
proc/BattleStart(mob/M)
var/pokem
pokem = pick(pokemon)
new/pokem(src.loc)//ill change the src.loc soon
M << "[pokem]"//testing purposes
How would i create a new/pokem picked from a list at the srcs loc?
Copyright © 2025 BYOND Software.
All rights reserved.
<code>var/pokemon = list("Bulbasuar" = new/mob/poke/bulbasuar)</code>
With this:
<code>var/pokemon = list("Bulbasuar" = /mob/poke/bulbasuar)</code>