getMonsterByEntity
Description
Finds the Monster ID based on the given entity from the trainer's team.
Return
Type | Description |
---|---|
number | Returns the Monster ID if found in the trainer's team, or nil otherwise. |
Parameters
# | Name | Type | Mandatory | Description |
---|---|---|---|---|
1 | entity | Entity | Yes | The entity of the Monster to look for. |