How to find out enemy stats from event call?

Hi, would anyone know how to find out enemy stat from the database for enemy ID 1 via a script call or event call? This call is to be run not during battle.
Hi, would anyone know how to find out enemy stat from the database for enemy ID 1 via a script call or event call? This call is to be run not during battle.

JavaScript:
$dataEnemies[1].params
returns an array of enemy 1 stats
JavaScript:
$dataEnemies[1].exp
enemy 1 experience points gained

More Explanation:
JavaScript:
// Max HP:
$dataEnemies[enemyId].params[0]

// Max MP:
$dataEnemies[enemyId].params[1]

// Attack:
$dataEnemies[enemyId].params[2]

// Defense
$dataEnemies[enemyId].params[3]

// M. Attack
$dataEnemies[enemyId].params[4]

// M. Defense
$dataEnemies[enemyId].params[5]

// Agility
$dataEnemies[enemyId].params[6]

// Luck
$dataEnemies[enemyId].params[7]

// Experience Points Gained:
$dataEnemies[enemyId].exp

// Gold Gained:
$dataEnemies[enemyId].gold

Spoiler: Goblin Data Object
1650781510068.png

More reference info: Enemy | RPGMakerMV Library
(Reference is for MV but I think it's all the same Data for MZ is listed there, doesn't detail "traits" though)
Ah, works like a charm. Thanks @ct_bolt.
Ah, works like a charm. Thanks @ct_bolt.
Yay! Great to hear. No prob. Glad to help out ☺️ 👍
Happy Game Making! :LZSgrin:

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-find-out-enemy-stats-from-event-call.147034/