mirror of
https://git.planet-casio.com/Slyvtt/Collab_RPG.git
synced 2025-05-31 07:55:17 +02:00
11 lines
248 B
C
11 lines
248 B
C
#include "memory.h"
|
|
|
|
bool memory_is_in(short int *array, short int array_length, short int item) {
|
|
short int i;
|
|
for(i = 0; i < array_length; i++) {
|
|
if(array[i] == item) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|