mirror of
https://git.planet-casio.com/Slyvtt/Collab_RPG.git
synced 2024-12-29 13:03:43 +01:00
12 lines
234 B
C
12 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;
|
|
}
|
|
|