def change_door_to_small_key(d, world, player):
    d.smallKey = True
    room = world.get_room(d.roomIndex, player)
    if (room.doorList[d.doorListPos][1] != DoorKind.SmallKey):
        room.change(d.doorListPos, DoorKind.SmallKey)
def change_door_to_small_key(d, world, player):
    d.smallKey = True
    room = world.get_room(d.roomIndex, player)
    if (room.doorList[d.doorListPos][1] != DoorKind.SmallKey):
        room.change(d.doorListPos, DoorKind.SmallKey)