mirror of
https://git.planet-casio.com/Slyvtt/Collab_RPG.git
synced 2025-01-01 06:23:40 +01:00
13 lines
234 B
C
13 lines
234 B
C
|
#include "memory.h"
|
||
|
|
||
|
bool 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;
|
||
|
}
|
||
|
|